diff options
author | Eric Hameleers <alien@slackware.com> | 2010-12-20 22:00:25 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2010-12-20 22:00:25 +0000 |
commit | 129fd2ac0db4b856c1636eb2df0f56595c9b3a33 (patch) | |
tree | e07e62ec03cb5f7be19f868e3042d6249cda755d /qbittorrent | |
parent | 80795db5b72c9fb53cd1a3f7b2177cbb98bf9b7f (diff) | |
download | asb-129fd2ac0db4b856c1636eb2df0f56595c9b3a33.tar.gz asb-129fd2ac0db4b856c1636eb2df0f56595c9b3a33.tar.xz |
Updated to 2.5.2
Diffstat (limited to 'qbittorrent')
-rwxr-xr-x | qbittorrent/build/qbittorrent.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/qbittorrent/build/qbittorrent.SlackBuild b/qbittorrent/build/qbittorrent.SlackBuild index b0e0877a..32212f7a 100755 --- a/qbittorrent/build/qbittorrent.SlackBuild +++ b/qbittorrent/build/qbittorrent.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright (c) 2010 Eric Hameleers, Eindhoven, NL +# Copyright 2010 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -34,6 +34,8 @@ # * Initial build. # 2.2.8-1: 01/jun/2010 by Eric Hameleers <alien@slackware.com> # * Update. +# 2.5.2-1: 20/dec/2010 by Eric Hameleers <alien@slackware.com> +# * Update. # # Run 'sh qbittorrent.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . @@ -44,7 +46,7 @@ # Set initial variables: PRGNAM=qbittorrent -VERSION=${VERSION:-2.2.8} +VERSION=${VERSION:-2.5.2} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:" -j4 "} TAG=${TAG:-alien} @@ -110,10 +112,11 @@ rm -rf $OUTPUT/{configure,make,install,error,makepkg}-$PRGNAM.log # Source file availability: if ! [ -f ${SOURCE} ]; then + echo "Source '$(basename ${SOURCE})' not available yet..." + # Check if the $SRCDIR is writable at all - if not, download to $OUTPUT + [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)" + if [ -f ${SOURCE} ]; then echo "Ah, found it!"; continue; fi if ! [ "x${SRCURL}" == "x" ]; then - # Check if the $SRCDIR is writable at all - if not, download to $OUTPUT - [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)" - echo "Source '$(basename ${SOURCE})' not available yet..." echo "Will download file to $(dirname $SOURCE)" wget -nv -T 20 -O "${SOURCE}" "${SRCURL}" || true if [ $? -ne 0 -o ! -s "${SOURCE}" ]; then |