[arch-commits] Commit in (5 files)

Felix Yan fyan at nymeria.archlinux.org
Wed Jul 10 13:49:12 UTC 2013


    Date: Wednesday, July 10, 2013 @ 15:49:12
  Author: fyan
Revision: 93806

addpkg: kimtoy 1.9.2-1

Added:
  kimtoy/
  kimtoy/repos/
  kimtoy/trunk/
  kimtoy/trunk/PKGBUILD
  kimtoy/trunk/kimtoy.install

----------------+
 PKGBUILD       |   33 +++++++++++++++++++++++++++++++++
 kimtoy.install |   11 +++++++++++
 2 files changed, 44 insertions(+)

Added: kimtoy/trunk/PKGBUILD
===================================================================
--- kimtoy/trunk/PKGBUILD	                        (rev 0)
+++ kimtoy/trunk/PKGBUILD	2013-07-10 13:49:12 UTC (rev 93806)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: CSSlayer <wengxt at 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')

Added: kimtoy/trunk/kimtoy.install
===================================================================
--- kimtoy/trunk/kimtoy.install	                        (rev 0)
+++ kimtoy/trunk/kimtoy.install	2013-07-10 13:49:12 UTC (rev 93806)
@@ -0,0 +1,11 @@
+post_upgrade() {
+  update-mime-database usr/share/mime &> /dev/null
+}
+
+post_install() {
+  post_upgrade
+}
+
+post_remove() {
+  post_upgrade
+}




More information about the arch-commits mailing list