From 33feb015eb09eee76827f359e685fce981d88111 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 27 May 2011 22:47:26 +0000 Subject: Fri May 27 22:47:26 UTC 2011 --- extra/scim/PKGBUILD | 47 +++++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 18 deletions(-) (limited to 'extra/scim/PKGBUILD') diff --git a/extra/scim/PKGBUILD b/extra/scim/PKGBUILD index 7e7fb2457..e9755aada 100644 --- a/extra/scim/PKGBUILD +++ b/extra/scim/PKGBUILD @@ -1,29 +1,40 @@ -# $Id: PKGBUILD 84723 2010-07-03 19:29:41Z ibiru $ -# Maintainer: damir +# $Id: PKGBUILD 125359 2011-05-26 09:22:50Z bisson $ +# Maintainer: Gaetan Bisson +# Contributor: 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" +pkgver=1.4.10 +pkgrel=1 +pkgdesc='Input method user interface and development platform' +url='http://www.scim-im.org/projects/scim' license=('GPL') +arch=('i686' 'x86_64') 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') +source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/${pkgname}_$pkgver.tar.gz") +sha1sums=('bf33a6ceb199453fed909a61f54e971653fe5abf') + +install=install 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 + cd "$srcdir/$pkgname-$pkgver" + + ./bootstrap + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-static \ + --with-gnu-ld \ + --with-x \ + + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install } -- cgit v1.2.3-54-g00ecf