From ddaef4e7f05e1577736994cb646b6d6bbad0690e Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 17 Oct 2009 21:57:03 +0200 Subject: maj pour les 2 architectures --- extra/opera/Pkgfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'extra/opera/Pkgfile') diff --git a/extra/opera/Pkgfile b/extra/opera/Pkgfile index 2a256aa96..b771b340f 100644 --- a/extra/opera/Pkgfile +++ b/extra/opera/Pkgfile @@ -7,12 +7,15 @@ name=opera version=10.00 release=5 -source=( http://mirror.ndnet.ch/opera/linux/1000/final/en/`uname -m`/opera-10.00.gcc4-qt4.`uname -m`.tar.gz \ - opera.desktop \ - opera.png ) +if [ "`uname -m`" == "i686" ]; then + _ARCH=i386 +else + _ARCH=x86_64 +fi +source=( http://mirror.ndnet.ch/opera/linux/1000/final/en/${_ARCH}/opera-10.00.gcc4-qt4.${_ARCH}.tar.gz \ + opera.desktop \ + opera.png ) - - build() { cd $name-* # sed 's|/usr/X11R6/lib/mozilla/plugins=1|/opt/mozilla/lib/plugins=1|' -i ini/pluginpath.ini -- cgit v1.2.3-70-g09d2