summaryrefslogtreecommitdiff
path: root/~fauno/dbacl/PKGBUILD
blob: a92679444837f4e829d263f32ed3ae037b1e6bcc (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
30
31
32
# 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: