summaryrefslogtreecommitdiff
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
parent1135bfb8e85f7a20e3a2b811a9712889119ebd92 (diff)
downloadslackbuilds-90e85480dec25fd6c48bbef1b4f7d0a551924f9a.tar.gz
office/libreoffice: Updated for version 4.4.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/libreoffice/libreoffice.SlackBuild6
-rw-r--r--office/libreoffice/libreoffice.info10
2 files changed, 10 insertions, 6 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild
index aa00830489..811c309b79 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}
diff --git a/office/libreoffice/libreoffice.info b/office/libreoffice/libreoffice.info
index 0a307c28d2..c0a6c8bfd3 100644
--- a/office/libreoffice/libreoffice.info
+++ b/office/libreoffice/libreoffice.info
@@ -1,10 +1,10 @@
PRGNAM="libreoffice"
-VERSION="4.4.1"
+VERSION="4.4.2"
HOMEPAGE="http://www.libreoffice.org"
-DOWNLOAD="http://download.documentfoundation.org/libreoffice/stable/4.4.1/rpm/x86/LibreOffice_4.4.1_Linux_x86_rpm.tar.gz"
-MD5SUM="23b740e84bc2b8774d50ac97dd553afd"
-DOWNLOAD_x86_64="http://download.documentfoundation.org/libreoffice/stable/4.4.1/rpm/x86_64/LibreOffice_4.4.1_Linux_x86-64_rpm.tar.gz"
-MD5SUM_x86_64="8de6f3d1d4af3826a3a1695a47444948"
+DOWNLOAD="http://download.documentfoundation.org/libreoffice/stable/4.4.2/rpm/x86/LibreOffice_4.4.2_Linux_x86_rpm.tar.gz"
+MD5SUM="8ff9591559c50f33df07929b33900ffb"
+DOWNLOAD_x86_64="http://download.documentfoundation.org/libreoffice/stable/4.4.2/rpm/x86_64/LibreOffice_4.4.2_Linux_x86-64_rpm.tar.gz"
+MD5SUM_x86_64="e091a7ec0bac0d2886d3ebbadc5d518f"
REQUIRES="jdk"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"