www-apps/vaultwarden-web-bin: precompiled Web UI for Vaultwarden

initial release 2024.1.2b

Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
This commit is contained in:
Rahil Bhimjiani
2024-02-21 21:05:37 +05:30
parent cd2faf0f21
commit 45ed00a6a0
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST vaultwarden-web-bin-2024.1.2b.tar.gz 11259948 BLAKE2B 6d899b53972df56ca76c63f84375a95629c8da43026b16f0ffd09b70ab46b8db530163976f6854325cd70513d0be31c394256153b7a9cfec4c3f627fd3d3b80c SHA512 0157c751f5869de261c93624a1fa168a96e86ad1a169727bee428bb9d804b8bfac3d7b8e4b993e2e5d2414ee99a016702eb750d81c3cc71c9e4c659a5ff7b37f

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>me@rahil.rocks</email>
<name>Rahil Bhimjiani</name>
</maintainer>
<upstream>
<remote-id type="github">dani-garcia/bw_web_builds</remote-id>
<bugs-to>https://github.com/dani-garcia/bw_web_builds/issues</bugs-to>
<doc>https://github.com/dani-garcia/bw_web_builds/blob/master/README.md</doc>
</upstream>
</pkgmetadata>

View File

@@ -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 *
}