diff options
author | LukenShiro <lukenshiro@ngi.it> | 2017-02-03 04:15:37 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-03 04:38:17 +0700 |
commit | 2ab4b5745b86342f09072be801d601cc22c4adc0 (patch) | |
tree | a1b664f04eea7bf21501346601b63c1931acb3b3 /office/htmldoc/htmldoc.SlackBuild | |
parent | 087fb6362da1ba6ded7adc6df45e63f57710b69e (diff) |
office/htmldoc: Updated for version 1.8.29.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/htmldoc/htmldoc.SlackBuild')
-rw-r--r-- | office/htmldoc/htmldoc.SlackBuild | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild index 8e6fe7809941..f88d47c057e2 100644 --- a/office/htmldoc/htmldoc.SlackBuild +++ b/office/htmldoc/htmldoc.SlackBuild @@ -24,15 +24,20 @@ # Thanks to Gentoo htmldoc's .ebuild maintainer for hints about configure's # workaround, and for a patch to fix CVE-2009-3050. +# +# +# Feb 01 2017: Alfredo +# Update script for html-1.8.29, fix the problem with /usr/share/htmldoc/data +# not being copied into the package PRGNAM=htmldoc -VERSION=${VERSION:-1.8.28} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.8.29} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +50,8 @@ OUTPUT=${OUTPUT:-/tmp} DOCFILES="CHANGES.txt README.txt COMPILE.txt COPYING.txt htmldoc.readme" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -124,8 +129,10 @@ cp -a desktop/htmldoc-48.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png cp -a desktop/htmldoc-64.png $PKG/usr/share/icons/hicolor/64x64/apps/$PRGNAM.png cp -a desktop/htmldoc-96.png $PKG/usr/share/icons/hicolor/96x96/apps/$PRGNAM.png cp -a desktop/htmldoc-128.png $PKG/usr/share/icons/hicolor/128x128/apps/$PRGNAM.png -mkdir -p $PKG/usr/share/htmldoc/fonts -cp -a fonts $PKG/usr/share/htmldoc/fonts +mkdir -p $PKG/usr/share/htmldoc/ +cp -a fonts $PKG/usr/share/htmldoc/ +cp -a data $PKG/usr/share/htmldoc/ + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |