summaryrefslogtreecommitdiff
path: root/office/ProjectLibre/ProjectLibre.SlackBuild
diff options
context:
space:
mode:
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}