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

Jan Steffens heftig at archlinux.org
Thu Mar 8 20:50:57 UTC 2018


    Date: Thursday, March 8, 2018 @ 20:50:56
  Author: heftig
Revision: 318286

3.27.92+1+g7120f44c-1

Modified:
  gnome-keyring/trunk/PKGBUILD

----------+
 PKGBUILD |   36 +++++++++++++++++++++++-------------
 1 file changed, 23 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-08 20:40:48 UTC (rev 318285)
+++ PKGBUILD	2018-03-08 20:50:56 UTC (rev 318286)
@@ -2,7 +2,7 @@
 # Maintainer: Jan De Groot <jgc at archlinux.org>
 
 pkgname=gnome-keyring
-pkgver=3.27.4+8+gff229abc
+pkgver=3.27.92+1+g7120f44c
 pkgrel=1
 epoch=1
 pkgdesc="Stores passwords and encryption keys"
@@ -9,11 +9,12 @@
 url="https://wiki.gnome.org/Projects/GnomeKeyring"
 arch=(x86_64)
 license=(GPL LGPL)
-depends=(gcr libcap-ng pam)
-makedepends=(gtk-doc gnome-common git python)
+depends=(gcr libcap-ng pam openssh)
+makedepends=(git docbook-xsl python)
+checkdepends=(python2)
 groups=(gnome)
 install=gnome-keyring.install
-_commit=ff229abca62db366c84dfe58035324f6d8ca6059  # master
+_commit=7120f44ceedd5c10802781d64a5829b3c6d8e13f  # master
 source=("git+https://git.gnome.org/browse/gnome-keyring#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -24,22 +25,31 @@
 
 prepare() {
   cd $pkgname
-  sed -e 's/MATE/MATE;Cinnamon/' -i daemon/*.desktop.in.in
-  NOCONFIGURE=1 ./autogen.sh
+  sed -i 's/MATE/MATE;Cinnamon/' daemon/*.desktop.in.in
+  sed -i '1s/python$/&2/' build/tap-{driver,gtester}
+  autoreconf -fvi
 }
 
 build() {
-  cd "$pkgname"
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static \
-      --libexecdir=/usr/lib/gnome-keyring \
-      --with-pam-dir=/usr/lib/security --with-root-certs=/etc/ssl/certs \
-      --disable-schemas-compile
+  cd $pkgname
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib \
+    --with-pam-dir=/usr/lib/security \
+    --disable-static \
+    --disable-schemas-compile
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
+check() {
+  cd $pkgname
+  # Secure memory tests fail
+  dbus-run-session make -k check || :
+}
+
 package() {
-  cd "$pkgname"
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list