summaryrefslogtreecommitdiff
path: root/extra/scim-pinyin/PKGBUILD
blob: abf1fe1d8e03c827b3bd4330a8425ec9ddabb30e (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
# $Id: PKGBUILD 149097 2012-02-05 17:19:20Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributer: Gan Lu <rhythm.gan@gmail.com>

pkgname=scim-pinyin
pkgver=0.5.91
pkgrel=6
pkgdesc='Chinese pinyin input for SCIM'
url='http://www.scim-im.org/'
arch=('i686' 'x86_64')
license=('GPL')
depends=('scim')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz"
        'gcc43.patch')
sha1sums=('58bea437a211b7af8420057541a38933a41841c7'
          'b78ecec237ee0e04ec43604fcc344ff43ccfb7b3')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	patch -p1 -i ../gcc43.patch

	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-static \

	make
}

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