summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2020-01-03 01:24:12 -0600
committerRobby Workman <rworkman@slackbuilds.org>2020-01-03 02:06:14 -0600
commit507307a99f3f6eee268759e0ed6eb955e7489fcf (patch)
treea80cde0850b912a13939bd73c63f0170a1b63371 /python
parent87d0e5bbcdaa0f1d0ba2ba4b75f5a8795ad4542f (diff)
downloadslackbuilds-507307a99f3f6eee268759e0ed6eb955e7489fcf.tar.gz
python/python-elementtree: Fixed PRGNAM and VERSION in build script
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 ;;