summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea928f04d5724955edd4afae4edf8d0497eeffae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#Maintainer: TwoFinger
#Contributor: Francesco 'Kiko' Corsentino <kikocorsentino at gmail>
#Contributor: ott <matthias.christian at tiscali.de>
#Contributor: Ranguvar <ranguvar at archlinux.us>
#Contributor: Daniel YC Lin <dlin.tw at gmail>

pkgname=bvi
pkgver=1.4.2
pkgrel=1
pkgdesc="A display-oriented editor for binary files operate like 'vi' editor"
url="https://bvi.sourceforge.net"
arch=(i686 x86_64)
depends=(ncurses)
license=(GPL)
source=("http://downloads.sourceforge.net/sourceforge/bvi/$pkgname-$pkgver.src.tar.gz")
md5sums=(d96d4320a148945d3e564f2e5c6af981)

build ()
{
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package ()
{
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}