# Maintainer: Manuel Rotter pkgname=vi _pkgname=nvi pkgver=1.81.6 pkgrel=3 pkgdesc='A reimplementation of the ex/vi text editors with unicode support.' arch=(arm) url='http://www.kotnet.org/~skimo/nvi/' license=('custom:nvi') conflicts=('nvi-unicode') depends=('bash' 'db') groups=('base') options=(!libtool force) source=(http://www.kotnet.org/~skimo/nvi/devel/${_pkgname}-${pkgver}.tar.bz2) md5sums=('88d1e23115ee9f2961186b62e55f5704') build() { cd ${srcdir}/${_pkgname}-${pkgver}/ cd ./build.unix ../dist/configure --prefix=/usr --program-prefix= --enable-widechar make || return 1 mkdir -p ${pkgdir}/usr/bin cp ${srcdir}/${_pkgname}-${pkgver}/build.unix/vi ${pkgdir}/usr/bin make DESTDIR=${pkgdir} install install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }