mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
Closes: https://bugs.gentoo.org/838829 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
24 lines
581 B
Bash
24 lines
581 B
Bash
# Copyright 2019-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Spice Javascript client"
|
|
HOMEPAGE="https://gitlab.freedesktop.org/spice/spice-html5"
|
|
SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}-${P}"
|
|
|
|
LICENSE="LGPL-3 MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
src_compile() {
|
|
sed -e "s/VERSION/${PV}/" < package.json.in > package.json || die
|
|
}
|
|
|
|
src_install() {
|
|
dodoc README TODO apache.conf.sample
|
|
insinto /usr/share/spice-html5
|
|
doins -r src *.html *.json *.css
|
|
}
|