diff options
author | root <root@rshg054.dnsready.net> | 2011-10-03 23:14:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-03 23:14:36 +0000 |
commit | 57d05f7209f022aa99a8850aafbeec4cb85c3b5b (patch) | |
tree | 8f6753258e8359d1314356a677cdb32ae94658ab /community/ibus-pinyin | |
parent | ad84169d66d20378d28533c216b73c9a6646d6d7 (diff) |
Mon Oct 3 23:14:36 UTC 2011
Diffstat (limited to 'community/ibus-pinyin')
-rw-r--r-- | community/ibus-pinyin/PKGBUILD | 24 | ||||
-rw-r--r-- | community/ibus-pinyin/ibus-pinyin.install | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/community/ibus-pinyin/PKGBUILD b/community/ibus-pinyin/PKGBUILD index 199e4534d..c410dc245 100644 --- a/community/ibus-pinyin/PKGBUILD +++ b/community/ibus-pinyin/PKGBUILD @@ -1,28 +1,28 @@ -# $Id: PKGBUILD 31706 2010-11-04 13:42:40Z ibiru $ +# $Id: PKGBUILD 56127 2011-10-02 07:12:20Z ebelanger $ # Contributor: Rainy <rainylau(at)gmail(dot)com> # Contributor: Lee.maRS<leemars at gmail.com> # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=ibus-pinyin -pkgver=1.3.11 -pkgrel=2 +pkgver=1.3.99.20110706 +pkgrel=1 pkgdesc='The PinYin Engine for IBus Input Framework.' arch=('i686' 'x86_64') license=('LGPL') url='http://ibus.googlecode.com' -depends=('ibus' 'libsigc++2.0' 'boost-libs') -makedepends=('intltool' 'boost') -install="${pkgname}.install" +depends=('ibus') +makedepends=('intltool') +install=ibus-pinyin.install source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz" "http://ibus.googlecode.com/files/pinyin-database-1.2.99.tar.bz2") -md5sums=('c49b2ccaae1f4e3c5cfbd25af6bea51a' +md5sums=('0d9d5d78106c2d36c28a00b74aa9a6c3' 'd0951b8daa7f56a2cbd3b6b4e42532e0') build() { - ln -sf ${srcdir}/pinyin-database-1.2.99.tar.bz2 \ - ${srcdir}/${pkgname}-${pkgver}/data/db/open-phrase + cd "${srcdir}/${pkgname}-${pkgver}" - cd ${pkgname}-${pkgver} + ln -sf "${srcdir}/pinyin-database-1.2.99.tar.bz2" \ + "${srcdir}/${pkgname}-${pkgver}/data/db/open-phrase" sed -i -e "s|python|python2|" data/db/android/create_db.py \ setup/ibus-setup-pinyin.in @@ -36,7 +36,7 @@ build() { } package() { - cd ${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" - make NO_INDEX=true DESTDIR=${pkgdir} install + make NO_INDEX=true DESTDIR="${pkgdir}" install } diff --git a/community/ibus-pinyin/ibus-pinyin.install b/community/ibus-pinyin/ibus-pinyin.install index d9ad92426..3771d9bec 100644 --- a/community/ibus-pinyin/ibus-pinyin.install +++ b/community/ibus-pinyin/ibus-pinyin.install @@ -1,6 +1,6 @@ post_install() { echo "Creating INDEX. Please wait..." - cd /usr/share/ibus-pinyin/db + cd usr/share/ibus-pinyin/db echo "Creating index for android.db..." sqlite3 android.db '.read create_index.sql' echo "Creating index for open-phrase.db..." |