diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-24 21:11:40 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-24 21:11:40 +0200 |
commit | ea9fcd4696896202fd40b2e68a562567c6de3dad (patch) | |
tree | 84de467244a9df4d0486a7c9a46f4d1cf0062a73 /testing | |
parent | 6aff5e91f15a0fb5d4c20417a60b167b53b1f499 (diff) | |
download | aports-ea9fcd4696896202fd40b2e68a562567c6de3dad.tar.bz2 aports-ea9fcd4696896202fd40b2e68a562567c6de3dad.tar.xz |
testing/bvi: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/bvi/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/bvi/APKBUILD b/testing/bvi/APKBUILD new file mode 100644 index 0000000000..67c186e4c1 --- /dev/null +++ b/testing/bvi/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: +pkgname=bvi +pkgver=1.4.0 +pkgrel=0 +pkgdesc="Display-oriented editor for binary fies based on vi" +url="http://bvi.sourceforge.net" +arch="all" +license="GPL2" +depends="" +makedepends="ncurses-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 \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --datadir=/usr/share/doc \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ + install -Dm644 CHANGES README CREDITS \ + "$pkgdir"/usr/share/doc/$pkgname/ || return 1 +} + +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" |