summaryrefslogtreecommitdiff
path: root/extra/scim/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/scim/PKGBUILD')
-rw-r--r--extra/scim/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/extra/scim/PKGBUILD b/extra/scim/PKGBUILD
index 924610761..fca464709 100644
--- a/extra/scim/PKGBUILD
+++ b/extra/scim/PKGBUILD
@@ -1,34 +1,41 @@
-# $Id: PKGBUILD 137306 2011-09-06 22:52:36Z bisson $
+# $Id: PKGBUILD 156513 2012-04-20 01:11:09Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Gan Lu <rhythm.gan@gmail.com>
pkgname=scim
-pkgver=1.4.11
-pkgrel=2
+pkgver=1.4.12
+pkgrel=1
pkgdesc='Input method user interface and development platform'
url='http://www.scim-im.org/projects/scim'
-license=('GPL')
-arch=('i686' 'x86_64')
+license=('LGPL')
options=('!libtool')
+arch=('i686' 'x86_64')
makedepends=('intltool')
-depends=('gtk2' 'libtool')
+depends=('libltdl' 'gtk2')
backup=('etc/scim/config' 'etc/scim/global')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('e202e42df52f5c9a88f6ae4d4ce04f94bc22e27c')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ 'ftp://ftp.archlinux.org/other/scim/scim-docs-20120420.tar.xz')
+sha1sums=('948180ec0af18e435a95edbdb840cf41f3b24d32'
+ 'b2cccb43673e1760abf6825768bc4354a981a0ad')
+
+# Docs tarball temporarily generated with:
+# svn co https://scim.svn.sourceforge.net/svnroot/scim/scim/trunk/docs docs
install=install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ mv ../docs .
./bootstrap
+ sed 's/\$nls_cv_use_gnu_gettext/yes/' -i configure
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
- --with-gnu-ld \
- --with-x \
+ --with-gtk-version=2 # still a couple issues with 3
make
}