pkgname=cgit pkgver=0.8.1 _gitver=1.6.0.4 pkgdesc="a fast webinterface for git" url="http://hjemli.net/git/cgit" license=GPL-2 source=" http://hjemli.net/git/cgit/snapshot/$pkgname-$pkgver.tar.gz http://www.kernel.org/pub/software/scm/git/git-$_gitver.tar.bz2 " build() { local makeopts="NO_ICONV=YesPlease NO_CURL=YesPlease" cd "$srcdir/$pkgname-$pkgver" rm -rf git ln -s ../git-$_gitver git make $makeopts || return 1 make $makeopts DESTDIR="$pkgdir" \ CGIT_SCRIPT_PATH=/usr/share/webapps/cgit \ install } md5sums="3c4b5dbbc5e8264d2825063778dc4907 cgit-0.8.1.tar.gz ed8c4fa007a44d51b646865c35461ce8 git-1.6.0.4.tar.bz2"