diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/ibus-bogo/PKGBUILD | 67 |
1 files 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 <cmpitg@gmail.com> -# Contributor (Arch): Ngo Trung <ndtrung4419@gmail.com> -# Contributor (Arch): Dam Tien Long <longdt90@gmail.com> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Contributor: Nguyen Ha Duong <cmpitg@gmail.com> +# Contributor: Ngo Trung <ndtrung4419@gmail.com> +# Contributor: Dam Tien Long <longdt90@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp> 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 - } + |