summaryrefslogtreecommitdiff
path: root/repo/x11/gsettings-desktop-schemas.xibuild
blob: 72092d199d704558f627361b044a4e2e66991afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

NAME="gsettings-desktop-schemas"
DESC="A collection of GSettings schemas"

MAKEDEPS="meson ninja "
DEPS="glib base-fonts "

PKG_VER=42.0
SOURCE="https://download.gnome.org/sources/gsettings-desktop-schemas/${PKG_VER%.*}/gsettings-desktop-schemas-$PKG_VER.tar.xz"

build () {
    mkdir build &&
    cd build    &&
    meson --prefix=/usr \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}

postinstall() {
   glib-compile-schemas /usr/share/glib-2.0/schemas
}