1 # Maintainer: Daniel M. Capella <polyzen@archlinux.org>
2 # Contributor: Jérémie Detrey <Jeremie.Detrey@loria.fr>
5 pkgname=firefox-tree-style-tab
8 pkgdesc='Firefox extension to show tabs like a tree'
10 url=https://piro.sakura.ne.jp/xul/_treestyletab.html.en
11 license=('MPL' 'MPL2')
12 groups=('firefox-addons')
13 makedepends=('git' 'npm' 'strip-nondeterminism' 'zip')
14 source=("git+https://github.com/piroor/treestyletab.git#tag=$pkgver"
15 'git+https://github.com/piroor/webextensions-lib-configs.git'
16 'git+https://github.com/piroor/webextensions-lib-dom-updater.git'
17 'git+https://github.com/piroor/webextensions-lib-event-listener-manager.git'
18 'git+https://github.com/piroor/webextensions-lib-l10n.git'
19 'git+https://github.com/piroor/webextensions-lib-menu-ui.git'
20 'git+https://github.com/piroor/webextensions-lib-options.git'
21 'git+https://github.com/piroor/webextensions-lib-rich-confirm.git'
22 'git+https://github.com/piroor/webextensions-lib-shortcut-customize-ui.git'
23 'git+https://github.com/piroor/webextensions-lib-tab-favicon-helper.git')
38 for i in ../webextensions*; do
39 git config submodule.submodules/"${i##../}".url "$i"
41 git -c protocol.file.allow=always submodule update
43 sed -i 's/^\(install_extlib\|xpi\): .*/\1:/' Makefile
48 cd $_name/webextensions
51 strip-nondeterminism -t zip $_name-we.xpi
55 cd $_name/webextensions
56 install -Dm644 $_name-we.xpi \
57 "$pkgdir"/usr/lib/firefox/browser/extensions/$_name@piro.sakura.ne.jp.xpi