void-packages/srcpkgs/anthy-unicode/template
2021-04-21 16:20:03 +07:00

37 lines
1 KiB
Bash

# Template file for 'anthy-unicode'
pkgname=anthy-unicode
version=1.0.0.20201109
revision=1
build_style=gnu-configure
configure_args="--disable-static"
short_desc="Japanese character set input library for Unicode"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="LGPL-2.0-or-later, GPL-2.0-only, Public Domain"
homepage="https://github.com/fujiwarat/anthy-unicode/wiki"
distfiles="https://github.com/fujiwarat/anthy-unicode/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=7d595bd422222bd67d7944f0c29f7d739fe677e4b885de3d4f0dae417b674381
nocross='execute lt-mkdepgraph'
post_install() {
rm ${DESTDIR}/usr/lib/*.la
}
libanthy-unicode_package() {
short_desc+=" - libraries"
conf_files="/etc/anthy-unicode.conf"
pkg_install() {
vmove etc/anthy-unicode.conf
vmove "usr/lib/*.so.*"
vmove usr/share
}
}
anthy-unicode-devel_package() {
short_desc+=" - development files"
depends="libanthy-unicode-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}