1 # Contributor: Henning Garus <henning.garus@gmail.com>
6 pkgdesc="A word processor for processing words"
7 url="http://wordgrinder.sourceforge.net/"
10 depends=('ncurses' 'luafilesystem>=1.4.1')
11 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
12 md5sums=('1ae3bcf2fc4ee027bdd9518a73733505')
16 cd $srcdir/$pkgname-$pkgver
18 #look for lua instead of lua 5.1
20 #make manpath FHS compliant
21 sed -i pmfile -e's/lua5.1/lua/g'\
22 -e"/^PREFIX =/c PREFIX = \"$pkgdir/usr\"" \
23 -e's@/man/man1/@/share&@g'
25 ./pm install || return 1
27 install -m644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING