33 lines
699 B
Plaintext
33 lines
699 B
Plaintext
# Description: Library for storing and retrieving passwords and other secrets.
|
|
# URL: https://wiki.gnome.org/Projects/Libsecret
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: gobject-introspection intltool libgcrypt
|
|
# Optional: vala docbook-xsl
|
|
|
|
name=libsecret
|
|
version=0.18.5
|
|
release=1
|
|
source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
local MAN
|
|
if [ "$(pkginfo -i | grep '^docbook-xsl ')" ]; then
|
|
MAN=''
|
|
else
|
|
MAN='--disable-manpages'
|
|
fi
|
|
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-nls \
|
|
--disable-dependency-tracking $MAN
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/{gtk-doc,locale}
|
|
}
|