aboutsummaryrefslogtreecommitdiffstats
path: root/community/timbl/APKBUILD
blob: 8b57f7e1e589e20d797e9961665a01e0bd62e5af (plain) (blame)
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
# Contributor: Maarten van Gompel <proycon@anaproy.nl>
# Maintainer: Maarten van Gompel <proycon@anaproy.nl>
pkgname=timbl
pkgver=6.7
pkgrel=1
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="66e4035ec6f5cd80a3cf83720060f8ebcd11e1100a0aec14f7840b5eea286e106a53d82bd4ff5616dad756b66e3d1a50f4bf8cb1a59bf2fa3a06a618078e651c  timbl-6.7.tar.gz"