summaryrefslogtreecommitdiff
path: root/extra/scim/PKGBUILD
blob: 924610761b557718ba5f405afb9a9baeb357cf48 (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
37
38
39
40
# $Id: PKGBUILD 137306 2011-09-06 22:52:36Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Gan Lu <rhythm.gan@gmail.com>

pkgname=scim
pkgver=1.4.11
pkgrel=2
pkgdesc='Input method user interface and development platform'
url='http://www.scim-im.org/projects/scim'
license=('GPL')
arch=('i686' 'x86_64')
options=('!libtool')
makedepends=('intltool')
depends=('gtk2' 'libtool')
backup=('etc/scim/config' 'etc/scim/global')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('e202e42df52f5c9a88f6ae4d4ce04f94bc22e27c')

install=install

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

	./bootstrap
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-static \
		--with-gnu-ld \
		--with-x \

	make
}

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

	make DESTDIR="${pkgdir}" install
}