# Maintainer:  TDY <tdy@gmx.com>
# Contributor: Nathan Owe <ndowens04+AUR@gmail.com>

pkgname=bbe
pkgver=0.2.2
pkgrel=3
pkgdesc='A sed-like editor for binary files'
arch=('x86_64')
url="https://sourceforge.net/projects/bbe-/?source=directory"
license=('GPL')
depends=('glibc')
source=("https://downloads.sourceforge.net/$pkgname-/$pkgname-$pkgver.tar.gz")
sha1sums=('42d5b47d607a9633fb49e7d39e2aebfb7bb89c05')

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

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