[arch-commits] Commit in gcr/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue May 12 21:04:01 UTC 2015
Date: Tuesday, May 12, 2015 @ 23:04:00
Author: heftig
Revision: 239241
3.16.0
Modified:
gcr/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-05-12 20:45:40 UTC (rev 239240)
+++ PKGBUILD 2015-05-12 21:04:00 UTC (rev 239241)
@@ -2,7 +2,7 @@
# Maintainer: Ionut Biru <ibiru at archlinux.org>
pkgname=gcr
-pkgver=3.15.92
+pkgver=3.16.0
pkgrel=1
pkgdesc="A library for bits of crypto UI and parsing"
arch=(i686 x86_64)
@@ -15,9 +15,14 @@
install=gcr.install
source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
10-gcr.conf)
-sha256sums=('ebdb15ef5277b0e66863649a7bccde60f8e20d3ceed8be976878b46cf129e012'
+sha256sums=('ecfe8df41cc88158364bb15addc670b11e539fe844742983629ba2323888d075'
'5f2eda7175ae9f23ee0e09d2beceb24fd2f6daafd7bddfcc1c1f5a3734eb60fc')
+prepare() {
+ mkdir path
+ ln -s /usr/bin/python2 path/python
+}
+
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr \
@@ -28,6 +33,11 @@
make
}
+check() {
+ cd "$pkgname-$pkgver"
+ PATH="$srcdir/path:$PATH" dbus-run-session make -k check || :
+}
+
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
More information about the arch-commits
mailing list