network/qupzilla: Updated for version 1.2.0.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Fridrich von Stauffenberg 2012-05-04 20:05:25 -04:00 committed by Erik Hanson
parent 1a21e7b53f
commit aba4f53cfd
2 changed files with 11 additions and 13 deletions

View file

@ -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

View file

@ -1,10 +1,10 @@
PRGNAM="qupzilla"
VERSION="1.1.8"
VERSION="1.2.0"
HOMEPAGE="http://www.qupzilla.com"
DOWNLOAD="https://github.com/downloads/nowrep/QupZilla/qupzilla_1.1.8_i386.tar.gz"
MD5SUM="c364e176f3e669a1261ecaa18dca356b"
DOWNLOAD_x86_64="https://github.com/downloads/nowrep/QupZilla/qupzilla_1.1.8_amd64.tar.gz"
MD5SUM_x86_64="8fc8a4ce553577a0da927056ad3cde51"
DOWNLOAD="https://github.com/downloads/nowrep/QupZilla/qupzilla_1.2.0_i386.tar.gz"
MD5SUM="0e7137dea1d509409f44d1d25a1fe2cb"
DOWNLOAD_x86_64="https://github.com/downloads/nowrep/QupZilla/qupzilla_1.2.0_amd64.tar.gz"
MD5SUM_x86_64="602cb8e860479861cf2dece6e2531f49"
MAINTAINER="Fridrich von Stauffenberg"
EMAIL="cancellor2@gmail.com"
APPROVED="Erik Hanson"
APPROVED="dsomero"