diff options
author | Max Rees <maxcrees@me.com> | 2018-08-09 22:53:02 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2018-08-09 22:53:02 -0400 |
commit | 4baec85542ea9f161fe78046691005c411ef4484 (patch) | |
tree | 11a15031ade17900ca19d1af4e1e4b08fc17e78e | |
parent | 7fbed5c47e31aaa1480f171af6b21228ee1c34dc (diff) | |
download | packages-4baec85542ea9f161fe78046691005c411ef4484.tar.gz packages-4baec85542ea9f161fe78046691005c411ef4484.tar.bz2 packages-4baec85542ea9f161fe78046691005c411ef4484.tar.xz packages-4baec85542ea9f161fe78046691005c411ef4484.zip |
user/libexttextcat: pull in, fix license
-rw-r--r-- | user/libexttextcat/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/libexttextcat/APKBUILD b/user/libexttextcat/APKBUILD new file mode 100644 index 000000000..48fb2df18 --- /dev/null +++ b/user/libexttextcat/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=libexttextcat +pkgver=3.4.5 +pkgrel=1 +pkgdesc="An N-Gram-based text categorization library" +url="https://wiki.documentfoundation.org/Libexttextcat" +arch="all" +license="BSD-3-Clause" +depends="" +makedepends="" +checkdepends="bash" +subpackages="$pkgname-dev" +source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-werror + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="f05a9f08c2f2f335d0e483c024321b96fee7424bc1398d4c6acbd9c501f92e22f881bc3d6ec2c0434f9bf4604f3c4b0e880e37d3d0de410eac1a20ea6669baa6 libexttextcat-3.4.5.tar.xz" |