[arch-commits] Commit in bitwarden/repos/community-x86_64 (10 files)

2021-12-08 Thread Alexander Epaneshnikov via arch-commits
Date: Wednesday, December 8, 2021 @ 20:19:55
  Author: alex19ep
Revision: 1065692

archrelease: copy trunk to community-x86_64

Added:
  bitwarden/repos/community-x86_64/PKGBUILD
(from rev 1065691, bitwarden/trunk/PKGBUILD)
  bitwarden/repos/community-x86_64/bitwarden.desktop
(from rev 1065691, bitwarden/trunk/bitwarden.desktop)
  bitwarden/repos/community-x86_64/bitwarden.sh
(from rev 1065691, bitwarden/trunk/bitwarden.sh)
  bitwarden/repos/community-x86_64/messaging.main.ts.patch
(from rev 1065691, bitwarden/trunk/messaging.main.ts.patch)
  bitwarden/repos/community-x86_64/package.json.patch
(from rev 1065691, bitwarden/trunk/package.json.patch)
Deleted:
  bitwarden/repos/community-x86_64/PKGBUILD
  bitwarden/repos/community-x86_64/bitwarden.desktop
  bitwarden/repos/community-x86_64/bitwarden.sh
  bitwarden/repos/community-x86_64/messaging.main.ts.patch
  bitwarden/repos/community-x86_64/package.json.patch

-+
 PKGBUILD|  150 +++---
 bitwarden.desktop   |   20 +++---
 bitwarden.sh|8 +-
 messaging.main.ts.patch |   22 +++---
 package.json.patch  |   26 +++
 5 files changed, 113 insertions(+), 113 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-08 20:19:50 UTC (rev 1065691)
+++ PKGBUILD2021-12-08 20:19:55 UTC (rev 1065692)
@@ -1,75 +0,0 @@
-# Maintainer: Alexander Epaneshnikov 
-# Contributor: libertylocked 
-
-pkgname=bitwarden
-pkgver=1.29.1
-pkgrel=1
-_jslibcommit='764dc40b36e807e59b8d6feea5ac4577270d'
-_electronversion=14
-pkgdesc='A secure and free password manager for all of your devices'
-arch=('x86_64')
-url='https://github.com/bitwarden/desktop'
-license=('GPL3')
-depends=("electron$_electronversion" 'libnotify' 'libsecret' 'libxtst' 
'libxss' 'libnss_nis')
-makedepends=('npm' 'python' 'node-gyp' 'nodejs-lts-fermium' 'jq')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/bitwarden/desktop/archive/v${pkgver}.tar.gz
-
jslib-${_jslibcommit}.tar.gz::https://github.com/bitwarden/jslib/archive/${_jslibcommit}.tar.gz
-package.json.patch
-messaging.main.ts.patch
-${pkgname}.sh
-${pkgname}.desktop)
-sha512sums=('d5d011cb085bc56bee56212bfd72b7be9438c10985bb88c48329979cd7ebe4ee9ae6b1da54b5bd0f7fb6ef35a697a7681d47c18ed77a1d5b13c2837819b4c2fb'
-
'08fcfa6e23e405d1a01238268ae55bef263f91173d1d28ec96e20cdc892229304c0b84dfcb3c722615f8dd6bb46cb9c3fad21ace46da06d4a349e1008e49e559'
-
'87cdb8287cbc0c4eb49b0fd456a66e200551b5da5c14991505f6301cf1b11132d938dfdf795c4df2a4b3e1ae2badf5dfe33c1207923ec8abc6f9b3e064af6015'
-
'822d97be407c2ac2a6926f5c925b0fd188c541014a623dd3815fdbf5ef67c0542f43aaf8d11535571a83a265f620e330f5326244f42c3902fddab442128fda95'
-
'44ee70d71abf9cf399736d00df0aa6815d452792c9589f5517fed4454bdfff6ad2a39ffee401eab0db180718b19e9565d9ecff8d1bd96a93d13e4f63eaf4d5fc'
-
'05b771e72f1925f61b710fb67e5709dbfd63855425d2ef146ca3770b050e78cb3933cffc7afb1ad43a1d87867b2c2486660c79fdfc95b3891befdff26c8520fd')
-
-prepare() {
-   cd desktop-${pkgver}
-   # Link jslib
-   rmdir -v jslib
-   ln -vs ../jslib-${_jslibcommit} jslib
-
-   # Remove pre and postinstall routines from package.json.
-   patch --strip=1 package.json ../package.json.patch
-   # This patch is required to make "Start automatically on login" work
-   patch --strip=1 src/main/messaging.main.ts ../messaging.main.ts.patch
-   # Patch build to make it work with system electron
-   export SYSTEM_ELECTRON_VERSION=$(electron$_electronversion -v | sed 
's/v//g')
-   export ELECTRONVERSION=$_electronversion
-   jq < package.json \
-  '.build["electronVersion"]=$ENV.SYSTEM_ELECTRON_VERSION | 
.build["electronDist"]="/usr/lib/electron\(env.ELECTRONVERSION)"' \
-  > package.json.patched
-   mv package.json.patched package.json
-}
-
-build() {
-   cd desktop-${pkgver}
-   electronDist=/usr/lib/electron$_electronversion
-   electronVer=$(electron$_electronversion --version | tail -c +2)
-   export npm_config_cache="$srcdir/npm_cache"
-   export ELECTRON_SKIP_BINARY_DOWNLOAD=1
-   pushd jslib
-   npm install
-   popd
-   npm install
-   npm run build
-   npm run clean:dist
-   npm exec -c "electron-builder --linux --x64 --dir 
-c.electronDist=$electronDist \
--c.electronVersion=$electronVer"
-}
-
-package(){
-   cd desktop-${pkgver}
-   install -vDm644 dist/linux-unpacked/resources/app.asar -t 
"${pkgdir}/usr/lib/${pkgname}"
-   install -vDm644 build/package.json -t "${pkgdir}/usr/lib/${pkgname}"
-
-   for i in 16 32 48 64 128 256 512; do
-   install -vDm644 resources/icons/${i}x${i}.png 
"${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png"
-   done
-   install -vDm644 

[arch-commits] Commit in bitwarden/repos/community-x86_64 (10 files)

2021-10-29 Thread Alexander Epaneshnikov via arch-commits
Date: Friday, October 29, 2021 @ 19:45:23
  Author: alex19ep
Revision: 1034920

archrelease: copy trunk to community-x86_64

Added:
  bitwarden/repos/community-x86_64/PKGBUILD
(from rev 1034919, bitwarden/trunk/PKGBUILD)
  bitwarden/repos/community-x86_64/bitwarden.desktop
(from rev 1034919, bitwarden/trunk/bitwarden.desktop)
  bitwarden/repos/community-x86_64/bitwarden.sh
(from rev 1034919, bitwarden/trunk/bitwarden.sh)
  bitwarden/repos/community-x86_64/messaging.main.ts.patch
(from rev 1034919, bitwarden/trunk/messaging.main.ts.patch)
  bitwarden/repos/community-x86_64/package.json.patch
(from rev 1034919, bitwarden/trunk/package.json.patch)
Deleted:
  bitwarden/repos/community-x86_64/PKGBUILD
  bitwarden/repos/community-x86_64/bitwarden.desktop
  bitwarden/repos/community-x86_64/bitwarden.sh
  bitwarden/repos/community-x86_64/messaging.main.ts.patch
  bitwarden/repos/community-x86_64/package.json.patch

-+
 PKGBUILD|  150 +++---
 bitwarden.desktop   |   20 +++---
 bitwarden.sh|8 +-
 messaging.main.ts.patch |   22 +++---
 package.json.patch  |   26 +++
 5 files changed, 113 insertions(+), 113 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-10-29 19:45:04 UTC (rev 1034919)
+++ PKGBUILD2021-10-29 19:45:23 UTC (rev 1034920)
@@ -1,75 +0,0 @@
-# Maintainer: Alexander Epaneshnikov 
-# Contributor: libertylocked 
-
-pkgname=bitwarden
-pkgver=1.29.0
-pkgrel=1
-_jslibcommit='764dc40b36e807e59b8d6feea5ac4577270d'
-_electronversion=14
-pkgdesc='A secure and free password manager for all of your devices'
-arch=('x86_64')
-url='https://github.com/bitwarden/desktop'
-license=('GPL3')
-depends=("electron$_electronversion" 'libnotify' 'libsecret' 'libxtst' 
'libxss' 'libnss_nis')
-makedepends=('npm' 'python' 'node-gyp' 'nodejs-lts-fermium' 'jq')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/bitwarden/desktop/archive/v${pkgver}.tar.gz
-
jslib-${_jslibcommit}.tar.gz::https://github.com/bitwarden/jslib/archive/${_jslibcommit}.tar.gz
-package.json.patch
-messaging.main.ts.patch
-${pkgname}.sh
-${pkgname}.desktop)
-sha512sums=('70323734681fa766390ac00831f371bff3ee023169e27b5348216e9cbf9fbaa8e14d4d689d5d5aa3ffc36b88c0b71b23a90c0cf418f7fc60ac5feae6f8bfea2d'
-
'08fcfa6e23e405d1a01238268ae55bef263f91173d1d28ec96e20cdc892229304c0b84dfcb3c722615f8dd6bb46cb9c3fad21ace46da06d4a349e1008e49e559'
-
'87cdb8287cbc0c4eb49b0fd456a66e200551b5da5c14991505f6301cf1b11132d938dfdf795c4df2a4b3e1ae2badf5dfe33c1207923ec8abc6f9b3e064af6015'
-
'822d97be407c2ac2a6926f5c925b0fd188c541014a623dd3815fdbf5ef67c0542f43aaf8d11535571a83a265f620e330f5326244f42c3902fddab442128fda95'
-
'44ee70d71abf9cf399736d00df0aa6815d452792c9589f5517fed4454bdfff6ad2a39ffee401eab0db180718b19e9565d9ecff8d1bd96a93d13e4f63eaf4d5fc'
-
'05b771e72f1925f61b710fb67e5709dbfd63855425d2ef146ca3770b050e78cb3933cffc7afb1ad43a1d87867b2c2486660c79fdfc95b3891befdff26c8520fd')
-
-prepare() {
-   cd desktop-${pkgver}
-   # Link jslib
-   rmdir -v jslib
-   ln -vs ../jslib-${_jslibcommit} jslib
-
-   # Remove pre and postinstall routines from package.json.
-   patch --strip=1 package.json ../package.json.patch
-   # This patch is required to make "Start automatically on login" work
-   patch --strip=1 src/main/messaging.main.ts ../messaging.main.ts.patch
-   # Patch build to make it work with system electron
-   export SYSTEM_ELECTRON_VERSION=$(electron$_electronversion -v | sed 
's/v//g')
-   export ELECTRONVERSION=$_electronversion
-   jq < package.json \
-  '.build["electronVersion"]=$ENV.SYSTEM_ELECTRON_VERSION | 
.build["electronDist"]="/usr/lib/electron\(env.ELECTRONVERSION)"' \
-  > package.json.patched
-   mv package.json.patched package.json
-}
-
-build() {
-   cd desktop-${pkgver}
-   electronDist=/usr/lib/electron$_electronversion
-   electronVer=$(electron$_electronversion --version | tail -c +2)
-   export npm_config_cache="$srcdir/npm_cache"
-   export ELECTRON_SKIP_BINARY_DOWNLOAD=1
-   pushd jslib
-   npm install
-   popd
-   npm install
-   npm run build
-   npm run clean:dist
-   npm exec -c "electron-builder --linux --x64 --dir 
-c.electronDist=$electronDist \
--c.electronVersion=$electronVer"
-}
-
-package(){
-   cd desktop-${pkgver}
-   install -vDm644 dist/linux-unpacked/resources/app.asar -t 
"${pkgdir}/usr/lib/${pkgname}"
-   install -vDm644 build/package.json -t "${pkgdir}/usr/lib/${pkgname}"
-
-   for i in 16 32 48 64 128 256 512; do
-   install -vDm644 resources/icons/${i}x${i}.png 
"${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png"
-   done
-   install -vDm644 

[arch-commits] Commit in bitwarden/repos/community-x86_64 (10 files)

2021-10-27 Thread Alexander Epaneshnikov via arch-commits
Date: Wednesday, October 27, 2021 @ 22:48:53
  Author: alex19ep
Revision: 1034809

archrelease: copy trunk to community-x86_64

Added:
  bitwarden/repos/community-x86_64/PKGBUILD
(from rev 1034808, bitwarden/trunk/PKGBUILD)
  bitwarden/repos/community-x86_64/bitwarden.desktop
(from rev 1034808, bitwarden/trunk/bitwarden.desktop)
  bitwarden/repos/community-x86_64/bitwarden.sh
(from rev 1034808, bitwarden/trunk/bitwarden.sh)
  bitwarden/repos/community-x86_64/messaging.main.ts.patch
(from rev 1034808, bitwarden/trunk/messaging.main.ts.patch)
  bitwarden/repos/community-x86_64/package.json.patch
(from rev 1034808, bitwarden/trunk/package.json.patch)
Deleted:
  bitwarden/repos/community-x86_64/PKGBUILD
  bitwarden/repos/community-x86_64/bitwarden.desktop
  bitwarden/repos/community-x86_64/bitwarden.sh
  bitwarden/repos/community-x86_64/messaging.main.ts.patch
  bitwarden/repos/community-x86_64/package.json.patch

-+
 PKGBUILD|  148 +++---
 bitwarden.desktop   |   20 +++---
 bitwarden.sh|7 +-
 messaging.main.ts.patch |   22 +++---
 package.json.patch  |   26 
 5 files changed, 113 insertions(+), 110 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-10-27 22:48:34 UTC (rev 1034808)
+++ PKGBUILD2021-10-27 22:48:53 UTC (rev 1034809)
@@ -1,73 +0,0 @@
-# Maintainer: Alexander Epaneshnikov 
-# Contributor: libertylocked 
-
-pkgname=bitwarden
-pkgver=1.28.3
-pkgrel=1
-_jslibcommit='1c28396d1a819d9d7838c65517c9953a078b29bb'
-pkgdesc='A secure and free password manager for all of your devices'
-arch=('x86_64')
-url='https://github.com/bitwarden/desktop'
-license=('GPL3')
-depends=('electron11' 'libnotify' 'libsecret' 'libxtst' 'libxss' 'libnss_nis')
-makedepends=('git' 'npm' 'python' 'node-gyp' 'nodejs-lts-fermium' 'jq')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/bitwarden/desktop/archive/v${pkgver}.tar.gz
-
jslib-${_jslibcommit}.tar.gz::https://github.com/bitwarden/jslib/archive/${_jslibcommit}.tar.gz
-package.json.patch
-messaging.main.ts.patch
-${pkgname}.sh
-${pkgname}.desktop)
-sha512sums=('d140fe33977e964d2075854b29f53fa0aa01ec104b959b64a648292958da8bad9ba9ee85d174fed6229282d1077e7252cf8caf259b6e7206a88dd26cee19a2a8'
-
'2d15bfa4554dcb355f070cbbdeff1a26e132a316184b7e6e2a4376ff9549529692d718e6265c5fd62d42f4eef2fc62aacb4bb89c95f698f2493212f8a4abb516'
-
'd884221c615db95d6fd0da2d3470fb7514b6a5d2a2b3b20c8353ebb4a938dc39f93783fe7ef2b9f69f034db8f26abfa479616f9fd1c1b241af605da837fba20e'
-
'822d97be407c2ac2a6926f5c925b0fd188c541014a623dd3815fdbf5ef67c0542f43aaf8d11535571a83a265f620e330f5326244f42c3902fddab442128fda95'
-
'32c29a7baed80351acf5753d35df404a818d5c88cc85f3bbed2daa5351aaf0dba20fd03cbedbcb407324f305d4556adb476ecc9ccd07bac0511ca4a943020ea4'
-
'05b771e72f1925f61b710fb67e5709dbfd63855425d2ef146ca3770b050e78cb3933cffc7afb1ad43a1d87867b2c2486660c79fdfc95b3891befdff26c8520fd')
-
-prepare() {
-   cd desktop-${pkgver}
-   # Link jslib
-   rmdir -v jslib
-   ln -vs ../jslib-${_jslibcommit} jslib
-
-   # Remove pre and postinstall routines from package.json.
-   patch --strip=1 package.json ../package.json.patch
-   # This patch is required to make "Start automatically on login" work
-   patch --strip=1 src/main/messaging.main.ts ../messaging.main.ts.patch
-
-   # Patch build to make it work with system electron
-   SYSTEM_ELECTRON_VERSION=$(electron11 -v | sed 's/v//g')
-   jq < package.json --arg ver $SYSTEM_ELECTRON_VERSION \
-  '.build["electronVersion"]=$ver | 
.build["electronDist"]="/usr/lib/electron11"' \
-  > package.json.patched
-   mv package.json.patched package.json
-}
-
-build() {
-   cd desktop-${pkgver}
-   export npm_config_cache="$srcdir/npm_cache"
-   export ELECTRON_SKIP_BINARY_DOWNLOAD=1
-   electronDist=$(dirname $(realpath $(which electron11)))
-   electronVer=$(electron11 --version | tail -c +2)
-   pushd jslib
-   npm install
-   popd
-   npm install
-   npm run build
-   npm run clean:dist
-   npm exec -c "electron-builder --linux --x64 --dir 
-c.electronDist=$electronDist \
--c.electronVersion=$electronVer"
-}
-
-package(){
-   cd desktop-${pkgver}
-   install -vDm755 dist/linux-unpacked/resources/app.asar -t 
"${pkgdir}/usr/lib/${pkgname%-git}/resources"
-
-   for i in 16 32 48 64 128 256 512; do
-   install -vDm644 resources/icons/${i}x${i}.png 
"${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname%-git}.png"
-   done
-   install -vDm644 resources/icon.png 
"${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/${pkgname%-git}.png"
-
-   install -vDm755 "${srcdir}/${pkgname%-git}.sh" 

[arch-commits] Commit in bitwarden/repos/community-x86_64 (10 files)

2021-09-22 Thread Alexander Epaneshnikov via arch-commits
Date: Wednesday, September 22, 2021 @ 19:37:53
  Author: alex19ep
Revision: 1021666

archrelease: copy trunk to community-x86_64

Added:
  bitwarden/repos/community-x86_64/PKGBUILD
(from rev 1021665, bitwarden/trunk/PKGBUILD)
  bitwarden/repos/community-x86_64/bitwarden.desktop
(from rev 1021665, bitwarden/trunk/bitwarden.desktop)
  bitwarden/repos/community-x86_64/bitwarden.sh
(from rev 1021665, bitwarden/trunk/bitwarden.sh)
  bitwarden/repos/community-x86_64/messaging.main.ts.patch
(from rev 1021665, bitwarden/trunk/messaging.main.ts.patch)
  bitwarden/repos/community-x86_64/package.json.patch
(from rev 1021665, bitwarden/trunk/package.json.patch)
Deleted:
  bitwarden/repos/community-x86_64/PKGBUILD
  bitwarden/repos/community-x86_64/bitwarden.desktop
  bitwarden/repos/community-x86_64/bitwarden.sh
  bitwarden/repos/community-x86_64/messaging.main.ts.patch
  bitwarden/repos/community-x86_64/package.json.patch

-+
 PKGBUILD|  146 +++---
 bitwarden.desktop   |   20 +++---
 bitwarden.sh|6 -
 messaging.main.ts.patch |   22 +++---
 package.json.patch  |   26 
 5 files changed, 110 insertions(+), 110 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-22 19:37:34 UTC (rev 1021665)
+++ PKGBUILD2021-09-22 19:37:53 UTC (rev 1021666)
@@ -1,73 +0,0 @@
-# Maintainer: Alexander Epaneshnikov 
-# Contributor: libertylocked 
-
-pkgname=bitwarden
-pkgver=1.28.2
-pkgrel=2
-_jslibcommit='5ab045499f8a6a26ee10115f458136546a54bc22'
-pkgdesc='A secure and free password manager for all of your devices'
-arch=('x86_64')
-url='https://github.com/bitwarden/desktop'
-license=('GPL3')
-depends=('electron11' 'libnotify' 'libsecret' 'libxtst' 'libxss' 'libnss_nis')
-makedepends=('git' 'npm' 'python' 'node-gyp' 'nodejs-lts-fermium' 'jq')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/bitwarden/desktop/archive/v${pkgver}.tar.gz
-
jslib-${_jslibcommit}.tar.gz::https://github.com/bitwarden/jslib/archive/${_jslibcommit}.tar.gz
-package.json.patch
-messaging.main.ts.patch
-${pkgname}.sh
-${pkgname}.desktop)
-sha512sums=('e950423968043480dcf9c93dafe0acad042baa93d04261292ce2e7d223c78f444d59d8f382e1a390ac942431c5b67f6950de4c6bba7e7deed685b3d9b11748c5'
-
'c3705b257c080b72f15c62462bf8713cfc24a044395415d8884b31e7bdf5f4d7d04f56cdb1ac4ec3a7b92dc4eb2373f6135203925882357c886a4359908f210f'
-
'd884221c615db95d6fd0da2d3470fb7514b6a5d2a2b3b20c8353ebb4a938dc39f93783fe7ef2b9f69f034db8f26abfa479616f9fd1c1b241af605da837fba20e'
-
'822d97be407c2ac2a6926f5c925b0fd188c541014a623dd3815fdbf5ef67c0542f43aaf8d11535571a83a265f620e330f5326244f42c3902fddab442128fda95'
-
'32c29a7baed80351acf5753d35df404a818d5c88cc85f3bbed2daa5351aaf0dba20fd03cbedbcb407324f305d4556adb476ecc9ccd07bac0511ca4a943020ea4'
-
'05b771e72f1925f61b710fb67e5709dbfd63855425d2ef146ca3770b050e78cb3933cffc7afb1ad43a1d87867b2c2486660c79fdfc95b3891befdff26c8520fd')
-
-prepare() {
-   cd desktop-${pkgver}
-   # Link jslib
-   rmdir -v jslib
-   ln -vs ../jslib-${_jslibcommit} jslib
-
-   # Remove pre and postinstall routines from package.json.
-   patch --strip=1 package.json ../package.json.patch
-   # This patch is required to make "Start automatically on login" work
-   patch --strip=1 src/main/messaging.main.ts ../messaging.main.ts.patch
-
-   # Patch build to make it work with system electron
-   SYSTEM_ELECTRON_VERSION=$(electron11 -v | sed 's/v//g')
-   jq < package.json --arg ver $SYSTEM_ELECTRON_VERSION \
-  '.build["electronVersion"]=$ver | 
.build["electronDist"]="/usr/lib/electron11"' \
-  > package.json.patched
-   mv package.json.patched package.json
-}
-
-build() {
-   cd desktop-${pkgver}
-   export npm_config_cache="$srcdir/npm_cache"
-   export ELECTRON_SKIP_BINARY_DOWNLOAD=1
-   electronDist=$(dirname $(realpath $(which electron11)))
-   electronVer=$(electron11 --version | tail -c +2)
-   pushd jslib
-   npm install
-   popd
-   npm install
-   npm run build
-   npm run clean:dist
-   npm exec -c "electron-builder --linux --x64 --dir 
-c.electronDist=$electronDist \
--c.electronVersion=$electronVer"
-}
-
-package(){
-   cd desktop-${pkgver}
-   install -vDm755 dist/linux-unpacked/resources/app.asar -t 
"${pkgdir}/usr/lib/${pkgname%-git}/resources"
-
-   for i in 16 32 48 64 128 256 512; do
-   install -vDm644 resources/icons/${i}x${i}.png 
"${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname%-git}.png"
-   done
-   install -vDm644 resources/icon.png 
"${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/${pkgname%-git}.png"
-
-   install -vDm755 "${srcdir}/${pkgname%-git}.sh"