aboutsummaryrefslogtreecommitdiff
path: root/academic/veusz/veusz.SlackBuild
diff options
context:
space:
mode:
authorFellype do Nascimento <fellype(at)gmail(dot)com>2017-09-29 22:23:47 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-09-30 00:42:06 +0100
commit04de14925407d5cd823018fe961e6d54b0bdfd5b (patch)
tree98652680cdfd971b0c66d7deba239883c41dfdd3 /academic/veusz/veusz.SlackBuild
parentb8eda539055826ffe6f4f54eafd42a7e9b4cc4f3 (diff)
academic/veusz: Updated for version 2.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/veusz/veusz.SlackBuild')
-rw-r--r--academic/veusz/veusz.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/academic/veusz/veusz.SlackBuild b/academic/veusz/veusz.SlackBuild
index d4c27967da135..c0d675770e414 100644
--- a/academic/veusz/veusz.SlackBuild
+++ b/academic/veusz/veusz.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=veusz
-VERSION=${VERSION:-1.27}
+VERSION=${VERSION:-2.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+CFLAGS="$SLKCFLAGS -std=c++11" \
python setup.py install --root $PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -77,6 +78,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL README 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
# Installing icons directory
cd icons
@@ -93,10 +95,8 @@ cd -
install -m 644 -p -D support/veusz.desktop $PKG/usr/share/applications/veusz.desktop
mkdir -p $PKG/usr/man/man1
-gzip Documents/veusz_listen.1
-mv Documents/veusz_listen.1.gz $PKG/usr/man/man1/
-gzip Documents/veusz.1 > $PKG/usr/man/man1/veusz.1.gz
-mv Documents/veusz.1.gz $PKG/usr/man/man1/
+gzip Documents/man-page/veusz.1 > $PKG/usr/man/man1/veusz.1.gz
+mv Documents/man-page/veusz.1.gz $PKG/usr/man/man1/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc