summaryrefslogtreecommitdiffstats
path: root/acompiler/opera/Pkgfile
blob: 793145e24d9e81ebb71334d09e1e494358eb1cf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.62
release=1
if [ "`uname -m`" == "i686" ]; then
        _ARCH=i386
else
        _ARCH=x86_64
fi
source=( ftp://ftp.opera.com/pub/opera/linux/1062/opera-$version-6438.${_ARCH}.linux.tar.bz2 \
        opera.desktop opera.png )
	
build() {
	cd $name-*
	./install --unattended --user
	mv ~/.local $PKG/usr
	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
}