diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-02-23 20:45:43 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-02-23 20:45:43 (GMT) |
commit | cf0a0ff48af9b292e8fc65b3841fd7ad2313d542 (patch) | |
tree | b10bd7e05ab0a141732814adffb142645cf2f4b2 /abs/extra/libsecret/PKGBUILD | |
parent | 5014c8cfe36400fec383784be2cd2830c743a392 (diff) | |
download | linhes_pkgbuild-cf0a0ff48af9b292e8fc65b3841fd7ad2313d542.zip linhes_pkgbuild-cf0a0ff48af9b292e8fc65b3841fd7ad2313d542.tar.gz linhes_pkgbuild-cf0a0ff48af9b292e8fc65b3841fd7ad2313d542.tar.bz2 |
libsecret: update to 0.18.5+14
Diffstat (limited to 'abs/extra/libsecret/PKGBUILD')
-rw-r--r-- | abs/extra/libsecret/PKGBUILD | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/abs/extra/libsecret/PKGBUILD b/abs/extra/libsecret/PKGBUILD index dcd82fb..4cca08e 100644 --- a/abs/extra/libsecret/PKGBUILD +++ b/abs/extra/libsecret/PKGBUILD @@ -2,26 +2,43 @@ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libsecret -pkgver=0.18 +pkgver=0.18.5+14+g9980655 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=(x86_64) +license=(LGPL) url="https://wiki.gnome.org/Projects/Libsecret" -depends=('glib2' 'libgcrypt') -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=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz) -sha256sums=('0c73aa762dbd1e38ba7b03de350e23ce818cb810b0784375e95ef61e004b02e3') +_commit=998065599c66055dcffa1ef1ddebb947ccd68248 # master +source=("git+https://git.gnome.org/browse/libsecret#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + 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 + dbus-run-session make -k check +} + package() { - cd "$pkgname-$pkgver" + cd $pkgname make DESTDIR="$pkgdir" install } |