# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=obfuscate pkgver=0.0.9 _pkgurl=7c33507242330efa98e2fc7bc9c6d7e7 pkgrel=0 pkgdesc="Censor private information" url="https://gitlab.gnome.org/World/obfuscate" # s390x is a mainframe arch, no point enabling desktop apps arch="all !s390x" license="MIT" makedepends="meson cargo gtk4.0-dev libadwaita-dev desktop-file-utils" checkdepends="appstream-glib" subpackages="$pkgname-lang" source="https://gitlab.gnome.org/World/obfuscate/uploads/$_pkgurl/obfuscate-$pkgver.tar.xz" provides="gnome-obfuscate=$pkgver-r$pkgrel" replaces="gnome-obfuscate" build() { abuild-meson . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" d71e369b616155adda614066fb3294517d7570bc4bd5852ec62abf4b2f1b65c72c8294c74180baf55f4038e53a747bf02baec3425f31a0bd8fa877aa20149eac obfuscate-0.0.9.tar.xz "