summaryrefslogtreecommitdiffstats
path: root/extra/opera/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-10-17 21:57:03 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-10-17 21:57:03 +0200
commitddaef4e7f05e1577736994cb646b6d6bbad0690e (patch)
tree80ea00e562f29866026fceb47ad72f8f136d743d /extra/opera/Pkgfile
parentd67ed890e40ad4b007e689476cd6aed6faab6d7a (diff)
downloadnutyx-pakxe-ddaef4e7f05e1577736994cb646b6d6bbad0690e.tar.gz
nutyx-pakxe-ddaef4e7f05e1577736994cb646b6d6bbad0690e.tar.bz2
nutyx-pakxe-ddaef4e7f05e1577736994cb646b6d6bbad0690e.tar.xz
nutyx-pakxe-ddaef4e7f05e1577736994cb646b6d6bbad0690e.zip
maj pour les 2 architectures
Diffstat (limited to 'extra/opera/Pkgfile')
-rw-r--r--extra/opera/Pkgfile13
1 files changed, 8 insertions, 5 deletions
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