blob: a053574fe6b3ced2c6e4027d970075000c40d3fc (
plain)
1 # Description: dconf Editor
2 # URL: https://wiki.gnome.org/Projects/dconf
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: dconf gtk3 libhandy meson vala
5
6 name=dconf-editor
7 version=43.0
8 release=1
9 source=(https://download.gnome.org/sources/dconf-editor/${version::2}/$name-$version.tar.xz)
10
11 build() {
12 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)
13
14 meson setup $name-$version build \
15 --prefix=/usr \
16 --buildtype=plain \
17 --wrap-mode nodownload \
18 -D b_lto=false \
19 -D b_pie=true
20 meson compile -C build
21 DESTDIR=$PKG meson install -C build
22
23 rm -r $PKG/usr/share/locale
24 }
|