diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-03-22 11:26:53 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-03-22 11:26:53 +0100 |
commit | 50a468d0a3c5555c9e6889696bd0397f17a6974c (patch) | |
tree | 8d8b7bc211e7e2b5a91c25c86c5b7ae58e9e4a52 /community/ibus-libpinyin/PKGBUILD | |
parent | bf6c93db356044781e343fe26da74d357b4beda3 (diff) | |
parent | 6b3123e5628817e3cef9c44989dffd21c49b0817 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/cksfv/PKGBUILD
extra/clutter-gtk2/PKGBUILD
extra/gnuplot/PKGBUILD
extra/mx/PKGBUILD
Diffstat (limited to 'community/ibus-libpinyin/PKGBUILD')
-rw-r--r-- | community/ibus-libpinyin/PKGBUILD | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/community/ibus-libpinyin/PKGBUILD b/community/ibus-libpinyin/PKGBUILD index 0f9c45631..2d26691f2 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' 'mips64el') @@ -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') |