void-packages/srcpkgs/offo-hyphenation/template

29 lines
1.1 KiB
Bash

# Template file for 'offo-hyphenation'
pkgname=offo-hyphenation
version=2.2
revision=2
hostmakedepends="unzip"
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.3b, TeX"
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"
wrksrc="${pkgname}-binary"
do_install() {
_prefix="usr/share/fop/lib"
vmkdir ${_prefix}
vcopy fop-hyph.jar ${_prefix}
vmkdir usr/share/doc/${pkgname}
vcopy "${XBPS_BUILDDIR}/${pkgname}/hyph" usr/share/doc/${pkgname}
vcopy "*.html" usr/share/doc/${pkgname}
vcopy "languages-info.*" usr/share/doc/${pkgname}
vcopy ${FILESDIR}/"README.void" usr/share/doc/${pkgname}
vmkdir usr/share/licenses
vcopy ${FILESDIR}/LPPL usr/share/licenses/
}