From bd35fcd5ee95fb1f0a1d38410aee55ac914f8667 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 26 Jun 2014 12:05:34 -0300 Subject: mat: metadata anonymization toolkit --- pcr/hachoir-core/PKGBUILD | 25 +++++++++++++++++++++++++ pcr/hachoir-parser/PKGBUILD | 24 ++++++++++++++++++++++++ pcr/mat/PKGBUILD | 20 ++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 pcr/hachoir-core/PKGBUILD create mode 100644 pcr/hachoir-parser/PKGBUILD create mode 100644 pcr/mat/PKGBUILD (limited to 'pcr') diff --git a/pcr/hachoir-core/PKGBUILD b/pcr/hachoir-core/PKGBUILD new file mode 100644 index 000000000..618632915 --- /dev/null +++ b/pcr/hachoir-core/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: arno +# Contributor: Pierre Bourdon +# Maintainer: ianux + +pkgname=hachoir-core +pkgver=1.3.3 +pkgrel=4 +pkgdesc="A library written in Python which allows to see and edit a binary files field per field." +arch=('any') +url="http://bitbucket.org/haypo/hachoir/wiki/Home" +license=('GPL2') +depends=('python2') +source=(http://cheeseshop.python.org/packages/source/h/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('b80f0257536e2b2cb23f66670c4f6f31') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + python2 setup.py build +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + python2 setup.py install --optimize=1 --root=${pkgdir} +} + diff --git a/pcr/hachoir-parser/PKGBUILD b/pcr/hachoir-parser/PKGBUILD new file mode 100644 index 000000000..7e982c93a --- /dev/null +++ b/pcr/hachoir-parser/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: arno +# Contributor: Pierre Bourdon +# Maintainer: ianux + +pkgname=hachoir-parser +pkgver=1.3.4 +pkgrel=4 +pkgdesc="Most common file format parsers written using hachoir-core." +arch=('any') +url="http://bitbucket.org/haypo/hachoir/wiki/hachoir-parser" +license=('GPL2') +depends=('hachoir-core') +source=(http://cheeseshop.python.org/packages/source/h/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('e578b779c4b30d94ca4e775747877755') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + python2 setup.py build +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + python2 setup.py install --optimize=1 --root=${pkgdir} +} diff --git a/pcr/mat/PKGBUILD b/pcr/mat/PKGBUILD new file mode 100644 index 000000000..05e773ceb --- /dev/null +++ b/pcr/mat/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: Francois Boulogne +# Maintainer: Yardena Cohen + +pkgname=mat +pkgver=0.5.2 +pkgrel=1 +pkgdesc="Metadata anonymisation toolkit (git version)" +arch=('any') +url="https://mat.boum.org" +license=('GPL2') +depends=('python2-distutils-extra' 'python2' 'hachoir-core' 'hachoir-parser' 'python2-cairo' 'python2-poppler' 'python2-pdfrw' 'mutagen' 'python2-gobject') +makedepends=('git') +optdepends=('perl-image-exiftool: extended image support') +source=("git+https://git.torproject.org/user/jvoisin/mat.git#tag=$pkgver") +sha256sums=('SKIP') + +package() { + cd "${srcdir}/${pkgname}" + python2 setup.py install --root="${pkgdir}" --optimize=1 +} -- cgit v1.2.3-54-g00ecf