[arch-commits] Commit in vaultwarden-web/repos/community-any (4 files)
Daniel M. Capella
polyzen at archlinux.org
Thu Jul 1 00:57:14 UTC 2021
Date: Thursday, July 1, 2021 @ 00:57:14
Author: polyzen
Revision: 969030
archrelease: copy trunk to community-any
Added:
vaultwarden-web/repos/community-any/PKGBUILD
(from rev 969029, vaultwarden-web/trunk/PKGBUILD)
vaultwarden-web/repos/community-any/vaultwarden-web.install
(from rev 969029, vaultwarden-web/trunk/vaultwarden-web.install)
Deleted:
vaultwarden-web/repos/community-any/PKGBUILD
vaultwarden-web/repos/community-any/vaultwarden-web.install
-------------------------+
PKGBUILD | 96 +++++++++++++++++++++++-----------------------
vaultwarden-web.install | 18 ++++----
2 files changed, 59 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-01 00:56:50 UTC (rev 969029)
+++ PKGBUILD 2021-07-01 00:57:14 UTC (rev 969030)
@@ -1,46 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Markus Richter <mqus at disroot dot org>
-
-pkgname=vaultwarden-web
-_pkgver=2.20.4
-pkgver=$_pkgver
-_upstreamver=$_pkgver
-_patchver=$_pkgver
-pkgrel=2
-pkgdesc='Bitwarden web vault with the patches to make it work with vaultwarden'
-arch=('any')
-url=https://github.com/dani-garcia/bw_web_builds
-license=('GPL3')
-depends=('vaultwarden')
-makedepends=('git' 'nodejs-lts-fermium' 'npm')
-provides=('bitwarden_rs-vault' 'bitwarden_rs-web')
-replaces=('bitwarden_rs-vault' 'bitwarden_rs-web')
-install=$pkgname.install
-source=("bitwarden-web::git+https://github.com/bitwarden/web.git#tag=v$_upstreamver"
- 'git+https://github.com/bitwarden/jslib.git'
- "$pkgname-v$_patchver.patch::https://raw.githubusercontent.com/dani-garcia/bw_web_builds/v$_pkgver/patches/v$_patchver.patch")
-b2sums=('SKIP'
- 'SKIP'
- 'eff9329a4fe29e53c9f6bf2a4f453f447c5fbe63779a6331b388e44721e3ac888d5f2307a215f26a5f83e5cfbfd4ec134678982fe4dbfeddf58125699d50dec2')
-
-prepare() {
- cd bitwarden-web
- git submodule init
- git config submodule.jslib.url ../jslib
- git submodule update
- patch --forward --strip=1 --input=../$pkgname-v$_patchver.patch
- npm ci
-}
-
-build() {
- cd bitwarden-web
- npm run dist
-}
-
-package() {
- cd bitwarden-web
- install -d "$pkgdir"/usr/share/webapps/$pkgname
- cp -R build/* "$pkgdir"/usr/share/webapps/$pkgname
-}
-
-# vim:set ts=2 sw=2 et:
Copied: vaultwarden-web/repos/community-any/PKGBUILD (from rev 969029, vaultwarden-web/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-01 00:57:14 UTC (rev 969030)
@@ -0,0 +1,50 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Markus Richter <mqus at disroot dot org>
+
+pkgname=vaultwarden-web
+_pkgver=2.20.4b
+pkgver=2.20.4.b
+_upstreamver=2.20.4
+_patchver=$_upstreamver
+pkgrel=1
+pkgdesc='Bitwarden web vault with the patches to make it work with vaultwarden'
+arch=('any')
+url=https://github.com/dani-garcia/bw_web_builds
+license=('GPL3')
+depends=('vaultwarden')
+makedepends=('git' 'nodejs-lts-fermium' 'npm')
+provides=('bitwarden_rs-vault' 'bitwarden_rs-web')
+replaces=('bitwarden_rs-vault' 'bitwarden_rs-web')
+install=$pkgname.install
+source=("bitwarden-web::git+https://github.com/bitwarden/web.git#tag=v$_upstreamver"
+ 'git+https://github.com/bitwarden/jslib.git'
+ "$pkgname-v$_patchver.patch::https://raw.githubusercontent.com/dani-garcia/bw_web_builds/v$_pkgver/patches/v$_patchver.patch")
+b2sums=('SKIP'
+ 'SKIP'
+ '6ca5518f86a3aaaec88047a2f52e4bd5f29e4a0653fce4f2c7086a101a66284b5895715c35d5ec7594bff576f1d1b3205310a8117e8630ddd25e11b91b5413da')
+
+pkgver() {
+ echo $_pkgver | sed 's/[[:lower:]]$/.&/'
+}
+
+prepare() {
+ cd bitwarden-web
+ git submodule init
+ git config submodule.jslib.url ../jslib
+ git submodule update
+ patch --forward --strip=1 --input=../$pkgname-v$_patchver.patch
+ npm ci
+}
+
+build() {
+ cd bitwarden-web
+ npm run dist
+}
+
+package() {
+ cd bitwarden-web
+ install -d "$pkgdir"/usr/share/webapps/$pkgname
+ cp -R build/* "$pkgdir"/usr/share/webapps/$pkgname
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: vaultwarden-web.install
===================================================================
--- vaultwarden-web.install 2021-07-01 00:56:50 UTC (rev 969029)
+++ vaultwarden-web.install 2021-07-01 00:57:14 UTC (rev 969030)
@@ -1,9 +0,0 @@
-post_install() {
- cat << EOF
-Uncomment WEB_VAULT_FOLDER and set WEB_VAULT_ENABLED to true in your
-/etc/vaultwarden.env.
-
-Restart vaultwarden after configuration changes have been made:
-# systemctl restart vaultwarden
-EOF
-}
Copied: vaultwarden-web/repos/community-any/vaultwarden-web.install (from rev 969029, vaultwarden-web/trunk/vaultwarden-web.install)
===================================================================
--- vaultwarden-web.install (rev 0)
+++ vaultwarden-web.install 2021-07-01 00:57:14 UTC (rev 969030)
@@ -0,0 +1,9 @@
+post_install() {
+ cat << EOF
+Uncomment WEB_VAULT_FOLDER and set WEB_VAULT_ENABLED to true in your
+/etc/vaultwarden.env.
+
+Restart vaultwarden after configuration changes have been made:
+# systemctl restart vaultwarden
+EOF
+}
More information about the arch-commits
mailing list