void-packages/srcpkgs/anthy-unicode/template
2022-02-10 17:32:13 +07:00

37 lines
1 KiB
Bash

# Template file for 'anthy-unicode'
pkgname=anthy-unicode
version=1.0.0.20211224
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=7533d36893e7f2e4e1769740f16bd96c4f0bd5a8db3ca8e04ebd8d45fdd5dd4a
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"
}
}