aports/testing/topgit/APKBUILD
psykose 345e721a45 */*: replace $url in source= with the url
the two are distinct, url isn't a variable. it could be changed to
update to e.g. a documentation site, source url is separate
2023-05-17 06:11:24 +02:00

30 lines
935 B
Plaintext

# Contributor: Joseph Benden <joe@benden.us>
# Maintainer: Joseph Benden <joe@benden.us>
pkgname=topgit
pkgver=0.19.13
pkgrel=1
pkgdesc="A different patch queue manager"
arch="noarch"
url="https://github.com/mackyle/topgit"
license="GPL-2.0-or-later"
options="!check"
depends="git gawk sed"
makedepends="perl"
subpackages="$pkgname-doc $pkgname-bash-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/mackyle/topgit/archive/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
build() {
make prefix=/usr sharedir=/usr/share/doc/$pkgname
}
package() {
make DESTDIR="$pkgdir" prefix=/usr sharedir=/usr/share/doc/$pkgname install
install -Dm0644 contrib/tg-completion.bash \
"$pkgdir"/usr/share/bash-completion/completions/tg.bash
}
sha512sums="
8e477504c5f873651854c9412864c9dcb0ee35d0349b65e7c5d618a0add0fad3f749381edbe17195981bae3ff9f0e7323286abf7a5c6b744721ba2cc2a5d40d4 topgit-0.19.13.tar.gz
"