summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-04-23 01:24:12 +0200
committerXZS2016-04-23 01:24:12 +0200
commit25a7800d9bd82b4dbbf159dfe8a6ff2843e3991b (patch)
treec9cedda4e141897119f10166ce4500d46c3eac44
parent2c44346f3d2680735fb5a4454d532faee516deb3 (diff)
downloadaur-25a7800d9bd82b4dbbf159dfe8a6ff2843e3991b.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 d8e8e207208c..81618e159682 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = thunderbird-theme-tt-deepdark
pkgdesc = Smooth dark theme for Thunderbird
pkgver = 10.0.3
- pkgrel = 2
+ pkgrel = 3
url = https://addons.mozilla.org/de/thunderbird/addon/tt-deepdark/
arch = any
license = custom:noncommercial
@@ -10,7 +10,7 @@ pkgbase = thunderbird-theme-tt-deepdark
depends = thunderbird
noextract = thunderbird-theme-tt-deepdark.zip
source = thunderbird-theme-tt-deepdark.zip::https://addons.mozilla.org/firefox/downloads/latest/tt-deepdark/platform:2/
- source = version::https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/tt-deepdark
+ source = .version::https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/tt-deepdark
md5sums = 3885774cdb2aaa33494002b1a2703ae1
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 6cd49d1f8fde..fd084131a70a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=thunderbird-theme-tt-deepdark
pkgver=10.0.3
-pkgrel=2
+pkgrel=3
pkgdesc='Smooth dark theme for Thunderbird'
url='https://addons.mozilla.org/de/thunderbird/addon/tt-deepdark/'
license=('custom:noncommercial')
@@ -14,7 +14,7 @@ md5sums=('3885774cdb2aaa33494002b1a2703ae1')
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")
@@ -38,7 +38,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() {