Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: Bitwarden-1.16.4
@ 2019-09-25 18:16 voidlinux-github
  2019-09-25 18:51 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-25 18:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

There is a new pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2678 bytes --]

From e7a29a361a4099d25bd6826be93f63b5e96943bc Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 54 +++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..64a58bca45b
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,54 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+	npm install
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+
+	vlicense LICENSE.txt
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
  2019-09-25 18:51 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-09-25 18:51 ` voidlinux-github
  2019-09-26  2:02 ` voidlinux-github
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-25 18:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

There is an updated pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2653 bytes --]

From 31ea5ce96fbb0db972092936d8289c29ccd3b4c4 Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 52 +++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..ed75f8f98ef
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,52 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+	npm install
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
@ 2019-09-25 18:51 ` voidlinux-github
  2019-09-25 18:51 ` voidlinux-github
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-25 18:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

There is an updated pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2653 bytes --]

From 31ea5ce96fbb0db972092936d8289c29ccd3b4c4 Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 52 +++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..ed75f8f98ef
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,52 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+	npm install
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
                   ` (2 preceding siblings ...)
  2019-09-26  2:02 ` voidlinux-github
@ 2019-09-26  2:02 ` voidlinux-github
  2019-09-26  2:37 ` voidlinux-github
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-26  2:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

There is an updated pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2667 bytes --]

From 724db85180afd0262103ea274c340c391faf1ccc Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 52 +++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..aee9e4a8212
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,52 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+	npm install --unsafe-perm
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
  2019-09-25 18:51 ` [PR PATCH] [Updated] " voidlinux-github
  2019-09-25 18:51 ` voidlinux-github
@ 2019-09-26  2:02 ` voidlinux-github
  2019-09-26  2:02 ` voidlinux-github
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-26  2:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

There is an updated pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2667 bytes --]

From 724db85180afd0262103ea274c340c391faf1ccc Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 52 +++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..aee9e4a8212
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,52 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+	npm install --unsafe-perm
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
                   ` (4 preceding siblings ...)
  2019-09-26  2:37 ` voidlinux-github
@ 2019-09-26  2:37 ` voidlinux-github
  2019-09-26  2:37 ` voidlinux-github
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-26  2:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

There is an updated pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2667 bytes --]

From 38d3687e2b81114f68c3fb6fd8684a85fd781c23 Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 52 +++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..aee9e4a8212
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,52 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+	npm install --unsafe-perm
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
                   ` (3 preceding siblings ...)
  2019-09-26  2:02 ` voidlinux-github
@ 2019-09-26  2:37 ` voidlinux-github
  2019-09-26  2:37 ` voidlinux-github
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-26  2:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

There is an updated pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2667 bytes --]

From 38d3687e2b81114f68c3fb6fd8684a85fd781c23 Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 52 +++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..aee9e4a8212
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,52 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+	npm install --unsafe-perm
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
                   ` (5 preceding siblings ...)
  2019-09-26  2:37 ` voidlinux-github
@ 2019-09-26  2:37 ` voidlinux-github
  2019-09-26  2:37 ` voidlinux-github
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-26  2:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

There is an updated pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2732 bytes --]

From 42584fb0a6b91933bc1a9bdfb9937e1e9a830b71 Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 53 +++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..d1c7dfc1a79
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,53 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+        # workaround for https://github.com/npm/npm/issues/3497
+	npm install --unsafe-perm
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
                   ` (6 preceding siblings ...)
  2019-09-26  2:37 ` voidlinux-github
@ 2019-09-26  2:37 ` voidlinux-github
  2019-09-26  2:38 ` voidlinux-github
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-26  2:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

There is an updated pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2732 bytes --]

From 42584fb0a6b91933bc1a9bdfb9937e1e9a830b71 Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 53 +++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..d1c7dfc1a79
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,53 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+        # workaround for https://github.com/npm/npm/issues/3497
+	npm install --unsafe-perm
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
                   ` (8 preceding siblings ...)
  2019-09-26  2:38 ` voidlinux-github
@ 2019-09-26  2:38 ` voidlinux-github
  2019-10-10 16:00 ` voidlinux-github
  2019-10-10 16:00 ` [PR PATCH] [Closed]: " voidlinux-github
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-26  2:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

There is an updated pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2725 bytes --]

From ac50d2e877734f2ec2a059c0d9300659fa0e28c6 Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 53 +++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..7203b34c0bd
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,53 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+	# workaround for https://github.com/npm/npm/issues/3497
+	npm install --unsafe-perm
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
                   ` (7 preceding siblings ...)
  2019-09-26  2:37 ` voidlinux-github
@ 2019-09-26  2:38 ` voidlinux-github
  2019-09-26  2:38 ` voidlinux-github
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-26  2:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

There is an updated pull request by ray851107 against master on the void-packages repository

https://github.com/ray851107/void-packages Bitwarden
https://github.com/void-linux/void-packages/pull/14720

New package: Bitwarden-1.16.4
https://github.com/bitwarden/desktop

A patch file from https://github.com/void-linux/void-packages/pull/14720.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bitwarden-14720.patch --]
[-- Type: text/x-diff, Size: 2725 bytes --]

From ac50d2e877734f2ec2a059c0d9300659fa0e28c6 Mon Sep 17 00:00:00 2001
From: ray851107 <16625236+ray851107@users.noreply.github.com>
Date: Thu, 26 Sep 2019 02:09:41 +0800
Subject: [PATCH] New package: Bitwarden-1.16.4

---
 srcpkgs/Bitwarden/files/bitwarden.desktop |  9 ++++
 srcpkgs/Bitwarden/template                | 53 +++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/Bitwarden/files/bitwarden.desktop
 create mode 100644 srcpkgs/Bitwarden/template

diff --git a/srcpkgs/Bitwarden/files/bitwarden.desktop b/srcpkgs/Bitwarden/files/bitwarden.desktop
new file mode 100644
index 00000000000..80403abb20e
--- /dev/null
+++ b/srcpkgs/Bitwarden/files/bitwarden.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bitwarden
+Exec=bitwarden %U
+Terminal=false
+Type=Application
+Icon=bitwarden
+StartupWMClass=Bitwarden
+Comment=A secure and free password manager for all of your devices.
+Categories=Utility;
diff --git a/srcpkgs/Bitwarden/template b/srcpkgs/Bitwarden/template
new file mode 100644
index 00000000000..7203b34c0bd
--- /dev/null
+++ b/srcpkgs/Bitwarden/template
@@ -0,0 +1,53 @@
+# Template file for 'Bitwarden'
+pkgname=Bitwarden
+version=1.16.4
+revision=1
+_jslib_commit=6b82cd0380d33c83e8b242713eb173d94e16e9f4
+archs="x86_64"
+wrksrc="desktop-${version}"
+hostmakedepends="git python nodejs-lts pkg-config"
+makedepends="libsecret-devel libXScrnSaver-devel"
+depends="libsecret"
+short_desc="Secure and free password manager for all of your devices"
+maintainer="ray851107 <ray851107@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://bitwarden.com"
+distfiles="
+ https://github.com/bitwarden/desktop/archive/v${version}.tar.gz
+ https://github.com/bitwarden/jslib/archive/${_jslib_commit}.tar.gz"
+checksum="
+ f947f924dd3be6102d869324249cf3506094a6c3bf55102196ecaebeecceee9f
+ 0e899a128a3c602c549a991d5d10e657b1b3b88eb4c8380598a1bd84fbd02f29"
+
+post_extract() {
+	rmdir jslib
+	mv -v ../jslib-${_jslib_commit} jslib
+}
+
+do_patch() {
+	vsed -i package.json -e 's/ && npm run sub:init//'
+}
+
+do_build() {
+	npm --prefix jslib install
+	# workaround for https://github.com/npm/npm/issues/3497
+	npm install --unsafe-perm
+	npm run build
+	./node_modules/.bin/electron-builder --dir build
+}
+
+do_install() {
+	vmkdir usr/lib/Bitwarden
+	vcopy dist/linux-unpacked/* usr/lib/Bitwarden
+
+	vmkdir usr/bin
+	ln -s /usr/lib/Bitwarden/bitwarden ${DESTDIR}/usr/bin/
+
+	vmkdir usr/share/applications
+	vinstall ${FILESDIR}/bitwarden.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor
+	for size in 16 32 48 128 256 512; do
+		vinstall resources/icons/${size}x${size}.png 644 usr/share/icons/hicolor/${size}x${size}/apps/ bitwarden.png
+	done
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
                   ` (9 preceding siblings ...)
  2019-09-26  2:38 ` voidlinux-github
@ 2019-10-10 16:00 ` voidlinux-github
  2019-10-10 16:00 ` [PR PATCH] [Closed]: " voidlinux-github
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-10 16:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

New comment by ray851107 on void-packages repository

https://github.com/void-linux/void-packages/pull/14720#issuecomment-540655032

Comment:
Closing as I no longer use Void Linux.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Closed]: New package: Bitwarden-1.16.4
  2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
                   ` (10 preceding siblings ...)
  2019-10-10 16:00 ` voidlinux-github
@ 2019-10-10 16:00 ` voidlinux-github
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-10 16:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

There's a closed pull request on the void-packages repository

New package: Bitwarden-1.16.4
https://github.com/void-linux/void-packages/pull/14720

Description:
https://github.com/bitwarden/desktop

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-10-10 16:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-25 18:16 [PR PATCH] New package: Bitwarden-1.16.4 voidlinux-github
2019-09-25 18:51 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-25 18:51 ` voidlinux-github
2019-09-26  2:02 ` voidlinux-github
2019-09-26  2:02 ` voidlinux-github
2019-09-26  2:37 ` voidlinux-github
2019-09-26  2:37 ` voidlinux-github
2019-09-26  2:37 ` voidlinux-github
2019-09-26  2:37 ` voidlinux-github
2019-09-26  2:38 ` voidlinux-github
2019-09-26  2:38 ` voidlinux-github
2019-10-10 16:00 ` voidlinux-github
2019-10-10 16:00 ` [PR PATCH] [Closed]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).