void-packages/srcpkgs/anthy-unicode/template

38 lines
1.0 KiB
Bash

# Template file for 'anthy-unicode'
pkgname=anthy-unicode
version=1.0.0.20240502
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=43a13f24cc4749a1248bc6d0ce7796743b176ae68ee524cb4331bef64ac133b0
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"
}
}