summaryrefslogtreecommitdiff
path: root/extra/scim-hangul/PKGBUILD
blob: 3f0ceaf225a5eda5baf92a6d81f770b51eec98cc (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 140551 2011-10-17 07:24:46Z bisson $
# Contributor: damir <damir@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=scim-hangul
pkgver=0.3.2
pkgrel=4
pkgdesc='Korean input method module for SCIM'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.scim-im.org/'
license=('GPL')
depends=('libhangul' 'scim')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz"
        'gcc43.patch'
        'unistd.patch')
sha1sums=('d1f4a2114d284c926d64fbfe8ea83307b8d8e2ec'
          '956bb2b6bd75b3d2756895f8ade429f95bacc0ff'
          '1cfce9a7d5240f6d19aea008edcd9c6989e94e62')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	patch -p1 -i ../gcc43.patch
        patch -p1 -i "$srcdir/unistd.patch"
	./bootstrap # skim complains; it's alright
	./configure --prefix=/usr --enable-skim-support
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}