summaryrefslogtreecommitdiff
path: root/pcr/mat2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mat2/PKGBUILD')
-rw-r--r--pcr/mat2/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
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 <devel at sciunto dot org>
+# Maintainer (Arch): Francois Boulogne <devel at sciunto dot org>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+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: