pkgname=goboom pkgver=r24.f607d12 pkgrel=1 pkgdesc="A dmenu wrapper" url="https://src.snilius.com/goboom/" license=('GPL3') arch=('x86_64') depends=('dmenu') makedepends=() source=() #sha256sums=('') prepare() { ln -snf "$startdir" "$srcdir/$pkgname" } pkgver() { cd "$pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$startdir" VERSION=$pkgver make build VERSION=$pkgver make man } package() { cd "$startdir" install -D -m755 goboom $pkgdir/usr/bin/goboom install -D -m755 goboom_run $pkgdir/usr/bin/goboom_run install -D -m644 docs/_build/man/goboom.1 $pkgdir/usr/share/man/man1/goboom.1 }