[Frugalware-git] frugalware-current: firefox-extension.sh: fix up2date
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=04dc042f9cdfa4751a1a000501aeac96c3533a39 commit 04dc042f9cdfa4751a1a000501aeac96c3533a39 Author: Miklos Vajna Date: Mon Jul 4 10:00:47 2011 +0200 firefox-extension.sh: fix up2date diff --git a/source/include/firefox-extension.sh b/source/include/firefox-extension.sh index af41865..951d35b 100644 --- a/source/include/firefox-extension.sh +++ b/source/include/firefox-extension.sh @@ -55,7 +55,7 @@ groups=('xapps-extra' 'firefox-extensions') archs=('i686' 'x86_64' 'ppc') if [ -n "$_F_firefox_num" ]; then url="https://addons.mozilla.org/en-US/firefox/addon/$_F_firefox_num/"; - up2date="curl -s -k '$url' | sed -n 's|.*Version \(\S*\)<.*|\1|p'" + up2date="curl -s -k -L '$url' | sed -n 's|.*Version \(\S*\)<.*|\1|p'" source=(http://releases.mozilla.org/pub/mozilla.org/addons/$_F_firefox_num/$_F_firefox_name) fi ___ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git
[Frugalware-git] frugalware-current: firefox-extension.sh * update to firefox 3.6 requirement * add ppc to archs * add url, up2date, source handling
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f9232b6743967125362cb46677c6a45909786961 commit f9232b6743967125362cb46677c6a45909786961 Author: James Buren Date: Sat Nov 27 18:30:22 2010 -0600 firefox-extension.sh * update to firefox 3.6 requirement * add ppc to archs * add url, up2date, source handling diff --git a/source/include/firefox-extension.sh b/source/include/firefox-extension.sh index 1f2fa03..030859a 100644 --- a/source/include/firefox-extension.sh +++ b/source/include/firefox-extension.sh @@ -34,6 +34,8 @@ # == OPTIONS # * _F_firefox_ext: name of the extension # * _F_firefox_id: id of the extension +# * _F_firefox_num: number assigned by mozilla website (if not set, url, +# up2date, and source must be manually set) # * _F_firefox_name: if not set, the name of the source must be in a # $_F_firefox_ext-$pkgver.xpi form # * _F_firefox_nocurly: set this if the is not in curly brackets @@ -43,11 +45,19 @@ # * rodepends() # * groups() # * archs() +# * url (only if _F_firefox_num is set) +# * up2date (only if _F_firefox_num is set) +# * source (only if _F_firefox_num is set) ### pkgname=firefox-$_F_firefox_ext -rodepends=('firefox>=3.0') +rodepends=('firefox>=3.6') groups=('xapps-extra' 'firefox-extensions') -archs=('i686' 'x86_64') +archs=('i686' 'x86_64' 'ppc') +if [ -n "$_F_firefox_num" ]; then + url="https://addons.mozilla.org/en-US/firefox/addon/$_F_firefox_num/"; + up2date="curl -s -k '$url' | sed -n 's|.*Version \(\S*\)<.*|\1|p'" + source=(http://releases.mozilla.org/pub/mozilla.org/addons/$_F_firefox_num/$_F_firefox_name) +fi ### # == PROVIDED FUNCTIONS ___ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git
[Frugalware-git] frugalware-current: firefox-extension.sh
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=bb476c28cc202a5583eeace094ece07e7ba8ad80 commit bb476c28cc202a5583eeace094ece07e7ba8ad80 Author: James Buren <[EMAIL PROTECTED]> Date: Sun Jul 20 12:13:14 2008 -0500 firefox-extension.sh * added Ffileschmod/Fdirschmod to correct possible permission issues * closes #3241 diff --git a/source/include/firefox-extension.sh b/source/include/firefox-extension.sh index b669857..1f2fa03 100644 --- a/source/include/firefox-extension.sh +++ b/source/include/firefox-extension.sh @@ -72,6 +72,8 @@ Fxpiinstall() else Ffile /usr/lib/firefox/extensions/$_F_firefox_id/chrome.manifest fi + Fdirschmod /usr/lib/firefox/extensions 755 + Ffileschmod /usr/lib/firefox/extensions 644 } ### ___ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git