summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD29
2 files changed, 29 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index efa07a7..b95c4cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,22 @@
1pkgbase = metadata-cleaner 1pkgbase = 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
19pkgname = metadata-cleaner 22pkgname = metadata-cleaner
20
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