summaryrefslogtreecommitdiff
path: root/extra/git/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-02-24 14:50:00 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-02-24 14:50:00 +0100
commit82e1a8e4caf3318dbb60adda8c2649ae7ac15661 (patch)
treebc42529997fa58fc26481c8ba7524560f3baa5af /extra/git/PKGBUILD
parentf87cdf22eb712b5b1c118f768d4ff710fc839403 (diff)
parentd466ef49f224a9347fe0375eac8126725e10a0a4 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/arpack/PKGBUILD community/flac123/PKGBUILD community/flashrom/PKGBUILD community/liblockfile/PKGBUILD community/python-cjson/PKGBUILD community/tcpflow/PKGBUILD extra/vlc/PKGBUILD multilib/lib32-gnutls/PKGBUILD multilib/lib32-libssh2/PKGBUILD
Diffstat (limited to 'extra/git/PKGBUILD')
-rw-r--r--extra/git/PKGBUILD24
1 files changed, 19 insertions, 5 deletions
diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD
index be706a15c..97e7139c0 100644
--- a/extra/git/PKGBUILD
+++ b/extra/git/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 150206 2012-02-14 20:14:21Z dan $
+# $Id: PKGBUILD 150817 2012-02-23 04:50:43Z dan $
# Maintainer: Dan McGee <dan@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 'mips64el')
@@ -34,12 +34,26 @@ build() {
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 @@ package() {
install -D -m644 "$srcdir"/git-daemon.conf "$pkgdir"/etc/conf.d/git-daemon.conf
}
-sha1sums=('bd85327627f96c4e98071a4d1d32c30f210aa54a'
- '8c6ee031b39da5c5e53f927952838796e0959ce9'
+sha1sums=('7aff1048480a8637de94e8d82744d312c0b5e060'
+ 'd6992d899fb70e40983f94a2f96ad24b8ee93557'
'f2b41828bd912b72e2cb3e14677739c4f370de66'
'149e2da1ecb48872ddb31c0945afeaad1f9653d7')