# Maintainer: Alex Raschi pkgname=neatvi pkgver=07 pkgrel=0 pkgdesc="vi/ex editor with support for bidirectional UTF-8 text, syntax highlight and infinite undo/redo" url="https://github.com/aligrudi/neatvi" arch="all" license="ISC" # vi.c subpackages="$pkgname-doc" options="!check" # no test suite source="$pkgname-$pkgver.tar.gz::https://github.com/aligrudi/neatvi/archive/$pkgver.tar.gz conf.patch" build() { make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" } package() { local pkgbin="$pkgdir"/usr/bin mkdir -p "$pkgbin" mv vi "$pkgbin"/neatvi } doc() { local pkgdoc="$subpkgdir"/usr/share/doc/"$pkgname" cd "$builddir" mkdir -p "$pkgdoc" mv README "$pkgdoc" default_doc } sha512sums="456e502d08fd3f1c866ebb8e3fe6225c944c3c925cc38e59b5325c20cb815555087ed54e562d1b70b7f4a690034873d2c97e53264b187b986b9518bee10e1b57 neatvi-07.tar.gz d5538cf2bfb98b93d3661f686540580f754cd5fca641893b58cf80312ec703aa332601f68258335a71bdeb72356148a75db22ae139e05c04c060cfcb31f2fafd conf.patch"