diff options
author | root <root@rshg054.dnsready.net> | 2013-03-22 00:05:48 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-22 00:05:48 -0700 |
commit | 6b3123e5628817e3cef9c44989dffd21c49b0817 (patch) | |
tree | 4f90f61ad34554f75c2ae8b435b6e0d2d8b480e0 /community/ibus-libpinyin | |
parent | 76b6359ba6b2c7cce2f0b0725c7ecd831563cabf (diff) |
Fri Mar 22 00:05:47 PDT 2013
Diffstat (limited to 'community/ibus-libpinyin')
-rw-r--r-- | community/ibus-libpinyin/PKGBUILD | 28 | ||||
-rw-r--r-- | community/ibus-libpinyin/automake-1.13.patch | 10 |
2 files changed, 27 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') diff --git a/community/ibus-libpinyin/automake-1.13.patch b/community/ibus-libpinyin/automake-1.13.patch new file mode 100644 index 000000000..f7f7cc0c9 --- /dev/null +++ b/community/ibus-libpinyin/automake-1.13.patch @@ -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 "$@" |