summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-04-23 01:24:39 +0200
committerXZS2016-04-23 01:24:39 +0200
commit79a4185c37982043a7616586b40cbdcc9a42cfa3 (patch)
tree92f528dce5fc9fc30c92a93b8309779daa26cf0e
parenta392b4efc37401d76dc9edbe5264cee32051585a (diff)
downloadaur-79a4185c37982043a7616586b40cbdcc9a42cfa3.tar.gz
do not install version file
The file is just used to set up package information and relations. It is not needed in the package contents. When included nonetheless, it can cause Firefox to consider the Add-On as signed because of the additional file lacking any checksum or verification. Hiding it effectively excludes it from the installation.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed2547516915..24430866ca76 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = firefox-theme-nasa-night-launch
pkgdesc = Dark theme for Firefox. Inspired by the night launch of STS-116.
pkgver = 0.6.20160329
- pkgrel = 2
+ pkgrel = 3
url = http://home.comcast.net/~username54321/starfield/index.html
arch = any
license = custom
@@ -10,7 +10,7 @@ pkgbase = firefox-theme-nasa-night-launch
depends = firefox
noextract = firefox-theme-nasa-night-launch.zip
source = firefox-theme-nasa-night-launch.zip::https://addons.mozilla.org/firefox/downloads/latest/nasa-night-launch/platform:2/
- source = version::https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/nasa-night-launch
+ source = .version::https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/nasa-night-launch
md5sums = 79aaf0d3b9cc2aaa48e5776901f4aab0
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 6affeb787c59..6d249d0207b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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=2
+pkgrel=3
url="http://home.comcast.net/~username54321/starfield/index.html"
license=('custom')
md5sums=('79aaf0d3b9cc2aaa48e5776901f4aab0')
@@ -15,7 +15,7 @@ md5sums=('79aaf0d3b9cc2aaa48e5776901f4aab0')
source+=(
"${pkgname}.zip::https://addons.mozilla.org/firefox/downloads/latest/${pkgname#*-*-}/platform:2/"
- "version::https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/${pkgname#*-*-}"
+ ".version::https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/${pkgname#*-*-}"
)
md5sums+=('SKIP')
noextract+=("${pkgname}.zip")
@@ -39,7 +39,7 @@ pkgver() {
# Retrieve current compatibility information from addons.mozilla.org API.
query-version() {
- xmllint version --xpath \
+ xmllint .version --xpath \
"//application[appID='$2']/$1_version/text()"
}
version-range() {