summaryrefslogtreecommitdiff
path: root/extra/scim-uim
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/scim-uim
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/scim-uim')
-rw-r--r--extra/scim-uim/PKGBUILD31
-rw-r--r--extra/scim-uim/uim-1.5.5-header.patch13
2 files changed, 29 insertions, 15 deletions
diff --git a/extra/scim-uim/PKGBUILD b/extra/scim-uim/PKGBUILD
index b93293cf4..8d87455fa 100644
--- a/extra/scim-uim/PKGBUILD
+++ b/extra/scim-uim/PKGBUILD
@@ -1,31 +1,32 @@
-# $Id: PKGBUILD 92903 2010-10-01 19:04:42Z bisson $
-# Maintainer: damir <damir@archlinux.org>
+# $Id: PKGBUILD 149050 2012-02-05 15:34:14Z bisson $
+# Contributor: damir <damir@archlinux.org>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org
pkgname=scim-uim
pkgver=0.2.0
-pkgrel=4
+pkgrel=5
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"
+options=('!libtool')
+depends=('scim' 'uim')
+arch=('i686' 'x86_64')
+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')
+ 'uim-1.5.5-header.patch')
sha1sums=('456621d5969b6552c3c33c83cf295aa4134fff0a'
'a9d67946f956d0572c73065e2b4b268bfdf149e3'
'3b083260910f7855b5446960ab1203c052f4b56c')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p1 < ../scim-uim-0.2.0-fix-gcc43-build.patch
- patch -p1 < ../uim-1.5.5-header.diff
- ./configure --prefix=/usr --sysconfdir=/etc --disable-static
- make
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../scim-uim-0.2.0-fix-gcc43-build.patch
+ patch -p1 -i ../uim-1.5.5-header.patch
+ ./configure --prefix=/usr --sysconfdir=/etc --disable-static
+ make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
diff --git a/extra/scim-uim/uim-1.5.5-header.patch b/extra/scim-uim/uim-1.5.5-header.patch
new file mode 100644
index 000000000..0e6565827
--- /dev/null
+++ b/extra/scim-uim/uim-1.5.5-header.patch
@@ -0,0 +1,13 @@
+--- scim-uim-0.2.0.orig/src/scim_uim_imengine.cpp
++++ scim-uim-0.2.0/src/scim_uim_imengine.cpp
+@@ -34,7 +34,8 @@
+
+ #include <scim.h>
+ #include "scim_uim_imengine.h"
+-#include <uim/uim-compat-scm.h>
++#include <uim/uim-scm.h>
++#include <uim/uim-util.h>
+
+ #define scim_module_init uim_LTX_scim_module_init
+ #define scim_module_exit uim_LTX_scim_module_exit
+