blob: d0a9cc17e4b9afc9756fc544bf4aed674229714f (
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=47.1
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=('e07c93ff3d6e777b685d7a8d47b3f460b0d8d6068e08adba210c8834871a5396'
'70823e18b0b35f698890cee555afee794e805750e798e0c76a1f0d456aaf587d')
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"
}
|