summaryrefslogtreecommitdiff
path: root/community/gsettings-desktop-schemas/APKBUILD
blob: 0ba8681bfa99ff95788df02b111d4a1a2650a3d1 (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
27
28
29
30
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gsettings-desktop-schemas
pkgver=42.0
pkgrel=0
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() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
db73988a6b38857d1aa6588ccac42099c57dcc187ef01776567cc7c28aff67dc06d6a8a067e0c69167d03cd865f0c1d58e75469a40f969084bb2537b088f8664  gsettings-desktop-schemas-42.0.tar.xz
"