From f90645a4377843b314ef60b3b45257ae8e503321 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 18 May 2012 13:56:11 +0000 Subject: main/tig: upgrade to 1.0 and fabian takes over as maintainer --- main/tig/APKBUILD | 49 ++++++++++++++++++++----------------------------- 1 file changed, 20 insertions(+), 29 deletions(-) (limited to 'main') diff --git a/main/tig/APKBUILD b/main/tig/APKBUILD index 893767f34b..cdefaa3d26 100644 --- a/main/tig/APKBUILD +++ b/main/tig/APKBUILD @@ -1,44 +1,35 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter pkgname=tig -pkgver=0.18 +pkgver=1.0 pkgrel=0 -pkgdesc="Text-mode interface for git" -url="http://jonas.nitro.dk/tig/" +pkgdesc="Text-mode interface for the git revision control system" +url="http://jonas.nitro.dk/tig" arch="all" -license="GPL" -depends= -depends_dev="libiconv-dev ncurses-dev" -makedepends="$depends_dev asciidoc" +license="GPL2" +depends="git" +depends_dev="" +makedepends="ncurses-dev xmlto asciidoc git libiconv-dev" install="" subpackages="$pkgname-doc" source="http://jonas.nitro.dk/tig/releases/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +_builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 + ./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 || return 1 - + make DESTDIR="$pkgdir" install install-doc-man || return 1 + rm -f "$pkgdir"/usr/lib/*.la } -md5sums="4fa9e33c5daa76b6fed11e068405356f tig-0.18.tar.gz" +md5sums="a2d414d1cebbc9cd4f3d545bc6f225c6 tig-1.0.tar.gz" -- cgit v1.2.3