diff options
Diffstat (limited to 'pcr/ibus-bogo')
-rw-r--r-- | pcr/ibus-bogo/PKGBUILD | 36 | ||||
-rw-r--r-- | pcr/ibus-bogo/install | 40 |
2 files changed, 0 insertions, 76 deletions
diff --git a/pcr/ibus-bogo/PKGBUILD b/pcr/ibus-bogo/PKGBUILD deleted file mode 100644 index acb7c5a5b..000000000 --- a/pcr/ibus-bogo/PKGBUILD +++ /dev/null @@ -1,36 +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 Aurélien DESBRIÈRES <aurelien@hackers.camp> - -pkgname="ibus-bogo" -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/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") - - -build() { - - 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 - } - 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 - - } |