Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

[PDFSHUFFLER] By SpepS

By: a guest on Dec 5th, 2010  |  syntax: None  |  size: 0.84 KB  |  views: 93  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
  2. # Contributor: Tuan Nguyen
  3. #As of 0.5
  4. # Contributor: Farid <farid at archlinux-br dot org>
  5. # Contributor: SpepS <dreamspepser at yahoo dot it>
  6. #As of 0.5.1
  7.  
  8. pkgname=pdfshuffler
  9. pkgver=0.5.1
  10. pkgrel=1
  11. pkgdesc="Merge or split pdf documents and rotate, crop and rearrange their pages"
  12. arch=('any')
  13. url="http://sourceforge.net/projects/pdfshuffler/"
  14. license=('GPL2')
  15. depends=('python-poppler' 'python-pypdf' 'ghostscript')
  16. install="$pkgname.install"
  17. source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
  18. md5sums=('a63e4e37c822e6bd3932aed53ad3e070')
  19.  
  20. build() {
  21.   cd "$srcdir/$pkgname-$pkgver"
  22.  
  23.   export PYTHON="python2"
  24.   python2 setup.py build
  25. }
  26.  
  27. package() {
  28.   cd "$srcdir/$pkgname-$pkgver"
  29.  
  30.   python2 setup.py install --prefix=/usr --root="$pkgdir/"
  31. }
clone this paste RAW Paste Data