From 037cc1723f597317fc6a7691f3b0e6616e04e864 Mon Sep 17 00:00:00 2001 From: Galileo Sartor Date: Tue, 25 Oct 2016 18:40:36 +0200 Subject: [PATCH 1/2] Add Firefox yml --- recipes/meta/Firefox.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes/meta/Firefox.yml diff --git a/recipes/meta/Firefox.yml b/recipes/meta/Firefox.yml new file mode 100644 index 00000000..b59c3887 --- /dev/null +++ b/recipes/meta/Firefox.yml @@ -0,0 +1,22 @@ +app: Firefox + +ingredients: + script: + - DLD=$(wget -q "https://www.mozilla.org/en-US/firefox/all/" -O - | grep -E "os=linux64&lang=en-US" | cut -d'"' -f2) + - wget -c $DLD --trust-server-names + - echo $DLD | cut -d- -f2 > VERSION + +script: + - tar xfj ../firefox*.tar.bz2 + - mv firefox/* usr/bin/ + - find . -name mozicon128.png -exec cp \{\} firefox.png \; + - cat > firefox.desktop < Date: Tue, 25 Oct 2016 20:43:05 +0200 Subject: [PATCH 2/2] Update Firefox.yml --- recipes/meta/Firefox.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/recipes/meta/Firefox.yml b/recipes/meta/Firefox.yml index b59c3887..b75d2135 100644 --- a/recipes/meta/Firefox.yml +++ b/recipes/meta/Firefox.yml @@ -5,11 +5,14 @@ ingredients: - DLD=$(wget -q "https://www.mozilla.org/en-US/firefox/all/" -O - | grep -E "os=linux64&lang=en-US" | cut -d'"' -f2) - wget -c $DLD --trust-server-names - echo $DLD | cut -d- -f2 > VERSION + - tar xf firefox*.tar.bz2 + script: - - tar xfj ../firefox*.tar.bz2 - - mv firefox/* usr/bin/ - - find . -name mozicon128.png -exec cp \{\} firefox.png \; + - cp -r ../firefox/* usr/bin/ + - find . -name mozicon128.png -exec cp {} firefox.png \; + - # Workaround for: + - # https://bugzilla.mozilla.org/show_bug.cgi?id=296568 - cat > firefox.desktop <