summaryrefslogtreecommitdiff
path: root/community/ibus-hangul/PKGBUILD
blob: 1e175526f8f44149879e7a5949774a897aef5610 (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
# $Id: PKGBUILD 70167 2012-05-01 04:52:15Z ebelanger $
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Radim Hvizdák <hvizdakr at gmail dot com>

pkgname=ibus-hangul
pkgver=1.4.1
pkgrel=1
pkgdesc='Korean input engine for IBus'
arch=('i686' 'x86_64')
url='http://ibus.googlecode.com'
license=('GPL')
depends=('ibus' 'libhangul')
makedepends=('intltool')
install=ibus-hangul.install
source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
sha1sums=('659899cf942a983fbd2ffbb4bd4f5ecd883f5c0a')

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
}