[arch-commits] Commit in sunpinyin/repos (4 files)
Allan McRae
allan at archlinux.org
Sun Dec 6 02:08:06 UTC 2015
Date: Sunday, December 6, 2015 @ 03:08:05
Author: allan
Revision: 148761
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
sunpinyin/repos/community-staging-i686/
sunpinyin/repos/community-staging-i686/PKGBUILD
(from rev 148758, sunpinyin/trunk/PKGBUILD)
sunpinyin/repos/community-staging-x86_64/
sunpinyin/repos/community-staging-x86_64/PKGBUILD
(from rev 148758, sunpinyin/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
Copied: sunpinyin/repos/community-staging-i686/PKGBUILD (from rev 148758, sunpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 02:08:05 UTC (rev 148761)
@@ -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=2
+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-staging-x86_64/PKGBUILD (from rev 148758, sunpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 02:08:05 UTC (rev 148761)
@@ -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=2
+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