blob: 1121826c45365598da739689e966f33c003691ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Description: Gestionnaire de revision de dossiers
# URL: http://git-scm.com/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: curl, libidn
# Nice to have: tk
name=git
version=1.6.4.2
release=1
source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
build() {
cd $name-$version
sed -i -e '15,16d' -e '18d' 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/share/man/$i
install -m 644 $i/* $PKG/usr/share/man/$i;
done
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,}
}
|