aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/tig/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/tig/APKBUILD b/testing/tig/APKBUILD
new file mode 100644
index 0000000000..efb0b9c2f0
--- /dev/null
+++ b/testing/tig/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=tig
+pkgver=1.0
+pkgrel=0
+pkgdesc="Text-mode interface for the git revision control system"
+url="http://jonas.nitro.dk/tig"
+arch="all"
+license="GPL2"
+depends="git"
+depends_dev=""
+makedepends="ncurses-dev xmlto asciidoc git"
+install=""
+subpackages="$pkgname-doc"
+source="http://jonas.nitro.dk/tig/releases/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ || return 1
+ make all doc-man || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install install-doc-man || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="a2d414d1cebbc9cd4f3d545bc6f225c6 tig-1.0.tar.gz"