summaryrefslogtreecommitdiffstats
path: root/python-cssutils/build/python-cssutils.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python-cssutils/build/python-cssutils.SlackBuild')
-rwxr-xr-xpython-cssutils/build/python-cssutils.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/python-cssutils/build/python-cssutils.SlackBuild b/python-cssutils/build/python-cssutils.SlackBuild
index ee9e3113..9885eedb 100755
--- a/python-cssutils/build/python-cssutils.SlackBuild
+++ b/python-cssutils/build/python-cssutils.SlackBuild
@@ -25,7 +25,7 @@
# Slackware SlackBuild script
# ===========================
# By: Eric Hameleers <alien@slackware.com>
-# For: cssutils
+# For: python-cssutils
# Descr: CSS parser and library for Python
# URL: http://code.google.com/p/cssutils/
# Needs:
@@ -33,7 +33,7 @@
# 0.9.7b3-1: 25/Sep/2010 by Eric Hameleers <alien@slackware.com>
# * Initial build.
#
-# Run 'sh cssutils.SlackBuild' to build a Slackware package.
+# Run 'sh python-cssutils.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
# Install it using 'installpkg'.
#
@@ -41,7 +41,8 @@
# Set initial variables:
-PRGNAM=cssutils
+PRGNAM=python-cssutils
+SRCNAM=cssutils
VERSION=${VERSION:-0.9.7b3}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
@@ -57,8 +58,8 @@ TMP=${TMP:-/tmp/build}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.zip"
-SRCURL="http://cssutils.googlecode.com/files/${PRGNAM}-${VERSION}.zip"
+SOURCE="$SRCDIR/${SRCNAM}-${VERSION}.zip"
+SRCURL="http://cssutils.googlecode.com/files/${SRCNAM}-${VERSION}.zip"
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -127,7 +128,7 @@ echo "++"
cd $TMP/tmp-$PRGNAM
echo "Extracting the source archive(s) for $PRGNAM..."
unzip ${SOURCE} || tar -xvf ${SOURCE}
-cd ${PRGNAM}-${VERSION}
+cd ${SRCNAM}-${VERSION}
chown -R root:root .
chmod -R u+w,go+r-w,a+X-s .