[arch-commits] Commit in firefox-tree-style-tab/repos/community-any (2 files)

Daniel M. Capella polyzen at archlinux.org
Mon Nov 30 08:02:49 UTC 2020


    Date: Monday, November 30, 2020 @ 08:02:48
  Author: polyzen
Revision: 766539

archrelease: copy trunk to community-any

Added:
  firefox-tree-style-tab/repos/community-any/PKGBUILD
    (from rev 766538, firefox-tree-style-tab/trunk/PKGBUILD)
Deleted:
  firefox-tree-style-tab/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   55 ++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 34 insertions(+), 21 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-30 08:02:27 UTC (rev 766538)
+++ PKGBUILD	2020-11-30 08:02:48 UTC (rev 766539)
@@ -1,21 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Jérémie Detrey <Jeremie.Detrey at loria.fr>
-
-pkgname=firefox-tree-style-tab
-pkgver=3.6.2
-pkgrel=1
-pkgdesc='Firefox extension to show tabs like a tree'
-arch=('any')
-license=('MPL' 'MPL2')
-groups=('firefox-addons')
-url=https://piro.sakura.ne.jp/xul/_treestyletab.html.en
-source=("https://addons.cdn.mozilla.net/user-media/addons/5890/tree_style_tab_-$pkgver-fx.xpi")
-noextract=("${source##*/}")
-sha256sums=('1200e00dcc7a0a79c848ee667e364df5a6465302b2613f631886aec316deedcb')
-b2sums=('94b6be305de38271bc871e7ecd2a3a10b15ccc7c417e74b4860e7078ffbdc415865f8172ca1b79a70b436f496e493f4e53259ebb4fdf3372c7140d4abd76247b')
-
-package() {
-  install -Dm644 "${source##*/}" "$pkgdir"/usr/lib/firefox/browser/extensions/treestyletab at piro.sakura.ne.jp.xpi
-}
-
-# vim:set ts=2 sw=2 et:

Copied: firefox-tree-style-tab/repos/community-any/PKGBUILD (from rev 766538, firefox-tree-style-tab/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-30 08:02:48 UTC (rev 766539)
@@ -0,0 +1,34 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Jérémie Detrey <Jeremie.Detrey at loria.fr>
+
+_name=treestyletab
+pkgname=firefox-tree-style-tab
+pkgver=3.6.2
+pkgrel=2
+pkgdesc='Firefox extension to show tabs like a tree'
+arch=('any')
+url=https://piro.sakura.ne.jp/xul/_treestyletab.html.en
+license=('MPL' 'MPL2')
+groups=('firefox-addons')
+makedepends=('git' 'zip')
+source=("git+https://github.com/piroor/treestyletab.git#tag=$pkgver")
+b2sums=('SKIP')
+
+prepare() {
+  cd $_name/webextensions
+  sed -i 's/^xpi:.*/xpi:/' Makefile
+  git submodule update --init
+}
+
+build() {
+  cd $_name/webextensions
+  make install_extlib
+  make xpi
+}
+
+package() {
+  cd $_name/webextensions
+  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