blob: 44e60ea0c9e801ca4e95e410678a3e7778f731bd (
plain)
1 # Description: Library for storing and retrieving passwords and other secrets.
2 # URL: https://wiki.gnome.org/Projects/Libsecret
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Danny Rawlins, crux at romster dot me
5 # Depends on: gobject-introspection intltool libgcrypt
6 # Optional: vala docbook-xsl
7
8 name=libsecret
9 version=0.18.5
10 release=1
11 source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
12
13 build() {
14 cd $name-$version
15
16 local MAN
17 if [ "$(pkginfo -i | grep '^docbook-xsl ')" ]; then
18 MAN=''
19 else
20 MAN='--disable-manpages'
21 fi
22
23
24 ./configure \
25 --prefix=/usr \
26 --disable-nls \
27 --disable-dependency-tracking $MAN
28
29 make
30 make DESTDIR=$PKG install
31
32 rm -r $PKG/usr/share/{gtk-doc,locale}
33 }
|