From 3d25dd128bca5a9b47c194a6de1b373c31678bc2 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 2 May 2019 20:26:07 -0500 Subject: Add mat2 --- pcr/mat2/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pcr/mat2/PKGBUILD (limited to 'pcr/mat2/PKGBUILD') diff --git a/pcr/mat2/PKGBUILD b/pcr/mat2/PKGBUILD new file mode 100644 index 000000000..6036beee9 --- /dev/null +++ b/pcr/mat2/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor (Arch): Francois Boulogne +# Maintainer (Arch): Francois Boulogne +# Maintainer: Omar Vega Ramos + +pkgname=mat2 +pkgver=0.8.0 +pkgrel=4 +pkgdesc="Metadata anonymisation toolkit" +arch=('any') +url="https://0xacab.org/jvoisin/mat2" +license=('GPL3') +makedepends=('python-setuptools' 'git') +depends=('perl-image-exiftool' 'python-mutagen' 'python-cairo' 'python-gobject' 'poppler-glib' 'gdk-pixbuf2' 'mailcap') +optdepends=('ffmpeg' 'bubblewrap') +checkdepends=('ffmpeg') +source=("git+https://0xacab.org/jvoisin/mat2.git#tag=${pkgver}?signed") +sha256sums=('SKIP') +validpgpkeys=('9FCDEE9E1A381F311EA62A7404D041E8171901CC' # Julien (jvoisin) Voisin +) +check() { + cd "${pkgname}" + python -m unittest discover -v +} + +package() { + cd "${pkgname}" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:ts=2:sw=2:et: -- cgit v1.2.3