blob: c3d896c31ec8aa6bdd8bfab51f2ca5028fe46c7d (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# Maintainer: Pellegrino Prevete (tallero) <pellegrinoprevete@gmail.com>
_pkgname=gnome-initial-setup
pkgname="${_pkgname}-git"
pkgver=44.0+31+g30e898d9
pkgrel=1
pkgdesc="Helps you to set up your OS when you boot for the first time"
arch=('x86_64')
url="https://gitlab.gnome.org/GNOME/${_pkgname}"
license=('GPL')
depends=(
accountsservice
cairo
fontconfig
gcc-libs
gdk-pixbuf2
gdm
geoclue
geocode-glib-2
glib2
glibc
gnome-desktop-4
gnome-control-center
gnome-keyring
gnome-online-accounts
gsettings-desktop-schemas
gtk3
gtk4
json-glib
krb5
libadwaita
libgdm
libgnomekbd
libgoa
libgweather-4
libibus
libmalcontent
libnma
libnma-gtk4
libpwquality
librest
libsecret
malcontent
pango
polkit
webkitgtk-6.0
)
makedepends=(
git
meson
)
optdepends=(
'gnome-getting-started-docs: GNOME Welcome Tour'
)
provides=("${_pkgname}")
conflicts=("${_pkgname}")
groups=(gnome gnome-git)
source=("git+${url}")
sha512sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --tags | sed 's/-/+/g'
}
build() {
arch-meson "${_pkgname}" build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "${pkgdir}"
install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
# Setup system user and group
echo 'u gnome-initial-setup - "GNOME Initial Setup" /run/gnome-initial-setup' |
install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/${_pkgname}.conf"
echo 'd /run/gnome-initial-setup 0700 gnome-initial-setup gnome-initial-setup -' |
install -Dm644 /dev/stdin "$pkgdir/usr/lib/tmpfiles.d/${_pkgname}.conf"
}
|