# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com?
pkgname=dbacl
pkgver=1.12
pkgrel=1
pkgdesc="Digramic Bayesian classifier"
arch=('i686' 'x86_64')
url="http://dbacl.sourceforge.net/"
license=('GPL')
depends=('gawk' 'perl')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('048d8cf68e277ba2ab5d159dc395a65d')
sha256sums=('9fcb05a0951527c7b33aeb20735747f84bca88a4e122c93537120d1014f650e9')

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

check()
{
  cd "$srcdir/$pkgname-$pkgver"
  make -k check
}

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

# vim:set ts=2 sw=2 et: