updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / beanstalkd / PKGBUILD
blob1be14e4fa3d7fd543797fd1ea42647a3251c4d03
1 # Maintainer: Charles Melbye <charlie@pushyapp.com>
2 pkgname=beanstalkd
3 pkgver=1.4.6
4 pkgrel=1
5 pkgdesc="fast, distributed, in-memory workqueue service."
6 arch=("i686" "x86_64")
7 url="http://xph.us/software/beanstalkd/"
8 license=('GPL3')
9 depends=('libevent1')
10 #makedepends=()
11 source=(https://github.com/downloads/kr/$pkgname/$pkgname-$pkgver.tar.gz \
12         $pkgname.init \
13         $pkgname.conf)
14 md5sums=('3dbbb64a6528efaaaa841ea83b30768e'
15          'ea02d492747bbd000c8ef8a8c6d97bfa'
16          'cedec10a36695379d867b6315f69ed66')
17 build() {
18         cd "$srcdir/$pkgname-$pkgver"
19         
20         ./configure --prefix=/usr
21         make || return 1
22         make DESTDIR="$pkgdir/" install
23         
24         install -D -m0755 ${srcdir}/$pkgname.init ${pkgdir}/etc/rc.d/$pkgname || return 1
25         install -D -m0644 ${srcdir}/$pkgname.conf ${pkgdir}/etc/conf.d/$pkgname || return 1