summaryrefslogtreecommitdiff
path: root/pcr/mat/PKGBUILD
blob: 8e83286d3ca3e8e06aecd45305af919e823c8a79 (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
# Contributor (Arch): Francois Boulogne <fboulogne at april dot org>
# Maintainer (Arch): Francois Boulogne <fboulogne at april dot org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=mat
pkgver=0.6.1
pkgrel=1
pkgdesc="Metadata anonymisation toolkit"
arch=('any')
url="https://mat.boum.org"
license=('GPL2')
depends=('python2-distutils-extra' 'python2' 'python2-cairo' 'python2-poppler' 'python2-pdfrw' 'python2-gobject' 'python2-pillow')
optdepends=('perl-image-exiftool: extended image support',
'mutagen: extended audio format support')
source=(https://mat.boum.org/files/mat-${pkgver}.tar.xz)
sha256sums=('0782e7db554ad1dddefd71c9c81e36a05464d73ab54ee2a474ea6ac90e8e51b9')

package() {
  cd "$srcdir/${pkgname}-${pkgver}"
  python2 setup.py install --root="$pkgdir/" --optimize=1
  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim:ts=2:sw=2:et: