diff options
author | vvoody <vvoodywang@gmail.com> | 2011-07-13 21:19:07 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 21:59:29 -0300 |
commit | db12c511f131972461de15b9ff46fd258f525112 (patch) | |
tree | 8ad1b0bfb4acec6d00b67e1add8e1d3f98aa1ab0 /network/opera/opera.SlackBuild | |
parent | 35541c07f8636f2ee077a37ad7a65e637cb7ec83 (diff) |
network/opera: Updated for version 11.50.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/opera/opera.SlackBuild')
-rw-r--r-- | network/opera/opera.SlackBuild | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/network/opera/opera.SlackBuild b/network/opera/opera.SlackBuild index 477f6859e6df..eee1eab45ee0 100644 --- a/network/opera/opera.SlackBuild +++ b/network/opera/opera.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for opera # Copyright 2006 Martin Lefebvre <dadexter@gmail.com> -# 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 <slackbuilds@mareichelt.de> 0xCCEEF115 +# Now maintained by vvoody <vvoodywang@gmail.com> 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 <ruario@opera.com> 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 |