summaryrefslogtreecommitdiff
path: root/community/vile/PKGBUILD
blob: 1d7b359f864a966042990a264bbca0923e5974be (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
32
# $Id: PKGBUILD 76396 2012-09-17 08:49:52Z 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
  sed -i 's|FLEX_BETA|FLEX_NOBETA|g' filters/filters.h
  ./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
}