# Maintainer: Natanael Copa pkgname=libsecret pkgver=0.19.1 pkgrel=0 pkgdesc="Library for storing and retrieving passwords and other secrets" url="https://wiki.gnome.org/Projects/Libsecret" arch="all" license="LGPL-2.0-or-later" makedepends="glib-dev intltool libxslt-dev docbook-xsl libgcrypt-dev gobject-introspection-dev vala" subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/libsecret/${pkgver%.*}/libsecret-$pkgver.tar.xz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ make } package() { make DESTDIR="$pkgdir" install } static() { pkgdesc="Static files for $pkgname" mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/ chmod -x "$subpkgdir"/usr/lib/*.a } sha512sums="134f98f09a1cc7c61b9011b2fb35900d9beccfc06d978f1ffab8b5286dc6caa176832e55e3bed498c6f3526f6f34998307f67cf7accc4c79e9abf1c17cc9c7c2 libsecret-0.19.1.tar.xz"