diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-19 13:23:30 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-19 13:23:30 -0400 |
commit | 8e6563333a35bdfd0a21cd9f6ae8278dee04ab1f (patch) | |
tree | 555c6c7e30696022f26b5a35842ead3a0136e833 | |
parent | b6fa40729cd4ebc77de2fb771e71eb48c7da701d (diff) | |
download | slackbuilds-8e6563333a35bdfd0a21cd9f6ae8278dee04ab1f.tar.gz |
libraries/goffice: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r-- | libraries/goffice/goffice.SlackBuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/libraries/goffice/goffice.SlackBuild b/libraries/goffice/goffice.SlackBuild index ae940d4003..3af2caf82e 100644 --- a/libraries/goffice/goffice.SlackBuild +++ b/libraries/goffice/goffice.SlackBuild @@ -24,11 +24,15 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3: +# - fix broken symlink to html docs. +# - remove useless INSTALL doc. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=goffice VERSION=${VERSION:-0.10.49} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -74,9 +75,9 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -92,11 +93,12 @@ make make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS BUGS COPYING ChangeLog INSTALL MAINTAINERS NEWS README \ +cp -a AUTHORS BUGS COPYING ChangeLog MAINTAINERS NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc -type f -exec chmod 644 {} \; -(cd $PKG/usr/doc/$PRGNAM-$VERSION; ln -s /usr/share/gtk-doc/html/goffice html) +find $PKG/usr/doc -type f -exec chmod 644 {} \+ +ln -s ../../share/gtk-doc/html/goffice-$( echo $VERSION | cut -d. -f1-2 ) \ + $PKG/usr/doc/$PRGNAM-$VERSION/html rm -f $PKG/usr/lib*/*.la |