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-3 PKGBUILD

By: a guest on Mar 5th, 2013  |  syntax: Bash  |  size: 0.83 KB  |  views: 26  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. 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=3
  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 's/luac/&5.1/' tools/lua.pm
  20.   sed -i 's/\"lua/&5.1/' pmfile
  21.  
  22.   #adjust prefix
  23.   #make manpath FHS compliant
  24.   sed -i pmfile -e"/^PREFIX =/c PREFIX = \"$pkgdir/usr\"" \
  25.     -e's@/man/man1/@/share&@g'
  26.  
  27.   ./pm install || return 1
  28.  
  29.   install -m644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
  30. }