From 91ba95c9e6041e0948daf45a53a02bb6b3027b56 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 19 Nov 2010 10:20:38 +0000 Subject: main/cgit: upgrade to 0.8.3.4 --- main/cgit/APKBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'main/cgit/APKBUILD') diff --git a/main/cgit/APKBUILD b/main/cgit/APKBUILD index ed83a02a8b..2525cc9781 100644 --- a/main/cgit/APKBUILD +++ b/main/cgit/APKBUILD @@ -2,7 +2,7 @@ pkgname=cgit pkgver=0.8.3.4 pkgrel=0 -_gitver=1.6.4.3 +_gitver=1.7.3 pkgdesc="a fast webinterface for git" url="http://hjemli.net/git/cgit" license=GPL-2 @@ -19,6 +19,12 @@ _makeopts="NO_ICONV=YesPlease prepare() { cd "$srcdir/$pkgname-$pkgver" + # check that upstream git ver corresponds with our + local _ver=$(awk -F'[ \t]*=[ \t]*' '/^GIT_VER/ { print $2 }' Makefile) + if [ "$_ver" != "$_gitver" ]; then + error "Please set _gitver in APKBUILD to $_ver" + return 1 + fi rm -rf git ln -s ../git-$_gitver git } @@ -37,4 +43,4 @@ package() { } md5sums="712e4d3013d754aa5752e0101188cf32 cgit-0.8.3.4.tar.bz2 -4af70ff9b8f209704059f7ef96127236 git-1.6.4.3.tar.bz2" +c18eb252ce63a688071f10c3f7bc28e1 git-1.7.3.tar.bz2" -- cgit v1.2.3