mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - remove makedepend on valgrind
|
|
# - patch to fix building without valgrind
|
|
|
|
pkgname=libsecret
|
|
pkgver=0.19.1
|
|
pkgrel=3
|
|
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=f576dfbe50f9aed22802ad0db0356d081f467d7a # tags/0.19.1^0
|
|
source=("git+https://gitlab.gnome.org/GNOME/libsecret.git#commit=$_commit"
|
|
'0001-Fix-for-building-without-valgrind.patch')
|
|
sha256sums=('SKIP'
|
|
'0dfdbe7bbccc388f7d76ac951c344aeec01f30e07fb64c3274d1b907c6b06ee8')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
patch -p1 -i ../0001-Fix-for-building-without-valgrind.patch
|
|
}
|
|
|
|
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:
|