diff options
author | Fanch | 2018-04-01 18:08:36 +0200 |
---|---|---|
committer | Fanch | 2018-04-01 18:08:36 +0200 |
commit | 633cfdc795a865367cd5721d2f0591d607990576 (patch) | |
tree | 8225717261c8e2b27bee8b429e846f05f893fb4a | |
parent | 03f5dd2287417a4114b31efd540a2892c2a67c87 (diff) | |
download | aur-633cfdc795a865367cd5721d2f0591d607990576.tar.gz |
Update Version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = firefox-extension-no-coin pkgdesc = Stop coin miners on the web! pkgver = 0.4.14 - pkgrel = 1 + pkgrel = 2 url = https://addons.mozilla.org/firefox/addon/no-coin/ arch = any license = MIT/X11 License @@ -5,7 +5,7 @@ _plugin_name=no-coin pkgname=firefox-extension-${_plugin_name} pkgdesc="Stop coin miners on the web!" pkgver=0.4.14 -pkgrel=1 +pkgrel=2 arch=('any') url="https://addons.mozilla.org/firefox/addon/${_plugin_name}/" makedepends=('unzip' ) @@ -21,7 +21,7 @@ pkgver(){ package(){ srcxpi="${srcdir}/${pkgname}.xpi" - emid=$(unzip -p "$srcxpi" install.rdf | sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}') + emid=${_plugin_name} install -Dm644 "$srcxpi" "${pkgdir}/usr/lib/firefox/browser/extensions/$emid.xpi" |