[arch-commits] Commit in firefox-tree-style-tab/trunk (PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Thu Dec 3 22:21:11 UTC 2020


    Date: Thursday, December 3, 2020 @ 22:21:11
  Author: polyzen
Revision: 769824

upgpkg: firefox-tree-style-tab 3.6.3-2: Fetch submodules prior to building package

Modified:
  firefox-tree-style-tab/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-03 22:03:41 UTC (rev 769823)
+++ PKGBUILD	2020-12-03 22:21:11 UTC (rev 769824)
@@ -4,7 +4,7 @@
 _name=treestyletab
 pkgname=firefox-tree-style-tab
 pkgver=3.6.3
-pkgrel=1
+pkgrel=2
 pkgdesc='Firefox extension to show tabs like a tree'
 arch=('any')
 url=https://piro.sakura.ne.jp/xul/_treestyletab.html.en
@@ -11,13 +11,26 @@
 license=('MPL' 'MPL2')
 groups=('firefox-addons')
 makedepends=('git' 'zip')
-source=("git+https://github.com/piroor/treestyletab.git#tag=$pkgver")
-b2sums=('SKIP')
+source=("git+https://github.com/piroor/treestyletab.git#tag=$pkgver"
+        'git+https://github.com/piroor/webextensions-lib-configs.git'
+        'git+https://github.com/piroor/webextensions-lib-dom-updater.git'
+        'git+https://github.com/piroor/webextensions-lib-event-listener-manager.git'
+        'git+https://github.com/piroor/webextensions-lib-l10n.git'
+        'git+https://github.com/piroor/webextensions-lib-menu-ui.git'
+        'git+https://github.com/piroor/webextensions-lib-options.git'
+        'git+https://github.com/piroor/webextensions-lib-rich-confirm.git'
+        'git+https://github.com/piroor/webextensions-lib-shortcut-customize-ui.git'
+        'git+https://github.com/piroor/webextensions-lib-tab-favicon-helper.git')
+b2sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
 
 prepare() {
-  cd $_name/webextensions
-  sed -i 's/^xpi:.*/xpi:/' Makefile
-  git submodule update --init
+  cd $_name
+  git submodule init
+  for i in ../webextensions*; do
+    git config submodule.submodules/${i##../}.url $i
+  done
+  git submodule update
+  sed -i 's/^xpi: .*/xpi:/' webextensions/Makefile
 }
 
 build() {



More information about the arch-commits mailing list