summaryrefslogtreecommitdiff
path: root/network/qupzilla/qupzilla.SlackBuild
diff options
context:
space:
mode:
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