summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-04-23 01:25:11 +0200
committerXZS2016-04-23 01:25:11 +0200
commitc9374f516e47a2255ac67c7c5cf76f3106d1d742 (patch)
tree1b7d9f8ae29cccee75485d1b7393fde9b39b18c2
parent0a84449b0ece19394df12ed6b81d8344cde46ca6 (diff)
downloadaur-c9374f516e47a2255ac67c7c5cf76f3106d1d742.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 ad635c283c69..78c3a3b654e4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = firefox-extension-hide-tab-bar-with-one-tab
pkgdesc = Hide the tab bar if there is only one tab.
pkgver = 1.5.1.signed
- pkgrel = 2
+ pkgrel = 3
url = http://forums.mozillazine.org/viewtopic.php?f=48&t=2141579
arch = any
license = MPLv2
@@ -10,7 +10,7 @@ pkgbase = firefox-extension-hide-tab-bar-with-one-tab
depends = firefox
noextract = firefox-extension-hide-tab-bar-with-one-tab.zip
source = firefox-extension-hide-tab-bar-with-one-tab.zip::https://addons.mozilla.org/firefox/downloads/latest/hide-tab-bar-with-one-tab/platform:2/
- source = version::https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/hide-tab-bar-with-one-tab
+ source = .version::https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/hide-tab-bar-with-one-tab
md5sums = 0177f69d998d66a9f181b5744bee21a1
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 1219cbd9f9ea..535c3dec0b89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=firefox-extension-hide-tab-bar-with-one-tab
pkgver=1.5.1.signed
-pkgrel=2
+pkgrel=3
pkgdesc='Hide the tab bar if there is only one tab.'
url='http://forums.mozillazine.org/viewtopic.php?f=48&t=2141579'
license=('MPLv2')
@@ -14,7 +14,7 @@ md5sums=('0177f69d998d66a9f181b5744bee21a1')
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() {