diff options
author | Andy Postnikov <apostnikov@gmail.com> | 2019-03-27 16:16:06 +0200 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2019-04-18 19:43:10 +0300 |
commit | fc0517407f7060eed2b3cf5867ce4249793ee3b1 (patch) | |
tree | d0546e028817f6689986489506ff29287cff5d7c /community/php7-pecl-couchbase | |
parent | be24d158a01b9b8d8652daa4daacfe9b35ee3c06 (diff) | |
download | aports-fc0517407f7060eed2b3cf5867ce4249793ee3b1.tar.bz2 aports-fc0517407f7060eed2b3cf5867ce4249793ee3b1.tar.xz |
community/php7-pecl-couchbase: add check()
Diffstat (limited to 'community/php7-pecl-couchbase')
-rw-r--r-- | community/php7-pecl-couchbase/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/community/php7-pecl-couchbase/APKBUILD b/community/php7-pecl-couchbase/APKBUILD index bd0752c0cf..ac6da1d263 100644 --- a/community/php7-pecl-couchbase/APKBUILD +++ b/community/php7-pecl-couchbase/APKBUILD @@ -3,7 +3,7 @@ pkgname=php7-pecl-couchbase _pkgreal=couchbase pkgver=2.6.0 -pkgrel=1 +pkgrel=2 pkgdesc="PHP extension for Couchbase - PECL" url="https://pecl.php.net/package/couchbase" arch="all" @@ -11,7 +11,6 @@ license="Apache-2.0" depends="php7-common php7-json php7-pecl-igbinary" makedepends="php7-dev autoconf libcouchbase-dev re2c zlib-dev" source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz" -options="!check" # require couchbase and phpunit builddir="$srcdir/$_pkgreal-$pkgver" provides="php7-couchbase=$pkgver-r$pkgrel" # for backward compatibility replaces="php7-couchbase" # for backward compatibility @@ -24,6 +23,11 @@ build() { make } +check() { + # require couchbase and phpunit + php7 -d extension="$builddir"/modules/$_pkgreal.so --ri $_pkgreal +} + package() { local confdir="$pkgdir/etc/php7/conf.d" cd "$builddir" |