Skip to content

Instantly share code, notes, and snippets.

Created January 3, 2013 01:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4440040 to your computer and use it in GitHub Desktop.
Save anonymous/4440040 to your computer and use it in GitHub Desktop.
pdfcrop PKGBUILD
# Mantainer: Adria Arrufat <swiftscythe@gmail.com>
pkgname=pdfcrop
pkgver=1.38
pkgrel=1
pkgdesc="A Perl script that can crop PDF files."
arch=('any')
url="http://www.ctan.org/tex-archive/help/Catalogue/entries/pdfcrop.html"
license=('lppl')
depends=('perl' 'texlive-bin' 'ghostscript')
source=("http://mirror.ctan.org/support/pdfcrop/pdfcrop.pl")
build() {
cd ${srcdir}/
mv pdfcrop.pl pdfcrop
}
package() {
cd ${srcdir}/
install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} || return 1
}
md5sums=('568c49d1d9922205645dc7713d7bc812')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment