diff options
Diffstat (limited to 'community/ibus-sunpinyin/PKGBUILD')
-rw-r--r-- | community/ibus-sunpinyin/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/ibus-sunpinyin/PKGBUILD b/community/ibus-sunpinyin/PKGBUILD new file mode 100644 index 000000000..694a6a67a --- /dev/null +++ b/community/ibus-sunpinyin/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=ibus-sunpinyin +pkgver=2.0.3 +pkgrel=1 +pkgdesc='The SunPinYin Engine for IBus Input Framework. SunPinYin is a Statistical Language Model based pinyin IME by Sun.' +arch=('i686' 'x86_64') +url='http://sunpinyin.googlecode.com' +license=('LGPL') +depends=('ibus' 'sunpinyin') +makedepends=('scons') +source=("http://sunpinyin.googlecode.com/files/ibus-sunpinyin-${pkgver}.tar.gz") +md5sums=('e678b2e1ac70c325cfc64c02fef7041f') + +build() { + cd ibus-sunpinyin-${pkgver} + + sed -i 's/python/&2/' setup/ibus-setup-sunpinyin.in + + scons \ + --prefix=/usr +} + +package() { + cd ibus-sunpinyin-${pkgver} + + scons \ + --prefix=/usr \ + --install-sandbox=${pkgdir} \ + install +} |