aboutsummaryrefslogtreecommitdiff
path: root/office/libreoffice/libreoffice.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-03 18:43:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-03 20:50:27 +0700
commit90e85480dec25fd6c48bbef1b4f7d0a551924f9a (patch)
treeaa609c70e855969da2bc87e0cb2d4a17385f8dfb /office/libreoffice/libreoffice.SlackBuild
parent1135bfb8e85f7a20e3a2b811a9712889119ebd92 (diff)
office/libreoffice: Updated for version 4.4.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/libreoffice/libreoffice.SlackBuild')
-rw-r--r--office/libreoffice/libreoffice.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild
index aa008304892da..811c309b797d8 100644
--- a/office/libreoffice/libreoffice.SlackBuild
+++ b/office/libreoffice/libreoffice.SlackBuild
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libreoffice
-VERSION=${VERSION:-"4.4.1"}
+VERSION=${VERSION:-"4.4.2"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -162,4 +162,8 @@ find -L . \
-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 {} \;
+
+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
+
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}