49 lines
1.3 KiB
Bash
49 lines
1.3 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=libsecret
|
|
pkgver=0.21.2
|
|
pkgrel=01
|
|
pkgdesc="Library for storing and retrieving passwords and other secrets"
|
|
#url="https://wiki.gnome.org/Projects/Libsecret"
|
|
url="https://gnome.pages.gitlab.gnome.org/libsecret/"
|
|
depends=(glib2 libgcrypt tpm2-tss)
|
|
checkdepends=(dbus-python dbus-glib python-gobject gjs)
|
|
makedepends=(docbook-xsl gobject-introspection vala git gtk-doc meson valgrind)
|
|
optdepends=('org.freedesktop.secrets: secret storage backend')
|
|
provides=(libsecret-1.so)
|
|
_commit=39a3d141691af7353df9bb5bdd81d66c1cd0fb37 # tags/0.21.2^0
|
|
source=("git+https://gitlab.gnome.org/GNOME/libsecret.git#commit=$_commit")
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
|
|
build() {
|
|
arch-meson $pkgname build
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
dbus-run-session meson test -C build --print-errorlogs
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(LGPL)
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
##
|