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 # Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
5 # Depends on: expat curl
11 source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
16 # install Error.pm. this pretty much sucks but i'm too lazy to
17 # investigate whether there's a better way.
18 sed -i -e '23,24d' -e '26d' perl/Makefile.PL
20 make CC="$CC" CFLAGS="$CFLAGS -I$CLFS/usr/include" \
21 prefix=/usr gitexecdir=/usr/lib/git-core \
27 install -d $PKG/usr/man/$i
28 install -m 644 $i/* $PKG/usr/man/$i;
31 install -d $PKG/usr/man/man3
32 mv $PKG/usr/share/man/man3/{Git,private-Error}.3pm \
34 rmdir $PKG/usr/share/{man/man3,man}
36 find $PKG -name perllocal.pod -delete
37 find $PKG -name .packlist -delete
39 rm -rf $PKG/usr/share/gitk/lib/msgs
40 rmdir $PKG/usr/share/gitk/{lib,}