# $Id: PKGBUILD 36320 2009-04-21 00:36:51Z eric $ # Maintainer: damir # Contributor: Gan Lu 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 scim-1.4.9-2.patch) md5sums=('975ba34b01304ea8166ac8ea27aa9e88' 'f4913a35a890caf860896ba5ad097bac') build() { cd $srcdir/$pkgname-$pkgver patch -Np1 -i ${startdir}/scim-1.4.9-2.patch || return 1 ./configure --prefix=/usr --sysconfdir=/etc \ --with-gnu-ld --with-x --disable-static || return 1 make || return 1 make DESTDIR=$startdir/pkg install || return 1 }