updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wordgrinder / PKGBUILD
blob900bd917188b44dcf645100483985ef1ea04c388
1 # Contributor: Henning Garus <henning.garus@gmail.com>
3 pkgname=wordgrinder
4 pkgver=0.3.3
5 pkgrel=1
6 pkgdesc="A word processor for processing words"
7 url="http://wordgrinder.sourceforge.net/"
8 arch=('i686' 'x86_64')
9 license=('MIT')
10 depends=('ncurses' 'luafilesystem>=1.4.1')
11 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
12 md5sums=('1ae3bcf2fc4ee027bdd9518a73733505')
13         
15 build() {
16   cd $srcdir/$pkgname-$pkgver
18   #look for lua instead of lua 5.1
19   #adjust prefix
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