summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b7840aa7549e1147ba6565566584c45d22af485 (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=vul-git
pkgver=r12.996c670
pkgrel=1
pkgdesc="Latin Vulgate Bible in the terminal"
arch=(any)
url="https://github.com/LukeSmithxyz/vul"
license=('custom:Public Domain')
depends=(bash)
source=('vul::git+https://github.com/LukeSmithxyz/vul')
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 vul $pkgdir/usr/bin/vul
}