[arch-commits] Commit in libgnome-keyring/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Mar 24 22:45:41 UTC 2019
Date: Sunday, March 24, 2019 @ 22:45:40
Author: jgc
Revision: 349155
upgpkg: libgnome-keyring 3.12.0+11+g3766bcc-1
Fix build with latest vala
Modified:
libgnome-keyring/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-24 20:57:07 UTC (rev 349154)
+++ PKGBUILD 2019-03-24 22:45:40 UTC (rev 349155)
@@ -1,24 +1,35 @@
#Maintainer: Jan De Groot <jgc at archlinux.org>
pkgname=libgnome-keyring
-pkgver=3.12.0
-pkgrel=3
+pkgver=3.12.0+11+g3766bcc
+pkgrel=1
pkgdesc="GNOME keyring client library"
arch=(x86_64)
license=('GPL' 'LGPL')
depends=('dbus' 'glib2' 'libgcrypt')
-makedepends=('intltool' 'gobject-introspection' 'vala' 'python2')
+makedepends=('intltool' 'gobject-introspection' 'vala' 'python2' git gnome-common)
optdepends=('gnome-keyring: key storage service (or use any other service implementing org.freedesktop.secrets)')
options=('!emptydirs')
url="https://www.gnome.org"
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783')
+_commit=3766bcc482f9e02fb5f9c183e814833ad1fbf08a # master
+source=("git+https://gitlab.gnome.org/GNOME/libgnome-keyring.git#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
- --libexecdir=/usr/lib/gnome-keyring
+ --libexecdir=/usr/lib/gnome-keyring --enable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -26,6 +37,6 @@
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list