diff options
author | Victor Häggqvist <[email protected]> | 2022-11-02 23:17:48 +0100 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2022-11-02 23:17:48 +0100 |
commit | 707ee09a633c52fa1c2583fd3f88bf3d309e8bfa (patch) | |
tree | 580385d6f4cc8d96d8087ec7bad2fea2db42bc58 /PKGBUILD | |
parent | f607d12612528755a9999490485c9390fbdcb7ee (diff) |
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 +} |