mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 10:22:25 +01:00
Add disque-git
This commit is contained in:
commit
9eddead39d
2 changed files with 45 additions and 0 deletions
13
.SRCINFO
Normal file
13
.SRCINFO
Normal file
|
|
@ -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
|
||||
|
||||
32
PKGBUILD
Normal file
32
PKGBUILD
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Yuval Adam <yuval at y3xz dot com> 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:
|
||||
Loading…
Add table
Reference in a new issue