summaryrefslogtreecommitdiff
path: root/community/libkkc-data/PKGBUILD
blob: cce108c2b01c3ccaaf477fedede3145694fe5627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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')