1 # Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
2 # Based on PKGBUILD firefox-extension-video-downloadhelper
4 _plugin_name=https-everywhere
6 pkgdesc="Plugin for firefox which ensures you are using https whenever it's possible."
9 pkgname=firefox-extension-$_plugin_name
10 pkgver=$_plugin_version
13 url="https://www.eff.org/https-everywhere"
14 depends=("firefox>=3.0" "firefox<12.0")
15 source=("https://www.eff.org/files/https-everywhere-latest.xpi")
16 md5sums=('24709c1460322a9a063f3ce191fbd72b')
20 emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf) || return 1
21 local dstdir=$pkgdir/usr/lib/firefox/extensions/${emid}
24 rm $dstdir/https-everywhere-latest.xpi