summaryrefslogtreecommitdiff
path: root/extra/scim/PKGBUILD
blob: 7e7fb24572a53d472d210489c090f826a7b3ba8a (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
# $Id: PKGBUILD 84723 2010-07-03 19:29:41Z ibiru $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Gan Lu <rhythm.gan@gmail.com>

pkgname=scim
pkgver=1.4.9
pkgrel=2
pkgdesc="A Input Method development platform"
arch=("i686" "x86_64")
url="http://www.scim-im.org/projects/scim"
license=('GPL')
depends=('gtk2' 'gcc-libs')
makedepends=('intltool')
backup=('etc/scim/config' 'etc/scim/global')
options=('!libtool')
install=scim.install
source=(http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz
        gcc45.patch)
md5sums=('975ba34b01304ea8166ac8ea27aa9e88'
         '9d7b41421424cedcbc5740098afa4921')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -Np1 -i $srcdir/gcc45.patch
  ./configure --prefix=/usr --sysconfdir=/etc \
    --with-gnu-ld --with-x --disable-static
  make
  make DESTDIR=$pkgdir install
}