summaryrefslogtreecommitdiff
path: root/community/ibus-hangul
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/ibus-hangul
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 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
+}