diff options
author | Kyle Guinn <elyk03@gmail.com> | 2019-03-08 21:12:19 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-03-16 06:53:33 +0700 |
commit | ddca1e03e00010e98716e677256f8c07570e1238 (patch) | |
tree | b2da119f4dda9c34e1853702698a372edbe651db | |
parent | a29134952d64f540d7a372c335c741d5accef33c (diff) |
graphics/xdot: Updated for version 1.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
-rw-r--r-- | graphics/xdot/xdot.SlackBuild | 22 | ||||
-rw-r--r-- | graphics/xdot/xdot.info | 8 |
2 files changed, 17 insertions, 13 deletions
diff --git a/graphics/xdot/xdot.SlackBuild b/graphics/xdot/xdot.SlackBuild index 9e89f884996cd..76849b4213c80 100644 --- a/graphics/xdot/xdot.SlackBuild +++ b/graphics/xdot/xdot.SlackBuild @@ -1,9 +1,9 @@ #!/bin/sh -# Slackware build script for xdot. +# Slackware build script for xdot # # Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> -# Copyright 2015 Kyle Guinn <elyk03@gmail.com>, USA +# Copyright 2015-2019 Kyle Guinn <elyk03@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xdot -VERSION=${VERSION:-0.6} +SRCNAM=xdot.py +VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$(uname -m)" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$(uname -m) ;; esac @@ -38,23 +39,26 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM +PKG=$TMP/package-$PRGNAM-$VERSION OUTPUT=${OUTPUT:-/tmp} +DOCS="LICENSE.txt README.md sample.py" + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . chmod -R u+w,go-w,a+rX-st . -python setup.py install --root=$PKG +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/graphics/xdot/xdot.info b/graphics/xdot/xdot.info index 46e37b661a944..9aba8f7ae7252 100644 --- a/graphics/xdot/xdot.info +++ b/graphics/xdot/xdot.info @@ -1,10 +1,10 @@ PRGNAM="xdot" -VERSION="0.6" +VERSION="1.0" HOMEPAGE="https://github.com/jrfonseca/xdot.py" -DOWNLOAD="https://pypi.python.org/packages/source/x/xdot/xdot-0.6.tar.gz" -MD5SUM="a8e5fc5208657b03ad1bd4c46de75724" +DOWNLOAD="https://github.com/jrfonseca/xdot.py/archive/1.0/xdot.py-1.0.tar.gz" +MD5SUM="4e60c42d009a8802db6c1b4dab519863" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="graphviz" +REQUIRES="python3 pygobject3-python3 graphviz" MAINTAINER="Kyle Guinn" EMAIL="elyk03@gmail.com" |