33 lines
894 B
Plaintext
33 lines
894 B
Plaintext
# Description: Directory content manager
|
|
# URL: http://www.kernel.org/pub/software/scm/git/docs
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Packager: Tilman Sauerbeck, tilman at crux dot nu
|
|
# Depends on: expat, curl, python
|
|
# Nice to have: tk
|
|
|
|
name=git
|
|
version=2.0.1
|
|
release=1
|
|
source=(https://www.kernel.org/pub/software/scm/git/git-{,manpages-}$version.tar.xz)
|
|
|
|
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 '47d' -e '49d' perl/Makefile.PL
|
|
|
|
make CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \
|
|
INSTALLSITEMAN3DIR=/usr/man/man3 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 -o -name .packlist \) -delete
|
|
rm -rf $PKG/usr/share/{locale,gitk}
|
|
}
|