1 # Maintainer: Richard Pöttler, richard dot poettler at gmail dot com
2 # Description: git webinterface written in c
3 # URL: http://hjemli.net/git/cgit/
9 source=(http://hjemli.net/git/cgit/snapshot/${name}-${version}.tar.gz copyrepos)
12 # getting the git sources
13 cd $(prt-get path git)
16 # extracting the git sources and creating the symlink
17 cd $SRC/$name-$version
19 GIT_NAME_VERSION=$(prt-get printf '%n-%v' --filter='git')
20 tar xjf $PKGMK_SOURCE_DIR/${GIT_NAME_VERSION}.tar.bz2
21 ln -s $GIT_NAME_VERSION git
25 make DESTDIR=$PKG CGIT_SCRIPT_PATH=/var/www/cgit install
26 install -D -m 755 $SRC/copyrepos $PKG/usr/bin/copyrepos