summaryrefslogtreecommitdiff
path: root/community/ibus-sunpinyin
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-11 00:05:27 -0700
committerroot <root@rshg054.dnsready.net>2013-06-11 00:05:27 -0700
commitbf794523287bafc14671f83b08f7b22bceadc4bc (patch)
tree05c7098cb5eb0c4195d7c2eb735379fb27a974ab /community/ibus-sunpinyin
parent3f6e6048fea3b61c4d0b2c1e7385bc76882007a4 (diff)
Tue Jun 11 00:05:26 PDT 2013
Diffstat (limited to 'community/ibus-sunpinyin')
-rw-r--r--community/ibus-sunpinyin/PKGBUILD36
1 files changed, 9 insertions, 27 deletions
diff --git a/community/ibus-sunpinyin/PKGBUILD b/community/ibus-sunpinyin/PKGBUILD
index e8c1e5878..c41529cec 100644
--- a/community/ibus-sunpinyin/PKGBUILD
+++ b/community/ibus-sunpinyin/PKGBUILD
@@ -1,41 +1,23 @@
-# $Id: PKGBUILD 81918 2013-01-03 13:12:28Z fyan $
+# $Id: PKGBUILD 92623 2013-06-10 07:28:20Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=ibus-sunpinyin
-pkgver=2.0.3.20130103
-_commit=baf4da89ac04c3eb6ea3b8fb1a10f13bf23f3d87
+_pkgname=sunpinyin
+pkgver=2.0.3.20130307
+_commit=64e26d9ed1f617e59ff37c2efc0be97727c799a1
pkgrel=1
-pkgdesc="IBus Wrapper for sunpinyin."
+pkgdesc="IBus Wrapper for sunpinyin"
arch=('i686' 'x86_64')
url="http://sunpinyin.googlecode.com"
license=('LGPL')
depends=('sunpinyin>2.0.3' 'sunpinyin-data' 'ibus')
makedepends=('git' 'scons')
-
-__gitroot=git://github.com/sunpinyin/sunpinyin.git
-__gitname=sunpinyin
+source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
+md5sums=("SKIP")
build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [ -d $__gitname ] ; then
- cd $__gitname && git pull origin
- msg "The local files are updated."
- else
- git clone $__gitroot
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
-
- rm -rf "$srcdir/$__gitname-build"
- git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build"
- cd "$srcdir/$__gitname-build"
- git checkout "$_commit"
-
- cd "$srcdir/$__gitname-build/wrapper/ibus"
+ cd "$srcdir/$_pkgname/wrapper/ibus"
sed -i -e "s|python|python2|" setup/ibus-setup-sunpinyin.in
scons \
@@ -43,7 +25,7 @@ build() {
}
package() {
- cd "$srcdir/$__gitname-build/wrapper/ibus"
+ cd "$srcdir/$_pkgname/wrapper/ibus"
scons \
--prefix=/usr \