void-packages/srcpkgs/offo-hyphenation/template

34 lines
1.1 KiB
Text

# Template file for 'offo-hyphenation'
pkgname="offo-hyphenation"
version="2.1"
revision=2
homepage="http://offo.sourceforge.net/hyphenation/"
short_desc="Hypenation patterns for apache FOP - precompiled version"
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
license="LPPL"
only_for_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
a9dd01154c89ed7acf7016a8ac9a1df42a356b4cdcb0f8d5ec36728c5f85127c
"
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/
}