From db12c511f131972461de15b9ff46fd258f525112 Mon Sep 17 00:00:00 2001 From: vvoody Date: Wed, 13 Jul 2011 21:19:07 -0500 Subject: network/opera: Updated for version 11.50. Signed-off-by: Robby Workman --- network/opera/opera.SlackBuild | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) (limited to 'network/opera/opera.SlackBuild') diff --git a/network/opera/opera.SlackBuild b/network/opera/opera.SlackBuild index 477f6859e6..eee1eab45e 100644 --- a/network/opera/opera.SlackBuild +++ b/network/opera/opera.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for opera # Copyright 2006 Martin Lefebvre -# Copyright 2008,2009,2010 Robby Workman, Northport, Alabama, USA +# Copyright 2008-2011 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,12 +23,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Maintained by markus reichelt 0xCCEEF115 +# Now maintained by vvoody PRGNAM=opera -VERSION=11.11 -REVNO=2109 -BUILD=${BUILD:-2} +VERSION=11.50 +REVNO=1074 +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -57,19 +57,22 @@ fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $PKG -rm -rf $PRGNAM-${VERSION}-${REVNO}.${ARCH} -rpm2cpio < $CWD/$PRGNAM-${VERSION}-${REVNO}.${ARCH}.rpm | cpio -imdv +cd $TMP +rm -rf $PRGNAM-${VERSION}-${REVNO}.${ARCH}.linux +tar xf $CWD/$PRGNAM-${VERSION}-${REVNO}.${ARCH}.linux.tar.xz +cd $PRGNAM-${VERSION}-${REVNO}.${ARCH}.linux chown -R root:root . chmod -R u+w,go+r-w,a-s . -[ "$LIBDIRSUFFIX" = "64" ] && patch -p1 < $CWD/fixup_libdir.diff -[ "$LIBDIRSUFFIX" = "64" ] && mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} - -# Fix the package type reported by the build -# Thanks to Ruarí Ødegaard for the tip -sed "s,^\(Package\ Type=\)rpm$,\1tar," -i $PKG/usr/share/opera/package-id.ini +if [ "$LIBDIRSUFFIX" = "64" ]; then + patch -p1 < $CWD/fixup_libdir.diff + mv lib lib64 +fi +./install \ + --prefix /usr \ + --repackage $PKG/usr + mv $PKG/usr/share/man $PKG/usr mv $PKG/usr/share/doc $PKG/usr -- cgit v1.2.3