PKGBUILDs/core/libsecret/PKGBUILD

45 lines
1 KiB
Bash
Raw Normal View History

2019-03-06 03:07:52 +00:00
# Maintainer: Jan de Groot <jgc@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove makedepend on valgrind
pkgname=libsecret
2020-04-19 16:32:51 +00:00
pkgver=0.20.3
2020-01-24 13:27:03 +00:00
pkgrel=1
2019-03-06 03:07:52 +00:00
pkgdesc="Library for storing and retrieving passwords and other secrets"
url="https://wiki.gnome.org/Projects/Libsecret"
arch=(x86_64)
license=(LGPL)
depends=(glib2 libgcrypt)
checkdepends=(python-dbus dbus-glib python-gobject gjs)
makedepends=(docbook-xsl gobject-introspection vala git gtk-doc meson)
2019-12-11 13:36:49 +00:00
optdepends=('org.freedesktop.secrets: secret storage backend')
2020-03-14 18:09:37 +00:00
provides=(libsecret-1.so)
2020-04-19 16:32:51 +00:00
_commit=fb456a3853a080996f044496b11f3001af4a2659 # tags/0.20.3^0
2020-01-24 13:27:03 +00:00
source=("git+https://gitlab.gnome.org/GNOME/libsecret.git#commit=$_commit")
sha256sums=('SKIP')
2019-03-06 03:07:52 +00:00
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build
ninja -C build
}
check() {
2019-09-07 22:53:57 +00:00
dbus-run-session meson test -C build --print-errorlogs
2019-03-06 03:07:52 +00:00
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
# vim:set sw=2 et: