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

Daniel M. Capella polyzen at archlinux.org
Tue Feb 9 12:39:11 UTC 2021


    Date: Tuesday, February 9, 2021 @ 12:39:10
  Author: polyzen
Revision: 850983

upgpkg: firefox-tree-style-tab 3.7.0-1

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

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-09 11:54:39 UTC (rev 850982)
+++ PKGBUILD	2021-02-09 12:39:10 UTC (rev 850983)
@@ -3,7 +3,7 @@
 
 _name=treestyletab
 pkgname=firefox-tree-style-tab
-pkgver=3.6.5
+pkgver=3.7.0
 pkgrel=1
 pkgdesc='Firefox extension to show tabs like a tree'
 arch=('any')
@@ -10,7 +10,7 @@
 url=https://piro.sakura.ne.jp/xul/_treestyletab.html.en
 license=('MPL' 'MPL2')
 groups=('firefox-addons')
-makedepends=('git' 'zip')
+makedepends=('git' 'npm' 'zip')
 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'
@@ -30,11 +30,12 @@
     git config submodule.submodules/${i##../}.url $i
   done
   git submodule update
-  sed -i 's/^xpi: .*/xpi:/' webextensions/Makefile
+  sed -i 's/^\(install_extlib\|xpi\): .*/\1:/' webextensions/Makefile
 }
 
 build() {
   cd $_name/webextensions
+  npm install --frozen-lockfile
   make install_extlib
   make xpi
 }
@@ -41,7 +42,8 @@
 
 package() {
   cd $_name/webextensions
-  install -Dm644 $_name-we.xpi "$pkgdir"/usr/lib/firefox/browser/extensions/$_name at piro.sakura.ne.jp.xpi
+  install -Dm644 $_name-we.xpi \
+    "$pkgdir"/usr/lib/firefox/browser/extensions/$_name at piro.sakura.ne.jp.xpi
 }
 
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list