33 lines
685 B
Bash
Executable File
33 lines
685 B
Bash
Executable File
# Copyright 2020-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
|
|
inherit unpacker
|
|
|
|
DESCRIPTION="Web client for Polaris"
|
|
HOMEPAGE="https://github.com/agersant/polaris-web"
|
|
|
|
SRC_URI="https://github.com/agersant/polaris-web/releases/download/build-76/web.zip -> polaris-web.zip"
|
|
|
|
KEYWORDS="amd64"
|
|
|
|
# LICENSE=""
|
|
SLOT="0"
|
|
|
|
BDEPEND="
|
|
"
|
|
|
|
S="${WORKDIR}/web"
|
|
|
|
|
|
src_install() {
|
|
# install src assets index.html playwright.config.ts postcss.config.js tailwind.config.js vite.config.ts
|
|
# insinto /etc/polaris/web/
|
|
dodir /etc/polaris/web
|
|
# doins index.html playwright.config.ts tailwind.config.js vite.config.ts
|
|
|
|
cp -r * ${D}/etc/polaris/web/
|
|
}
|