Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 934 Bytes
# Maintainer: ArchStrike <team@archstrike.org>
buildarch=1
pkgname=pdf-parser
pkgver=0.6.9
pkgrel=1
groups=('archstrike' 'archstrike-forensics')
pkgdesc="Parses a PDF document to identify the fundamental elements used in the analyzed file"
arch=('any')
url='http://blog.didierstevens.com/programs/pdf-tools/'
license=('custom')
depends=(python2)
source=(http://www.didierstevens.com/files/software/pdf-parser_V${pkgver//./_}.zip
LICENSE)
sha512sums=('6ad2a1df334e3dfdafb1cdeff7bfac056798c240d987f5fc8cb9bc6db698165b240000958979477bfe45a66a593b3b29e225c6b3f707dd0d5c3f3c42bbf16391'
'81c04aad50b9a4a702b53cc9a155d5ae87dc35db114e0a11ae1249268adecefbe2f0581fa7147dddf5399ae36e21ff089d0c11037f239be806146bddf4023375')
package() {
sed -i 's:^#!/usr/bin/python$:&2:' pdf-parser.py
install -Dm755 pdf-parser.py "$pkgdir"/usr/bin/pdf-parser
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/pdf-parser/LICENSE
}