[arch-commits] Commit in sunpinyin/repos (4 files)

Felix Yan fyan at archlinux.org
Fri Sep 11 02:11:43 UTC 2015


    Date: Friday, September 11, 2015 @ 04:11:43
  Author: fyan
Revision: 139914

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 139912, sunpinyin/trunk/PKGBUILD)
  sunpinyin/repos/community-testing-x86_64/
  sunpinyin/repos/community-testing-x86_64/PKGBUILD
    (from rev 139913, sunpinyin/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: sunpinyin/repos/community-testing-i686/PKGBUILD (from rev 139912, sunpinyin/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-09-11 02:11:43 UTC (rev 139914)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=2.0.3.20150706
+_commit=cf1810220bf3d3f5a8b990b0a9d3e9df21b1942c
+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")
+
+prepare() {
+  cd "$srcdir/$pkgname"
+  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  scons \
+    --prefix=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  scons \
+    --prefix=/usr \
+    --install-sandbox="$pkgdir" \
+    install
+}

Copied: sunpinyin/repos/community-testing-x86_64/PKGBUILD (from rev 139913, sunpinyin/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-09-11 02:11:43 UTC (rev 139914)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=2.0.3.20150706
+_commit=cf1810220bf3d3f5a8b990b0a9d3e9df21b1942c
+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")
+
+prepare() {
+  cd "$srcdir/$pkgname"
+  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  scons \
+    --prefix=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  scons \
+    --prefix=/usr \
+    --install-sandbox="$pkgdir" \
+    install
+}



More information about the arch-commits mailing list