summaryrefslogtreecommitdiff
path: root/community/sunpinyin/PKGBUILD
blob: 572cd76a2b8a718009d7ab78d776534559ef59b6 (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
28
29
30
# $Id: PKGBUILD 67784 2012-03-14 12:19:33Z giovanni $
# Maintainer: Thomas Dziedzic < gostrc at gmail >

pkgname=sunpinyin
pkgver=2.0.3
pkgrel=2
pkgdesc="Statistical Language Model based pinyin IME by Sun"
arch=('i686' 'x86_64')
url="http://sunpinyin.googlecode.com"
license=('LGPL')
depends=('sqlite3' 'gcc-libs')
makedepends=('scons')
source=("http://sunpinyin.googlecode.com/files/sunpinyin-${pkgver}.tar.gz")
md5sums=('bc1cd4d7d48a73276dfe4c9f5a434cc7')

build() {
  cd sunpinyin-${pkgver}

  scons \
    --prefix=/usr
}

package() {
  cd sunpinyin-${pkgver}

  scons \
    --prefix=/usr \
    --install-sandbox=${pkgdir} \
    install
}