summaryrefslogtreecommitdiff
path: root/extra/scim-uim/PKGBUILD
blob: 0edb9b4338aafe4397576bf873147462397d96ca (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
# $Id: PKGBUILD 166977 2012-09-24 04:57:10Z bisson $
# Contributor: damir <damir@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org

pkgname=scim-uim
pkgver=0.2.0
pkgrel=6
pkgdesc='UIM bridging input engine for SCIM'
url='http://www.scim-im.org/'
license=('GPL')
options=('!libtool')
depends=('scim' 'uim')
arch=('i686' 'x86_64')
source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz"
        'fix-gcc43-build.patch'
        'uim-1.5.5-header.patch')
sha1sums=('456621d5969b6552c3c33c83cf295aa4134fff0a'
          'a9d67946f956d0572c73065e2b4b268bfdf149e3'
          '3b083260910f7855b5446960ab1203c052f4b56c')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	patch -p1 -i ../fix-gcc43-build.patch
	patch -p1 -i ../uim-1.5.5-header.patch
	./configure --prefix=/usr --sysconfdir=/etc --disable-static
	make
}

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