core/scim/PKGBUILD

29 lines
906 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
# $Id: PKGBUILD 36320 2009-04-21 00:36:51Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Gan Lu <rhythm.gan@gmail.com>
pkgname=scim
pkgver=1.4.9
2010-05-19 09:53:51 +08:00
pkgrel=2
2010-03-14 23:48:48 +08:00
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
2010-05-19 09:53:51 +08:00
source=(http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz scim-1.4.9-2.patch)
md5sums=('975ba34b01304ea8166ac8ea27aa9e88'
'f4913a35a890caf860896ba5ad097bac')
2010-03-14 23:48:48 +08:00
build() {
cd $srcdir/$pkgname-$pkgver
2010-05-19 09:53:51 +08:00
patch -Np1 -i ${startdir}/scim-1.4.9-2.patch || return 1
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr --sysconfdir=/etc \
--with-gnu-ld --with-x --disable-static || return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}