Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=8668e6cc84b21bd91276dcaaedfc63e70997e19d

commit 8668e6cc84b21bd91276dcaaedfc63e70997e19d
Author: jercel <jerce...@gmail.com>
Date:   Tue Dec 21 10:09:10 2010 +0100

opera-11.00-1-x86_64

* Version bump

diff --git a/source/xapps-extra/opera/FrugalBuild 
b/source/xapps-extra/opera/FrugalBuild
index 60275ab..f1327fe 100644
--- a/source/xapps-extra/opera/FrugalBuild
+++ b/source/xapps-extra/opera/FrugalBuild
@@ -3,7 +3,7 @@
# Maintainer: voroskoi <voros...@frugalware.org>

pkgname=opera
-pkgver=10.61
+pkgver=11.00
pkgrel=1
pkgdesc="Opera web browser."
url="http://www.opera.com/linux/";
@@ -12,17 +12,17 @@ rodepends=('qt')
groups=('xapps-extra')
archs=('i686' 'x86_64')

-pkgextraver=-6430
+pkgextraver=-1156
if echo "$CARCH" | grep -q 'i.86'; then
_arch=i386
source=(ftp://ftp.opera.com/pub/${pkgname}/linux/${pkgver//./}/${pkgname}-${pkgver}${pkgextraver}.${_arch}.linux.tar.bz2)
-       sha1sums=('39267f2b13230f065af3d18f8b09d12f25713f9e')
+       sha1sums=('e28f416a18b04248e9a1e9a99fd8b373df3d0499')
elif [ "$CARCH" == "x86_64" ]; then
_arch=x86_64
source=(ftp://ftp.opera.com/pub/${pkgname}/linux/${pkgver//./}/${pkgname}-${pkgver}${pkgextraver}.${_arch}.linux.tar.bz2)
-       sha1sums=('e3ffa64050cb6a08515234ad2acf10126b4f0be6')
+       sha1sums=('53d001dd5e9afad32da78c158913d83ac027650f')
fi
-up2date="lynx -dump ftp://ftp.opera.com/pub/$pkgname/linux/ |grep -wo 
opera.*[0-9][0-9][0-9] |sort -r | sed -ne 's|.*x/\(.*\)|\1|;s/\([0-9]\)/\1./;1 
p'"
+up2date="lynx -dump ftp://ftp.opera.com/pub/$pkgname/linux/ |grep -wo 
opera.*[0-10][0-10][0-10]|sort -r | sed -ne 
's|.*x/\(.*\)|\1|;s/\([0-10]\)/\1./;1 p'"
options=('nobuild' 'nodocs')
_F_gnome_desktop="y"
_F_gnome_iconcache="y"
@@ -31,10 +31,10 @@ Finclude gnome-scriptlet
build()
{
Fcd $pkgname-$pkgver$pkgextraver.$_arch.linux
-       # Remove "license directory"
-       rm -rf share/doc/opera || Fdie
+
# Remove package directory
rm -rf share/opera/package || Fdie
+
# Replace PREFIX and SUFFIX in various files
sed -i \
-e "s:@@{PREFIX}:/usr:g" \
@@ -70,6 +70,12 @@ build()
Fcprel share/man usr/share/
Fcprel share/mime usr/share/
Fcprel share/opera usr/share/
+       Fcprel share/doc/opera usr/share/opera/doc
+
+       # Fix links of "license directory"
+       Fln /usr/share/opera/doc/LICENSE /usr/share/opera/defaults/license.txt
+       Fln /usr/share/opera/doc/LICENSE /usr/share/opera/locale/en/license.txt
+       Fln /usr/share/opera/doc/LICENSE /usr/share/opera/locale/ja/license.txt

Fbuild_gnome_scriptlet
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to