diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..79ffe1e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +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 +} |