aboutsummaryrefslogtreecommitdiffstats
path: root/main/cgit
diff options
context:
space:
mode:
Diffstat (limited to 'main/cgit')
-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"