# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Adam Hani Schakaki (krzd) <krzd@krzd.net>
pkgname=gsettings-desktop-schemas
pkgver=46.0
pkgrel=1
pkgdesc="Shared GSettings schemas for the desktop"
url="https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas"
arch=(any)
license=(LGPL-2.1-or-later)
depends=(
# adobe-source-code-pro-fonts
# cantarell-fonts
ttf-font
dconf
glib2
)
makedepends=(
git
gobject-introspection
meson
)
_commit=38196cc6692c3622d974466c7964a0263b4ff3b4 # tags/46.0^0
source=("git+https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas.git#commit=$_commit")
b2sums=('af6475bdb556c9a82eb29e7d1f704c73ebc0b34e8fd23e68ec120d1667eeba8ece93228e7c9612a287782a8efb657ee735a87d6c9896661b9dcb56cfafb04c5e')
pkgver() {
cd $pkgname
git describe --tags | sed -r 's/\.([a-z])/\1/;s/([a-z])\./\1/;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build
meson compile -C build
}
#check() {
# meson test -C build --print-errorlogs
#}
package() {
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 sts=-1 et: