summaryrefslogtreecommitdiff
path: root/extra/memcached/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/memcached/PKGBUILD')
-rw-r--r--extra/memcached/PKGBUILD28
1 files changed, 12 insertions, 16 deletions
diff --git a/extra/memcached/PKGBUILD b/extra/memcached/PKGBUILD
index 49187e522..458f173f9 100644
--- a/extra/memcached/PKGBUILD
+++ b/extra/memcached/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 109292 2011-02-07 17:22:01Z ibiru $
+# $Id: PKGBUILD 133031 2011-07-27 01:25:28Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Michael Irwin <6d6469@gmail.com>
pkgname=memcached
-pkgver=1.4.5
-pkgrel=3
+pkgver=1.4.6
+pkgrel=1
pkgdesc="A distributed memory object caching system"
arch=(i686 x86_64 'mips64el')
url="http://memcached.org/"
@@ -14,26 +14,22 @@ optdepends=('perl: for memcached-tool usage')
backup=('etc/conf.d/memcached')
source=(http://memcached.googlecode.com/files/$pkgname-$pkgver.tar.gz
memcached.conf
- memcached.sh
- fix-type-punning-issues.patch)
+ memcached.sh)
changelog=ChangeLog
+sha256sums=('4dba55457e4e7f5a3e8255325671bf1e1efbe89ee224fcc6993fcd659956d3f7'
+ '0e57a0f528b387f1f04f628ec74856c615d82d44f4d6bc041c33b3814ce13d0a'
+ '72efa639c5a39c7c14f07cc51731ebbf82299870d9cf31cf3aaa981bc084b4eb')
build() {
- cd $srcdir/$pkgname-$pkgver
- patch -Np1 < $srcdir/fix-type-punning-issues.patch
+ cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
install -D -m 755 scripts/memcached-tool $pkgdir/usr/bin/memcached-tool
- install -D -m 644 $srcdir/$pkgname.conf $pkgdir/etc/conf.d/$pkgname
- install -D -m 755 $srcdir/$pkgname.sh $pkgdir/etc/rc.d/$pkgname
+ install -D -m 644 "$srcdir/memcached.conf" $pkgdir/etc/conf.d/memcached
+ install -D -m 755 "$srcdir/memcached.sh" $pkgdir/etc/rc.d/memcached
}
-
-md5sums=('583441a25f937360624024f2881e5ea8'
- 'bf15619930dadf0c08669566e4aa809c'
- '65f88b69cf3112b178725af121327765'
- 'c4f6da682cb4e7599fede4904021f4ae')