diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -6,7 +6,7 @@ pkgname=firefox-theme-nasa-night-launch pkgdesc="Dark theme for Firefox. Inspired by the night launch of STS-116." pkgver=0.6.20160329 -pkgrel=3 +pkgrel=4 url="http://home.comcast.net/~username54321/starfield/index.html" license=('custom') md5sums=('79aaf0d3b9cc2aaa48e5776901f4aab0') @@ -43,9 +43,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() { |