50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
|
# Description: Mozilla.org'dan Bağımsız Web Tarayıcısı
|
|||
|
# URL: http://www.mozilla.com/firefox/
|
|||
|
# Packager: Cihan Alkan
|
|||
|
# Depends on: libbluray pulseaudio gconf yasm sqlite libvpx libevent nss alsa-lib gtk2 gtk3 xorg-app zip unzip gstreamer1 gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-libav
|
|||
|
|
|||
|
name=firefox
|
|||
|
version=54.0
|
|||
|
release=1
|
|||
|
source=(https://ftp.mozilla.org/pub/firefox/releases/$version/linux-x86_64/tr/firefox-$version.tar.bz2)
|
|||
|
|
|||
|
build() {
|
|||
|
|
|||
|
mkdir -p $PKG/usr/bin
|
|||
|
mkdir -p $PKG/usr/share/applications
|
|||
|
mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps
|
|||
|
mkdir -p $PKG//opt
|
|||
|
|
|||
|
|
|||
|
# Kurulum
|
|||
|
cp -r firefox/ $PKG//opt/$name
|
|||
|
|
|||
|
# /usr/bin symlinks
|
|||
|
ln -s /opt/$name/firefox $PKG/usr/bin/$name
|
|||
|
|
|||
|
# Masaüstü
|
|||
|
install -m644 /root/talimatname/genel/firefox/*.desktop $PKG/usr/share/applications/
|
|||
|
|
|||
|
# Simgeler
|
|||
|
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
|
|||
|
install -d $PKG/usr/share/icons/hicolor/$i/apps/
|
|||
|
ln -s /opt/$name/browser/chrome/icons/default/default${i/x*}.png \
|
|||
|
$PKG/usr/share/icons/hicolor/$i/apps/$name.png
|
|||
|
done
|
|||
|
_distini="$PKG/opt/firefox/distribution/distribution.ini"
|
|||
|
install -Dm644 /dev/stdin "$_distini" <<END
|
|||
|
[Global]
|
|||
|
id=Milis
|
|||
|
version=1.0 Atilla
|
|||
|
about=Milis Lİnux 1.0 için Mozilla Firefox
|
|||
|
|
|||
|
[Preferences]
|
|||
|
app.distributor=milis
|
|||
|
app.distributor.channel=$name
|
|||
|
app.partner.archlinux=milis
|
|||
|
END
|
|||
|
# 128x128
|
|||
|
ln -s /opt/$name/browser/icons/mozicon128.png \
|
|||
|
$PKG/usr/share/icons/hicolor/128x128/apps/$name.png
|
|||
|
}
|