diff --git a/talimatname/genel/firefox54-bin/firefox.desktop b/talimatname/genel/firefox54-bin/firefox.desktop new file mode 100644 index 000000000..813f693f8 --- /dev/null +++ b/talimatname/genel/firefox54-bin/firefox.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Firefox +Comment=Browser +Exec=firefox +Icon=firefox_default48.png +Terminal=false +Type=Application +Categories=Application;Network; diff --git a/talimatname/genel/firefox54-bin/talimat b/talimatname/genel/firefox54-bin/talimat index 78d7903fe..d96093916 100644 --- a/talimatname/genel/firefox54-bin/talimat +++ b/talimatname/genel/firefox54-bin/talimat @@ -3,10 +3,12 @@ # 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 +name=firefox54-bin +_name=firefox version=54.0 release=1 -source=(https://ftp.mozilla.org/pub/firefox/releases/$version/linux-x86_64/tr/firefox-$version.tar.bz2) +source=(https://ftp.mozilla.org/pub/firefox/releases/$version/linux-x86_64/tr/firefox-$version.tar.bz2 + firefox.desktop) build() { @@ -17,19 +19,19 @@ build() { # Kurulum - cp -r firefox/ $PKG//opt/$name + cp -r firefox/ $PKG//opt/$_name # /usr/bin symlinks - ln -s /opt/$name/firefox $PKG/usr/bin/$name + ln -s /opt/$_name/firefox $PKG/usr/bin/$_name # Masaüstü - install -m644 /root/talimatname/genel/firefox/*.desktop $PKG/usr/share/applications/ + install -m644 $_name.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 + 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" <