summaryrefslogtreecommitdiff
path: root/community/kimtoy
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-11 01:38:47 -0700
committerroot <root@rshg054.dnsready.net>2013-07-11 01:38:47 -0700
commit2e85ee969c4be5762301fc1447315f132aca1fc8 (patch)
tree45ce2476a7dec9372c4d13a039237544ff6898d1 /community/kimtoy
parentb509d58f0ff9d5b9167eb65b0264d014c8ac9d66 (diff)
Thu Jul 11 01:37:50 PDT 2013
Diffstat (limited to 'community/kimtoy')
-rw-r--r--community/kimtoy/PKGBUILD33
-rw-r--r--community/kimtoy/kimtoy.install11
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
+}