summaryrefslogtreecommitdiff
path: root/community/libkkc-data/PKGBUILD
blob: 0a235cb22737ec077097974a333bdd33a8fe59b0 (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
# 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')