summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 42c440b2f2006526d4b8022335791d6cc8208195 (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
30
31
32
33
34
# Contributor: Techlive Zheng <techlivezheng@gmail.com>
# Maintainer: TingPing <tingping@tingping.se>

_gitname=git-bz
pkgname=git-bz-git
pkgver=r169.e17bbae
pkgrel=1
pkgdesc='Bugzilla subcommand for Git'
arch=('any')
url='http://blog.fishsoup.net/2008/11/16/git-bz-bugzilla-subcommand-for-git/'
license=('GPL2')
depends=('git' 'python2')
makedepends=('xmlto'  'asciidoc')
source=('git://git.fishsoup.net/git-bz')
md5sums=('SKIP')

pkgver() {
	cd "$_gitname"

	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$_gitname"

	./configure --prefix=/usr
	make
}

package() {
	cd "$_gitname"

	DESTDIR="$pkgdir" make install
}