fix polaris-web ebuild

This commit is contained in:
fabolous005 2025-02-05 20:18:55 +01:00
parent 2b4fc1dec2
commit 6d0a54ebda
3 changed files with 20 additions and 10 deletions

View File

@ -0,0 +1 @@
DIST polaris-web.zip 1394337 BLAKE2B 68c178de2ec495de5283cda4e6bed1139a2a335d0670d641c97f0d5824a7b711727f61b4cfdedee23a7b0045937fec0d305abd2caa6a78435fb31c4ac8e326bb SHA512 a1f33520d4445c79bb11cf59917934fc554be2d5b336c794ed65a0dfd942833488b8ba4e68e8067b8fa854a4d4566aff2bcb1516a59a6425a7a639f8b8e36ece

View File

@ -4,13 +4,14 @@
EAPI=8
inherit git-r3
inherit unpacker
DESCRIPTION="Web client for Polaris"
HOMEPAGE="https://github.com/agersant/polaris-web"
EGIT_REPO_URI="https://github.com/agersant/polaris-web.git"
SRC_URI="https://github.com/agersant/polaris-web/releases/download/build-76/web.zip -> polaris-web.zip"
KEYWORDS="amd64"
# LICENSE=""
SLOT="0"
@ -18,17 +19,14 @@ SLOT="0"
BDEPEND="
"
S="${WORKDIR}/web"
src_unpack() {
git-r3_src_unpack
}
src_install() {
# install src assets index.html playwright.config.ts postcss.config.js tailwind.config.js vite.config.ts
insinto /etc/polaris/web/
# insinto /etc/polaris/web/
dodir /etc/polaris/web
doins index.html playwright.config.ts tailwind.config.js vite.config.ts
# doins index.html playwright.config.ts tailwind.config.js vite.config.ts
cp -r src assets ${D}/etc/polaris/web/
cp -r * ${D}/etc/polaris/web/
}

View File

@ -0,0 +1,11 @@
BDEPEND=
DEFINED_PHASES=install unpack
DESCRIPTION=Web client for Polaris
EAPI=8
HOMEPAGE=https://github.com/agersant/polaris-web
INHERIT=unpacker
KEYWORDS=amd64
SLOT=0
SRC_URI=https://github.com/agersant/polaris-web/releases/download/build-76/web.zip -> polaris-web.zip
_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 unpacker fb4b84181244b3b9990fa0bf40232dd2
_md5_=8cb0919cd0e7c82e037386649342eb2e