blob: 7930ed363a1bc14433135df79db0717400984e32 (
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
31
32
33
|
# $Id: PKGBUILD 110386 2014-04-28 17:08:39Z 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=2
pkgdesc='Korean input engine for IBus'
arch=('i686' 'x86_64')
url='http://ibus.googlecode.com'
license=('GPL')
depends=('ibus' 'libhangul' 'iso-codes' 'gtk-update-icon-cache' 'python2-gobject')
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
# Fix symlink
ln -sf ../lib/ibus/ibus-setup-hangul "$pkgdir/usr/bin/ibus-setup-hangul"
}
md5sums=('0229eab9481355bb5f54230890bfa910')
|