PKGBUILDs/extra/memcached/PKGBUILD
2009-10-09 21:23:22 -05:00

32 lines
878 B
Bash

# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Michael Irwin <6d6469@gmail.com>
pkgname=memcached
pkgver=1.4.1
pkgrel=1
pkgdesc="A distributed memory object caching system"
arch=(i686 x86_64)
url="http://www.danga.com/memcached/"
license=('GPL')
depends=('libevent')
backup=('etc/conf.d/memcached')
source=(http://memcached.googlecode.com/files/$pkgname-$pkgver.tar.gz
memcached.conf
memcached.sh)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -D -m 644 $startdir/src/$pkgname.conf \
$startdir/pkg/etc/conf.d/$pkgname
install -D -m 755 $startdir/src/$pkgname.sh \
$startdir/pkg/etc/rc.d/$pkgname
}
md5sums=('fb1b7e9fcf47b95c5ad3bbeb76342088'
'bf15619930dadf0c08669566e4aa809c'
'65f88b69cf3112b178725af121327765')