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

Jan Steffens heftig at archlinux.org
Thu Mar 30 20:27:43 UTC 2017


    Date: Thursday, March 30, 2017 @ 20:27:42
  Author: heftig
Revision: 291892

0.18.5+8+g2ab34b2-1

Modified:
  libsecret/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++++----------------
 1 file changed, 22 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-30 20:24:07 UTC (rev 291891)
+++ PKGBUILD	2017-03-30 20:27:42 UTC (rev 291892)
@@ -2,37 +2,43 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libsecret
-pkgver=0.18.5
+pkgver=0.18.5+8+g2ab34b2
 pkgrel=1
-pkgdesc='Library for storing and retrieving passwords and other secrets.'
-arch=('i686' 'x86_64')
-license=('LGPL')
+pkgdesc="Library for storing and retrieving passwords and other secrets"
+arch=(i686 x86_64)
+license=(LGPL)
 url="https://wiki.gnome.org/Projects/Libsecret"
-depends=('glib2' 'libgcrypt')
-checkdepends=('python2-dbus' 'python-dbus' 'dbus-glib' 'python2-gobject' 'python-gobject' 'gjs')
-makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'vala')
+depends=(glib2 libgcrypt)
+checkdepends=(python-dbus dbus-glib python-gobject gjs)
+makedepends=(intltool docbook-xsl gobject-introspection vala git gtk-doc)
 optdepends=('gnome-keyring: key storage service (or use any other service implementing org.freedesktop.secrets)')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('9ce7bd8dd5831f2786c935d82638ac428fa085057cc6780aba0e39375887ccb3')
+_commit=2ab34b2b5dd5c3da733ced23391856e36bed7c59  # gnome-3-20
+source=("git+https://git.gnome.org/browse/libsecret#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
 prepare() {
-  mkdir path
-  ln -s /usr/bin/python2 path/python
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --enable-gtk-doc
   make
 }
 
 check() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname
   PATH="$srcdir/path:$PATH" dbus-run-session make -k check 
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list