diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -4,7 +4,7 @@ pkgname=firefox-extension-beyond-australis pkgver=1.4.6 -pkgrel=1 +pkgrel=2 pkgdesc='Australis was the code name for the current Firefox theme, it aimed to make a great browser look awesome. Now you can go one step further and also make it feel awesome to use!' _extname=the-fox-only-better arch=('any') @@ -45,9 +45,18 @@ query-version() { xmllint .version --xpath \ "//application[appID='$2']/$1_version/text()" } + version-range() { - local emid=$(emid $1) - echo "$1>$(version min $emid)" "$1<$(version max $emid)" + if [ -z "$(sparql "?x em:type ?type. filter(?type in ('2', '64'))")" ] || + [ -n "$(sparql "?x em:strictCompatibility 'true'")" ] || + { [ -e chrome.manifest ] && + grep '^binary-component[ \t]' chrome.manifest ; } + then + local emid=$(emid $1) + echo "$1>$(version min $emid)" "$1<$(version max $emid)" + else + echo "$1>$(version min $(emid $1))" + fi } emid() { |