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

Jan Steffens heftig at archlinux.org
Tue May 5 23:43:56 UTC 2015


    Date: Wednesday, May 6, 2015 @ 01:43:55
  Author: heftig
Revision: 238526

0.18.2

Modified:
  libsecret/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-05 23:30:47 UTC (rev 238525)
+++ PKGBUILD	2015-05-05 23:43:55 UTC (rev 238526)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libsecret
-pkgver=0.18
+pkgver=0.18.2
 pkgrel=1
 pkgdesc='Library for storing and retrieving passwords and other secrets.'
 arch=('i686' 'x86_64')
@@ -9,11 +9,17 @@
 license=('LGPL')
 url="https://wiki.gnome.org/Projects/Libsecret"
 depends=('glib2' 'libgcrypt')
+checkdepends=('python2-dbus' 'dbus-glib' 'python2-gobject2' 'python2-gobject' 'gjs')
 makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'vala')
 optdepends=('gnome-keyring: key storage service (or use any other service implementing org.freedesktop.secrets)')
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
-sha256sums=('0c73aa762dbd1e38ba7b03de350e23ce818cb810b0784375e95ef61e004b02e3')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('12fd288b012e1b2b1b54d586cd4c6507885715534644b4534b7ef7d7079ba443')
 
+prepare() {
+  mkdir path
+  ln -s /usr/bin/python2 path/python
+}
+
 build() {
   cd "$pkgname-$pkgver"
   ./configure --prefix=/usr --sysconfdir=/etc \
@@ -21,6 +27,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