Package offo-hyphenation: deleted some empty lines and corrected

the path of the documentation.

Regards

Carlo
This commit is contained in:
onekk 2014-06-19 15:43:37 +02:00
parent a675e7913b
commit 92e3a8d6c1
2 changed files with 9 additions and 30 deletions

View file

@ -1,18 +0,0 @@
#
# This script will advise the user of the needed steps to
# use the offo hypenation patterns with apache-fop
#
case "${ACTION}" in
post)
cat << _EOF
=====================================================================
See /usr/share/offo-hyphenation/README.void for infos
=====================================================================
_EOF
;;
esac

View file

@ -2,36 +2,33 @@
pkgname="offo-hyphenation"
version="2.1"
revision=1
homepage="http://offo.sourceforge.net/hyphenation/"
short_desc="Hypenation patterns for apache FOP - precompiled version"
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
license="LPPL"
homepage="http://offo.sourceforge.net/hyphenation/"
only_for_archs="i686 x86_64"
hostmakedepends="unzip"
depends="fop>=1.1_2"
depends="apache-fop>=1.1_2"
distfiles="
${SOURCEFORGE_SITE}/project/offo/${pkgname}/${version}/${pkgname}-binary.zip
${SOURCEFORGE_SITE}/project/offo/${pkgname}/${version}/${pkgname}.zip
"
checksum="
0f3e3dc3c89bd812ef4ea067776fbbc0a4fe2fdad8e5c68d404c76e84f7775e0
a9dd01154c89ed7acf7016a8ac9a1df42a356b4cdcb0f8d5ec36728c5f85127c
"
only_for_archs="i686 x86_64"
wrksrc="${pkgname}-binary"
_prefix="usr/share/fop/lib"
do_install() {
_prefix="usr/share/fop/lib"
vmkdir ${_prefix}
vcopy fop-hyph.jar ${_prefix}
vmkdir usr/share/${pkgname}
vcopy "${XBPS_BUILDDIR}/${pkgname}/hyph" usr/share/${pkgname}
vcopy "*.html" usr/share/${pkgname}
vcopy "languages-info.*" usr/share/${pkgname}
vcopy ${FILESDIR}/"README.void" usr/share/${pkgname}
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/
}