summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ac6d4f4..83b3e0d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
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 = 2.4.0 3 pkgver = 2.5.0
4 pkgrel = 1 4 pkgrel = 1
5 url = https://gitlab.com/rmnvgr/metadata-cleaner 5 url = https://gitlab.com/rmnvgr/metadata-cleaner
6 arch = x86_64 6 arch = x86_64
@@ -17,7 +17,7 @@ pkgbase = metadata-cleaner
17 depends = libadwaita 17 depends = libadwaita
18 depends = mat2 18 depends = mat2
19 depends = python-gobject 19 depends = python-gobject
20 source = metadata-cleaner-2.4.0.tar.gz::https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v2.4.0/metadata-cleaner-v2.4.0.tar.gz 20 source = metadata-cleaner-2.5.0.tar.gz::https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v2.5.0/metadata-cleaner-v2.5.0.tar.gz
21 sha256sums = c2cdf6c8ecc1f7e42f044b751fb72c71932e8370478d9156c71fa0ed6412974f 21 sha256sums = 9caedeb8e0f02c619608e6b105960d2539053c0584706de99acfa30868974e68
22 22
23pkgname = metadata-cleaner 23pkgname = metadata-cleaner
diff --git a/PKGBUILD b/PKGBUILD
index b4c5d0b..054d2f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
3# Contributor: lxsycht <lux@systemli.org> 3# Contributor: lxsycht <lux@systemli.org>
4 4
5pkgname=metadata-cleaner 5pkgname=metadata-cleaner
6pkgver=2.4.0 6pkgver=2.5.0
7pkgrel=1 7pkgrel=1
8pkgdesc="Python GTK application to view and clean metadata in files, using mat2" 8pkgdesc="Python GTK application to view and clean metadata in files, using mat2"
9arch=('x86_64') 9arch=('x86_64')
@@ -13,17 +13,17 @@ depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject')
13makedepends=('itstool' 'meson') 13makedepends=('itstool' 'meson')
14checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse' 'python-tomli') 14checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse' 'python-tomli')
15source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") 15source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
16sha256sums=('c2cdf6c8ecc1f7e42f044b751fb72c71932e8370478d9156c71fa0ed6412974f') 16sha256sums=('9caedeb8e0f02c619608e6b105960d2539053c0584706de99acfa30868974e68')
17 17
18build() { 18build() {
19 arch-meson "$pkgname-v$pkgver" build 19 arch-meson "$pkgname-v$pkgver" "$pkgname-$pkgver"
20 meson compile -C build 20 meson compile -C "$pkgname-$pkgver"
21} 21}
22 22
23check() { 23check() {
24 meson test -C build --print-errorlogs 24 meson test -C "$pkgname-$pkgver" --print-errorlogs
25} 25}
26 26
27package() { 27package() {
28 meson install -C build --destdir "$pkgdir" 28 meson install -C "$pkgname-$pkgver" --destdir "$pkgdir"
29} 29}