[arch-commits] Commit in git/trunk (PKGBUILD)

Angel Velásquez angvp at archlinux.org
Thu Jan 6 00:01:06 EST 2011


    Date: Thursday, January 6, 2011 @ 00:01:06
  Author: angvp
Revision: 105083

upgpkg: git 1.7.3.5-2
Little clean-up on PKGBUILD rebuilt against perl 5.12.2

Modified:
  git/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-06 04:45:06 UTC (rev 105082)
+++ PKGBUILD	2011-01-06 05:01:06 UTC (rev 105083)
@@ -3,12 +3,12 @@
 
 pkgname=git
 pkgver=1.7.3.5
-pkgrel=1
+pkgrel=2
 pkgdesc="the fast distributed version control system"
 arch=(i686 x86_64)
 url="http://git-scm.com/"
 license=('GPL2')
-depends=('curl' 'expat>=2.0' 'perl-error' 'perl>=5.10.0')
+depends=('curl' 'expat>=2.0' 'perl-error' 'perl>=5.12.2')
 makedepends=('python2')
 optdepends=('tk: gitk and git gui'
             'perl-libwww: git svn'
@@ -28,7 +28,7 @@
 build() {
   export PYTHON_PATH='/usr/bin/python2'
   cd "$srcdir/$pkgname-$pkgver"
-  make prefix=/usr gitexecdir=/usr/lib/git-core || return 1
+  make prefix=/usr gitexecdir=/usr/lib/git-core 
 }
 
 package() {
@@ -36,15 +36,13 @@
   cd "$srcdir/$pkgname-$pkgver"
   make prefix=/usr gitexecdir=/usr/lib/git-core \
     NO_CROSS_DIRECTORY_HARDLINKS=1 \
-    INSTALLDIRS=vendor DESTDIR=${pkgdir} install || return 1
+    INSTALLDIRS=vendor DESTDIR=${pkgdir} install 
 
   # bash completion
   mkdir -p $pkgdir/etc/bash_completion.d/
-  install -m644 ./contrib/completion/git-completion.bash $pkgdir/etc/bash_completion.d/git || return 1
-
+  install -m644 ./contrib/completion/git-completion.bash $pkgdir/etc/bash_completion.d/git 
   # more contrib stuff
-  cp -a ./contrib $pkgdir/usr/share/git/ || return 1
-
+  cp -a ./contrib $pkgdir/usr/share/git/ 
   # scripts are for python 2.x
   sed -i 's|#![ ]*/usr/bin/env python|#!/usr/bin/env python2|' \
     $(find "$pkgdir" -name '*.py') \



More information about the arch-commits mailing list