summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlux2020-12-28 23:49:56 +0100
committerlux2020-12-28 23:49:56 +0100
commit2d851e712455cbf592c6e8e64d0b2d4c2a0aea8a (patch)
treebabee4f40af2098a3910aefb1b24ffcd2e206504
parentefc8db0910ae18e205a035f3e3b312a2eb767f2d (diff)
downloadpackages-2d851e712455cbf592c6e8e64d0b2d4c2a0aea8a.tar.gz
packages-2d851e712455cbf592c6e8e64d0b2d4c2a0aea8a.tar.bz2
packages-2d851e712455cbf592c6e8e64d0b2d4c2a0aea8a.zip
bump to v1.0.1, add check()
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD10
2 files changed, 12 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ecb4ae0..3846ae6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,20 @@
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.0 3 pkgver = 1.0.1
4 pkgrel = 2 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
7 license = GPL3 7 license = GPL3
8 makedepends = meson 8 makedepends = meson
9 makedepends = appstream-glib 9 makedepends = appstream
10 makedepends = git 10 makedepends = git
11 makedepends = pkgconf
11 depends = gtk3 12 depends = gtk3
12 depends = libhandy 13 depends = libhandy
13 depends = python-gobject 14 depends = python-gobject
14 depends = python 15 depends = python
15 depends = mat2 16 depends = mat2
16 source = metadata-cleaner-v1.0.0.tar.gz::https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v1.0.0/metadata-cleaner-v1.0.0.tar.gz 17 source = metadata-cleaner-v1.0.1.tar.gz::https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v1.0.1/metadata-cleaner-v1.0.1.tar.gz
17 sha256sums = SKIP 18 sha256sums = SKIP
18 19
19pkgname = metadata-cleaner 20pkgname = metadata-cleaner
diff --git a/PKGBUILD b/PKGBUILD
index 8382cca..dc6dd10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
1# Mantainer: lxsycht <lux@systemli.org> 1# Mantainer: lxsycht <lux@systemli.org>
2pkgname=metadata-cleaner 2pkgname=metadata-cleaner
3pkgdesc='Python GTK application to view and clean metadata in files, using mat2' 3pkgdesc='Python GTK application to view and clean metadata in files, using mat2'
4pkgver=1.0.0 4pkgver=1.0.1
5pkgrel=2 5pkgrel=1
6url='https://gitlab.com/rmnvgr/metadata-cleaner' 6url='https://gitlab.com/rmnvgr/metadata-cleaner'
7license=('GPL3') 7license=('GPL3')
8arch=('x86_64') 8arch=('x86_64')
9depends=('gtk3' 'libhandy' 'python-gobject' 'python' 'mat2') 9depends=('gtk3' 'libhandy' 'python-gobject' 'python' 'mat2')
10makedepends=('meson' 'appstream-glib' 'git') 10makedepends=('meson' 'appstream' 'git' 'pkgconf')
11source=("$pkgname-v$pkgver.tar.gz"::"$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") 11source=("$pkgname-v$pkgver.tar.gz"::"$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
12sha256sums=('SKIP') 12sha256sums=('SKIP')
13 13
@@ -15,6 +15,10 @@ build() {
15 meson --prefix=/usr "$pkgname-v$pkgver" build 15 meson --prefix=/usr "$pkgname-v$pkgver" build
16} 16}
17 17
18check() {
19 meson test -C build
20}
21
18package() { 22package() {
19 DESTDIR="$pkgdir" meson install -C build 23 DESTDIR="$pkgdir" meson install -C build
20} 24}