diff options
author | Hyacinthe Cartiaux | 2014-05-09 11:24:44 +0200 |
---|---|---|
committer | Hyacinthe Cartiaux | 2015-06-09 00:17:10 +0200 |
commit | c5d1071c0f86e35f63b54d1fcdeca21d197f7974 (patch) | |
tree | 758fc9ffbc78903b28776ffeaa71c72a99b136ce /PKGBUILD | |
download | aur-c5d1071c0f86e35f63b54d1fcdeca21d197f7974.tar.gz |
[firefox-extension-addonbar] New package (restore the addon bar for firefox 29)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cb6a8614319e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr> +_plugin_name=addonbar +_plugin_version=3.2 +pkgname=firefox-extension-$_plugin_name +pkgver=$_plugin_version +pkgrel=1 +pkgdesc="Gives you a place to put all your add-on buttons without over-crowding the navigation bar." +license=('MIT') +arch=('any') +url="https://addons.mozilla.org/en-US/firefox/addon/the-addon-bar/" +depends=("firefox") +source=("https://addons.cdn.mozilla.net/storage/public-staging/473193/the_addon_bar_restored-3.2-fx.xpi") +md5sums=('237a158e104406c04e3bfd600176898b') + +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 + cp -dpr --no-preserve=ownership * $dstdir + rm $dstdir/the_addon_bar_restored-3.2-fx.xpi + chmod -R 755 $dstdir +} |