[arch-commits] Commit in ibus-libpinyin/repos (6 files)

Felix Yan fyan at nymeria.archlinux.org
Tue Apr 30 07:06:56 UTC 2013


    Date: Tuesday, April 30, 2013 @ 09:06:56
  Author: fyan
Revision: 89584

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  ibus-libpinyin/repos/community-testing-i686/
  ibus-libpinyin/repos/community-testing-i686/PKGBUILD
    (from rev 89583, ibus-libpinyin/trunk/PKGBUILD)
  ibus-libpinyin/repos/community-testing-i686/automake-1.13.patch
    (from rev 89583, ibus-libpinyin/trunk/automake-1.13.patch)
  ibus-libpinyin/repos/community-testing-x86_64/
  ibus-libpinyin/repos/community-testing-x86_64/PKGBUILD
    (from rev 89583, ibus-libpinyin/trunk/PKGBUILD)
  ibus-libpinyin/repos/community-testing-x86_64/automake-1.13.patch
    (from rev 89583, ibus-libpinyin/trunk/automake-1.13.patch)

----------------------------------------------+
 community-testing-i686/PKGBUILD              |   54 +++++++++++++++++++++++++
 community-testing-i686/automake-1.13.patch   |   10 ++++
 community-testing-x86_64/PKGBUILD            |   54 +++++++++++++++++++++++++
 community-testing-x86_64/automake-1.13.patch |   10 ++++
 4 files changed, 128 insertions(+)

Copied: ibus-libpinyin/repos/community-testing-i686/PKGBUILD (from rev 89583, ibus-libpinyin/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2013-04-30 07:06:56 UTC (rev 89584)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor:  Yangtse Su<yangtsesu at gmail.com>
+# Contributor:  Jekyll Wu<adaptee [at] gmail [dot] com>
+# Contributor: riverscn<riverscn at gmail.com>
+# Contributor: rainy<rainylau at gmail.com>
+# Contributor: Lee.MaRS<leemars at gmail.com>
+
+pkgname=ibus-libpinyin
+pkgver=1.6.91
+pkgrel=1
+pkgdesc="Intelligent Pinyin engine based on libpinyin for IBus"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="https://github.com/libpinyin/ibus-libpinyin"
+depends=('ibus' 'libpinyin')
+makedepends=('git' 'intltool' 'gnome-common')
+source=(https://github.com/libpinyin/ibus-libpinyin/archive/$pkgver.tar.gz
+	automake-1.13.patch)
+
+build() {
+  cd "$srcdir"
+  rm -rf "$srcdir/$pkgname-build"
+  cp -r "$srcdir/$pkgname-$pkgver" "$srcdir/$pkgname-build"
+  cd "$srcdir/$pkgname-build"
+
+  patch -Np1 -i "$srcdir/automake-1.13.patch"
+
+  msg "Starting make..."
+  cd "$srcdir/$pkgname-build"
+
+  # python2 fix
+  for file in $(find . -name '*.py' -print); do
+    sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+    sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+  done
+
+  for file in setup/ibus-setup-libpinyin.in; do
+    sed -i 's_exec python_exec python2_' $file
+  done
+
+  export REQUIRED_AUTOMAKE_VERSION=1.13 automake_progs=automake-1.13
+
+  ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/$pkgname
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-build"
+  make NO_INDEX=true DESTDIR="$pkgdir" install
+}
+
+sha512sums=('6e1fb4f1fe3c5c6c37e60c8228b79728c388ffd171b68cea87bc2131e27430cdad6eff174a41111cb0694559f6307be3578ea1c960629bbfc99c41f4dbfc344e'
+            'fbb30cddd1ec140860ce0d5a5a42ad644ae6a1794fb2e805f782fdb43436ad13d2f6f8149b5b68540bbb9beba16dbbdb1d14153cef7fb805de342a8d1bb77965')

Copied: ibus-libpinyin/repos/community-testing-i686/automake-1.13.patch (from rev 89583, ibus-libpinyin/trunk/automake-1.13.patch)
===================================================================
--- community-testing-i686/automake-1.13.patch	                        (rev 0)
+++ community-testing-i686/automake-1.13.patch	2013-04-30 07:06:56 UTC (rev 89584)
@@ -0,0 +1,10 @@
+--- a/autogen.sh	2013-03-18 22:55:12.210703327 +0800
++++ b/autogen.sh	2013-03-18 23:01:11.842675010 +0800
+@@ -19,6 +19,6 @@
+ }
+ 
+ ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
+-REQUIRED_AUTOMAKE_VERSION=1.8
++REQUIRED_AUTOMAKE_VERSION=1.13
+ 
+ . gnome-autogen.sh "$@"

Copied: ibus-libpinyin/repos/community-testing-x86_64/PKGBUILD (from rev 89583, ibus-libpinyin/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2013-04-30 07:06:56 UTC (rev 89584)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor:  Yangtse Su<yangtsesu at gmail.com>
+# Contributor:  Jekyll Wu<adaptee [at] gmail [dot] com>
+# Contributor: riverscn<riverscn at gmail.com>
+# Contributor: rainy<rainylau at gmail.com>
+# Contributor: Lee.MaRS<leemars at gmail.com>
+
+pkgname=ibus-libpinyin
+pkgver=1.6.91
+pkgrel=1
+pkgdesc="Intelligent Pinyin engine based on libpinyin for IBus"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="https://github.com/libpinyin/ibus-libpinyin"
+depends=('ibus' 'libpinyin')
+makedepends=('git' 'intltool' 'gnome-common')
+source=(https://github.com/libpinyin/ibus-libpinyin/archive/$pkgver.tar.gz
+	automake-1.13.patch)
+
+build() {
+  cd "$srcdir"
+  rm -rf "$srcdir/$pkgname-build"
+  cp -r "$srcdir/$pkgname-$pkgver" "$srcdir/$pkgname-build"
+  cd "$srcdir/$pkgname-build"
+
+  patch -Np1 -i "$srcdir/automake-1.13.patch"
+
+  msg "Starting make..."
+  cd "$srcdir/$pkgname-build"
+
+  # python2 fix
+  for file in $(find . -name '*.py' -print); do
+    sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+    sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+  done
+
+  for file in setup/ibus-setup-libpinyin.in; do
+    sed -i 's_exec python_exec python2_' $file
+  done
+
+  export REQUIRED_AUTOMAKE_VERSION=1.13 automake_progs=automake-1.13
+
+  ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/$pkgname
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-build"
+  make NO_INDEX=true DESTDIR="$pkgdir" install
+}
+
+sha512sums=('6e1fb4f1fe3c5c6c37e60c8228b79728c388ffd171b68cea87bc2131e27430cdad6eff174a41111cb0694559f6307be3578ea1c960629bbfc99c41f4dbfc344e'
+            'fbb30cddd1ec140860ce0d5a5a42ad644ae6a1794fb2e805f782fdb43436ad13d2f6f8149b5b68540bbb9beba16dbbdb1d14153cef7fb805de342a8d1bb77965')

Copied: ibus-libpinyin/repos/community-testing-x86_64/automake-1.13.patch (from rev 89583, ibus-libpinyin/trunk/automake-1.13.patch)
===================================================================
--- community-testing-x86_64/automake-1.13.patch	                        (rev 0)
+++ community-testing-x86_64/automake-1.13.patch	2013-04-30 07:06:56 UTC (rev 89584)
@@ -0,0 +1,10 @@
+--- a/autogen.sh	2013-03-18 22:55:12.210703327 +0800
++++ b/autogen.sh	2013-03-18 23:01:11.842675010 +0800
+@@ -19,6 +19,6 @@
+ }
+ 
+ ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
+-REQUIRED_AUTOMAKE_VERSION=1.8
++REQUIRED_AUTOMAKE_VERSION=1.13
+ 
+ . gnome-autogen.sh "$@"




More information about the arch-commits mailing list