summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 526cb89fac7442ef9018ff75e3d4260bdce1413c (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: Corey Stephan <corey.stephan@marquette.edu>
pkgname=grb-git
pkgver=r1
pkgrel=1
pkgdesc="Greek Bible (Septuagint & New Testament) in the terminal"
arch=(any)
url="https://github.com/LukeSmithxyz/grb"
license=('custom:Public Domain')
depends=(bash)
source=('grb::git+https://github.com/LukeSmithxyz/grb')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "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 grb $pkgdir/usr/bin/grb
}