diff options
Diffstat (limited to 'metadata-cleaner')
m--------- | metadata-cleaner | 22 | ||||
-rw-r--r-- | metadata-cleaner/.SRCINFO | 22 | ||||
-rw-r--r-- | metadata-cleaner/PKGBUILD | 29 |
3 files changed, 51 insertions, 22 deletions
diff --git a/metadata-cleaner b/metadata-cleaner deleted file mode 160000 | |||
Subproject 8fef29581b4dead8e6c4d8e7a1a25e168e592b6 | |||
diff --git a/metadata-cleaner/.SRCINFO b/metadata-cleaner/.SRCINFO new file mode 100644 index 0000000..a7387f8 --- /dev/null +++ b/metadata-cleaner/.SRCINFO | |||
@@ -0,0 +1,22 @@ | |||
1 | pkgbase = metadata-cleaner | ||
2 | pkgdesc = Python GTK application to view and clean metadata in files, using mat2 | ||
3 | pkgver = 2.0.1 | ||
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 | makedepends = itstool | ||
14 | makedepends = meson | ||
15 | depends = gtk4 | ||
16 | depends = libadwaita | ||
17 | depends = mat2 | ||
18 | depends = python-gobject | ||
19 | source = metadata-cleaner-2.0.1.tar.gz::https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v2.0.1/metadata-cleaner-v2.0.1.tar.gz | ||
20 | sha256sums = 035604849bf1d7a1b2e6315a0f643c4c45e3221546e24f97b28d38960ed79c18 | ||
21 | |||
22 | pkgname = metadata-cleaner | ||
diff --git a/metadata-cleaner/PKGBUILD b/metadata-cleaner/PKGBUILD new file mode 100644 index 0000000..f1edfa0 --- /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 | |||
5 | pkgname=metadata-cleaner | ||
6 | pkgver=2.0.1 | ||
7 | pkgrel=1 | ||
8 | pkgdesc="Python GTK application to view and clean metadata in files, using mat2" | ||
9 | arch=('x86_64') | ||
10 | url="https://gitlab.com/rmnvgr/metadata-cleaner" | ||
11 | license=('GPL3') | ||
12 | depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject') | ||
13 | makedepends=('itstool' 'meson') | ||
14 | checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse') | ||
15 | source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") | ||
16 | sha256sums=('9a52c06680729cfc4de4a7bc24e9c2ae19930892b4130a57c4fa7db1d496709c') | ||
17 | |||
18 | build() { | ||
19 | arch-meson "$pkgname-v$pkgver" build | ||
20 | meson compile -C build | ||
21 | } | ||
22 | |||
23 | check() { | ||
24 | meson test -C build --print-errorlogs | ||
25 | } | ||
26 | |||
27 | package() { | ||
28 | meson install -C build --destdir "$pkgdir" | ||
29 | } | ||