summaryrefslogtreecommitdiff
path: root/community/ibus-libpinyin/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-22 00:05:48 -0700
committerroot <root@rshg054.dnsready.net>2013-03-22 00:05:48 -0700
commit6b3123e5628817e3cef9c44989dffd21c49b0817 (patch)
tree4f90f61ad34554f75c2ae8b435b6e0d2d8b480e0 /community/ibus-libpinyin/PKGBUILD
parent76b6359ba6b2c7cce2f0b0725c7ecd831563cabf (diff)
Fri Mar 22 00:05:47 PDT 2013
Diffstat (limited to 'community/ibus-libpinyin/PKGBUILD')
-rw-r--r--community/ibus-libpinyin/PKGBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/community/ibus-libpinyin/PKGBUILD b/community/ibus-libpinyin/PKGBUILD
index 151ca40c4..11e0dc7d4 100644
--- a/community/ibus-libpinyin/PKGBUILD
+++ b/community/ibus-libpinyin/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 79787 2012-11-12 15:24:58Z fyan $
+# $Id: PKGBUILD 86672 2013-03-21 01:30:22Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Yangtse Su<yangtsesu@gmail.com>
# Contributor: Jekyll Wu<adaptee [at] gmail [dot] com>
@@ -7,7 +7,7 @@
# Contributor: Lee.MaRS<leemars at gmail.com>
pkgname=ibus-libpinyin
-pkgver=1.4.93
+pkgver=1.5.92
pkgrel=1
pkgdesc="Intelligent Pinyin engine based on libpinyin for IBus"
arch=('i686' 'x86_64')
@@ -15,17 +15,19 @@ license=('LGPL')
url="https://github.com/libpinyin"
depends=('ibus>=1.4' 'libpinyin')
makedepends=('git' 'intltool' 'gnome-common')
-source=(https://github.com/downloads/libpinyin/ibus-libpinyin/${pkgname}-${pkgver}.tar.gz)
-md5sums=("95f6143323deddaf6d82020dcc14a1af")
+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"
+ 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"
+ cd "$srcdir/$pkgname-build"
# python2 fix
for file in $(find . -name '*.py' -print); do
@@ -37,11 +39,15 @@ build() {
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
+ cd "$srcdir/$pkgname-build"
+ make NO_INDEX=true DESTDIR="$pkgdir" install
}
+md5sums=('2a355713221df7e47354f81cb14e183f'
+ '2a743114537a03830d5b4cd71226cfd0')