summaryrefslogtreecommitdiff
path: root/academic/veusz/veusz.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/veusz/veusz.SlackBuild')
-rw-r--r--academic/veusz/veusz.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/academic/veusz/veusz.SlackBuild b/academic/veusz/veusz.SlackBuild
index d4f6b1b28b..b11846a622 100644
--- a/academic/veusz/veusz.SlackBuild
+++ b/academic/veusz/veusz.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for veusz
# Based on Slackware 14.2 SlackBuild and Andrea Sciucca's SlackBuild for veusz
#
-# Copyright 2016-2020, Fellype do Nascimento, Campinas - Brazil
+# Copyright 2016-2020, Fellype do Nascimento, Guaratingueta - Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=veusz
-VERSION=${VERSION:-3.2.1}
+VERSION=${VERSION:-3.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,7 +78,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL README VERSION $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING INSTALL README.md VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cp Documents/manual/pdf/veusz.pdf $PKG/usr/doc/$PRGNAM-$VERSION
@@ -93,8 +93,11 @@ done
install -m 644 -p -D veusz.svg $PKG/usr/share/icons/hicolor/scalable/apps/veusz.svg
cd -
-# Installing desktop menu file
+# Install support files
install -m 644 -p -D support/veusz.desktop $PKG/usr/share/applications/veusz.desktop
+install -m 644 -p -D support/veusz.appdata.xml $PKG/usr/share/appdata/veusz.appdata.xml
+install -m 644 -p -D support/veusz.xml $PKG/usr/share/mime/packages/veusz.xml
+
mkdir -p $PKG/usr/man/man1
gzip Documents/man-page/veusz.1 > $PKG/usr/man/man1/veusz.1.gz