diff options
author | XZS | 2016-04-23 01:25:22 +0200 |
---|---|---|
committer | XZS | 2016-04-23 01:25:22 +0200 |
commit | b80647f2ca0e224b7d3ebb4767ed282933821026 (patch) | |
tree | 92487e8c6d5e7ef608cee97774cf48e04317c138 | |
parent | faf7c3d202082d68b44fac1eb2f642e0cecb35e2 (diff) | |
download | aur-b80647f2ca0e224b7d3ebb4767ed282933821026.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-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = firefox-extension-flash-video-downloader pkgdesc = download your favorite videos in 1 click pkgver = 11.0.0 - pkgrel = 2 + pkgrel = 3 url = http://www.flashvideodownloader.org/ arch = any license = MPLv1.1 @@ -10,7 +10,7 @@ pkgbase = firefox-extension-flash-video-downloader depends = firefox noextract = firefox-extension-flash-video-downloader.zip source = firefox-extension-flash-video-downloader.zip::https://addons.mozilla.org/firefox/downloads/latest/flash-video-downloader/platform:2/ - source = version::https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/flash-video-downloader + source = .version::https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/flash-video-downloader md5sums = bae77fbd0d6fe5c839ef266f69dd87bc md5sums = SKIP @@ -4,7 +4,7 @@ pkgname=firefox-extension-flash-video-downloader pkgver=11.0.0 -pkgrel=2 +pkgrel=3 pkgdesc='download your favorite videos in 1 click' url='http://www.flashvideodownloader.org/' license=('MPLv1.1') @@ -14,7 +14,7 @@ md5sums=('bae77fbd0d6fe5c839ef266f69dd87bc') 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() { |