1 # Contributor: vogt <vogt.adam@gmail.com>
2 pkgname=darcsstats-darcs
5 pkgdesc="a simple statistics generator for darcs repositories"
7 url="http://vmiklos.hu/project/darcsstats/"
10 makedepends=('darcs' 'gcc' 'make')
14 _darcstrunk="http://vmiklos.hu/project/"
15 _darcsmod="darcsstats"
20 msg "Checking for previous build"
22 if [[ -d $startdir/src/$_darcsmod/_darcs ]]
24 msg "Retrieving missing patches"
26 darcs pull -a $_darcstrunk/$_darcsmod
28 msg "Retrieving complete sources"
29 darcs get --partial --set-scripts-executable $_darcstrunk/$_darcsmod
33 cd $startdir/src/$_darcsmod
36 make DESTDIR=$pkgdir INSTALL='/bin/install -c' install
38 # vim:set ts=2 sw=2 et: