blob: aa487a4e69d4a60d3c470658502ffa1a4f30cfcb (
plain) (
tree)
|
|
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=php7-apcu
_pkgname=${pkgname#php7-}
pkgver=5.1.14
pkgrel=0
pkgdesc="Userland cache for PHP"
url="https://github.com/krakjoe/apcu"
arch="all"
license="PHP-3.01"
depends="php7"
makedepends="php7-dev"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/krakjoe/${_pkgname}/archive/v${pkgver}.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
phpize
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-apcu
make
}
check() {
cd "$builddir"
# The tests have a prompt at the end for sending stats
make NO_INTERACTION=1 test
}
package() {
cd "$builddir"
# It didn't listen to DESTDIR
make INSTALL_ROOT="$pkgdir" install
}
sha512sums="fe39d46d2905732296a70b79ab0977909c9ff7cb571118f35831e75a9a018edf909992954e39f79cc4710f9fdec93e6067068afea02304345e4ff6babc65a7d0 php7-apcu-5.1.14.tar.gz"
|