aboutsummaryrefslogtreecommitdiffstats
path: root/main/cgit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/cgit/APKBUILD')
-rw-r--r--main/cgit/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/cgit/APKBUILD b/main/cgit/APKBUILD
index af8ea6d197..6b30ed7846 100644
--- a/main/cgit/APKBUILD
+++ b/main/cgit/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cgit
pkgver=0.8.3.1
-pkgrel=1
+pkgrel=2
_gitver=1.6.4.3
pkgdesc="a fast webinterface for git"
url="http://hjemli.net/git/cgit"
@@ -14,14 +14,17 @@ source="
"
_makeopts="NO_ICONV=YesPlease
- NO_NSEC=YesPlease
NO_TCLTK=YesPlease
NO_SVN_TESTS=YesPlease"
-build() {
+prepare() {
cd "$srcdir/$pkgname-$pkgver"
rm -rf git
ln -s ../git-$_gitver git
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
make $_makeopts
}