aboutsummaryrefslogtreecommitdiffstats
path: root/testing/topgit/APKBUILD
blob: 53124b80ca32ac478e3449a9beb90535d03e82f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Joseph Benden <joe@benden.us>
# Maintainer: Joseph Benden <joe@benden.us>
pkgname=topgit
pkgver=0.19.13
pkgrel=0
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::$url/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
"