Date: Tuesday, January 8, 2019 @ 04:05:45 Author: eschwartz Revision: 421004
archrelease: copy trunk to community-any Added: firefox-extension-https-everywhere/repos/community-any/PKGBUILD (from rev 421003, firefox-extension-https-everywhere/trunk/PKGBUILD) Deleted: firefox-extension-https-everywhere/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-08 04:05:26 UTC (rev 421003) +++ PKGBUILD 2019-01-08 04:05:45 UTC (rev 421004) @@ -1,46 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: Hyacinthe Cartiaux <hyacinthe.carti...@free.fr> - -_pkgname=https-everywhere -pkgname=firefox-extension-${_pkgname} -pkgver=2018.10.31 -pkgrel=1 -pkgdesc="Plugin for firefox which ensures you are using https whenever it's possible." -arch=('any') -url="https://www.eff.org/https-everywhere" -license=('GPL2') -groups=('firefox-addons') -makedepends=("unzip") -source=("${_pkgname}-${pkgver}.xpi::https://www.eff.org/files/https-everywhere-${pkgver}-eff.xpi" - "${_pkgname}-${pkgver}.xpi.sig::https://www.eff.org/files/https-everywhere-${pkgver}-eff.xpi.sig") -noextract=("${_pkgname}-${pkgver}.xpi") -sha256sums=('dcc243d80e76e8fdd747ac652b098a481affdd7ea528d9147de021a73bf40912' - 'SKIP') -validpgpkeys=('1073E74EB38BD6D19476CBF8EA9DBF9FB761A677' # William Budington <b...@eff.org> - 'CE340E9D077F1DC0F4FA7B030D16CFA2BA1F7420') # Alexis <ale...@eff.org> - -prepare() { - cd "$srcdir" - - unzip -qqo "${_pkgname}-${pkgver}.xpi" -d "${_pkgname}-${pkgver}" -} - -package() { - depends=("firefox") - cd "${srcdir}" - - if [[ -f ${_pkgname}-${pkgver}/install.rdf ]]; then - _extension_id="$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' ${_pkgname}-${pkgver}/install.rdf)" - else - _extension_id="$(sed -n 's/.*"id": "\(.*\)".*/\1/p' ${_pkgname}-${pkgver}/manifest.json)" - fi - _extension_dest="${pkgdir}/usr/lib/firefox/browser/extensions/${_extension_id}" - # Should this extension be unpacked or not? - if grep -q '<em:unpack>true</em:unpack>' ${_pkgname}-${pkgver}/install.rdf 2>/dev/null; then - install -dm755 "${_extension_dest}" - cp -R ${_pkgname}-${pkgver}/* "${_extension_dest}" - chmod -R ugo+rX "${_extension_dest}" - else - install -Dm644 ${_pkgname}-${pkgver}.xpi "${_extension_dest}.xpi" - fi -} Copied: firefox-extension-https-everywhere/repos/community-any/PKGBUILD (from rev 421003, firefox-extension-https-everywhere/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-08 04:05:45 UTC (rev 421004) @@ -0,0 +1,46 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: Hyacinthe Cartiaux <hyacinthe.carti...@free.fr> + +_pkgname=https-everywhere +pkgname=firefox-extension-${_pkgname} +pkgver=2019.1.7 +pkgrel=1 +pkgdesc="Plugin for firefox which ensures you are using https whenever it's possible." +arch=('any') +url="https://www.eff.org/https-everywhere" +license=('GPL2') +groups=('firefox-addons') +makedepends=("unzip") +source=("${_pkgname}-${pkgver}.xpi::https://www.eff.org/files/https-everywhere-${pkgver}-eff.xpi" + "${_pkgname}-${pkgver}.xpi.sig::https://www.eff.org/files/https-everywhere-${pkgver}-eff.xpi.sig") +noextract=("${_pkgname}-${pkgver}.xpi") +sha256sums=('7fd27ee54fa5eb446db6b2d50492e743b2168c3983603b2c4092cbd6a668c017' + 'SKIP') +validpgpkeys=('1073E74EB38BD6D19476CBF8EA9DBF9FB761A677' # William Budington <b...@eff.org> + 'CE340E9D077F1DC0F4FA7B030D16CFA2BA1F7420') # Alexis <ale...@eff.org> + +prepare() { + cd "$srcdir" + + unzip -qqo "${_pkgname}-${pkgver}.xpi" -d "${_pkgname}-${pkgver}" +} + +package() { + depends=("firefox") + cd "${srcdir}" + + if [[ -f ${_pkgname}-${pkgver}/install.rdf ]]; then + _extension_id="$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' ${_pkgname}-${pkgver}/install.rdf)" + else + _extension_id="$(sed -n 's/.*"id": "\(.*\)".*/\1/p' ${_pkgname}-${pkgver}/manifest.json)" + fi + _extension_dest="${pkgdir}/usr/lib/firefox/browser/extensions/${_extension_id}" + # Should this extension be unpacked or not? + if grep -q '<em:unpack>true</em:unpack>' ${_pkgname}-${pkgver}/install.rdf 2>/dev/null; then + install -dm755 "${_extension_dest}" + cp -R ${_pkgname}-${pkgver}/* "${_extension_dest}" + chmod -R ugo+rX "${_extension_dest}" + else + install -Dm644 ${_pkgname}-${pkgver}.xpi "${_extension_dest}.xpi" + fi +}