diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-03 03:33:25 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-03 03:33:25 +0000 |
commit | 86953d17fbdfc3b8b89878f1ec5f911568657761 (patch) | |
tree | d834021be55372f5c1856313c775edffc414d3d3 /community/php-memcached | |
parent | c667b77b6719baf541fff1a3e0a855d1ca7c6433 (diff) |
Thu Apr 3 03:29:12 UTC 2014
Diffstat (limited to 'community/php-memcached')
-rw-r--r-- | community/php-memcached/PKGBUILD | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/community/php-memcached/PKGBUILD b/community/php-memcached/PKGBUILD index 8fe9a012a..333e863ec 100644 --- a/community/php-memcached/PKGBUILD +++ b/community/php-memcached/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 95810 2013-08-17 08:23:10Z pierre $ +# $Id: PKGBUILD 108735 2014-04-02 12:09:29Z foutrelis $ # Maintainer: Evangelos Foutras <evangelos@foutrelis.com> pkgname=php-memcached -pkgver=2.1.0 -pkgrel=2 +pkgver=2.2.0 +pkgrel=1 pkgdesc="PHP extension for interfacing with memcached via libmemcached library" arch=('i686' 'x86_64') url="http://pecl.php.net/package/memcached" @@ -11,16 +11,7 @@ license=('PHP') depends=('php' 'libmemcached') backup=('etc/php/conf.d/memcached.ini') source=(http://pecl.php.net/get/memcached-$pkgver.tgz) -sha256sums=('bc4940015be74f47908d410d7b55e10a3d5bf65674036d944c73558227fcc4af') - -prepare() { - cd "$srcdir/memcached-$pkgver" - - # Fix FTBFS with libmemcached >= 1.0.17 - # https://github.com/php-memcached-dev/php-memcached/issues/69#issuecomment-17051990 - echo 'typedef const struct memcached_server_st *memcached_server_instance_st;' \ - >>php_libmemcached_compat.h -} +sha256sums=('17b9600f6d4c807f23a3f5c45fcd8775ca2e61d6eda70370af2bef4c6e159f58') build() { cd "$srcdir/memcached-$pkgver" @@ -34,8 +25,9 @@ package() { cd "$srcdir/memcached-$pkgver" make INSTALL_ROOT="$pkgdir" install - echo ';extension=memcached.so' >memcached.ini - install -Dm644 memcached.ini "$pkgdir/etc/php/conf.d/memcached.ini" + + install -d "$pkgdir/etc/php/conf.d" + echo ';extension=memcached.so' >"$pkgdir/etc/php/conf.d/memcached.ini" } # vim:set ts=2 sw=2 et: |