summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 16 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ddebc47..c452565 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,28 @@
1# Mantainer: lxsycht <lux@systemli.org> 1# Maintainer:
2# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
3# Contributor: lxsycht <lux@systemli.org>
2pkgname=metadata-cleaner 4pkgname=metadata-cleaner
3pkgdesc='Python GTK application to view and clean metadata in files, using mat2' 5pkgver=2.0.0
4pkgver=1.0.6
5pkgrel=1 6pkgrel=1
6url='https://gitlab.com/rmnvgr/metadata-cleaner' 7pkgdesc="Python GTK application to view and clean metadata in files, using mat2"
7license=('GPL3')
8arch=('x86_64') 8arch=('x86_64')
9depends=('gtk3' 'libhandy' 'python-gobject' 'python' 'mat2') 9url="https://metadatacleaner.romainvigier.fr"
10makedepends=('meson' 'appstream' 'pkgconf') 10license=('GPL3')
11source=("$pkgname-v$pkgver.tar.gz"::"$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") 11depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject')
12sha256sums=('SKIP') 12makedepends=('itstool' 'meson')
13checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse')
14source=("https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
15sha256sums=('035604849bf1d7a1b2e6315a0f643c4c45e3221546e24f97b28d38960ed79c18')
13 16
14build() { 17build() {
15 meson --prefix=/usr "$pkgname-v$pkgver" build 18 arch-meson "$pkgname-v$pkgver" build
19 meson compile -C build
16} 20}
17 21
18check() { 22check() {
19 meson test -C build 23 meson test -C build --print-errorlogs
20} 24}
21 25
22package() { 26package() {
23 DESTDIR="$pkgdir" meson install -C build 27 meson install -C build --destdir "$pkgdir"
24} 28}
25