# Contributor: Maarten van Gompel # Maintainer: Maarten van Gompel pkgname=ucto pkgver=0.29 pkgrel=2 pkgdesc="advanced rule-based (regular-expression) and unicode-aware tokenizer for various languages" arch="all" options="!check" url="https://github.com/LanguageMachines/ucto" license="GPL-3.0-only" depends="uctodata" makedepends="libtool libxml2-dev libfolia-dev ticcutils-dev icu-dev libexttextcat-dev" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/LanguageMachines/ucto/releases/download/v$pkgver/ucto-$pkgver.tar.gz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var make } package() { make DESTDIR=$pkgdir install } sha512sums=" 4432d1b927c4eda7e2517b92b47c8fcc6502c50d9adb74359a56d118b5ac56d7e8365347c1b0a6d7e90668438dd7d9911fe96f766f78bc6ef692973dcff3cb6b ucto-0.29.tar.gz "