aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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