diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-18 13:56:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-18 13:56:11 +0000 |
commit | f90645a4377843b314ef60b3b45257ae8e503321 (patch) | |
tree | 75f9a85646a7e9438b70a9ba9392559e5e85ddbc /main/tig | |
parent | f168f2e91558643d8770220fdcafecb617c49b1f (diff) | |
download | aports-f90645a4377843b314ef60b3b45257ae8e503321.tar.bz2 aports-f90645a4377843b314ef60b3b45257ae8e503321.tar.xz |
main/tig: upgrade to 1.0 and fabian takes over as maintainer
Diffstat (limited to 'main/tig')
-rw-r--r-- | main/tig/APKBUILD | 49 |
1 files changed, 20 insertions, 29 deletions
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 <clandmeter@gmail.com> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> 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" |