summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14d80d16e22a405c71f0006a148910a6aa53e9a0 (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
# Maintainer: Luke Collins <luke@collins.mt>
pkgname=bibbja
pkgver=1
pkgrel=1
pkgdesc="Maltese Catholic Bible in the terminal - Bibbja bil-Malti"
arch=(any)
url="https://github.com/drmenguin/bibbja"
license=('GPL')
depends=(bash)
source=('bibbja::git+https://github.com/drmenguin/bibbja')
md5sums=('SKIP')

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

package() {
	cd "$srcdir/${pkgname%-git}"
	install -Dm755 bibbja $pkgdir/usr/bin/bibbja
}