Skip to content

Instantly share code, notes, and snippets.

@dlintw
Created April 11, 2016 13:48
Show Gist options
  • Select an option

  • Save dlintw/b7f7012c4db013bfd5c84bb365d3fcdc to your computer and use it in GitHub Desktop.

Select an option

Save dlintw/b7f7012c4db013bfd5c84bb365d3fcdc to your computer and use it in GitHub Desktop.
APKBUILD of bvi
# Contributor: Daniel YC Lin <[email protected]>
# Maintainer: Daniel YC Lin <[email protected]>
pkgname=bvi
pkgver=1.4.0
pkgrel=0
pkgdesc="A display-oriented editor for binary files operate like 'vi' editor"
url="http://bvi.sourceforge.net"
arch="all"
license="GPL"
depends="ncurses"
depends_dev="ncurses-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/bvi/$pkgname-$pkgver.src.tar.gz"
builddir="$srcdir/${pkgname}-${pkgver}"
build() {
cd "$builddir"
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir/" install
}
md5sums="aa83eb8b2b6b0bb6cdd8e6beef12b775 bvi-1.4.0.src.tar.gz"
sha256sums="015a3c2832c7c097d98a5527deef882119546287ba8f2a70c736227d764ef802 bvi-1.4.0.src.tar.gz"
sha512sums="119cfc7350f81c324e77243f948cfb91cd9a3122fef307616e4756a99732f69131aed2a26ebe48048698b9c211a0214255f3e6605ad2cbf479a14a4a0f88923c bvi-1.4.0.src.tar.gz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment