# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=gnome-app-list
pkgver=0.2
pkgrel=0
pkgdesc="App recommendation data for the GNOME project"
url="https://gitlab.gnome.org/GNOME/gnome-app-list"
arch="noarch"
license="LGPL-2.1-or-later"
makedepends="
	meson
	py3-lxml
	python3
"
checkdepends="
	bash
	libxml2-utils
"
source="https://download.gnome.org/sources/gnome-app-list/$pkgver/gnome-app-list-$pkgver.tar.xz"

build() {
	abuild-meson \
		. output
	meson compile -C output
}

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

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

sha512sums="
4a462ef71ef055cc4568c08860f45c4bf14416cd405bea4fd804346cf277ff9b70bedc41544b0ba7072bc17151bfe99943754c448e537b93ef0ecc637954b26a  gnome-app-list-0.2.tar.xz
"
