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

Dan McGee dan at archlinux.org
Wed Feb 22 23:50:05 EST 2012


    Date: Wednesday, February 22, 2012 @ 23:50:05
  Author: dan
Revision: 150816

upgpkg: git 1.7.9.2-1

Modified:
  git/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-23 04:13:48 UTC (rev 150815)
+++ PKGBUILD	2012-02-23 04:50:05 UTC (rev 150816)
@@ -2,7 +2,7 @@
 # Maintainer: Dan McGee <dan at archlinux.org>
 
 pkgname=git
-pkgver=1.7.9.1
+pkgver=1.7.9.2
 pkgrel=1
 pkgdesc="the fast distributed version control system"
 arch=(i686 x86_64)
@@ -34,12 +34,26 @@
   make prefix=/usr gitexecdir=/usr/lib/git-core \
     CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
     USE_LIBPCRE=1 \
-    NO_CROSS_DIRECTORY_HARDLINKS=1
+    NO_CROSS_DIRECTORY_HARDLINKS=1 \
+    all
 
   cd contrib/emacs
   make prefix=/usr
 }
 
+check() {
+  export PYTHON_PATH='/usr/bin/python2'
+  cd "$srcdir/$pkgname-$pkgver"
+  local jobs
+  jobs=$(expr "$MAKEFLAGS" : '.*\(-j[0-9]*\).*')
+  make prefix=/usr gitexecdir=/usr/lib/git-core \
+    CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
+    USE_LIBPCRE=1 \
+    NO_CROSS_DIRECTORY_HARDLINKS=1 \
+    NO_SVN_TESTS=y DEFAULT_TEST_TARGET=prove GIT_PROVE_OPTS="$jobs -Q" \
+    test
+}
+
 package() {
   export PYTHON_PATH='/usr/bin/python2'
   cd "$srcdir/$pkgname-$pkgver"
@@ -78,7 +92,7 @@
   install -D -m644 "$srcdir"/git-daemon.conf "$pkgdir"/etc/conf.d/git-daemon.conf
 }
 
-sha1sums=('bd85327627f96c4e98071a4d1d32c30f210aa54a'
-          '8c6ee031b39da5c5e53f927952838796e0959ce9'
+sha1sums=('7aff1048480a8637de94e8d82744d312c0b5e060'
+          'd6992d899fb70e40983f94a2f96ad24b8ee93557'
           'f2b41828bd912b72e2cb3e14677739c4f370de66'
           '149e2da1ecb48872ddb31c0945afeaad1f9653d7')



More information about the arch-commits mailing list