From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- metadata-cleaner | 1 - metadata-cleaner/.SRCINFO | 22 ++++++++++++++++++++++ metadata-cleaner/PKGBUILD | 29 +++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 1 deletion(-) delete mode 160000 metadata-cleaner create mode 100644 metadata-cleaner/.SRCINFO create mode 100644 metadata-cleaner/PKGBUILD (limited to 'metadata-cleaner') diff --git a/metadata-cleaner b/metadata-cleaner deleted file mode 160000 index 8fef295..0000000 --- a/metadata-cleaner +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8fef29581b4dead8e6c4d8e7a1a25e168e592b62 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 @@ +pkgbase = metadata-cleaner + pkgdesc = Python GTK application to view and clean metadata in files, using mat2 + pkgver = 2.0.1 + pkgrel = 1 + url = https://gitlab.com/rmnvgr/metadata-cleaner + arch = x86_64 + license = GPL3 + checkdepends = appstream + checkdepends = mypy + checkdepends = python-pycodestyle + checkdepends = python-pydocstyle + checkdepends = reuse + makedepends = itstool + makedepends = meson + depends = gtk4 + depends = libadwaita + depends = mat2 + depends = python-gobject + 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 + sha256sums = 035604849bf1d7a1b2e6315a0f643c4c45e3221546e24f97b28d38960ed79c18 + +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 @@ +# Maintainer: Yigit Sever +# Contributor: Mark Wagie +# Contributor: lxsycht + +pkgname=metadata-cleaner +pkgver=2.0.1 +pkgrel=1 +pkgdesc="Python GTK application to view and clean metadata in files, using mat2" +arch=('x86_64') +url="https://gitlab.com/rmnvgr/metadata-cleaner" +license=('GPL3') +depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject') +makedepends=('itstool' 'meson') +checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse') +source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") +sha256sums=('9a52c06680729cfc4de4a7bc24e9c2ae19930892b4130a57c4fa7db1d496709c') + +build() { + arch-meson "$pkgname-v$pkgver" build + meson compile -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + meson install -C build --destdir "$pkgdir" +} -- cgit v1.2.3-70-g09d2