# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=bvi pkgver=1.4.1 pkgrel=1 groups=('blackarch' 'blackarch-binary' 'blackarch-misc') pkgdesc='A display-oriented editor for binary files operate like "vi" editor.' url='http://bvi.sourceforge.net/' arch=('armv6h' 'armv7h' 'aarch64' 'x86_64') depends=('ncurses5-compat-libs') license=('GPL') source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.src.tar.gz") sha512sums=('f7a3f07e6bcefe566a101c4db85192f0d2e3580be0ab10bc297e6c0192e79d29061a7c9f1a57cf5a628f03962deb8c2ed52e33effc1d5198d458627d70d882e6') build (){ cd "$pkgname-$pkgver" ./configure "--prefix=/usr" "--mandir=/usr/share/man" make } package (){ cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" CHANGES CREDITS install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }