aboutsummaryrefslogtreecommitdiff
path: root/python/python-pmw/python-pmw.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2013-05-19 09:12:42 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-05-19 09:12:42 -0400
commitb15c3c84b748db61aa3b62f1460e29c87ee880c5 (patch)
treec251574dba39fd8bbbbfa52277c167bce70c3eb4 /python/python-pmw/python-pmw.SlackBuild
parentdf7fd2ead7d9fd8cbc9a830c0d032ca3752409f9 (diff)
python/python-pmw: Updated for version 1.3.3a.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 ba335975fd3f..dc132098c979 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 ..