summaryrefslogtreecommitdiffstats
path: root/acompiler/opera/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'acompiler/opera/Pkgfile')
-rw-r--r--acompiler/opera/Pkgfile34
1 files changed, 0 insertions, 34 deletions
diff --git a/acompiler/opera/Pkgfile b/acompiler/opera/Pkgfile
deleted file mode 100644
index 2f5f7464d..000000000
--- a/acompiler/opera/Pkgfile
+++ /dev/null
@@ -1,34 +0,0 @@
-# Description: Navigateur web basé sur la librairie qt
-# URL: http://www.opera.com
-# Maintainer: NuTyX core team
-# Packager: geantbrun at gmail dot com
-# Depends on: qt, jdk
-
-name=opera
-version=10.63
-release=1
-_rep=1063
-_release=6450
-
-if [ "`uname -m`" == "i686" ]; then
- _ARCH=i386
-else
- _ARCH=x86_64
-fi
-source=( ftp://ftp.opera.com/pub/opera/linux/$_rep/opera-$version-$_release.${_ARCH}.linux.tar.bz2 \
- opera.desktop opera.png )
-
-build() {
- cd $name-*
- sed -i "s|finalize_xdg()|xdg()|" install
- sed -i "/finalize_xdg/d" install
- sed -i "s|PREFIX=/usr/local|PREFIX=$PKG/usr|" install
- ./install --unattended --system --force
- sed -i -e "s|$PKG||g" $PKG/usr/bin/opera
- rm -r $PKG/usr/share/doc
- mkdir -p $PKG/usr/share/{applications,licences/opera,icons/hicolor/48x48/apps}
- install -D -m 644 ../opera.desktop $PKG/usr/share/applications/
- install -D -m 644 LICENSE $PKG/usr/share/licences/opera/licence.txt
- cp ../opera.png $PKG/usr/share/icons/hicolor/48x48/apps/opera.png
- mv $PKG/usr/share/licen{c,s}es
-}