diff options
author | LukenShiro <lukenshiro@ngi.it> | 2011-12-15 23:16:31 -0600 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-12-18 00:07:51 -0200 |
commit | b15dc64c5a5d7c273f6b611928ee24e079b228c0 (patch) | |
tree | e12271a7630f09dd88a8fcc9bfc931e0b10c0654 /development/easygui/easygui.SlackBuild | |
parent | b54cd749f781ee166d7ff1c50befc8679b01ca06 (diff) |
development/easygui: Updated for version 0.96.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/easygui/easygui.SlackBuild')
-rw-r--r-- | development/easygui/easygui.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/development/easygui/easygui.SlackBuild b/development/easygui/easygui.SlackBuild index a38ba416aae27..68d266800bf03 100644 --- a/development/easygui/easygui.SlackBuild +++ b/development/easygui/easygui.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for easygui -# Copyright 2007-2010 LukenShiro <lukenshiro@ngi.it> +# Copyright 2007-2011 LukenShiro, Italy # 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=easygui -VERSION=${VERSION:-0.95} +VERSION=${VERSION:-0.96} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -SRC_VERSION=v$VERSION +SRC_VERSION=version_${VERSION}_docs if [ "$ARCH" = "i486" ]; then LIBDIRSUFFIX="" @@ -55,8 +55,7 @@ fi # directory for python packages PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')") -SAMPLEFILE="python_and_check_logo.gif" -DOCFILES="*.txt *.html" +DOCFILES="cookbook faq epydoc pydoc tutorial" set -e # Exit on most errors @@ -76,12 +75,10 @@ find . \ # install .py source file and sample file python ./setup.py build install --root=$PKG -mkdir -p $PKG/$PYTHONDIR -cp -a $SAMPLEFILE $PKG/$PYTHONDIR # Copy documentation files mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -install -m 0644 $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION +for docdir in $DOCFILES ; do mv $docdir $PKG/usr/doc/$PRGNAM-$VERSION/ ; done cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |