aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-19 10:20:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-19 10:20:38 +0000
commit91ba95c9e6041e0948daf45a53a02bb6b3027b56 (patch)
tree0ce2c287d3d065f184edf169e29faf356205144b
parent0d70567f8770050f82cd31adb55f28cd3db7d565 (diff)
downloadaports-91ba95c9e6041e0948daf45a53a02bb6b3027b56.tar.bz2
aports-91ba95c9e6041e0948daf45a53a02bb6b3027b56.tar.xz
main/cgit: upgrade to 0.8.3.4
-rw-r--r--main/cgit/APKBUILD10
1 files changed, 8 insertions, 2 deletions
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"