[arch-commits] Commit in mat2/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 16 09:00:46 UTC 2020


    Date: Monday, November 16, 2020 @ 09:00:46
  Author: felixonmars
Revision: 755165

archrelease: copy trunk to community-staging-any

Added:
  mat2/repos/community-staging-any/
  mat2/repos/community-staging-any/PKGBUILD
    (from rev 755164, mat2/trunk/PKGBUILD)

----------+
 PKGBUILD |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

Copied: mat2/repos/community-staging-any/PKGBUILD (from rev 755164, mat2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-16 09:00:46 UTC (rev 755165)
@@ -0,0 +1,53 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: Francois Boulogne <devel at sciunto dot org>
+
+pkgname=mat2
+pkgver=0.11.0
+pkgrel=2
+pkgdesc='Metadata removal tool, supporting a wide range of commonly used file formats'
+url='https://0xacab.org/jvoisin/mat2'
+arch=('any')
+license=('LGPL3')
+depends=('python' 'python-mutagen' 'python-cairo' 'python-gobject' 'gdk-pixbuf2' 'poppler-glib' 'librsvg' 'perl-image-exiftool' 'mailcap')
+makedepends=('python-setuptools')
+optdepends=(
+  'ffmpeg: video support'
+  'bubblewrap: sandboxing support'
+)
+checkdepends=('ffmpeg')
+source=(https://0xacab.org/jvoisin/mat2/-/archive/${pkgver}/mat2-${pkgver}.tar.gz
+        https://0xacab.org/jvoisin/mat2/uploads/0f66d648ede0b98804b50f487e9d694c/mat2-${pkgver}.tar.gz.asc
+        ${pkgname}-fix-tests.patch::https://0xacab.org/jvoisin/mat2/-/commit/62ec8f6c1efc.patch)
+sha512sums=('8396a32b409b83cc4158546f92d458bc8a62e5aabd2c452402ac6185c2efdeff8794a7e1e45a8e39e9eaba31e256a303ca0be38b65fd43f11e7b07d1ea8b2f06'
+            'SKIP'
+            '35069154432c721a73126f3c28c6c4cb78897c009c15ece7ef28ad624a8c3c98440e0a8b1cd394f35ada9c3b2bdb517a97218168d4a9f6d96fe4e4d97dd4a9ef')
+b2sums=('c55d04fe7d49e8515bc5bc3ebfad4c71ddec670e5efed9855545bc32374661bb92501fb5910a599f27d97a3089a44f983c983cb82572ab153602d38e39682164'
+        'SKIP'
+        '3b6edf909be57d6c11747d22d5a4475952a12d6c72518950e3fa79029774b9ddb34bf8212c34df83891763699cacaaba9bf29dc73f7c8b33fd66cf675c0af27b')
+
+validpgpkeys=('9FCDEE9E1A381F311EA62A7404D041E8171901CC') # Julien (jvoisin) Voisin
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../${pkgname}-fix-tests.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  python -m unittest discover -v
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  python setup.py install --skip-build -O1 --root="${pkgdir}"
+  install -Dm 644 dolphin/mat2.desktop -t "${pkgdir}/usr/share/kservices5/ServiceMenus"
+  install -Dm 644 doc/mat2.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 doc/*.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list