123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # Tanım: Mozilla.org'dan Bağımsız Web Tarayıcısı
- # URL: http://www.mozilla.com/firefox/
- # Paketçi: Cihan_Alkan
- # Gerekler: 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
- # Grup: ağ
- isim=firefox-bin
- surum=63.0.1
- devir=1
- kaynak=(https://ftp.mozilla.org/pub/firefox/releases/$surum/linux-x86_64/tr/firefox-$surum.tar.bz2
- firefox.desktop
- distribution-firefox-milis.ini)
-
- derle() {
- 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/firefox
- # /usr/bin kısayollar
- ln -s /opt/firefox/firefox $PKG/usr/bin/firefox
- # Masaüstü
- install -m644 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/firefox/browser/chrome/icons/default/default${i/x*}.png \
- $PKG/usr/share/icons/hicolor/$i/apps/firefox.png
- done
- mkdir -p $PKG/opt/firefox/distribution
- cp $SRC/distribution-firefox-milis.ini $PKG/opt/firefox/distribution/distribution.ini
- # 128x128
- ln -s /opt/firefox/browser/icons/mozicon128.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/firefox.png
- }
|