Date: Thursday, August 21, 2014 @ 03:18:06 Author: fyan Revision: 117692
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: sunpinyin/repos/community-testing-i686/ sunpinyin/repos/community-testing-i686/PKGBUILD (from rev 117691, sunpinyin/trunk/PKGBUILD) sunpinyin/repos/community-testing-x86_64/ sunpinyin/repos/community-testing-x86_64/PKGBUILD (from rev 117691, sunpinyin/trunk/PKGBUILD) -----------------------------------+ community-testing-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ community-testing-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) Copied: sunpinyin/repos/community-testing-i686/PKGBUILD (from rev 117691, sunpinyin/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-08-21 01:18:06 UTC (rev 117692) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > + +pkgname=sunpinyin +pkgver=2.0.3.20140820 +_commit=9c165f917b05bd929cc6e8b02e3db1af08ac75fc +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc="Statistical Language Model based pinyin IME by Sun" +license=('LGPL') +url="http://sunpinyin.googlecode.com" +depends=('sqlite' 'make' 'gcc-libs') +optdepends=('sunpinyin-data: Statistical language model data from open-gram project for sunpinyin') +makedepends=('git' 'scons' 'intltool') +source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit") +md5sums=("SKIP") + +build() { + cd "$srcdir/$pkgname" + sed -i -e "1s|python|python2|" python/*.py python/importer/*.py + + scons \ + --prefix=/usr +} + +package() { + cd "$srcdir/$pkgname" + + scons \ + --prefix=/usr \ + --install-sandbox="$pkgdir" \ + install +} + Copied: sunpinyin/repos/community-testing-x86_64/PKGBUILD (from rev 117691, sunpinyin/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-08-21 01:18:06 UTC (rev 117692) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > + +pkgname=sunpinyin +pkgver=2.0.3.20140820 +_commit=9c165f917b05bd929cc6e8b02e3db1af08ac75fc +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc="Statistical Language Model based pinyin IME by Sun" +license=('LGPL') +url="http://sunpinyin.googlecode.com" +depends=('sqlite' 'make' 'gcc-libs') +optdepends=('sunpinyin-data: Statistical language model data from open-gram project for sunpinyin') +makedepends=('git' 'scons' 'intltool') +source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit") +md5sums=("SKIP") + +build() { + cd "$srcdir/$pkgname" + sed -i -e "1s|python|python2|" python/*.py python/importer/*.py + + scons \ + --prefix=/usr +} + +package() { + cd "$srcdir/$pkgname" + + scons \ + --prefix=/usr \ + --install-sandbox="$pkgdir" \ + install +} +