summaryrefslogtreecommitdiff
path: root/user/gsettings-desktop-schemas/APKBUILD
blob: 3388b82d11ccc4d45967a4935938668d7bbfb0f9 (plain) (blame)
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
27
28
29
30
31
32
33
34
# Maintainer: 
pkgname=gsettings-desktop-schemas
pkgver=3.38.0
pkgrel=0
pkgdesc="GSettings schemas shared by GNOME desktop components"
url="https://developer.gnome.org/gio/unstable/GSettings.html"
arch="noarch"
license="LGPL-2.0+"
depends=""
makedepends="glib-dev gobject-introspection-dev intltool meson ninja"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

prepare() {
	default_prepare
	sed -i -r 's:"(/system):"/org/gnome\1:g' schemas/*.in
	# Correct pkgconfig install path
	sed -i "/install_dir/s,datadir,libdir," meson.build
}

build() {
	meson -Dprefix=/usr build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="5af7da90b8e7eec1c98e9e44653955f2882961dd9b5e2bf00e4eeb9f4f1149ae5171c600d457c6ab9c7482471c1a0e98f92f645a7ee7298e1b843c608f660756  gsettings-desktop-schemas-3.38.0.tar.xz"