summaryrefslogtreecommitdiffstats
path: root/metadata-cleaner/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'metadata-cleaner/PKGBUILD')
-rw-r--r--metadata-cleaner/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/metadata-cleaner/PKGBUILD b/metadata-cleaner/PKGBUILD
new file mode 100644
index 0000000..d803726
--- /dev/null
+++ b/metadata-cleaner/PKGBUILD
@@ -0,0 +1,29 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
3# Contributor: lxsycht <lux@systemli.org>
4
5pkgname=metadata-cleaner
6pkgver=2.5.6
7pkgrel=1
8pkgdesc="Python GTK application to view and clean metadata in files, using mat2"
9arch=('x86_64')
10url="https://gitlab.com/rmnvgr/metadata-cleaner"
11license=(' GPL-3.0-or-later')
12depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject')
13makedepends=('itstool' 'meson')
14checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse' 'python-tomli')
15source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
16sha256sums=('c74f28f212278f6c5db9ae76c6624580ffe70f7e0cb055087e1ceef16b9d391a')
17
18build() {
19 arch-meson "$pkgname-v$pkgver" "$pkgname-$pkgver"
20 meson compile -C "$pkgname-$pkgver"
21}
22
23check() {
24 meson test -C "$pkgname-$pkgver" --print-errorlogs
25}
26
27package() {
28 meson install -C "$pkgname-$pkgver" --destdir "$pkgdir"
29}