aboutsummaryrefslogtreecommitdiff
path: root/academic/veusz/veusz.SlackBuild
diff options
context:
space:
mode:
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 d4c27967da13..c0d675770e41 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