diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-09-07 12:58:12 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-12 08:10:53 +0700 |
commit | c3b624b6d997e0145bbd9827af9208274dad4c5b (patch) | |
tree | c54a224f865c88d85040d551fbccd9826548554f /graphics/pygraphviz/pygraphviz.SlackBuild | |
parent | d0a4d797c4ae6679421b4ed82f4eccdfecb4e7f6 (diff) | |
download | slackbuilds-c3b624b6d997e0145bbd9827af9208274dad4c5b.tar.gz |
graphics/pygraphviz: Updated for version 1.3.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'graphics/pygraphviz/pygraphviz.SlackBuild')
-rw-r--r-- | graphics/pygraphviz/pygraphviz.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/pygraphviz/pygraphviz.SlackBuild b/graphics/pygraphviz/pygraphviz.SlackBuild index e5e9504543..f83a68ace0 100644 --- a/graphics/pygraphviz/pygraphviz.SlackBuild +++ b/graphics/pygraphviz/pygraphviz.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pygraphviz -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece # 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=pygraphviz -VERSION=${VERSION:-1.3rc2} +VERSION=${VERSION:-1.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,20 +69,20 @@ 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 {} \; +# fix doc path +sed -i "s/share\/doc/doc/" setup.py + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/$PRGNAM-$VERSION/examples/ $PKG/usr/doc/$PRGNAM-$VERSION -cp -a INSTALL.txt PKG-INFO README.txt doc/source/*.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a INSTALL.txt PKG-INFO README.rst doc/source/*.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -rf $PKG/usr/share mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - |