blob: 46fd83a7eddf98c750481de3d0b5037c6c933d6d (
plain) (
tree)
|
|
# Maintainer:
pkgname=gsettings-desktop-schemas
pkgver=3.36.1
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="623a3759fe84cc5ea897043cc7c337a4f83302ebe5cfb9d214210a48e460e22b180518f5d768382ec18396bb2e86f22649dbc9b367a858e56b1ee8d2cab58fa8 gsettings-desktop-schemas-3.36.1.tar.xz"
|