summaryrefslogtreecommitdiff
path: root/python/python-pmw/python-pmw.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-pmw/python-pmw.SlackBuild')
-rw-r--r--python/python-pmw/python-pmw.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/python/python-pmw/python-pmw.SlackBuild b/python/python-pmw/python-pmw.SlackBuild
index ba335975fd..dc132098c9 100644
--- a/python/python-pmw/python-pmw.SlackBuild
+++ b/python/python-pmw/python-pmw.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-pmw
-VERSION=${VERSION:-1.3.3}
+VERSION=${VERSION:-1.3.3a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,8 +40,9 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SRC_PRGNAM=Pmw
-SRC_SUBDIR=Pmw_1_3_3
+SRCPRGNAM=Pmw
+SRCSUBDIR=Pmw_1_3_3
+SRCVERSION=1_3_3a
if [ "$ARCH" = "i486" ]; then
LIBDIRSUFFIX=""
@@ -62,8 +63,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-tar xvf $CWD/$SRC_PRGNAM.$VERSION.tar.gz
-cd src/$SRC_PRGNAM
+tar xvf $CWD/${SRCPRGNAM}_${SRCVERSION}.tar.gz
+cd $SRCPRGNAM/$SRCPRGNAM
chown -R root:root . || true
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -74,7 +75,7 @@ find . \
# Move documentation files
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv README $PKG/usr/doc/$PRGNAM-$VERSION
-mv $SRC_SUBDIR/doc $PKG/usr/doc/$PRGNAM-$VERSION/html
+mv $SRCSUBDIR/docsrc $PKG/usr/doc/$PRGNAM-$VERSION/html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cd ..