aboutsummaryrefslogtreecommitdiffstats
path: root/testing/topgit/APKBUILD
blob: e3eada24c610b1adfa88f1ef4d67f0cb787b9488 (plain)
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
# Contributor: Joseph Benden <joe@benden.us>
# Maintainer: Joseph Benden <joe@benden.us>

pkgname=topgit
pkgver=0.19.12
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"
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
	# TODO: install bash completions
}

sha512sums="cb9245fbec7a4a15822a5b70d7052be200aa8b574b528dd929121597eb7dcec97532b0fd4d6a4d6bb63676194ed0ab2129e106fb88f63561187620ec431f9efb  topgit-0.19.12.tar.gz"