diff options
Diffstat (limited to 'metadata-cleaner/PKGBUILD')
-rw-r--r-- | metadata-cleaner/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/metadata-cleaner/PKGBUILD b/metadata-cleaner/PKGBUILD new file mode 100644 index 0000000..7729244 --- /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 | |||
5 | pkgname=metadata-cleaner | ||
6 | pkgver=2.5.4 | ||
7 | pkgrel=1 | ||
8 | pkgdesc="Python GTK application to view and clean metadata in files, using mat2" | ||
9 | arch=('x86_64') | ||
10 | url="https://gitlab.com/rmnvgr/metadata-cleaner" | ||
11 | license=('GPL3') | ||
12 | depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject') | ||
13 | makedepends=('itstool' 'meson') | ||
14 | checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse' 'python-tomli') | ||
15 | source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") | ||
16 | sha256sums=('7a770ec53bc2530930c7526e3e0e44ab061d14bacdd8ea4fe9ee90a8af5e49c6') | ||
17 | |||
18 | build() { | ||
19 | arch-meson "$pkgname-v$pkgver" "$pkgname-$pkgver" | ||
20 | meson compile -C "$pkgname-$pkgver" | ||
21 | } | ||
22 | |||
23 | check() { | ||
24 | meson test -C "$pkgname-$pkgver" --print-errorlogs | ||
25 | } | ||
26 | |||
27 | package() { | ||
28 | meson install -C "$pkgname-$pkgver" --destdir "$pkgdir" | ||
29 | } | ||