summaryrefslogtreecommitdiff
path: root/community/ibus-anthy/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ibus-anthy/PKGBUILD')
-rw-r--r--community/ibus-anthy/PKGBUILD25
1 files changed, 10 insertions, 15 deletions
diff --git a/community/ibus-anthy/PKGBUILD b/community/ibus-anthy/PKGBUILD
index bb2b28caa..4d1bd41aa 100644
--- a/community/ibus-anthy/PKGBUILD
+++ b/community/ibus-anthy/PKGBUILD
@@ -1,36 +1,31 @@
-# $Id: PKGBUILD 99811 2013-10-31 01:51:20Z allan $
+# $Id: PKGBUILD 107147 2014-03-13 13:24:28Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Rainy <rainylau(at)gmail(dot)com>
# Contributor: Lee.MaRS <leemars at gmail dot com>
# Contributor: Daniel J Griffiths <ghost1227@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')