[arch-commits] Commit in ibus-anthy/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Wed Mar 12 03:42:37 UTC 2014


    Date: Wednesday, March 12, 2014 @ 04:42:36
  Author: fyan
Revision: 107062

upgpkg: ibus-anthy 1.5.5-1

- add python3 support
- removed pygtk

Modified:
  ibus-anthy/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-12 01:11:01 UTC (rev 107061)
+++ PKGBUILD	2014-03-12 03:42:36 UTC (rev 107062)
@@ -5,32 +5,27 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=ibus-anthy
-pkgver=1.5.4
+pkgver=1.5.5
 pkgrel=1
 pkgdesc='Japanese input method Anthy IMEngine for IBus Framework'
 arch=('i686' 'x86_64')
 license=('LGPL')
 url='http://ibus.googlecode.com'
-depends=('ibus' 'anthy' 'python2' 'pygtk' 'gtk-update-icon-cache')
-makedepends=('swig' 'intltool')
+depends=('ibus' 'anthy' 'python' 'gtk-update-icon-cache' 'python-gobject')
+makedepends=('swig' 'intltool' 'git')
 install=$pkgname.install
-source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+source=("git+https://github.com/ibus/ibus-anthy.git#tag=$pkgver")
+sha512sums=('SKIP')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $pkgname
 
-  # python2 fix
-  for file in setup/ibus-setup-anthy.in engine/ibus-engine-anthy.in; do
-    sed -i 's_exec python_exec python2_' $file
-  done
-
-  ./configure --prefix=/usr --libexec=/usr/lib/ibus
+  ./autogen.sh --prefix=/usr --libexec=/usr/lib/ibus
   make
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir/ install
+  cd $pkgname
+  make DESTDIR="$pkgdir/" install
 }
 
-sha512sums=('8478e9ea14472d0153cc7a35feae4edea791476dc98cfc266b598f915376d267bd5db48ea0a676209d7a6fa680628116a30fec59afaf696477cfaa14082aad8d')




More information about the arch-commits mailing list