void-packages/srcpkgs/anthy/template

38 lines
1.0 KiB
Bash

# Template file for 'anthy'
pkgname=anthy
reverts="9100h_1 9100h_2"
version=0.4
revision=1
build_style=gnu-configure
configure_args="--disable-static"
short_desc="Hiragana text to Kana Kanji mixed text Japanese input method"
maintainer="7185 <7185@free.fr>"
# src-worddic/textdic.c is LGPL-3.0+
# alt-cannadic is GPL-2, corpus: Public Domain
license="LGPL-3.0-or-later, GPL-2.0-only, Public Domain"
homepage="https://wiki.debian.org/Teams/DebianAnthy"
distfiles="$DEBIAN_SITE/main/a/anthy/anthy_${version}.orig.tar.gz"
checksum=fdf590beea7093f3327b1eee76013e4936e4c6659e7cc01dd1fdd6e6f2e9c9f7
nocross="need to run lt-mkdepgraph"
libanthy_package() {
short_desc+=" - libraries"
conf_files="/etc/anthy-conf"
conflicts="anthy-9100h_1 anthy-9100h_2"
pkg_install() {
vmove etc/anthy-conf
vmove "usr/lib/*.so.*"
vmove usr/share
}
}
anthy-devel_package() {
short_desc+=" - development files"
depends="libanthy-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}