# Maintainer: Yigit Sever # Contributor: Mark Wagie # Contributor: lxsycht pkgname=metadata-cleaner pkgver=2.1.0 pkgrel=1 pkgdesc="Python GTK application to view and clean metadata in files, using mat2" arch=('x86_64') url="https://gitlab.com/rmnvgr/metadata-cleaner" license=('GPL3') depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject') makedepends=('itstool' 'meson') checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse') source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") sha256sums=('147d70911897e4f6c2f1a5ae93d91191655d95023e1ea3162406d7d214633bc0') build() { arch-meson "$pkgname-v$pkgver" build meson compile -C build } check() { meson test -C build --print-errorlogs } package() { meson install -C build --destdir "$pkgdir" }