aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-phalcon
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2019-03-27 16:09:52 +0200
committerAndy Postnikov <apostnikov@gmail.com>2019-04-18 19:41:56 +0300
commitf4c7036387b1b063876e36cdc0c3c4a3a32c540a (patch)
tree30263377e2253e0ff9ce769bed86a68510c2cad9 /community/php7-phalcon
parent36edce185648a8f3f77106794df10e690ba53222 (diff)
downloadaports-f4c7036387b1b063876e36cdc0c3c4a3a32c540a.tar.gz
aports-f4c7036387b1b063876e36cdc0c3c4a3a32c540a.tar.bz2
aports-f4c7036387b1b063876e36cdc0c3c4a3a32c540a.tar.xz
community/php7-phalcon: add check()
Diffstat (limited to 'community/php7-phalcon')
-rw-r--r--community/php7-phalcon/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/php7-phalcon/APKBUILD b/community/php7-phalcon/APKBUILD
index 93372f874f..1a4bdd786f 100644
--- a/community/php7-phalcon/APKBUILD
+++ b/community/php7-phalcon/APKBUILD
@@ -5,11 +5,10 @@ _pkgext=phalcon
_pkgreal=cphalcon
pkgver=3.4.3
_pkgver=${pkgver/_rc/RC}
-pkgrel=0
+pkgrel=1
pkgdesc="High performance, full-stack PHP framework delivered as a C extension"
url="https://github.com/phalcon/cphalcon"
arch="all"
-options="!check" # It needs some external services to run checks
license="BSD-3-Clause"
depends="php7-curl php7-fileinfo php7-gettext php7-json php7-mbstring php7-openssl php7-pdo"
makedepends="php7-dev autoconf pcre-dev gd-dev"
@@ -23,6 +22,11 @@ build() {
make
}
+check() {
+ # It needs some external services to run checks
+ php7 -d extension="$builddir"/modules/$_pkgext.so --ri $_pkgext
+}
+
package() {
cd "$builddir"
make INSTALL_ROOT="$pkgdir/" install