# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=refine
pkgver=0.5.9
pkgrel=0
pkgdesc="Explore and tweak advanced settings in GNOME"
url="https://tesk.page/refine/"
arch="noarch"
license="GPL-3.0-or-later"
depends="
	gtk4.0
	libadwaita
	"
makedepends="
	blueprint-compiler
	desktop-file-utils
	gettext
	glib-dev
	meson
	"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/TheEvilSkeleton/Refine/-/archive/$pkgver/Refine-$pkgver.tar.gz"
builddir="$srcdir/Refine-$pkgver"

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

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

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

sha512sums="
9737fc9c1e8847a3b449f841e5383177bffd488958da47b4fbcfc51f8a050fe96e08af48e805c223a68fc8c89996be34bac87fff034400b8b40a12bdcaf1ff0c  Refine-0.5.9.tar.gz
"
