2014-06-19 09:54:28 +00:00
|
|
|
# Template file for 'offo-hyphenation'
|
|
|
|
pkgname="offo-hyphenation"
|
|
|
|
version="2.1"
|
2014-12-18 20:33:03 +00:00
|
|
|
revision=2
|
2014-06-19 13:43:37 +00:00
|
|
|
homepage="http://offo.sourceforge.net/hyphenation/"
|
2014-06-19 09:54:28 +00:00
|
|
|
short_desc="Hypenation patterns for apache FOP - precompiled version"
|
2014-10-27 17:05:31 +00:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-06-19 09:54:28 +00:00
|
|
|
license="LPPL"
|
2014-06-19 13:43:37 +00:00
|
|
|
only_for_archs="i686 x86_64"
|
2014-06-19 09:54:28 +00:00
|
|
|
hostmakedepends="unzip"
|
2014-06-19 13:43:37 +00:00
|
|
|
depends="apache-fop>=1.1_2"
|
2014-11-28 09:58:12 +00:00
|
|
|
update_pattern="$pkgname/\K[\d.]+(?=/$pkgname)"
|
2014-06-19 09:54:28 +00:00
|
|
|
distfiles="
|
2014-11-28 09:58:12 +00:00
|
|
|
${SOURCEFORGE_SITE}/offo/${pkgname}/${version}/${pkgname}-binary.zip
|
|
|
|
${SOURCEFORGE_SITE}/offo/${pkgname}/${version}/${pkgname}.zip
|
2014-06-19 09:54:28 +00:00
|
|
|
"
|
|
|
|
checksum="
|
|
|
|
0f3e3dc3c89bd812ef4ea067776fbbc0a4fe2fdad8e5c68d404c76e84f7775e0
|
|
|
|
a9dd01154c89ed7acf7016a8ac9a1df42a356b4cdcb0f8d5ec36728c5f85127c
|
|
|
|
"
|
|
|
|
|
|
|
|
wrksrc="${pkgname}-binary"
|
|
|
|
|
|
|
|
do_install() {
|
2014-06-19 13:43:37 +00:00
|
|
|
_prefix="usr/share/fop/lib"
|
2014-06-19 09:54:28 +00:00
|
|
|
vmkdir ${_prefix}
|
|
|
|
vcopy fop-hyph.jar ${_prefix}
|
2014-06-19 13:43:37 +00:00
|
|
|
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}
|
2014-06-19 09:54:28 +00:00
|
|
|
vmkdir usr/share/licenses
|
|
|
|
vcopy ${FILESDIR}/LPPL usr/share/licenses/
|
|
|
|
}
|