summaryrefslogtreecommitdiff
path: root/git/Pkgfile
blob: e86f8cb8fd069bdb391dabaa0650c3b0f6ff49d1 (plain)
    1 # Description: Directory content manager
    2 # URL: http://www.kernel.org/pub/software/scm/git/docs
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Packager: Tilman Sauerbeck, tilman at crux dot nu
    5 # Depends on: expat, curl, python
    6 # Nice to have: tk
    7 
    8 name=git
    9 version=1.8.0.3
   10 release=1
   11 source=(https://git-core.googlecode.com/files/$name-{,manpages-}$version.tar.gz)
   12 
   13 build() {
   14 	cd $name-$version
   15 
   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 '47d' -e '49d' perl/Makefile.PL
   19 
   20 	make CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \
   21 	     INSTALLSITEMAN3DIR=/usr/man/man3 DESTDIR=$PKG install
   22 
   23 	cd $SRC
   24 
   25 	for i in man*; do
   26 		install -d $PKG/usr/man/$i
   27 		install -m 644 $i/* $PKG/usr/man/$i;
   28 	done
   29 
   30 	find $PKG \( -name perllocal.pod -o -name .packlist \) -delete
   31 	rm -rf $PKG/usr/share/{locale,gitk}
   32 }

Generated by cgit