# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit unpacker DESCRIPTION="Folding@home v8 Web Control, the browser UI served by fah-client" HOMEPAGE="https://foldingathome.org/" # Prebuilt Vue/Vite bundle. The source (github.com/FoldingAtHome/fah-web-client-bastet) # ships no lockfile, so it is not rebuilt here; upstream publishes this zip. SRC_URI="https://download.foldingathome.org/releases/public/fah-web-control/debian-13-64bit/release/fah-web-control_${PV}.zip" S="${WORKDIR}" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64" RESTRICT="bindist mirror strip" BDEPEND="app-arch/unzip" src_install() { # The bundle's dist/ directory is the client's web root (index.html + assets). dodir /usr/share/fah-client/webui cp -a fah-web-control_${PV}/dist/. "${ED}"/usr/share/fah-client/webui/ || die dodoc fah-web-control_${PV}/LICENSE }