blob: 4398a424de8fc0a868041fceda4e55a3a5462f50 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=php7-apcu
_pkgname=${pkgname#php7-}
pkgver=5.1.15
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="d95ab6a8a073acfc6af2f83b038f68e4150a1eb518369c163f4d1bc0c8b006c84754759fa9b72ac6f7ca008c27802a3a2aca14ae9d7ca23c02078d720a530b1c php7-apcu-5.1.15.tar.gz"
|