1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
7 pkgdesc="N-Gram-Based Text Categorization library primarily intended for language guessing"
9 url="https://wiki.documentfoundation.org/Libexttextcat"
12 provides=('libtextcat')
13 source=(https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz)
14 sha256sums=('6d77eace20e9ea106c1330e268ede70c9a4a89744ddc25715682754eca3368df')
17 cd "${srcdir}"/$pkgname-$pkgver
18 ./configure --prefix=/usr
23 cd "${srcdir}"/$pkgname-$pkgver
24 make DESTDIR="${pkgdir}" install
25 install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE