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

AUR par PKGBUILD

By: a guest on Mar 13th, 2011  |  syntax: Bash  |  size: 0.99 KB  |  views: 187  |  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: Federico Quagliata (quaqo) <quaqo@despammed.com>
  2. # Contributor: quantax -- contact via Arch Linux forum or AUR
  3. # Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
  4.  
  5. pkgname=par
  6. pkgver=1.52
  7. pkgrel=3
  8. pkgdesc="Paragraph reformatter"
  9. url="http://www.nicemice.net/par/"
  10. depends=('glibc')
  11. arch=('i686' 'x86_64')
  12. license=('Custom')
  13. source=(http://www.nicemice.net/par/Par152-autoconf.tar.gz \
  14.         http://www.nicemice.net/par/par_1.52-i18n.3.diff.gz \
  15.         http://www.nicemice.net/par/Par152.tar.gz )
  16. md5sums=('83e4d23a943ab07c44dd995b73195c70'
  17.          'e79b448cb14323a39d817afce4847cdf'
  18.          '4ccacd824171ba2c2f14fb8aba78b9bf')
  19.  
  20. build() {
  21.   cd $srcdir/Par152
  22.  
  23.   patch -p1 < $srcdir/par_1.52-i18n.3.diff
  24.  
  25.   ./configure --prefix=/usr
  26.  
  27.   make || return 1
  28.  
  29.   install --mode=755 -D par "${pkgdir}/usr/bin/par"
  30.   install --mode=644 -D par.1 "${pkgdir}/usr/share/man/man1/par.1"
  31.   install --mode=644 -D par.doc "${pkgdir}/usr/share/licenses/${pkgname}/par.doc"
  32. }