Created
May 28, 2015 05:08
-
-
Save anonymous/f0561854e6b2189d0df9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=pdf-redact-tools | |
pkgver=0.1 | |
pkgrel=1 | |
pkgdesc='PDF Redact Tools helps with securely redacting and stripping metadata from documents before publishing' | |
url='https://firstlook.org/code/project/pdf-redact-tools/' | |
license=('GPL') | |
arch=('any') | |
depends=('imagemagick' 'perl-image-exiftool') | |
source=("https://github.com/firstlook/pdf-redact-tools/archive/v${pkgver}.tar.gz") | |
sha1sums=('35c99e52d631305e84ecdd82daa7f352f6cf983a') | |
prepare() { | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
2to3 --no-diffs -nw pdf-redact-tools | |
} | |
package () { | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
install -Dm755 pdf-redact-tools "${pkgdir}/usr/bin/pdf-redact-tools" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment