diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/kimtoy | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/kimtoy')
-rw-r--r-- | community/kimtoy/PKGBUILD | 33 | ||||
-rw-r--r-- | community/kimtoy/kimtoy.install | 11 |
2 files changed, 44 insertions, 0 deletions
diff --git a/community/kimtoy/PKGBUILD b/community/kimtoy/PKGBUILD new file mode 100644 index 000000000..f278a3d5f --- /dev/null +++ b/community/kimtoy/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: CSSlayer <wengxt@gmail.com> + +pkgname=kimtoy +pkgver=1.9.2 +pkgdesc="Standalone input method panel" +pkgrel=1 +arch=(i686 x86_64) +url="http://kde-apps.org/content/show.php/KIMToy?content=140967" +license=(GPL) +makedepends=(cmake automoc4 fcitx scim dbus-c++) #ibus) ibus support not working due to upstream ABI change +depends=(kdebase-workspace) +optdepends=('fcitx: fcitx support' + 'scim: scim support' + 'dbus-c++: scim support') + #'ibus: ibus support') ibus support not working due to upstream ABI change +install=$pkgname.install +source=(http://kde-apps.org/CONTENT/content-files/140967-kimtoy-${pkgver}.tar.bz2) + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make +} + +package () +{ + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + +md5sums=('94f09a33940d189059f9620427689af5') diff --git a/community/kimtoy/kimtoy.install b/community/kimtoy/kimtoy.install new file mode 100644 index 000000000..db2bfe60e --- /dev/null +++ b/community/kimtoy/kimtoy.install @@ -0,0 +1,11 @@ +post_upgrade() { + update-mime-database usr/share/mime &> /dev/null +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} |