summaryrefslogtreecommitdiff
path: root/community/sunpinyin/PKGBUILD
blob: 55c909ffec1ddf210a61eecb6da67f0662772fbc (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
# Maintainer: Thomas Dziedzic < gostrc at gmail >

pkgname=sunpinyin
pkgver=2.0.3
pkgrel=1
pkgdesc='SunPinYin is a Statistical Language Model based pinyin IME by Sun.'
arch=('i686' 'x86_64')
url='http://sunpinyin.googlecode.com'
license=('LGPL')
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
}