contrib/dconf/Pkgfile

27 lines
797 B
Plaintext

# Description: Configuration database system
# URL: https://wiki.gnome.org/Projects/dconf
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: glib dbus meson
# Optional: bash-completion libxslt vala
name=dconf
version=0.40.0
release=2
source=(https://gitlab.gnome.org/GNOME/dconf/-/archive/$version/dconf-$version.tar.bz2)
build() {
prt-get isinst bash-completion || PKGMK_DCONF+=' -D bash_completion=false'
prt-get isinst vala || PKGMK_DCONF+=' -D vapi=false'
prt-get isinst docbook-xsl || PKGMK_DCONF+=' -D man=false'
meson setup $name-$version build $PKGMK_DCONF \
--prefix=/usr \
--libexecdir=lib/$name \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
meson compile -C build
DESTDIR=$PKG meson install -C build
}