blob: 8a5c3057f3fd0728c610bb19455e6292335271c1 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Piroro-hs
pkgname=gsettings-desktop-schemas-nofont
pkgver=48.0
pkgrel=1
pkgdesc='Shared GSettings schemas for the desktop, patched to drop font dependencies'
arch=('any')
url="https://gitlab.gnome.org/GNOME/${pkgname%-nofont}"
license=('LGPL-2.1-or-later')
groups=()
depends=('dconf'
'gsettings-system-schemas')
makedepends=('git'
'glib2-devel'
'gobject-introspection'
'meson')
provides=("${pkgname%-nofont}")
conflicts=("${pkgname%-nofont}")
replaces=()
backup=()
options=()
install=
source=("$pkgname::git+$url.git#tag=$pkgver"
'0001-Revert-default-font.patch')
noextract=()
sha256sums=('c521042d1ce0a30753c6ea4e5051141138b387e609776e929770c461d0af984d'
'ae62dee20cd718d213bd09fea249235da80b2d782cc73bf9d58b4b7b621180b9')
prepare() {
patch -d "$srcdir/$pkgname" -p1 -i "$srcdir/0001-Revert-default-font.patch"
}
build() {
arch-meson "$pkgname" build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
# These schemas belong to gsettings-system-schemas
rm "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.desktop.enums.xml"
rm "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.system.locale.gschema.xml"
rm "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.system.location.gschema.xml"
rm "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml"
}
|