summaryrefslogtreecommitdiff
path: root/user/php7-apcu
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-20 20:15:24 -0400
committerMax Rees <maxcrees@me.com>2019-07-20 20:15:24 -0400
commit6703d6f77eff2c5998c3d96d9e19bad831bba7d8 (patch)
treeb596528aa9b4b4aaaa0dc81fcca33c3d6c896b1b /user/php7-apcu
parent8b7da5e63a78e07bdac455825a7bc34af4503113 (diff)
downloadpackages-6703d6f77eff2c5998c3d96d9e19bad831bba7d8.tar.gz
packages-6703d6f77eff2c5998c3d96d9e19bad831bba7d8.tar.bz2
packages-6703d6f77eff2c5998c3d96d9e19bad831bba7d8.tar.xz
packages-6703d6f77eff2c5998c3d96d9e19bad831bba7d8.zip
user/php7-apcu: bump to 5.1.17; use PECL link instead of GitHub
Diffstat (limited to 'user/php7-apcu')
-rw-r--r--user/php7-apcu/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/user/php7-apcu/APKBUILD b/user/php7-apcu/APKBUILD
index 4398a424d..e9ad17ae4 100644
--- a/user/php7-apcu/APKBUILD
+++ b/user/php7-apcu/APKBUILD
@@ -1,21 +1,20 @@
# Contributor: zlg <zlg+adelie@zlg.space>
-# Maintainer:
+# Maintainer: Max Rees <maxcrees@me.com>
pkgname=php7-apcu
_pkgname=${pkgname#php7-}
-pkgver=5.1.15
+pkgver=5.1.17
pkgrel=0
pkgdesc="Userland cache for PHP"
-url="https://github.com/krakjoe/apcu"
+url="https://pecl.php.net/package/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"
+source="https://pecl.php.net/get/$_pkgname-$pkgver.tgz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
phpize
./configure \
--build=$CBUILD \
@@ -28,15 +27,13 @@ build() {
}
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"
+sha512sums="7f6a6cd927ed4ff251497c2c79e8d832d1a44ddd59abdb175886d3c12ea27f26142e6b851ac5bb5acb49a0e3a998e9741ba0ff03310f51b9cd188cdf6cf12793 apcu-5.1.17.tgz"