summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Lamskoy2019-08-09 15:37:41 +0300
committerEugene Lamskoy2019-08-09 15:37:41 +0300
commit463124500f495ffe90f00bea0f1b7e226807c218 (patch)
treeef0d0b0fde0f886be71c09363dd11c134b66a79e
parente1d48e0040ea54a67be07e60117c3d1eabbcd58e (diff)
downloadaur-463124500f495ffe90f00bea0f1b7e226807c218.tar.gz
Improved build
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a2cb941bcd..0f8fd1406ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = php70-redis
pkgdesc = PHP extension for interfacing with Redis
pkgver = 5.0.2
- pkgrel = 2
+ pkgrel = 3
url = http://pecl.php.net/package/redis
arch = x86_64
license = PHP
diff --git a/PKGBUILD b/PKGBUILD
index 7ee4b90d824..de8de939133 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,21 @@
-_phpbase=php70
+_phpbase=70
pkgname=php70-redis
pkgver=5.0.2
-pkgrel=2
+pkgrel=3
pkgdesc="PHP extension for interfacing with Redis"
url="http://pecl.php.net/package/redis"
arch=('x86_64')
license=('PHP')
-makedepends=("${_phpbase}")
-depends=("${_phpbase}")
-backup=("etc/${_phpbase}/conf.d/redis.ini")
+makedepends=("php${_phpbase}")
+depends=("php${_phpbase}")
+backup=("etc/php${_phpbase}/conf.d/redis.ini")
source=(
http://pecl.php.net/get/redis-${pkgver}.tgz
)
build() {
cd "$srcdir/redis-$pkgver"
- phpize70
+ phpize${_phpbase}
./configure --prefix=/usr --enable-redis-lzf
make
}
@@ -24,6 +24,6 @@ package() {
cd "$srcdir/redis-$pkgver"
make INSTALL_ROOT="$pkgdir" install
echo ';extension=redis.so' > redis.ini
- install -Dm644 redis.ini "$pkgdir/etc/${_phpbase}/conf.d/redis.ini"
+ install -Dm644 redis.ini "$pkgdir/etc/php${_phpbase}/conf.d/redis.ini"
}
md5sums=('0fed05402f8eabc2030ae327df0d1e27')