summaryrefslogtreecommitdiff
path: root/community/vile/PKGBUILD
blob: ff6273f1db37948a1079bc5f5e6545a08e81c893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 65367 2012-02-21 02:23:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=vile
pkgver=9.8
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=('b5a0d89165f633a662cdb4b5c57f2e2f')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
  make install DESTDIR=$pkgdir
  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
}