diff --git a/www-apps/vaultwarden-web-bin/Manifest b/www-apps/vaultwarden-web-bin/Manifest new file mode 100644 index 0000000000..41fc04069d --- /dev/null +++ b/www-apps/vaultwarden-web-bin/Manifest @@ -0,0 +1 @@ +DIST vaultwarden-web-bin-2024.1.2b.tar.gz 11259948 BLAKE2B 6d899b53972df56ca76c63f84375a95629c8da43026b16f0ffd09b70ab46b8db530163976f6854325cd70513d0be31c394256153b7a9cfec4c3f627fd3d3b80c SHA512 0157c751f5869de261c93624a1fa168a96e86ad1a169727bee428bb9d804b8bfac3d7b8e4b993e2e5d2414ee99a016702eb750d81c3cc71c9e4c659a5ff7b37f diff --git a/www-apps/vaultwarden-web-bin/metadata.xml b/www-apps/vaultwarden-web-bin/metadata.xml new file mode 100644 index 0000000000..889a71396a --- /dev/null +++ b/www-apps/vaultwarden-web-bin/metadata.xml @@ -0,0 +1,13 @@ + + + + + me@rahil.rocks + Rahil Bhimjiani + + + dani-garcia/bw_web_builds + https://github.com/dani-garcia/bw_web_builds/issues + https://github.com/dani-garcia/bw_web_builds/blob/master/README.md + + diff --git a/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.1.2b.ebuild b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.1.2b.ebuild new file mode 100644 index 0000000000..a750806584 --- /dev/null +++ b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.1.2b.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 * +}