commit 9eddead39d37e2f42394786cec79fe3acefea83d Author: Yuval Adam Date: Tue Apr 28 00:00:00 2015 +0300 Add disque-git diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c92bc332da36 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = disque-git + pkgdesc = Distributed message broker + pkgver = d01f47d + pkgrel = 1 + url = https://github.com/antirez/disque + arch = any + license = MIT + provides = disque + source = disque-git::git+https://github.com/antirez/disque + sha1sums = SKIP + +pkgname = disque-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5767feae7a09 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Yuval Adam PGP-Key: 271386AA2EB7672F + +pkgname=disque-git +pkgver=d01f47d +pkgrel=1 +pkgdesc="Distributed message broker" +arch=('any') +url="https://github.com/antirez/disque" +license=(MIT) +depends=('') +makedepends=() +provides=('disque') +source=("$pkgname::git+$url") +sha1sums=('SKIP') + +pkgver() { + cd "$pkgname" + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd "$pkgname" + make +} + +package() { + cd "$pkgname" + install -Dm755 ${srcdir}/${pkgname}/src/disque ${pkgdir}/usr/bin/disque + install -Dm755 ${srcdir}/${pkgname}/src/disque-server ${pkgdir}/usr/bin/disque-server +} + +# vim:set ts=2 sw=2 et: