[arch-commits] CVS update of extra/devel/git (PKGBUILD)

Kevin Piche kevin at archlinux.org
Tue Jan 29 02:58:04 UTC 2008


    Date: Monday, January 28, 2008 @ 21:58:04
  Author: kevin
    Path: /home/cvs-extra/extra/devel/git

Modified: PKGBUILD (1.44 -> 1.45)

upgpkg: git 1.5.3.7-2
Updated for new perl policy.  Change license to GPL2


----------+
 PKGBUILD |   18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)


Index: extra/devel/git/PKGBUILD
diff -u extra/devel/git/PKGBUILD:1.44 extra/devel/git/PKGBUILD:1.45
--- extra/devel/git/PKGBUILD:1.44	Sun Dec  2 23:58:19 2007
+++ extra/devel/git/PKGBUILD	Mon Jan 28 21:58:04 2008
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD,v 1.44 2007/12/03 04:58:19 dan Exp $
+# $Id: PKGBUILD,v 1.45 2008/01/29 02:58:04 kevin Exp $
 # Maintainer: Simo Leone <simo at archlinux.org>
 # Maintainer: Dan McGee <dan at archlinux.org>
 
 pkgname=git
 pkgver=1.5.3.7
-pkgrel=1
+pkgrel=2
 pkgdesc="GIT - the stupid content tracker"
 arch=(i686 x86_64)
 url="http://git.or.cz/"
-license=('GPL')
-depends=('curl' 'expat>=2.0' 'perl-error')
+license=('GPL2')
+depends=('curl' 'expat>=2.0' 'perl-error' 'perl>=5.10.0')
 replaces=('git-core')
 provides=('git-core')
 install=git.install
@@ -18,11 +18,8 @@
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
-  eval `perl -V:archname`
   make prefix=/usr || return 1
-  make prefix=/usr INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
-    INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
-    INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} DESTDIR=${startdir}/pkg install
+  make prefix=/usr INSTALLDIRS=vendor DESTDIR=${startdir}/pkg install
   
   # let's plop gitweb in /usr/share
   cp -dR ./gitweb ${startdir}/pkg/usr/share/gitweb
@@ -39,9 +36,8 @@
     install -D -m644 $i ${startdir}/pkg/usr/man/man7/`basename $i`
   done
 
-  # remove perllocal.pod and .packlist
-  find ${startdir}/pkg -name perllocal.pod -delete
-  find ${startdir}/pkg -name .packlist -delete
+  # remove perllocal.pod, .packlist, and empty directories.
+  rm -rf ${startdir}/pkg/usr/lib
 }
 
 md5sums=('a114cbf532ff627698a031a66d072173'




More information about the arch-commits mailing list