PKGBUILDs/core/libsecret/PKGBUILD
2020-02-03 13:48:51 +00:00

46 lines
1.1 KiB
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove makedepend on valgrind
pkgname=libsecret
pkgver=0.20.1
pkgrel=1
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)
optdepends=('org.freedesktop.secrets: secret storage backend')
_commit=e4428dd29fb41672a2dff330a600ed7af2dc74de # tags/0.20.1^0
source=("git+https://gitlab.gnome.org/GNOME/libsecret.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
# Install docs
git cherry-pick -n 2e85b13f8f3512f9cef0bed7cf8b6734af06bc9b
}
build() {
arch-meson $pkgname build
ninja -C build
}
check() {
dbus-run-session meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
# vim:set sw=2 et: