summaryrefslogtreecommitdiff
path: root/extra/uim
diff options
context:
space:
mode:
Diffstat (limited to 'extra/uim')
-rw-r--r--extra/uim/PKGBUILD27
-rw-r--r--extra/uim/home.patch24
-rw-r--r--extra/uim/install10
3 files changed, 17 insertions, 44 deletions
diff --git a/extra/uim/PKGBUILD b/extra/uim/PKGBUILD
index a7e4978d4..6e7f7afe5 100644
--- a/extra/uim/PKGBUILD
+++ b/extra/uim/PKGBUILD
@@ -1,32 +1,29 @@
-# $Id: PKGBUILD 109572 2011-02-10 20:32:59Z bisson $
-# Maintainer: damir <damir@archlinux.org>
+# $Id: PKGBUILD 124164 2011-05-17 08:27:15Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
pkgname=uim
-pkgver=1.6.1
-pkgrel=2
+pkgver=1.7.0
+pkgrel=1
pkgdesc='Multilingual input method library'
arch=('i686' 'x86_64' 'mips64el')
url='http://code.google.com/p/uim/'
-license=('custom')
+license=('custom:BSD')
depends=('gtk2' 'libxft' 'libedit' 'anthy' 'm17n-lib')
makedepends=('intltool' 'gettext' 'gnome-panel')
optdepends=('gnome-panel: gnome applet indicator')
options=('!libtool')
-source=("http://uim.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2"
- 'home.patch')
-sha1sums=('412bb2df6041185084e2f64fb73357389bf992b5'
- 'dbcf90f3ea246c5723d715e0935072baa9364cd2')
+source=("http://uim.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('b79ed80c2557e804e6d3d2771a213a29cd932a73')
install=install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
- # UIM's Makefile needs to write in $HOME
- patch -p0 < ../home.patch; export HOME="`pwd`"
-
- ./configure --prefix=/usr --libexecdir=/usr/lib/uim \
- --with-anthy-utf8
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/uim \
+ --with-anthy-utf8
make
}
diff --git a/extra/uim/home.patch b/extra/uim/home.patch
deleted file mode 100644
index 5d171529d..000000000
--- a/extra/uim/home.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -aur uim/uim-helper.c uim/uim-helper.c
---- uim/uim-helper.c 2010-08-22 19:23:37.646666698 +0200
-+++ uim/uim-helper.c 2010-08-22 19:26:57.676666781 +0200
-@@ -178,7 +178,7 @@
- goto path_error;
- }
-
-- if (strlcpy(helper_path, pw->pw_dir, len) >= (size_t)len) {
-+ if (strlcpy(helper_path, getenv("HOME"), len) >= (size_t)len) {
- endpwent();
- goto path_error;
- }
-diff -aur uim/uim-posix.c uim/uim-posix.c
---- uim/uim-posix.c 2010-08-22 19:23:37.650000031 +0200
-+++ uim/uim-posix.c 2010-08-22 19:26:40.096666322 +0200
-@@ -100,7 +100,7 @@
- home[0] = '\0';
- return UIM_FALSE;
- }
-- if (strlcpy(home, pw->pw_dir, len) >= (size_t)len) {
-+ if (strlcpy(home, getenv("HOME"), len) >= (size_t)len) {
- home[0] = '\0';
- endpwent();
- return UIM_FALSE;
diff --git a/extra/uim/install b/extra/uim/install
index ffed34d01..a2d5e00e6 100644
--- a/extra/uim/install
+++ b/extra/uim/install
@@ -1,13 +1,13 @@
post_install() {
- echo -n "updating gtk.immodules... "
- usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
- echo "done."
+ echo -n "updating gtk.immodules... "
+ usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
+ echo "done."
}
post_upgrade() {
- post_install
+ post_install
}
post_remove() {
- post_install
+ post_install
}