summaryrefslogtreecommitdiff
path: root/extra/scim/PKGBUILD
blob: e9755aada09f5f38e44a502cf6df86cb14b336e4 (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 125359 2011-05-26 09:22:50Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Gan Lu <rhythm.gan@gmail.com>

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

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
}