summaryrefslogtreecommitdiff
path: root/development/easygui/easygui.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/easygui/easygui.SlackBuild')
-rw-r--r--development/easygui/easygui.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/development/easygui/easygui.SlackBuild b/development/easygui/easygui.SlackBuild
index a38ba416aa..68d266800b 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