aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsettings-desktop-schemas/APKBUILD
blob: e6b949cb62a56a6b353fa0da268adcd3f60c90ab (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gsettings-desktop-schemas
pkgver=3.34.0
pkgrel=1
pkgdesc="A collection of GSettings schemas"
url="https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas"
arch="noarch"
license="LGPL-2.0-or-later"
makedepends="glib-dev gobject-introspection-dev meson"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/gsettings-desktop-schemas/${pkgver%.*}/gsettings-desktop-schemas-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

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