summaryrefslogtreecommitdiffstats
path: root/metadata-cleaner
diff options
context:
space:
mode:
Diffstat (limited to 'metadata-cleaner')
-rw-r--r--metadata-cleaner/.SRCINFO23
-rw-r--r--metadata-cleaner/.gitignore4
-rw-r--r--metadata-cleaner/PKGBUILD29
3 files changed, 56 insertions, 0 deletions
diff --git a/metadata-cleaner/.SRCINFO b/metadata-cleaner/.SRCINFO
new file mode 100644
index 0000000..21bdc25
--- /dev/null
+++ b/metadata-cleaner/.SRCINFO
@@ -0,0 +1,23 @@
1pkgbase = metadata-cleaner
2 pkgdesc = Python GTK application to view and clean metadata in files, using mat2
3 pkgver = 2.2.8
4 pkgrel = 1
5 url = https://gitlab.com/rmnvgr/metadata-cleaner
6 arch = x86_64
7 license = GPL3
8 checkdepends = appstream
9 checkdepends = mypy
10 checkdepends = python-pycodestyle
11 checkdepends = python-pydocstyle
12 checkdepends = reuse
13 checkdepends = python-tomli
14 makedepends = itstool
15 makedepends = meson
16 depends = gtk4
17 depends = libadwaita
18 depends = mat2
19 depends = python-gobject
20 source = metadata-cleaner-2.2.8.tar.gz::https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v2.2.8/metadata-cleaner-v2.2.8.tar.gz
21 sha256sums = e7f472637b666b1a24f9271739da532d95d850127a9eeed228f2ff773eca54ed
22
23pkgname = metadata-cleaner
diff --git a/metadata-cleaner/.gitignore b/metadata-cleaner/.gitignore
new file mode 100644
index 0000000..05c6d4d
--- /dev/null
+++ b/metadata-cleaner/.gitignore
@@ -0,0 +1,4 @@
1*
2!.gitignore
3!.SRCINFO
4!PKGBUILD
diff --git a/metadata-cleaner/PKGBUILD b/metadata-cleaner/PKGBUILD
new file mode 100644
index 0000000..e6873d0
--- /dev/null
+++ b/metadata-cleaner/PKGBUILD
@@ -0,0 +1,29 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
3# Contributor: lxsycht <lux@systemli.org>
4
5pkgname=metadata-cleaner
6pkgver=2.2.8
7pkgrel=1
8pkgdesc="Python GTK application to view and clean metadata in files, using mat2"
9arch=('x86_64')
10url="https://gitlab.com/rmnvgr/metadata-cleaner"
11license=('GPL3')
12depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject')
13makedepends=('itstool' 'meson')
14checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse' 'python-tomli')
15source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
16sha256sums=('e7f472637b666b1a24f9271739da532d95d850127a9eeed228f2ff773eca54ed')
17
18build() {
19 arch-meson "$pkgname-v$pkgver" build
20 meson compile -C build
21}
22
23check() {
24 meson test -C build --print-errorlogs
25}
26
27package() {
28 meson install -C build --destdir "$pkgdir"
29}