summaryrefslogtreecommitdiff
path: root/extra/scim-uim/PKGBUILD
blob: 89338e1a05bac23171dceec2dbd48846b39206bf (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
34
35
36
# $Id: PKGBUILD 198411 2013-10-30 14:42:35Z allan $
# Maintainer: Gaetan Bisson <bisson@archlinux.org
# Contributor: damir <damir@archlinux.org>

pkgname=scim-uim
pkgver=0.2.0
pkgrel=7
pkgdesc='UIM bridging input engine for SCIM'
url='http://www.scim-im.org/'
license=('GPL')
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')


prepare() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	patch -p1 -i ../fix-gcc43-build.patch
	patch -p1 -i ../uim-1.5.5-header.patch
}

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr --sysconfdir=/etc --disable-static
	make
}

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