summaryrefslogtreecommitdiffstats
path: root/office/ProjectLibre/ProjectLibre.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2013-07-13 07:54:07 +0200
committer Robby Workman2013-07-15 00:07:19 +0200
commit3aa19932f11154e35b2ea9a0fde6aa03d96cb652 (patch)
tree5b6c3c07a299dd3d529d384f9a2e698a2ab77edf /office/ProjectLibre/ProjectLibre.SlackBuild
parentfe90069ab6e792d495c07b7e295095eaf97da3e7 (diff)
downloadslackbuilds-3aa19932f11154e35b2ea9a0fde6aa03d96cb652.tar.gz
office/ProjectLibre: Updated for version 1.5.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/ProjectLibre/ProjectLibre.SlackBuild')
-rw-r--r--office/ProjectLibre/ProjectLibre.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/office/ProjectLibre/ProjectLibre.SlackBuild b/office/ProjectLibre/ProjectLibre.SlackBuild
index 25879e4b7f..de9083b611 100644
--- a/office/ProjectLibre/ProjectLibre.SlackBuild
+++ b/office/ProjectLibre/ProjectLibre.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ProjectLibre
-VERSION=${VERSION:-1.5.5}
+VERSION=${VERSION:-1.5.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,7 +50,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Change the installation folder to /opt and fix Java folder
+# Change the installation folder to /opt
patch -p1 < $CWD/projectlibre-path.patch
mkdir -p $PKG/opt/$PRGNAM/
@@ -61,11 +61,18 @@ cp -rf {lib,license} $PKG/opt/$PRGNAM/
mkdir -p $PKG/usr/bin
ln -s /opt/ProjectLibre/projectlibre.sh $PKG/usr/bin/projectlibre
+mkdir -p $PKG/usr/share/applications
+cp $CWD/*.desktop $PKG/usr/share/applications
+
+mkdir -p $PKG/usr/share/pixmaps/
+cp $CWD/projectlibre.png $PKG/usr/share/pixmaps/
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}