summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fec2e63281e2e9e88b1e3546a9f340f4c681222c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: John "ShaggyTwoDope" Jenkins <twodopeshaggy at gmail dot com>
pkgname=nq-git
pkgver=r68.0eae839
pkgrel=1
pkgdesc="Unix command line queue utility"
arch=('i686' 'x86_64')
url="https://github.com/chneukirchen/nq"
license=('GPL')
makedepends=('make')

source=("${pkgname}::git+https://github.com/chneukirchen/nq.git")
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/${pkgname}"
  printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$pkgname"
  make all
}


package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir/" install
}