summaryrefslogtreecommitdiff
path: root/extra/scim/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/scim/PKGBUILD')
-rw-r--r--extra/scim/PKGBUILD47
1 files changed, 29 insertions, 18 deletions
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 <damir@archlinux.org>
+# $Id: PKGBUILD 125359 2011-05-26 09:22:50Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
# Contributor: Gan Lu <rhythm.gan@gmail.com>
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
}