PKGBUILDs/community/vile/PKGBUILD
2009-10-09 21:15:33 -05:00

31 lines
903 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=vile
pkgver=9.7
pkgrel=2
pkgdesc="vi like emacs"
arch=('i686' 'x86_64')
url="http://invisible-island.net/vile/vile.html"
depends=('ncurses')
license=('custom')
options=(!libtool)
source=(ftp://invisible-island.net/vile/vile-$pkgver.tgz)
md5sums=('3ef25a8b4778d4790defb24729c60ce2')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make install DESTDIR=$startdir/pkg || return 1
mv $pkgdir/usr/man $pkgdir/usr/share/
mkdir -p $pkgdir/usr/share/licenses/$pkgname
cat <<EOF >$pkgdir/usr/share/licenses/$pkgname/license
Copyright
Vile is copyrighted by Paul G. Fox, Thomas E. Dickey and Kevin Buettner with some
files (e.g., visvile) copyright by Clark Morgan.
We distribute it under the terms of the GNU Public License, Version 2.
EOF
}