[arch-commits] Commit in php-memcached/repos (2 files)
Pierre Schmitz
pierre at archlinux.org
Sun Dec 3 14:05:59 UTC 2017
Date: Sunday, December 3, 2017 @ 14:05:58
Author: pierre
Revision: 271983
archrelease: copy trunk to community-staging-x86_64
Added:
php-memcached/repos/community-staging-x86_64/
php-memcached/repos/community-staging-x86_64/PKGBUILD
(from rev 271982, php-memcached/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: php-memcached/repos/community-staging-x86_64/PKGBUILD (from rev 271982, php-memcached/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-12-03 14:05:58 UTC (rev 271983)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=php-memcached
+pkgver=3.0.4
+pkgrel=2
+pkgdesc="PHP extension for interfacing with memcached via libmemcached library"
+arch=('x86_64')
+url="https://github.com/php-memcached-dev/php-memcached"
+license=('PHP')
+depends=('php' 'libmemcached')
+makedepends=('git')
+backup=('etc/php/conf.d/memcached.ini')
+source=("git+https://github.com/php-memcached-dev/php-memcached.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname"
+
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ make INSTALL_ROOT="$pkgdir" install
+
+ 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:
More information about the arch-commits
mailing list