From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/kimtoy/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ community/kimtoy/kimtoy.install | 11 +++++++++++ 2 files changed, 44 insertions(+) create mode 100644 community/kimtoy/PKGBUILD create mode 100644 community/kimtoy/kimtoy.install (limited to 'community/kimtoy') 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 +# Contributor: CSSlayer + +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 +} -- cgit v1.2.3-54-g00ecf