summaryrefslogtreecommitdiff
path: root/community/gnome-tour/APKBUILD
blob: 8fb9e26fba405d429b4bc8103c3b71a6384aab26 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=gnome-tour
pkgver=44.0
pkgrel=1
pkgdesc="GNOME Tour & Greeter"
url="https://gitlab.gnome.org/GNOME/gnome-tour"
arch="all"
license="GPL-3.0-or-later"
makedepends="meson cargo glib-dev gtk4.0-dev libadwaita-dev desktop-file-utils"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-tour/${pkgver%.*}/gnome-tour-$pkgver.tar.xz"

[ "$CARCH" = "riscv64" ] && options="$options textrels"


build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
27937b3dbe9f227229b4feaf78f61cb6492c79635b34890ebb2384cbe999901c5b126162beb15d7d920b2619b7c1cef4a1c1430091aaa602d7ed4875608364c2  gnome-tour-44.0.tar.xz
"