### this file is sourced not run
PKGVER=9100hdebian23
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=anthy_9100h.orig.tar.gz
MD5SUM=1f558ff7ed296787b55bb1c6cf131108
SRC_URL=http://ftp.de.debian.org/debian/pool/main/a/anthy/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC='anthy: anthy 9100hdebian23 (Japanese 日本語 IME)  
anthy:  
anthy: Anthy is a Japanese input method working on X11 and Emacs. It converts 
anthy: hiragana text to mixed kana and kanji. It is implemented as a library 
anthy: and stores private information securely in ~/.anthy/. Thus, Anthy is 
anthy: simple and secure (information is protected from spoofing and 
anthy: snooping).  
anthy: 
anthy: 
anthy: 
anthy: 
'
SLACKSUG='kasumi'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/anthy* &&
	tar -xf $CHROOT_DIR/tmp/pkg/anthy_9100h-23.debian.tar.gz &&
	
	# only apply data patches selectively
	for p in fedora_anthy-fix-typo-in-dict-name.patch \
	         fedora_anthy-fix-typo-in-dict.patch \
	         remove_name.t;
	do
		patch -Np1 -i debian/patches/$p
	done
}

### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	pkg_build_slackdesc
}


