summaryrefslogtreecommitdiff
path: root/libraries/libstaroffice/libstaroffice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libstaroffice/libstaroffice.SlackBuild')
-rw-r--r--libraries/libstaroffice/libstaroffice.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/libraries/libstaroffice/libstaroffice.SlackBuild b/libraries/libstaroffice/libstaroffice.SlackBuild
index dbee61e0fe..435b36a38b 100644
--- a/libraries/libstaroffice/libstaroffice.SlackBuild
+++ b/libraries/libstaroffice/libstaroffice.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libstaroffice
-# Copyright 2017-2018 Hunter Sezen California, USA
+# Copyright 2017-2018, 2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libstaroffice
-VERSION=${VERSION:-0.0.6}
+VERSION=${VERSION:-0.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,6 +74,8 @@ case "${DOC:-0}" in
*) doc='--with-docs' ;;
esac
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -88,11 +90,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-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
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING.* CREDITS ChangeLog HACKING INSTALL NEWS README \
+cp -a COPYING.* CREDITS ChangeLog HACKING NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild