summaryrefslogtreecommitdiff
path: root/extra/memcached/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/memcached/PKGBUILD')
-rw-r--r--extra/memcached/PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/extra/memcached/PKGBUILD b/extra/memcached/PKGBUILD
index a43032011..ddd34a2c9 100644
--- a/extra/memcached/PKGBUILD
+++ b/extra/memcached/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 164340 2012-07-31 00:50:49Z dan $
+# $Id: PKGBUILD 166159 2012-09-04 23:45:23Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Michael Irwin <6d6469@gmail.com>
pkgname=memcached
-pkgver=1.4.14
+pkgver=1.4.15
pkgrel=1
pkgdesc="A distributed memory object caching system"
arch=(i686 x86_64)
@@ -12,13 +12,15 @@ license=('GPL')
depends=('libevent')
optdepends=('perl: for memcached-tool usage')
backup=('etc/conf.d/memcached')
+install=memcached.install
source=(http://memcached.googlecode.com/files/$pkgname-$pkgver.tar.gz
memcached.conf
- memcached.sh)
-changelog=ChangeLog
-sha256sums=('f2e2ad8ee8d256f2c3748d7f741dcddfd0ab6bdece6fa1c18484e83f311156ef'
- '0e57a0f528b387f1f04f628ec74856c615d82d44f4d6bc041c33b3814ce13d0a'
- '72efa639c5a39c7c14f07cc51731ebbf82299870d9cf31cf3aaa981bc084b4eb')
+ memcached.sh
+ memcached.service)
+sha256sums=('169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4'
+ '17f66873b77e96c6706dcf13ab0aa8ddff94b2851366c787fc23e614dfc11f47'
+ '72efa639c5a39c7c14f07cc51731ebbf82299870d9cf31cf3aaa981bc084b4eb'
+ '453cad82bddb25fac43fd5cedc5702b9b6c6abaf7498e21445facf20f25f53a6')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -30,9 +32,7 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -D -m 755 scripts/memcached-tool "$pkgdir"/usr/bin/memcached-tool
- # This POS is entirely RedHat specific, so not including it now
- #install -D -m 755 scripts/memcached.service "$pkgdir"/lib/systemd/system/memcached.service
- #sed -i -e 's#^EnvironmentFile.*#EnvironmentFile=/etc/conf.d/memcached#' "$pkgdir"/lib/systemd/system/memcached.service
- install -D -m 644 "$srcdir/memcached.conf" "$pkgdir"/etc/conf.d/memcached
- install -D -m 755 "$srcdir/memcached.sh" "$pkgdir"/etc/rc.d/memcached
+ install -D -m 644 ../memcached.conf "$pkgdir"/etc/conf.d/memcached
+ install -D -m 755 ../memcached.sh "$pkgdir"/etc/rc.d/memcached
+ install -D -m 644 ../memcached.service "$pkgdir"/usr/lib/systemd/system/memcached.service
}