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/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/libkkc-data/PKGBUILD b/community/libkkc-data/PKGBUILD
new file mode 100644
index 000000000..cce108c2b
--- /dev/null
+++ b/community/libkkc-data/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 94837 2013-07-31 03:58:38Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
+
+pkgname=libkkc-data
+pkgver=0.2.7
+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
+}
+
+sha512sums=('61c0cd8c0fa41ed8df49cac6709eebb245cc965d7e192b1ba945e95f2fc46aca8aa48c16e1977a12c157c55dab6b9f4c30f4905806725eca6e697b762eb7cbd7')