diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 14 insertions, 14 deletions
@@ -1,16 +1,16 @@ # Generated by mksrcinfo v8 -# Mon Apr 11 10:20:10 UTC 2016 +# Sat May 28 16:42:07 UTC 2016 pkgbase = firefox-extension-unmht pkgdesc = view MHT (MHTML) web archive format files, and save complete web pages, including text and graphics, into a single MHT file pkgver = 8.1.0 - pkgrel = 2 + pkgrel = 3 url = https://addons.mozilla.org/firefox/addon/unmht arch = any license = MPL makedepends = unzip depends = firefox - noextract = unmht-8.1.0.xpi - source = unmht-8.1.0.xpi::https://addons.cdn.mozilla.net/user-media/addons/8051/unmht-8.1.0-sm+tb+fx+an.xpi + noextract = unmht-8.1.0-sm+tb+fx+an.xpi + source = https://addons.cdn.mozilla.net/user-media/addons/8051/unmht-8.1.0-sm+tb+fx+an.xpi sha256sums = f47f77e04e9938560c50e4684557ebe4c9355b6cacea430ce91d8d16f88e85b3 pkgname = firefox-extension-unmht @@ -4,27 +4,27 @@ _plugin_name=unmht pkgname=firefox-extension-${_plugin_name} pkgver=8.1.0 -pkgrel=2 +pkgrel=3 pkgdesc="view MHT (MHTML) web archive format files, and save complete web pages, including text and graphics, into a single MHT file" license=('MPL') arch=('any') url="https://addons.mozilla.org/firefox/addon/${_plugin_name}" depends=("firefox") makedepends=('unzip') -source=("${_plugin_name}-${pkgver}.xpi::https://addons.cdn.mozilla.net/user-media/addons/8051/${_plugin_name}-${pkgver}-sm+tb+fx+an.xpi") +source=("https://addons.cdn.mozilla.net/user-media/addons/8051/${_plugin_name}-${pkgver}-sm+tb+fx+an.xpi") sha256sums=('f47f77e04e9938560c50e4684557ebe4c9355b6cacea430ce91d8d16f88e85b3') -noextract=("${_plugin_name}-${pkgver}.xpi") +noextract=("${_plugin_name}-${pkgver}-sm+tb+fx+an.xpi") prepare(){ - unzip -qqo ${_plugin_name}-${pkgver}.xpi + unzip -qqo ${_plugin_name}-${pkgver}-sm+tb+fx+an.xpi } package() { - cd $srcdir - emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf) || return 1 - local dstdir=$pkgdir/usr/lib/firefox/browser/extensions/${emid} - install -d $dstdir + cd "$srcdir" + emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf) + local dstdir="$pkgdir/usr/lib/firefox/browser/extensions/${emid}" + install -d "$dstdir" rm *.xpi - mv * $dstdir + cp -dpr --no-preserve=ownership * "$dstdir" + chmod -R 755 "$dstdir" } - |