[arch-commits] Commit in php-memcached/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Tue Dec 29 20:21:11 UTC 2015


    Date: Tuesday, December 29, 2015 @ 21:21:11
  Author: pierre
Revision: 154947

upgpkg: php-memcached 2.2.0-3

Modified:
  php-memcached/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-29 19:03:06 UTC (rev 154946)
+++ PKGBUILD	2015-12-29 20:21:11 UTC (rev 154947)
@@ -3,18 +3,20 @@
 
 pkgname=php-memcached
 pkgver=2.2.0
-pkgrel=2
+_commit=e573a6e8fc815f12153d2afd561fc84f74811e2f
+pkgrel=3
 pkgdesc="PHP extension for interfacing with memcached via libmemcached library"
 arch=('i686' 'x86_64')
 url="http://pecl.php.net/package/memcached"
 license=('PHP')
 depends=('php' 'libmemcached')
+makedepends=('git')
 backup=('etc/php/conf.d/memcached.ini')
-source=(http://pecl.php.net/get/memcached-$pkgver.tgz)
-sha256sums=('17b9600f6d4c807f23a3f5c45fcd8775ca2e61d6eda70370af2bef4c6e159f58')
+source=("git+https://github.com/php-memcached-dev/php-memcached.git#commit=${_commit}")
+sha256sums=('SKIP')
 
 build() {
-  cd "$srcdir/memcached-$pkgver"
+  cd "$srcdir/$pkgname"
 
   phpize
   ./configure --prefix=/usr
@@ -22,7 +24,7 @@
 }
 
 package() {
-  cd "$srcdir/memcached-$pkgver"
+  cd "$srcdir/$pkgname"
 
   make INSTALL_ROOT="$pkgdir" install
 



More information about the arch-commits mailing list