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-chewing | |
parent | ad84169d66d20378d28533c216b73c9a6646d6d7 (diff) |
Mon Oct 3 23:14:36 UTC 2011
Diffstat (limited to 'community/ibus-chewing')
-rw-r--r-- | community/ibus-chewing/PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/community/ibus-chewing/PKGBUILD b/community/ibus-chewing/PKGBUILD index 9fda24ce7..cbec4f962 100644 --- a/community/ibus-chewing/PKGBUILD +++ b/community/ibus-chewing/PKGBUILD @@ -1,3 +1,4 @@ +# $Id: PKGBUILD 56125 2011-10-02 04:43:30Z ebelanger $ # Maintainer: Thomas Dziedzic < gostrc at gmail > # Contributor: Rainy <rainylau(at)gmail(dot)com> # Contributor: Lee.MaRS <leemars@gmail.com> @@ -5,35 +6,31 @@ pkgname=ibus-chewing pkgver=1.3.9.2 -pkgrel=3 +pkgrel=4 pkgdesc='Chinese Chewing Engine for IBus Framework' arch=('i686' 'x86_64') license=('GPL') url='http://ibus.googlecode.com' depends=('ibus' 'libchewing' 'libxtst' 'gconf') makedepends=('swig' 'cmake' 'gob2') -install="${pkgname}.install" +install=ibus-chewing.install source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz") md5sums=('8d177d67647944f5d1f9cca0654eaccb') build() { - cd ${pkgname}-${pkgver}-Source + cd "${srcdir}/${pkgname}-${pkgver}-Source" cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONF_INSTALL_DIR=/usr/share \ + -DLIBEXEC_DIR=/usr/lib/ibus \ . make } package() { - cd ${pkgname}-${pkgver}-Source + cd "${srcdir}/${pkgname}-${pkgver}-Source" - make DESTDIR=${pkgdir} install - - # check up on http://code.google.com/p/ibus/issues/detail?id=1172 to fix nonstandard path - install -d ${pkgdir}/usr/lib/ibus - mv ${pkgdir}/usr/libexec/ibus-engine-chewing ${pkgdir}/usr/lib/ibus/ibus-engine-chewing - sed -i 's#/usr/libexec/ibus-engine-chewing#/usr/lib/ibus/ibus-engine-chewing#' ${pkgdir}/usr/share/ibus/component/chewing.xml + make DESTDIR="${pkgdir}" install } |