summaryrefslogtreecommitdiff
path: root/network/qupzilla/qupzilla.SlackBuild
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2012-05-04 20:05:25 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-07 12:18:07 -0500
commitaba4f53cfd035d83250f2df98ffe1cac91aecacf (patch)
treeec3868e5ffee3414f235fb48de1923ba04a01604 /network/qupzilla/qupzilla.SlackBuild
parent1a21e7b53f4be4f735b3228751b3bb48b990a400 (diff)
downloadslackbuilds-aba4f53cfd035d83250f2df98ffe1cac91aecacf.tar.gz
network/qupzilla: Updated for version 1.2.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/qupzilla/qupzilla.SlackBuild')
-rw-r--r--network/qupzilla/qupzilla.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/network/qupzilla/qupzilla.SlackBuild b/network/qupzilla/qupzilla.SlackBuild
index 78c6fe4961..843534e1b5 100644
--- a/network/qupzilla/qupzilla.SlackBuild
+++ b/network/qupzilla/qupzilla.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qupzilla
-VERSION=${VERSION:-1.1.8}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,10 +40,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "x86_64" ]; then
- ORIG_ARCH="amd64"
-elif [ "$ARCH" = "i386" ]; then
+if [ "$ARCH" = "i386" ]; then
ORIG_ARCH=$ARCH
+elif [ "$ARCH" = "x86_64" ]; then
+ ORIG_ARCH="amd64"
else
printf "\n\n$ARCH is not supported...\n"
exit 1
@@ -53,12 +53,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-tar xvf $CWD/$PRGNAM\_$VERSION\_$ORIG_ARCH.tar.gz -C $PKG
+tar xvf $CWD/${PRGNAM}_${VERSION}_$ORIG_ARCH.tar.gz -C $PKG
chown -R root:root $PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install