Files
guru/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild
Anna (cybertailor) Vyalkova 34b916e598 app-emulation/spice-html5: fix src_prepare
Closes: https://bugs.gentoo.org/889312
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2024-01-18 23:40:04 +05:00

25 lines
597 B
Bash

# Copyright 2019-2024 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.bz2"
S="${WORKDIR}/${PN}-${P}"
LICENSE="LGPL-3 MIT"
SLOT="0"
KEYWORDS="~amd64"
src_prepare() {
default
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
}