summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/python-elementtree/python-elementtree.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/python/python-elementtree/python-elementtree.SlackBuild b/python/python-elementtree/python-elementtree.SlackBuild
index 0e1a3a3027..67210a55d1 100644
--- a/python/python-elementtree/python-elementtree.SlackBuild
+++ b/python/python-elementtree/python-elementtree.SlackBuild
@@ -1,6 +1,7 @@
#!/bin/sh
# Slackware build script for elementtree
+
# Copyright 2010 David Woodfall <dave@dawoodfall.net>
# All rights reserved.
#
@@ -21,14 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=elementtree
-PRGNAM=python-$SRCNAM
-VERSION=${VERSION:-1.2.7-20070827-preview}
-ARCVERSION=$VERSION
-VERSION=$(echo $VERSION | tr - _)
+PRGNAM=python-elementtree
+VERSION=${VERSION:-1.2.7_20070827_preview}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=elementtree
+ARCVERSION=$(echo $VERSION | tr _ -)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;