summaryrefslogtreecommitdiff
path: root/libsecret/Pkgfile
blob: 883e59f73acbe89625badb2562709a454dde7051 (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 # Depends on: gobject-introspection intltool libgcrypt
    5 # Optional: vala docbook-xsl
    6 
    7 name=libsecret
    8 version=0.20.5
    9 release=1
   10 source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)
   11 
   12 build() {
   13 	prt-get isinst bash-completion || \
   14 		PKGMK_LIBSECRET+=' -D bash_completion=disabled'
   15 	prt-get isinst docbook-xsl || PKGMK_LIBSECRET+=' -D manpage=false'
   16 	prt-get isinst vala || PKGMK_LIBSECRET+=' -D vapi=false'
   17 
   18 	meson setup build $name-$version $PKGMK_LIBSECRET \
   19 		--prefix=/usr \
   20 		--buildtype=plain \
   21 		--wrap-mode nodownload \
   22 		-D b_lto=true \
   23 		-D b_pie=true \
   24 		-D gtk_doc=false
   25 	meson compile -C build -j ${JOBS:-1}
   26 	DESTDIR=$PKG meson install -C build
   27 
   28 	rm -r $PKG/usr/share/locale
   29 }

Generated by cgit