diff options
Diffstat (limited to 'network/uget-chrome-wrapper')
-rw-r--r-- | network/uget-chrome-wrapper/README | 5 | ||||
-rw-r--r-- | network/uget-chrome-wrapper/uget-chrome-wrapper.SlackBuild | 18 | ||||
-rw-r--r-- | network/uget-chrome-wrapper/uget-chrome-wrapper.info | 2 |
3 files changed, 17 insertions, 8 deletions
diff --git a/network/uget-chrome-wrapper/README b/network/uget-chrome-wrapper/README index a1cabbad2a..598d48f19c 100644 --- a/network/uget-chrome-wrapper/README +++ b/network/uget-chrome-wrapper/README @@ -1,2 +1,3 @@ -Integrate the famous FOSS uGet Download Manager with Google Chrome in Linux systems. -With this tool, uGet can interrupt and catch your downloads from Google Chrome. +Integrate the famous FOSS uGet Download Manager with Google Chrome +in Linux systems. With this tool, uGet can interrupt and catch your +downloads from Google Chrome. diff --git a/network/uget-chrome-wrapper/uget-chrome-wrapper.SlackBuild b/network/uget-chrome-wrapper/uget-chrome-wrapper.SlackBuild index 6ac934d1ff..7cbc686736 100644 --- a/network/uget-chrome-wrapper/uget-chrome-wrapper.SlackBuild +++ b/network/uget-chrome-wrapper/uget-chrome-wrapper.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for uget-chrome-wrapper @@ -22,22 +22,30 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=uget-chrome-wrapper VERSION=${VERSION:-2.0.4} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -91,4 +99,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/network/uget-chrome-wrapper/uget-chrome-wrapper.info b/network/uget-chrome-wrapper/uget-chrome-wrapper.info index eefd9cad37..d4172b424a 100644 --- a/network/uget-chrome-wrapper/uget-chrome-wrapper.info +++ b/network/uget-chrome-wrapper/uget-chrome-wrapper.info @@ -9,6 +9,6 @@ MD5SUM="d824ef742a548a5613caadbad78475f2 \ 4806bc4553389cc0610e642b12510246" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="uget python3" +REQUIRES="uget" MAINTAINER="Macius Kuzmin" EMAIL="szczecinska.duma@gmail.com" |