summaryrefslogtreecommitdiff
path: root/user/gsettings-desktop-schemas/APKBUILD
blob: eaf6b74a3bd5ab4593c15a3912fecba36f2393cf (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
35
36
37
38
39
40
# Maintainer: 
pkgname=gsettings-desktop-schemas
pkgver=3.34.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
}

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

check() {
	ninja -C build test
}

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

dev() {	
	default_dev
	depends="$pkgname"
	mkdir -p "$subpkgdir"/usr/lib
	mv "$pkgdir"/usr/share/pkgconfig "$subpkgdir"/usr/lib
}


sha512sums="6cbe59facf77566ed93faabafc6b00ad03fb398a9a4686ba94a08b1c2d0df1d44bd673fb4d51340209a66ebc0aa32095615e7e63b78f4cc4c10d240a7b0a8fa1  gsettings-desktop-schemas-3.34.0.tar.xz"