summaryrefslogtreecommitdiff
path: root/extra/scim-uim/PKGBUILD
blob: 8d87455fab69abb83506dd711386ab0f3619c0bc (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 149050 2012-02-05 15:34:14Z bisson $
# Contributor: damir <damir@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org

pkgname=scim-uim
pkgver=0.2.0
pkgrel=5
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"
        'scim-uim-0.2.0-fix-gcc43-build.patch'
        'uim-1.5.5-header.patch')
sha1sums=('456621d5969b6552c3c33c83cf295aa4134fff0a'
          'a9d67946f956d0572c73065e2b4b268bfdf149e3'
          '3b083260910f7855b5446960ab1203c052f4b56c')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	patch -p1 -i ../scim-uim-0.2.0-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
}