# Maintainer: Blake Romero pkgname=kjv-git pkgver=r67.0b6a9ce pkgrel=1 pkgdesc="Read the word of God from the terminal" arch=(x86_64) url="https://github.com/bontibon/kjv" license=('Unlicense') depends=(less readline) makedepends=(git) provides=("${pkgname%-*}") conflicts=("${pkgname%-*}" "${pkgname}") source=("${pkgname%-*}::git+${url}") sha256sums=('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 kjv $pkgdir/usr/bin/kjv install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE }