void-packages/srcpkgs/offo-hyphenation/template

33 lines
1.1 KiB
Bash

# Template file for 'offo-hyphenation'
pkgname="offo-hyphenation"
version="2.2"
revision=1
homepage="http://offo.sourceforge.net/hyphenation/"
short_desc="Hypenation patterns for apache FOP - precompiled version"
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
license="LPPL"
archs="i686 x86_64"
hostmakedepends="unzip"
depends="apache-fop>=1.1_2"
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/
}