summaryrefslogtreecommitdiffstats
path: root/vi/PKGBUILD
blob: 4aa787761522a771777a65e680cdf2d251808ccd (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
# $Id$
# Maintainer: tobias [ tobias funnychar archlinux org ]
# Contributor: flx <effelleks@googlemail.com>

pkgname=vi
_pkgname=nvi
pkgver=1.81.6
pkgrel=1
pkgdesc='A reimplementation of the ex/vi text editors with unicode support.'
arch=('i686' 'x86_64')
url='http://www.kotnet.org/~skimo/nvi/'
license=('custom:nvi')
groups=('base')
conflicts=('nvi-unicode')
depends=('bash' 'db')
options=(!libtool force)
source=(http://www.kotnet.org/~skimo/nvi/devel/${_pkgname}-${pkgver}.tar.bz2 \
        db47-hack.patch)
md5sums=('88d1e23115ee9f2961186b62e55f5704' 'f9dd0ee3b00e1a9915c49acc5a241a6d')

build() {
  cd ${srcdir}/${_pkgname}-${pkgver}/
  patch -p1 <../db47-hack.patch
  cd ./build.unix
  ../dist/configure --prefix=/usr --program-prefix= --enable-widechar
  make || return 1
  make DESTDIR=${pkgdir} install
  install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
## vim:set ts=2 sw=2 et: