diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 16 insertions, 13 deletions
@@ -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> | ||
2 | pkgname=metadata-cleaner | 4 | pkgname=metadata-cleaner |
3 | pkgdesc='Python GTK application to view and clean metadata in files, using mat2' | 5 | pkgver=2.0.0 |
4 | pkgver=1.0.6 | ||
5 | pkgrel=1 | 6 | pkgrel=1 |
6 | url='https://gitlab.com/rmnvgr/metadata-cleaner' | 7 | pkgdesc="Python GTK application to view and clean metadata in files, using mat2" |
7 | license=('GPL3') | ||
8 | arch=('x86_64') | 8 | arch=('x86_64') |
9 | depends=('gtk3' 'libhandy' 'python-gobject' 'python' 'mat2') | 9 | url="https://metadatacleaner.romainvigier.fr" |
10 | makedepends=('meson' 'appstream' 'pkgconf') | 10 | license=('GPL3') |
11 | source=("$pkgname-v$pkgver.tar.gz"::"$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") | 11 | depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject') |
12 | sha256sums=('SKIP') | 12 | makedepends=('itstool' 'meson') |
13 | checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse') | ||
14 | source=("https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") | ||
15 | sha256sums=('035604849bf1d7a1b2e6315a0f643c4c45e3221546e24f97b28d38960ed79c18') | ||
13 | 16 | ||
14 | build() { | 17 | build() { |
15 | meson --prefix=/usr "$pkgname-v$pkgver" build | 18 | arch-meson "$pkgname-v$pkgver" build |
19 | meson compile -C build | ||
16 | } | 20 | } |
17 | 21 | ||
18 | check() { | 22 | check() { |
19 | meson test -C build | 23 | meson test -C build --print-errorlogs |
20 | } | 24 | } |
21 | 25 | ||
22 | package() { | 26 | package() { |
23 | DESTDIR="$pkgdir" meson install -C build | 27 | meson install -C build --destdir "$pkgdir" |
24 | } | 28 | } |
25 | |||