summaryrefslogtreecommitdiff
path: root/community/libkkc-data/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libkkc-data/PKGBUILD')
-rw-r--r--community/libkkc-data/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/libkkc-data/PKGBUILD b/community/libkkc-data/PKGBUILD
new file mode 100644
index 000000000..0a235cb22
--- /dev/null
+++ b/community/libkkc-data/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
+
+pkgname=libkkc-data
+pkgver=0.2.5
+pkgrel=1
+pkgdesc="Language model data package for libkkc"
+arch=('i686' 'x86_64')
+url="https://bitbucket.org/libkkc"
+license=('GPL')
+makedepends=('python2-marisa')
+changelog=ChangeLog
+source=(https://bitbucket.org/libkkc/${pkgname}/downloads/${pkgname}-${pkgver}.tar.xz)
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure PYTHON=/usr/bin/python2 --prefix=/usr
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums=('bb31dca814e72dfcddf88f2da3fc37c5')