From 92e3a8d6c118ac3abcb2185d0bb20ab1fa3fe7a2 Mon Sep 17 00:00:00 2001 From: onekk Date: Thu, 19 Jun 2014 15:43:37 +0200 Subject: [PATCH] Package offo-hyphenation: deleted some empty lines and corrected the path of the documentation. Regards Carlo --- srcpkgs/offo-hyphenation/INSTALL | 18 ------------------ srcpkgs/offo-hyphenation/template | 21 +++++++++------------ 2 files changed, 9 insertions(+), 30 deletions(-) delete mode 100644 srcpkgs/offo-hyphenation/INSTALL diff --git a/srcpkgs/offo-hyphenation/INSTALL b/srcpkgs/offo-hyphenation/INSTALL deleted file mode 100644 index 330bdef626..0000000000 --- a/srcpkgs/offo-hyphenation/INSTALL +++ /dev/null @@ -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 - diff --git a/srcpkgs/offo-hyphenation/template b/srcpkgs/offo-hyphenation/template index dc8e238e3a..7d5c962eae 100644 --- a/srcpkgs/offo-hyphenation/template +++ b/srcpkgs/offo-hyphenation/template @@ -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 " 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/ }