# Contributor: Sören Tempel # Maintainer: Sören Tempel pkgname=bvi pkgver=1.4.1 pkgrel=0 pkgdesc="Display-oriented editor for binary files based on vi" url="http://bvi.sourceforge.net" arch="all" license="GPL-3.0-or-later" makedepends="ncurses-dev" subpackages="$pkgname-doc" source="https://downloads.sourceforge.net/sourceforge/bvi/bvi-$pkgver.src.tar.gz fix-implicit.patch" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --datadir=/usr/share/doc make } package() { make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ install -Dm644 CHANGES README CREDITS \ "$pkgdir"/usr/share/doc/$pkgname/ } sha512sums="f7a3f07e6bcefe566a101c4db85192f0d2e3580be0ab10bc297e6c0192e79d29061a7c9f1a57cf5a628f03962deb8c2ed52e33effc1d5198d458627d70d882e6 bvi-1.4.1.src.tar.gz b2cb59d82939202df5b12f640182d619cbec25b22aaba0dd9853ee75c7bc285c8f2366d311ebf795e8f78b6daf828545494993f84925fdf4f6d2c12796d9bb32 fix-implicit.patch"