PKGBUILDs/extra/scim-uim/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
862 B
Bash

# $Id: PKGBUILD 28136 2009-02-28 00:27:04Z eric $
# Maintainer: damir <damir@archlinux.org>
pkgname=scim-uim
pkgver=0.2.0
pkgrel=3
pkgdesc="UIM bridging input engine for SCIM"
arch=(i686 x86_64)
url="http://www.scim-im.org/"
license=('GPL')
depends=('scim>=1.4.8' 'uim>=1.5.5')
options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz scim-uim-0.2.0-fix-gcc43-build.patch uim-1.5.5-header.diff)
md5sums=('3841556bc0e5a94b1a268751432712d3' '969da6727ec7cffc7d5a5de98eeb1f6b'\
'c85f4dfe17b0e8d1be3368423b970259')
build() {
cd $srcdir/$pkgname-$pkgver
patch -p1 < ../scim-uim-0.2.0-fix-gcc43-build.patch || return 1
patch -p1 < ../uim-1.5.5-header.diff || return 1
./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}