summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author David Spencer2018-02-11 22:59:19 +0100
committer Willy Sudiarto Raharjo2018-02-17 01:42:53 +0100
commitd6528234f4c93eb6b1fd6885e6aca86c1e4953cf (patch)
tree309b7846528b6069d68d87cce39c0cd2728fdc0f /graphics
parent7ff47027415eeb755835897e763f3b52a8e38298 (diff)
downloadold.slackbuilds-d6528234f4c93eb6b1fd6885e6aca86c1e4953cf.tar.gz
graphics/PureRef: Unsupported except on x86_64.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/PureRef/PureRef.SlackBuild12
-rw-r--r--graphics/PureRef/PureRef.info8
2 files changed, 10 insertions, 10 deletions
diff --git a/graphics/PureRef/PureRef.SlackBuild b/graphics/PureRef/PureRef.SlackBuild
index 4370461be6..a60ad12ebd 100644
--- a/graphics/PureRef/PureRef.SlackBuild
+++ b/graphics/PureRef/PureRef.SlackBuild
@@ -27,13 +27,13 @@ VERSION=${VERSION:-1.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-case "$( uname -m )" in
- i?86) ARCH=i586 ; BASENAME=${BASENAME:-PureRef-1.9.2_x86} ;;
- x86_64) ARCH=x86_64 ; BASENAME=${BASENAME:-PureRef-1.9.2_x64} ;;
- *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
-esac
+if [ "${ARCH:=$(uname -m)}" != "x86_64" ]; then
+ echo "$ARCH is not supported."
+ exit 1
+fi
set -e
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -42,7 +42,7 @@ OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/$BASENAME.deb data.tar.xz | tar xvJ
+ar p $CWD/${PRGNAM}-${VERSION}_x64.deb data.tar.xz | tar xvJ
chown -R root:root .
find -L . \
diff --git a/graphics/PureRef/PureRef.info b/graphics/PureRef/PureRef.info
index 25001d855e..229760b4e2 100644
--- a/graphics/PureRef/PureRef.info
+++ b/graphics/PureRef/PureRef.info
@@ -1,10 +1,10 @@
PRGNAM="PureRef"
VERSION="1.9.2"
HOMEPAGE="https://www.pureref.com"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/PureRef/PureRef-1.9.2_x64.deb"
-MD5SUM="5863dc94c62a992aa1b627e207bee152"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://sourceforge.net/projects/slackbuildsdirectlinks/files/PureRef/PureRef-1.9.2_x64.deb"
+MD5SUM_x86_64="5863dc94c62a992aa1b627e207bee152"
REQUIRES=""
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"