From 1916926dc70e2ab14bd2b70f4f043ab21cf96a06 Mon Sep 17 00:00:00 2001 From: Lukc Date: Thu, 23 Dec 2010 00:33:13 +0100 Subject: Recette de git mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git/Pkgfile.old | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 git/Pkgfile.old (limited to 'git/Pkgfile.old') diff --git a/git/Pkgfile.old b/git/Pkgfile.old new file mode 100644 index 0000000..20f43fc --- /dev/null +++ b/git/Pkgfile.old @@ -0,0 +1,39 @@ +# Description: Directory content manager +# URL: http://www.kernel.org/pub/software/scm/git/docs +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: expat, curl, python +# Nice to have: tk + +name=git +version=1.7.3.1 +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 '23,24d' -e '26d' perl/Makefile.PL + + make CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \ + 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 + + install -d $PKG/usr/man/man3 + mv $PKG/usr/share/man/man3/{Git,private-Error}.3pm \ + $PKG/usr/man/man3/ + rmdir $PKG/usr/share/{man/man3,man} + + find $PKG -name perllocal.pod -delete + find $PKG -name .packlist -delete + + rm -rf $PKG/usr/share/gitk/lib/msgs + rmdir $PKG/usr/share/gitk/{lib,} +} -- cgit v1.2.3-54-g00ecf