diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
commit | 462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch) | |
tree | 11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/ibus-bogo | |
parent | 748e32a3a886569b58a27003e85b76be5746153d (diff) |
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/ibus-bogo')
-rw-r--r-- | pcr/ibus-bogo/PKGBUILD | 55 | ||||
-rw-r--r-- | pcr/ibus-bogo/install | 40 |
2 files changed, 0 insertions, 95 deletions
diff --git a/pcr/ibus-bogo/PKGBUILD b/pcr/ibus-bogo/PKGBUILD deleted file mode 100644 index 44652b204..000000000 --- a/pcr/ibus-bogo/PKGBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# 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 Aurelien Desbrieres <aurelien@cwb.io> - -pkgname="ibus-bogo" -pkgver=0.1.0 -pkgrel=1 -pkgdesc=" Bogo Engine for Ibus" - -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') - -_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 - cmake -DCMAKE_INSTALL_PREFIX:PATH="${pkgdir}/usr" .. - make - make install - rm ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled - - } diff --git a/pcr/ibus-bogo/install b/pcr/ibus-bogo/install deleted file mode 100644 index 0ed8986d0..000000000 --- a/pcr/ibus-bogo/install +++ /dev/null @@ -1,40 +0,0 @@ -post_install () { - - glib-compile-schemas /usr/share/glib-2.0/schemas - - } - -pre_upgrade () { - - cd /usr/share - if [ -d ibus-bogo ]; then - rm -rf ibus-bogo/* - fi - - cd /usr/share/ibus/component/ - if [ -f bogo.xml ]; then - rm bogo.xml - fi - - cd /usr/lib/python2.7/site-packages/ - if [ -d BoGo ]; then - rm -rf BoGo/* - fi - - for i in `ls /usr/lib | grep bogo`; do - rm -rf /usr/lib/$i - done - - } - -post_upgrade () { - - glib-compile-schemas /usr/share/glib-2.0/schemas - - } - -post_remove () { - - glib-compile-schemas /usr/share/glib-2.0/schemas - - } |