[arch-commits] Commit in kimtoy/repos (6 files)

Felix Yan fyan at archlinux.org
Wed Oct 1 13:37:01 UTC 2014


    Date: Wednesday, October 1, 2014 @ 15:37:00
  Author: fyan
Revision: 119969

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  kimtoy/repos/community-staging-i686/
  kimtoy/repos/community-staging-i686/PKGBUILD
    (from rev 119968, kimtoy/trunk/PKGBUILD)
  kimtoy/repos/community-staging-i686/kimtoy.install
    (from rev 119968, kimtoy/trunk/kimtoy.install)
  kimtoy/repos/community-staging-x86_64/
  kimtoy/repos/community-staging-x86_64/PKGBUILD
    (from rev 119968, kimtoy/trunk/PKGBUILD)
  kimtoy/repos/community-staging-x86_64/kimtoy.install
    (from rev 119968, kimtoy/trunk/kimtoy.install)

-----------------------------------------+
 community-staging-i686/PKGBUILD         |   37 ++++++++++++++++++++++++++++++
 community-staging-i686/kimtoy.install   |   11 ++++++++
 community-staging-x86_64/PKGBUILD       |   37 ++++++++++++++++++++++++++++++
 community-staging-x86_64/kimtoy.install |   11 ++++++++
 4 files changed, 96 insertions(+)

Copied: kimtoy/repos/community-staging-i686/PKGBUILD (from rev 119968, kimtoy/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-10-01 13:37:00 UTC (rev 119969)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: CSSlayer <wengxt at gmail.com>
+
+pkgname=kimtoy
+pkgver=1.9.2
+pkgdesc="Standalone input method panel"
+pkgrel=3
+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=('kdelibs')
+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
+
+  mv "$pkgdir/usr/share/locale" "$srcdir/tmp_locale"
+  mkdir -p "$pkgdir/usr/share/locale"
+  mv "$srcdir/tmp_locale" "$pkgdir/usr/share/locale/kde4"
+}
+
+md5sums=('94f09a33940d189059f9620427689af5')

Copied: kimtoy/repos/community-staging-i686/kimtoy.install (from rev 119968, kimtoy/trunk/kimtoy.install)
===================================================================
--- community-staging-i686/kimtoy.install	                        (rev 0)
+++ community-staging-i686/kimtoy.install	2014-10-01 13:37:00 UTC (rev 119969)
@@ -0,0 +1,11 @@
+post_upgrade() {
+  update-mime-database usr/share/mime &> /dev/null
+}
+
+post_install() {
+  post_upgrade
+}
+
+post_remove() {
+  post_upgrade
+}

Copied: kimtoy/repos/community-staging-x86_64/PKGBUILD (from rev 119968, kimtoy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-10-01 13:37:00 UTC (rev 119969)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: CSSlayer <wengxt at gmail.com>
+
+pkgname=kimtoy
+pkgver=1.9.2
+pkgdesc="Standalone input method panel"
+pkgrel=3
+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=('kdelibs')
+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
+
+  mv "$pkgdir/usr/share/locale" "$srcdir/tmp_locale"
+  mkdir -p "$pkgdir/usr/share/locale"
+  mv "$srcdir/tmp_locale" "$pkgdir/usr/share/locale/kde4"
+}
+
+md5sums=('94f09a33940d189059f9620427689af5')

Copied: kimtoy/repos/community-staging-x86_64/kimtoy.install (from rev 119968, kimtoy/trunk/kimtoy.install)
===================================================================
--- community-staging-x86_64/kimtoy.install	                        (rev 0)
+++ community-staging-x86_64/kimtoy.install	2014-10-01 13:37:00 UTC (rev 119969)
@@ -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