1 # Description: Directory content manager
2 # URL: http://www.kernel.org/pub/software/scm/git/docs
3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4 # Depends on: expat, curl, python
10 source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
15 # install Error.pm. this pretty much sucks, but i'm too lazy to
16 # investigate whether there's a better way.
17 sed -i -e '23,24d' -e '26d' perl/Makefile.PL
19 make CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \
25 install -d $PKG/usr/man/$i
26 install -m 644 $i/* $PKG/usr/man/$i;
29 install -d $PKG/usr/man/man3
30 mv $PKG/usr/share/man/man3/{Git,private-Error}.* \
32 rmdir $PKG/usr/share/{man/man3,man}
34 find $PKG -name perllocal.pod -delete
35 find $PKG -name .packlist -delete
37 rm -rf $PKG/usr/share/gitk/lib/msgs
38 rmdir $PKG/usr/share/gitk/{lib,}