commit:     f42badb8c218d48400c4bb1a22bc912decdc1738
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Tue Mar 26 14:04:08 2024 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Tue Mar 26 19:48:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f42badb8

www-apps/vaultwarden-web-bin: add 2024.3.0

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

 www-apps/vaultwarden-web-bin/Manifest              |  1 +
 .../vaultwarden-web-bin-2024.3.0.ebuild            | 29 ++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/www-apps/vaultwarden-web-bin/Manifest 
b/www-apps/vaultwarden-web-bin/Manifest
index 41fc04069d..5b96dd85cf 100644
--- a/www-apps/vaultwarden-web-bin/Manifest
+++ b/www-apps/vaultwarden-web-bin/Manifest
@@ -1 +1,2 @@
 DIST vaultwarden-web-bin-2024.1.2b.tar.gz 11259948 BLAKE2B 
6d899b53972df56ca76c63f84375a95629c8da43026b16f0ffd09b70ab46b8db530163976f6854325cd70513d0be31c394256153b7a9cfec4c3f627fd3d3b80c
 SHA512 
0157c751f5869de261c93624a1fa168a96e86ad1a169727bee428bb9d804b8bfac3d7b8e4b993e2e5d2414ee99a016702eb750d81c3cc71c9e4c659a5ff7b37f
+DIST vaultwarden-web-bin-2024.3.0.tar.gz 11600867 BLAKE2B 
2dfd4181800f613d57721c176763a6f609dba9bdf09f660042b31b07ae3d6ea33c879f24b2ce6ce33e4dcb9eeffbabfcf7aab7f9f3e8213fdc5dac2ff8be3071
 SHA512 
e17b956082f4788beaf8b7ef4aa73b16b35f264a568fc3d6593b69cf87c817c7ac8c5ff19336795cab3600b7f00de52b129242c84953fab996bc3f8cc94c249b

diff --git a/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.3.0.ebuild 
b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.3.0.ebuild
new file mode 100644
index 0000000000..a750806584
--- /dev/null
+++ b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.3.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Prebuilt Vaultwarden web from upstream"
+HOMEPAGE="https://github.com/dani-garcia/bw_web_builds";
+
+SRC_URI="
+       
https://github.com/dani-garcia/bw_web_builds/releases/download/v${PV}/bw_web_v${PV}.tar.gz
 -> ${P}.tar.gz
+"
+
+S="${WORKDIR}/web-vault"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="!www-apps/vaultwarden-web"
+
+src_prepare() {
+       default
+       # although following is optional in upstream's build process, it 
reduced build dir size from 44M to 25M
+       find -name "*.map" -delete || die
+}
+
+src_install() {
+       insinto /usr/share/webapps/"${PN%-bin}"
+       doins -r *
+}

Reply via email to