diff options
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 29 insertions, 24 deletions
@@ -1,20 +1,22 @@ | |||
1 | pkgbase = metadata-cleaner | 1 | pkgbase = metadata-cleaner |
2 | pkgdesc = Python GTK application to view and clean metadata in files, using mat2 | 2 | pkgdesc = Python GTK application to view and clean metadata in files, using mat2 |
3 | pkgver = 1.0.6 | 3 | pkgver = 2.0.0 |
4 | pkgrel = 1 | 4 | pkgrel = 1 |
5 | url = https://gitlab.com/rmnvgr/metadata-cleaner | 5 | url = https://metadatacleaner.romainvigier.fr |
6 | arch = x86_64 | 6 | arch = x86_64 |
7 | license = GPL3 | 7 | license = GPL3 |
8 | checkdepends = appstream | ||
9 | checkdepends = mypy | ||
10 | checkdepends = python-pycodestyle | ||
11 | checkdepends = python-pydocstyle | ||
12 | checkdepends = reuse | ||
13 | makedepends = itstool | ||
8 | makedepends = meson | 14 | makedepends = meson |
9 | makedepends = appstream | 15 | depends = gtk4 |
10 | makedepends = pkgconf | 16 | depends = libadwaita |
11 | depends = gtk3 | ||
12 | depends = libhandy | ||
13 | depends = python-gobject | ||
14 | depends = python | ||
15 | depends = mat2 | 17 | depends = mat2 |
16 | source = metadata-cleaner-v1.0.6.tar.gz::https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v1.0.6/metadata-cleaner-v1.0.6.tar.gz | 18 | depends = python-gobject |
17 | sha256sums = SKIP | 19 | source = https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v2.0.0/metadata-cleaner-v2.0.0.tar.gz |
20 | sha256sums = 035604849bf1d7a1b2e6315a0f643c4c45e3221546e24f97b28d38960ed79c18 | ||
18 | 21 | ||
19 | pkgname = metadata-cleaner | 22 | pkgname = metadata-cleaner |
20 | |||
@@ -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 | |||