# Contributor: Maarten van Gompel # Maintainer: Maarten van Gompel pkgname=timbl pkgver=6.8.1 pkgrel=2 pkgdesc="implementation of several memory-based learning algorithms like IB1-IG (kNN) and IGTree" arch="all" url="https://github.com/LanguageMachines/timbl" license="GPL-3.0-only" makedepends="libtool libxml2-dev ticcutils-dev icu-dev" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/LanguageMachines/timbl/releases/download/v$pkgver/timbl-$pkgver.tar.gz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var make } check() { LD_LIBRARY_PATH="$PWD/src/.libs/" make check } package() { make DESTDIR=$pkgdir install } sha512sums="c6da38667efb2f0ee9f6a6cab43cc5c2aa74b4a913ab454a9d941dfeaa9881e75e3aefc357aa7f88b9ae8ed1890200644510b308c54d9f6e2a0b889529b0e336 timbl-6.8.1.tar.gz"