diff options
Diffstat (limited to 'acompiler/opera/Pkgfile')
-rw-r--r-- | acompiler/opera/Pkgfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/acompiler/opera/Pkgfile b/acompiler/opera/Pkgfile new file mode 100644 index 000000000..867df2567 --- /dev/null +++ b/acompiler/opera/Pkgfile @@ -0,0 +1,26 @@ +# 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.60 +release=1 +if [ "`uname -m`" == "i686" ]; then + _ARCH=i386 +else + _ARCH=x86_64 +fi +source=( ftp://ftp.opera.com/pub/opera/linux/1060/opera-10.60-6386.i386.linux.tar.bz2 \ + opera.desktop opera.png ) + +build() { + cd $name-* + ./install + make install DESTDIR=$PKG + 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 +} |