blob: d7dd5503c6341a1e95ce94f4bbe5b3751db29cf1 (
plain)
1 # Description: Netscape navigator
2 # URL: http://browser.netscape.com/
3 # Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
4 # Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
5 # Depends on: gtk
6
7 name=netscape-navigator
8 version=9.0.0.6
9 release=2
10 source=(http://ftp.netscape.com/pub/netscape9/en-US/9.0/unix/linux/$name-$version.tar.gz \
11 $name.desktop crux.src crux.png)
12
13 build() {
14 install -d $PKG/usr/{bin,lib}
15 sed -e 's|http://www.netscape.com/|http://crux.nu/|' \
16 -i navigator/browserconfig.properties
17 rm -rf navigator/{.autoreg,readme.txt,extensions/*}
18 mv navigator $PKG/usr/lib/$name
19 ln -sf /usr/lib/$name/navigator $PKG/usr/bin/$name
20 install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
21 install -D -m 0644 $PKG/usr/lib/netscape-navigator/chrome/icons/default/default.xpm \
22 $PKG/usr/share/pixmaps/$name.xpm
23 install -D -m 0644 $SRC/crux.png $PKG/usr/lib/$name/searchplugins/crux.png
24 install -D -m 0644 $SRC/crux.src $PKG/usr/lib/$name/searchplugins/crux.src
25 }
|