From 48dcaf9a7fe34b7a1752c57e227053623714e9fb Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 09:43:51 +0200 Subject: ibus-bogo --- pcr/ibus-bogo/PKGBUILD | 67 ++++++++++++++++++-------------------------------- 1 file changed, 24 insertions(+), 43 deletions(-) diff --git a/pcr/ibus-bogo/PKGBUILD b/pcr/ibus-bogo/PKGBUILD index 915112d36..acb7c5a5b 100644 --- a/pcr/ibus-bogo/PKGBUILD +++ b/pcr/ibus-bogo/PKGBUILD @@ -1,55 +1,36 @@ -# Contributor (Arch): Nguyen Ha Duong -# Contributor (Arch): Ngo Trung -# Contributor (Arch): Dam Tien Long -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor: Nguyen Ha Duong +# Contributor: Ngo Trung +# Contributor: Dam Tien Long +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES pkgname="ibus-bogo" -pkgver=0.1.0 -pkgrel=1 -pkgdesc=" Bogo Engine for Ibus" +pkgver=0.4 +pkgrel=0 +pkgdesc="Vietnamese input method for IBus. \ +Git version's https://aur.archlinux.org/packages/ibus-bogo-git/" arch=('i686' 'x86_64') -url="https://github.com/BoGoEngine" -license=('GPLv3') -depends=('ibus' 'python2' 'glibmm' 'python2-gobject') -makedepends=('git' 'cmake' 'gcc' 'python2') -provides=('ibus-bogo') +url="https://github.com/BoGoEngine/ibus-bogo-python" +license=('GPL v3') +depends=('ibus' 'python' 'python-gobject' 'libwnck3' 'python-pyqt4' 'libnotify' 'qt4') +makedepends=('git' 'cmake' 'gcc' 'pyqt4-common') +source=("https://github.com/BoGoEngine/ibus-bogo-python/releases/download/v$pkgver.$pkgrel/ibus-bogo_$pkgver.$pkgrel.tar.gz") -_gitpython="https://github.com/BoGoEngine/ibus-bogo-python.git" -_gitpythonname="ibus-bogo-python" - -install=install build() { - cd ${srcdir} - - if [ -d ${_gitpythonname} ] ; then - cd ${srcdir}/${_gitpythonname} && git pull - msg "Local ${srcdir}/${_gitpythonname} updated" - - else - git clone ${_gitpython} ${_gitpythonname} - - fi - - - - msg "Starting make..." - - mkdir ${pkgdir}/usr/ - - # Building ibus-bogo-python - cd ${srcdir}/${_gitpythonname} - if [ -d build ]; then - cd build - else - mkdir build - cd build - fi + cd ${srcdir}/${pkgname} + msg "Starting build..." + + # Building ibus-bogo-python + mkdir -p build + cd build + cmake -DCMAKE_INSTALL_PREFIX:PATH="${pkgdir}/usr" .. make + } +package() { + cd ${srcdir}/${pkgname}/build make install - rm ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled - } + -- cgit v1.2.3