updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / httpsqs / PKGBUILD
blobfef989f4dcd73599f234af62dc7db697c8c79849
1 # Maintainer: MkFly <mmkfly@gmail.com>
2 # Contributor: Igor Nemilentsev <trezorg@gmail.com>
4 pkgname=httpsqs
5 pkgver=1.7
6 pkgrel=1
7 pkgdesc='HTTP Simple Queue Service, message queue based on HTTP GET/POST protocol.'
8 arch=('i686' 'x64')
9 url='http://code.google.com/p/httpsqs'
10 license=('BSD')
11 depends=('libevent' 'tokyocabinet')
12 source=(http://httpsqs.googlecode.com/files/httpsqs-1.7.tar.gz httpsqs)
13 md5sums=('2e5a71a5ed04c30efeab9939ca39a786'
14         '66f5a727b0b1d7ddb44541a17953c58f'
17 build() {
18         cd ${srcdir}/${pkgname}-${pkgver}
19         make || return 1
22 package() {
23         cd ${srcdir}/${pkgname}-${pkgver}
24         mkdir -p ${pkgdir}/usr/bin || return 1
25         mkdir -p ${pkgdir}/etc/rc.d || return 1
26         cp -v ${srcdir}/httpsqs ${pkgdir}/etc/rc.d/httpsqs
27         make DESTDIR=${pkgdir} install || return 1