summaryrefslogtreecommitdiff
path: root/community/vile/PKGBUILD
blob: 3d0b1e83af5d7c71ec98035b8cf436d2360f4ef5 (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 23288 2010-08-09 15:32:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=vile
pkgver=9.8
pkgrel=1
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 || return 1
  make install DESTDIR=$pkgdir || 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
}