summaryrefslogtreecommitdiff
path: root/pcr/mat2/PKGBUILD
blob: 6036beee945561c6fcc9a68b58af72a5fb9fd4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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: