diff options
author | Donald Cooley <chytraeu@sdf.org> | 2018-02-01 05:10:42 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-01 05:10:42 +0700 |
commit | 065a38b70f1a3b11b3850d8002eee95fdb05b63a (patch) | |
tree | a08e0275f64788594856b0110fdb47c8b008b712 | |
parent | edd474d34018fd656b807449d7738bd5d0b728d0 (diff) |
office/openoffice.org: Reduce package size.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | office/openoffice.org/openoffice.org.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/office/openoffice.org/openoffice.org.SlackBuild b/office/openoffice.org/openoffice.org.SlackBuild index 2831770d3d2bf..5bf500ff28f8c 100644 --- a/office/openoffice.org/openoffice.org.SlackBuild +++ b/office/openoffice.org/openoffice.org.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for openoffice.org # Copyright 2018 Donald Cooley South Haven, Indiana USA -# with help from Ekin Akoglu to fix missing menu icons and script cleanup. +# With help from Ekin Akoglu to fix missing menu icons and script cleanup, +# and a diff from Dominik Drobek to remove unnecessary RPM cruft. # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org # Originally written by Niki Kovacs <info@microlinux.fr) # @@ -30,7 +31,7 @@ PRGNAM=openoffice.org SRCNAM=openoffice VERSION=${VERSION:-4.1.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCSHORT=$(echo $VERSION | cut -f1 -d.) @@ -143,6 +144,7 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh +rm -rf $TMP/$OOLANG/RPMS mv $TMP/$OOLANG $PKG/opt/${SRCNAM}${SRCSHORT}/lang/ # Fix ownership and permissions and make the package |