[arch-commits] Commit in ibus-googlepinyin/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at nymeria.archlinux.org
Tue Jul 1 06:51:32 UTC 2014
Date: Tuesday, July 1, 2014 @ 08:51:32
Author: fyan
Revision: 113850
archrelease: copy trunk to community-any
Added:
ibus-googlepinyin/repos/community-any/PKGBUILD
(from rev 113848, ibus-googlepinyin/trunk/PKGBUILD)
Deleted:
ibus-googlepinyin/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 +++++++++++++++++++++++++++----------------------------------
1 file changed, 32 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-01 06:51:17 UTC (rev 113849)
+++ PKGBUILD 2014-07-01 06:51:32 UTC (rev 113850)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Author: Jiahua Huang <jhuangjiahua at gmail.com>
-# Contributor: Yangtse <yangtsesu at gmail.com>
-
-pkgname=ibus-googlepinyin
-pkgver=0.1.2
-pkgrel=3
-pkgdesc="IBus Wrapper for libgooglepinyin"
-arch=('any')
-url="http://code.google.com/p/libgooglepinyin"
-license=('APACHE')
-optdepends=(
- 'opencc: for simplified chinese translation to tranditional chinese'
-)
-depends=('libgooglepinyin' 'ibus' 'iso-codes')
-makedepends=('cmake')
-source=("http://libgooglepinyin.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
-
-build() {
- cd "$srcdir"
-
- msg "Starting make..."
-
- rm -rf "$srcdir/build"
- cp -rf "$srcdir/$pkgname" "$srcdir/build"
- cd "$srcdir/build"
-
- find . -type f -name '*.py' | xargs sed -i 's|/usr/bin/python|/usr/bin/python2|g'
- cmake -DCMAKE_INSTALL_PREFIX=/usr .
-}
-
-package() {
- cd "$srcdir/build"
- make DESTDIR="$pkgdir" install
-}
-
-md5sums=('f9af459849c29934e8d59fc7f23a9318')
Copied: ibus-googlepinyin/repos/community-any/PKGBUILD (from rev 113848, ibus-googlepinyin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-07-01 06:51:32 UTC (rev 113850)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Author: Jiahua Huang <jhuangjiahua at gmail.com>
+# Contributor: Yangtse <yangtsesu at gmail.com>
+
+pkgname=ibus-googlepinyin
+pkgver=0.1.2
+pkgrel=4
+pkgdesc="IBus Wrapper for libgooglepinyin"
+arch=('any')
+url="http://code.google.com/p/libgooglepinyin"
+license=('APACHE')
+optdepends=('opencc: for simplified chinese translation to tranditional chinese')
+depends=('libgooglepinyin' 'ibus' 'iso-codes')
+makedepends=('cmake')
+source=("http://libgooglepinyin.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
+
+build() {
+ rm -rf build
+ mkdir -p build
+ cd build
+
+ find ../$pkgname -type f -name '*.py' | xargs sed -i 's|/usr/bin/python|/usr/bin/python2|g'
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums=('f9af459849c29934e8d59fc7f23a9318')
More information about the arch-commits
mailing list