diff options
author | Felix Yan | 2014-04-17 05:54:07 +0000 |
---|---|---|
committer | Felix Yan | 2014-04-17 05:54:07 +0000 |
commit | d66b475f8b1274457fff6026ebebe434e937b82a (patch) | |
tree | f394c20e473eab5f9f45f0ec49c0481d87c66f56 | |
parent | bec6fee759dfe60b1c9d4fcacd68322deca98674 (diff) | |
download | aur-d66b475f8b1274457fff6026ebebe434e937b82a.tar.gz |
use python3 instead of python2
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -6,21 +6,19 @@ pkgname=ibus-pinyin pkgver=1.5.0 -pkgrel=2 +pkgrel=3 pkgdesc='Pinyin (Chinese) input method for the IBus framework' arch=('i686' 'x86_64') license=('GPL') url='http://ibus.googlecode.com' -depends=('ibus' 'pyzy' 'lua51') +depends=('ibus' 'pyzy' 'lua51' 'python-xdg') makedepends=('intltool') source=("https://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} - sed -i -e "s|python|python2|" setup/ibus-setup-pinyin.in - - PYTHON=python2 ./configure \ + ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/ibus @@ -28,8 +26,9 @@ build() { } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make NO_INDEX=true DESTDIR="${pkgdir}" install } + md5sums=('f7728b5b785fae58e2b4de8dfda45612') |