void-packages/srcpkgs/offo-hyphenation/template

27 lines
1.0 KiB
Bash

# Template file for 'offo-hyphenation'
pkgname=offo-hyphenation
version=2.2
revision=3
create_wrksrc=yes
depends="apache-fop>=1.1_2"
short_desc="Hypenation patterns for apache FOP - precompiled version"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, Apache-2.0, LPPL-1.3c"
homepage="http://offo.sourceforge.net/hyphenation/"
distfiles="${SOURCEFORGE_SITE}/offo/${pkgname}/${version}/${pkgname}-binary.zip
${SOURCEFORGE_SITE}/offo/${pkgname}/${version}/${pkgname}.zip"
checksum="0f3e3dc3c89bd812ef4ea067776fbbc0a4fe2fdad8e5c68d404c76e84f7775e0
df0b863a2ef269ac7defd497f74da54480cd2c03ad665304e7c05334ab3f289f"
do_install() {
_prefix="usr/share/fop/lib"
vmkdir ${_prefix}
vcopy ${pkgname}-binary/fop-hyph.jar ${_prefix}
vmkdir usr/share/doc/${pkgname}
vcopy "${pkgname}/hyph" usr/share/doc/${pkgname}
vcopy "${pkgname}-binary/*.html" usr/share/doc/${pkgname}
vcopy "${pkgname}-binary/languages-info.*" usr/share/doc/${pkgname}
vinstall ${FILESDIR}/"README.void" 644 usr/share/doc/${pkgname}
}