You are not logged in.
Here are some packages for inputting japanese using scim and anthy as an input engine, and korean with scim-hangul. Those seem to be the latest stable versions.
I know that the archlinux convention is that /usr should be used instead of /usr/local, but for some reason:
1- scim-anthy refused to compile when anthy was installed in /usr/local
2- scim-anthy did not integrate into scim (and thus was unusable) when installed in /usr/local
However, I had no such problem with scim-hangul... This still puzzles me.
This said, those are my first packages, and I am also a beginner in bash, so maybe I made some mistake ?
Anyway, those made scim-anthy work for me, and I thought i'd have to post them.
anthy PKGBUILD
# Contributer: David Mezerette <david.mezerette@lapis.plala.or.jp>
pkgname=anthy
pkgver=5900
pkgrel=1
pkgdesc="A system for Japanese input method"
makedepends=()
depends=()
install=anthy.install
url="http://anthy.sourceforge.jp/"
license=""
source=(http://keihanna.dl.sourceforge.jp/$pkgname/12071/$pkgname-$pkgver.tar.gz)
# md5sums=()build() {
cd $startdir/
./configure
make || return 1
make DESTDIR=$startdir/pkg install
}
anthy.install (this was written in the INSTALL file -in japanese- of anthy)
# arg 1: the new package version
post_install() {
#
echo -n "updating /etc/ld.so.conf ..."
echo /usr/local/lib >> /etc/ld.so.conf
ldconfig
echo "done."
#
/bin/true
}op=$1
shift
$op $*
scim-anthy PKGBUILD
# Contributer: David Mezerette <david.mezerette@lapis.plala.or.jp>
pkgname=scim-anthy
pkgver=0.3.0
pkgrel=1
pkgdesc="anthy Input Method engine for SCIM"
makedepends=()
depends=('anthy' 'scim')
install=
url="http://anthy.sourceforge.jp/"
license=""
source=(http://kyushu-u.dl.sourceforge.jp/scim-imengine/13170/$pkgname-$pkgver.tar.gz)
# md5sums=('628bdb7c8077c2af0838b96ea294e050')build() {
cd $startdir/src/$pkgname-$pkgver
./configure
make || return 1
make DESTDIR=$startdir/pkg install
}
scim-hangul PKGBUILD
# Contributer: David Mezerette <david.mezerette@lapis.plala.or.jp>
pkgname=scim-hangul
pkgver=0.1.2
pkgrel=1
pkgdesc="hangul (korean) Input Method engine for SCIM"
makedepends=()
depends=('scim')
install=
url="http://www.scim-im.org/"
license=""
source=(http://jaist.dl.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz)
# md5sums=('628bdb7c8077c2af0838b96ea294e050')build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
Offline
Well, I don't know what I got wrong last time.
Here are the new PKGBUILD
anthy PKGBUILD
# Contributer: David Mezerette <david.mezerette@lapis.plala.or.jp>
pkgname=anthy
pkgver=5900
pkgrel=2
pkgdesc="A Input Method development platform"
makedepends=()
depends=()
install=anthy.install
url="http://anthy.sourceforge.jp/"
license=""
source=(http://keihanna.dl.sourceforge.jp/$pkgname/12071/$pkgname-$pkgver.tar.gz)
# md5sums=('7f1a250c8b88b3792855fb43131ce8d3')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
anthy.install
# arg 1: the new package version
pre_install() {
#
# do pre-install stuff here
#
/bin/true
}
# arg 1: the new package version
post_install() {
#
echo /usr/lib >> /etc/ld.so.conf
ldconfig
echo "anthy: updating /etc.ld.so.conf"
#
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
#
# do pre-upgrade stuff here
#
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
#
# do post-upgrade stuff here
#
/bin/true
}
# arg 1: the old package version
pre_remove() {
#
# do pre-remove stuff here
#
/bin/true
}
# arg 1: the old package version
post_remove() {
#
# do post-remove stuff here
#
/bin/true
}
op=$1
shift
$op $*
scim-anthy PKGBUILD
# Contributer: David Mezerette <david.mezerette@lapis.plala.or.jp>
pkgname=scim-anthy
pkgver=0.3.0
pkgrel=2
pkgdesc="anthy Input Method engine for SCIM"
makedepends=()
depends=('anthy' 'scim')
install=
url="http://anthy.sourceforge.jp/"
license=""
source=(http://kyushu-u.dl.sourceforge.jp/scim-imengine/13170/$pkgname-$pkgver.tar.gz)
# md5sums=('628bdb7c8077c2af0838b96ea294e050')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
With all my apologies... m(-_-)m
Offline