25 lines
739 B
Plaintext
25 lines
739 B
Plaintext
# Description: dconf Editor
|
|
# URL: https://wiki.gnome.org/Projects/dconf
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: dconf desktop-file-utils libhandy
|
|
|
|
name=dconf-editor
|
|
version=45.0.1
|
|
release=1
|
|
source=(https://download.gnome.org/sources/dconf-editor/${version::2}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
ls /usr/share/vala/vapi/dconf.vapi || (printf '\e[1;31m%-6s\e[m\n' "$name needs dconf build with vala bindings, install vala, rebuild dconf, then install $name" ; exit 1)
|
|
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=false \
|
|
-D b_pie=true
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
}
|