core/scim-uim/PKGBUILD

31 lines
1.0 KiB
Bash
Raw Normal View History

2011-06-20 08:20:06 +08:00
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2010-03-14 23:48:48 +08:00
pkgname=scim-uim
pkgver=0.2.0
2011-06-20 08:20:06 +08:00
pkgrel=4
2010-03-14 23:48:48 +08:00
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
}