opt/git/Pkgfile
Tilman Sauerbeck 924ebabb36 git: fixed URL
2007-01-08 15:08:12 +01:00

31 lines
749 B
Plaintext

# Description: Directory content manager
# URL: http://www.kernel.org/pub/software/scm/git/docs
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: curl, rcs, perl
# Nice to have: tk
name=git
version=1.4.4.4
release=1
source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
build() {
cd $name-$version
# install Error.pm. this pretty much sucks, but i'm too lazy to
# investigate whether there's a better way.
sed -i -e '15,16d' -e '18d' perl/Makefile.PL
make CFLAGS="$CFLAGS" prefix=/usr DESTDIR=$PKG install
cd $SRC
for i in man*; do
install -d $PKG/usr/man/$i
install -m 644 $i/* $PKG/usr/man/$i;
done
find $PKG -name perllocal.pod -delete
find $PKG -name .packlist -delete
}