diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2020-01-03 01:24:12 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2020-01-03 02:06:14 -0600 |
commit | 507307a99f3f6eee268759e0ed6eb955e7489fcf (patch) | |
tree | a80cde0850b912a13939bd73c63f0170a1b63371 /python/python-elementtree | |
parent | 87d0e5bbcdaa0f1d0ba2ba4b75f5a8795ad4542f (diff) |
python/python-elementtree: Fixed PRGNAM and VERSION in build script
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'python/python-elementtree')
-rw-r--r-- | python/python-elementtree/python-elementtree.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/python/python-elementtree/python-elementtree.SlackBuild b/python/python-elementtree/python-elementtree.SlackBuild index 0e1a3a3027140..67210a55d1c76 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 ;; |