SHOW:
|
|
- or go back to the newest paste.
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 |
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 tools/lua.pm -e"s/luac/luac5.1/" \ |
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 | } |