# 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.20.5 release=1 source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz) build() { prt-get isinst bash-completion || \ PKGMK_LIBSECRET+=' -D bash_completion=disabled' prt-get isinst docbook-xsl || PKGMK_LIBSECRET+=' -D manpage=false' prt-get isinst vala || PKGMK_LIBSECRET+=' -D vapi=false' meson setup build $name-$version $PKGMK_LIBSECRET \ --prefix=/usr \ --buildtype=plain \ --wrap-mode nodownload \ -D b_lto=true \ -D b_pie=true \ -D gtk_doc=false meson compile -C build -j ${JOBS:-1} DESTDIR=$PKG meson install -C build rm -r $PKG/usr/share/locale }