aboutsummaryrefslogtreecommitdiff
path: root/network/opera/opera.SlackBuild
diff options
context:
space:
mode:
authorMartin Lefebvre <dadexter@gmail.com>2010-05-11 19:45:58 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 19:45:58 +0200
commit4f428aeca7bf2501e5fc2b2202a252168c8e756e (patch)
tree48fdcdd78960bbd3317371316153036f69326fa2 /network/opera/opera.SlackBuild
parent48616fd06a411aa24cb0d4da91377285abcf5229 (diff)
network/opera: Updated for version 9.26
Diffstat (limited to 'network/opera/opera.SlackBuild')
-rw-r--r--network/opera/opera.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/network/opera/opera.SlackBuild b/network/opera/opera.SlackBuild
index 9243952bea4a..cdb946e845ff 100644
--- a/network/opera/opera.SlackBuild
+++ b/network/opera/opera.SlackBuild
@@ -22,26 +22,27 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org project
-
-set -e
+# Modified by Robby Workman <rworkman@slackbuilds.org> for version 9.25
PRGNAM=opera
-VERSION=9.21
-DATESTRING='20070510.6'
+VERSION=9.26
+DATESTRING='20080218.6'
ARCH=i386 # Leave this alone for opera
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION-$DATESTRING-shared-qt.i386-en.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION-$DATESTRING-shared-qt.i386-en.tar.bz2
cd $(tar -tf $CWD/$PRGNAM-$VERSION-$DATESTRING-shared-qt.i386-en.tar.bz2 |head -1|tr -d \/)
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -69,7 +70,7 @@ mv $PKG/usr/doc/opera $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)