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

wordgrinder 0.3.3 PKGBUILD

By: a guest on Feb 6th, 2013  |  syntax: Bash  |  size: 0.81 KB  |  views: 44  |  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: Henning Garus <henning.garus@gmail.com>
  2. # Contributor: Pavle Simovic <xpio at tesla.rcub.bg.ac dot rs>
  3.  
  4. pkgname=wordgrinder
  5. pkgver=0.3.3
  6. pkgrel=2
  7. pkgdesc="A word processor for processing words"
  8. url="http://wordgrinder.sourceforge.net/"
  9. arch=('i686' 'x86_64')
  10. license=('MIT')
  11. depends=('ncurses' 'lua51-filesystem>=1.4.1')
  12. source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
  13. md5sums=('1ae3bcf2fc4ee027bdd9518a73733505')
  14.        
  15.  
  16. build() {
  17.   cd $srcdir/$pkgname-$pkgver
  18.  
  19.   sed -i tools/lua.pm -e"s/luac/luac5.1/" \
  20.  
  21.   #adjust prefix
  22.   #make manpath FHS compliant
  23.   sed -i pmfile -e"/^PREFIX =/c PREFIX = \"$pkgdir/usr\"" \
  24.     -e's@/man/man1/@/share&@g'
  25.  
  26.   ./pm install || return 1
  27.  
  28.   install -m644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
  29. }