contrib/cgit/Pkgfile

19 lines
490 B
Plaintext
Raw Normal View History

2009-01-29 05:56:35 +01:00
# Description: Git web interface written in C
# URL: http://hjemli.net/git/cgit/
# Maintainer: Lucas Hazel, lucas at die dot net dot au
# Depends on: git
name=cgit
version=0.8.1.1
release=1
source=(http://hjemli.net/git/cgit/snapshot/cgit-0.8.1.1.tar.bz2
http://www.kernel.org/pub/software/scm/git/git-1.6.1.tar.bz2)
build() {
cd $name-$version
rm -rf git
ln -s $SRC/git-1.6.1 git
sed 's/GIT_VER = 1.6.0.3/GIT_VER = 1.6.1/' -i Makefile
make DESTDIR=$PKG install
}