diff options
| author | Yuval Adam <yuval@y3xz.com> | 2016-02-02 00:10:18 +0200 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2016-02-02 00:10:18 +0200 |
| commit | 8792de32a2f6d865debe4d49d9612a3b4e4d7334 (patch) | |
| tree | d8e894f6c60eaf1772143eb114c17b1484ea4424 /aur/disque-git | |
| parent | 94b4cc6452aa4686e30185c5f5e9db0ba9d472df (diff) | |
| parent | 72bfca3d9da367ecac6dad83b3b44d01efa702cf (diff) | |
Add 'aur/disque-git/' from commit '72bfca3d9da367ecac6dad83b3b44d01efa702cf'
git-subtree-dir: aur/disque-git
git-subtree-mainline: 94b4cc6452aa4686e30185c5f5e9db0ba9d472df
git-subtree-split: 72bfca3d9da367ecac6dad83b3b44d01efa702cf
Diffstat (limited to 'aur/disque-git')
| -rw-r--r-- | aur/disque-git/.SRCINFO | 13 | ||||
| -rw-r--r-- | aur/disque-git/PKGBUILD | 31 |
2 files changed, 44 insertions, 0 deletions
diff --git a/aur/disque-git/.SRCINFO b/aur/disque-git/.SRCINFO new file mode 100644 index 0000000..0c58e95 --- /dev/null +++ b/aur/disque-git/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = disque-git + pkgdesc = Distributed message broker + pkgver = d01f47d + pkgrel = 2 + 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/aur/disque-git/PKGBUILD b/aur/disque-git/PKGBUILD new file mode 100644 index 0000000..7c7ef30 --- /dev/null +++ b/aur/disque-git/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=disque-git +pkgver=d01f47d +pkgrel=2 +pkgdesc="Distributed message broker" +arch=('any') +url="https://github.com/antirez/disque" +license=(MIT) +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 -Dm644 ${srcdir}/${pkgname}/disque.conf ${pkgdir}/etc/disque/disque.conf + 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: |
