summaryrefslogtreecommitdiff
path: root/community/ibus-hangul/PKGBUILD
blob: 01f3e680f3748f0ad3cb7f12e1f5c95a738fe71c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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' 'mips64el')
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')