summaryrefslogtreecommitdiff
path: root/extra/gcin/PKGBUILD
blob: 42d692c4191df33045cf44e59b084d00edad643a (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 116389 2011-03-23 02:55:06Z bisson $
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=gcin
pkgver=1.6.0
pkgrel=1
pkgdesc='Input method server supporting various input methods'
arch=('i686' 'x86_64')
license=('LGPL')
url='http://www.csie.nctu.edu.tw/~cp76/gcin/'
depends=('gtk2' 'libxtst')
makedepends=('anthy' 'qt')
optdepends=('qt: support for qt4 input method')
source=("${url}download/${pkgname}-${pkgver}.tar.bz2"
        'fix_x86_64_libdir.patch'
        'fix_qt4_paths.patch')
sha1sums=('72d05f85e0cd410420eef539e034167172b8c34c'
          'e5c113e50420bf4750f5547641df6ec4b7e437e0'
          '16d004424caed541d5baaa6874f708b1c138ab08')

install=install

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	patch -p1 -i "${srcdir}/fix_x86_64_libdir.patch"
	patch -p1 -i "${srcdir}/fix_qt4_paths.patch"
	./configure --prefix=/usr --use_i18n=Y
	make
}

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