summaryrefslogtreecommitdiff
path: root/pcr/mat2/PKGBUILD
blob: 421049f75e2d9567cd68cfc53f2e545e998c266a (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
31
32
33
# 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.10.0
pkgrel=1
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
)

# This fails with librepkg but not with makepkg
# This is probably due to the way things are mounted inside the chroot
# 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: