summaryrefslogtreecommitdiffstats
path: root/extra/opera/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-05-08 10:42:48 +0200
committertnut <tnut at nutyx dot com>2011-05-08 10:42:48 +0200
commitd270444d47915dbd8bd1c38b21b06094cd596b8d (patch)
tree656d3897d913427f3e21202b40a3f6c121d28e7b /extra/opera/Pkgfile
parentd4001ccd40ece9fc378565e19b494b66cc8c96da (diff)
downloadnutyx-pakxe-d270444d47915dbd8bd1c38b21b06094cd596b8d.tar.gz
nutyx-pakxe-d270444d47915dbd8bd1c38b21b06094cd596b8d.tar.bz2
nutyx-pakxe-d270444d47915dbd8bd1c38b21b06094cd596b8d.tar.xz
nutyx-pakxe-d270444d47915dbd8bd1c38b21b06094cd596b8d.zip
opera ds ouvert
Diffstat (limited to 'extra/opera/Pkgfile')
-rw-r--r--extra/opera/Pkgfile37
1 files changed, 0 insertions, 37 deletions
diff --git a/extra/opera/Pkgfile b/extra/opera/Pkgfile
deleted file mode 100644
index c71467343..000000000
--- a/extra/opera/Pkgfile
+++ /dev/null
@@ -1,37 +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: desktop-file-utils, shared-mime-info
-# Run on: desktop-file-utils,qt
-
-name=opera
-version=11.10
-release=1
-_rep=1110
-_release=2092
-
-
-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
- rm $PKG/usr/share/applications/mimeinfo.cache
- 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
-}