summaryrefslogtreecommitdiff
path: root/community/gnome-tour/APKBUILD
blob: 7bdb4be803fb5c7edd0534a57c5daea922385025 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-tour
pkgver=42.0
pkgrel=0
pkgdesc="GNOME Tour & Greeter"
url="https://gitlab.gnome.org/GNOME/gnome-tour"
# s390x and riscv64 blocked by cargo
arch="all !s390x !riscv64"
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"

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="
b42705ab0458ea0af99ba60c831bc9c84e6122cbbec12a9f7ae2aa83f09c847675221fc9b1867bf6562eab12daa8a4c6deac575cc137d7631d108972fe1271f8  gnome-tour-42.0.tar.xz
"