2 # Maintainer: Biell <biell@pobox.com>
7 pkgdesc="vi like emacs"
9 url="http://invisible-island.net/vile/vile.html"
10 depends=('perl' 'vile' 'xaw3d')
13 source=(ftp://invisible-island.net/vile/vile-$pkgver.tgz)
14 md5sums=('b5a0d89165f633a662cdb4b5c57f2e2f')
17 cd $srcdir/vile-$pkgver
18 ./configure --prefix=/usr --with-x --with-Xaw3d
21 install -D -m 755 xvile $pkgdir/usr/bin/xvile
23 sed -e 's/ vile / xvile /' ./macros/vile-pager >$pkgdir/usr/bin/xvile-pager
24 chmod 755 $pkgdir/usr/bin/xvile-pager
25 install -D -m 644 ./vile.1 $pkgdir/usr/share/man/man1/xvile.1
26 install -D -m 755 ./xshell.sh $pkgdir/usr/bin/xshell.sh
27 install -D -m 644 ./macros/vilemenu.rc $pkgdir/usr/share/vile/vilemenu.rc
29 mkdir -p $pkgdir/usr/share/licenses/$pkgname
30 cat <<EOF >$pkgdir/usr/share/licenses/$pkgname/license
33 Vile is copyrighted by Paul G. Fox, Thomas E. Dickey and Kevin Buettner with some
34 files (e.g., visvile) copyright by Clark Morgan.
35 We distribute it under the terms of the GNU Public License, Version 2.