summaryrefslogtreecommitdiff
path: root/git/Pkgfile
blob: a16009e256656181378343fb9a59d61618d21925 (plain)
    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: curl
    5 # Nice to have: tk
    6 
    7 name=git
    8 version=1.5.1.3
    9 release=1
   10 source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
   11 
   12 build() {
   13 	cd $name-$version
   14 
   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 '15,16d' -e '18d' perl/Makefile.PL
   18 
   19 	make CFLAGS="$CFLAGS" prefix=/usr DESTDIR=$PKG install
   20 
   21 	cd $SRC
   22 
   23 	for i in man*; do
   24 		install -d $PKG/usr/man/$i
   25 		install -m 644 $i/* $PKG/usr/man/$i;
   26 	done
   27 
   28 	find $PKG -name perllocal.pod -delete
   29 	find $PKG -name .packlist -delete
   30 }

Generated by cgit