summaryrefslogtreecommitdiff
path: root/community/ibus-hangul
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/ibus-hangul
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/ibus-hangul')
-rw-r--r--community/ibus-hangul/PKGBUILD30
-rw-r--r--community/ibus-hangul/ibus-hangul.install11
2 files changed, 41 insertions, 0 deletions
diff --git a/community/ibus-hangul/PKGBUILD b/community/ibus-hangul/PKGBUILD
new file mode 100644
index 000000000..2d24f29df
--- /dev/null
+++ b/community/ibus-hangul/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 82988 2013-01-26 08:44:01Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Radim Hvizdák <hvizdakr at gmail dot com>
+
+pkgname=ibus-hangul
+pkgver=1.4.2
+pkgrel=1
+pkgdesc='Korean input engine for IBus'
+arch=('i686' 'x86_64')
+url='http://ibus.googlecode.com'
+license=('GPL')
+depends=('ibus' 'libhangul' 'iso-codes' 'pygtk' 'gtk-update-icon-cache')
+makedepends=('intltool')
+install=ibus-hangul.install
+source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/python/python2/' setup/ibus-setup-hangul.in
+ PYTHON=python2 ./configure --prefix=/usr --libexecdir=/usr/lib/ibus
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make NO_INDEX=true DESTDIR="${pkgdir}" install
+}
+
+md5sums=('0229eab9481355bb5f54230890bfa910')
diff --git a/community/ibus-hangul/ibus-hangul.install b/community/ibus-hangul/ibus-hangul.install
new file mode 100644
index 000000000..1a05f573e
--- /dev/null
+++ b/community/ibus-hangul/ibus-hangul.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}