forked from ports/contrib
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
# Description: Netscape navigator
|
|
# URL: http://browser.netscape.com/
|
|
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
# Depends on: gtk
|
|
|
|
name=netscape-navigator
|
|
version=9.0.0.6
|
|
release=2
|
|
source=(http://ftp.netscape.com/pub/netscape9/en-US/9.0/unix/linux/$name-$version.tar.gz \
|
|
$name.desktop crux.src crux.png)
|
|
|
|
build() {
|
|
install -d $PKG/usr/{bin,lib}
|
|
sed -e 's|http://www.netscape.com/|http://crux.nu/|' \
|
|
-i navigator/browserconfig.properties
|
|
rm -rf navigator/{.autoreg,readme.txt,extensions/*}
|
|
mv navigator $PKG/usr/lib/$name
|
|
ln -sf /usr/lib/$name/navigator $PKG/usr/bin/$name
|
|
install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
|
|
install -D -m 0644 $PKG/usr/lib/netscape-navigator/chrome/icons/default/default.xpm \
|
|
$PKG/usr/share/pixmaps/$name.xpm
|
|
install -D -m 0644 $SRC/crux.png $PKG/usr/lib/$name/searchplugins/crux.png
|
|
install -D -m 0644 $SRC/crux.src $PKG/usr/lib/$name/searchplugins/crux.src
|
|
}
|