diff options
author | root <root@rshg054.dnsready.net> | 2012-11-12 01:31:01 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-12 01:31:01 -0800 |
commit | b863c91c6c9218e2ad9458231b24385be177ed08 (patch) | |
tree | da88c798b067fd2af9ad0c2237917826cef02c8e /community/sunpinyin | |
parent | c1c596c922f0dc8622339011db936c531647203d (diff) |
Mon Nov 12 01:30:54 PST 2012
Diffstat (limited to 'community/sunpinyin')
-rw-r--r-- | community/sunpinyin/PKGBUILD | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/community/sunpinyin/PKGBUILD b/community/sunpinyin/PKGBUILD index 199f70b2d..ebfb77c2b 100644 --- a/community/sunpinyin/PKGBUILD +++ b/community/sunpinyin/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 79672 2012-11-11 01:07:47Z fyan $ +# $Id: PKGBUILD 79715 2012-11-11 14:12:03Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: Thomas Dziedzic < gostrc at gmail > -pkgname=('sunpinyin' 'sunpinyin-data') -pkgbase=sunpinyin +pkgname=sunpinyin pkgver=2.0.3.20121107 _commit=cf3fe3d7aa5bb7aa6aa5b870a759af468b6d5b2b pkgrel=1 arch=('i686' 'x86_64') -url="http://sunpinyin.googlecode.com" +pkgdesc="Statistical Language Model based pinyin IME by Sun" license=('LGPL' 'APACHE') +url="http://sunpinyin.googlecode.com" +depends=('sqlite' 'make' 'gcc-libs') makedepends=('git' 'scons' 'intltool') source=('http://open-gram.googlecode.com/files/lm_sc.t3g.arpa-20121025.tar.bz2' 'http://open-gram.googlecode.com/files/dict.utf8-20120830.tar.bz2') @@ -53,23 +54,14 @@ build() { make } -package_sunpinyin() { - pkgdesc="Statistical Language Model based pinyin IME by Sun" - depends=('sqlite' 'make' 'gcc-libs' "sunpinyin-data") - arch=('i686' 'x86_64') +package() { cd "$srcdir/$__gitname-build" scons \ --prefix=/usr \ --install-sandbox="$pkgdir" \ install -} -package_sunpinyin-data() { - pkgver=2.0.3.20121025 - pkgdesc="Statistical Language Model based pinyin IME by Sun - Data files" - depends=("sunpinyin") - arch=('any') cd "$srcdir/$__gitname-build/raw" make DESTDIR="$pkgdir" install } |