www-apps/code-server-bin: bump to 3.8.0; 0/12 slot; other misc fixes

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć
2020-12-19 07:26:08 +01:00
parent 18c727f335
commit b6a4f96956
5 changed files with 98 additions and 19 deletions

View File

@@ -4,8 +4,8 @@
EAPI=7
MY_PN="${PN/-bin/}"
MY_PV="${MY_PN}-${PV}"
BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_PV}-linux"
MY_P="${MY_PN}-${PV}"
BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
inherit systemd
@@ -16,6 +16,7 @@ SRC_URI="
arm64? ( ${BASE_URI}-arm64.tar.gz )
"
RESTRICT="test"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
@@ -26,16 +27,18 @@ DEPEND="
"
RDEPEND="
${DEPEND}
>=net-libs/nodejs-12.16.1[ssl]
>=net-libs/nodejs-12.16.1:0/12[ssl]
sys-apps/ripgrep
"
S="${WORKDIR}/${MY_PV}-linux-${ARCH}"
S="${WORKDIR}/${MY_P}-linux-${ARCH}"
PATCHES=(
"${FILESDIR}/${PN}-node.patch"
)
DOCS=( README.md ThirdPartyNotices.txt )
src_prepare() {
default
@@ -58,11 +61,7 @@ src_prepare() {
}
src_install() {
local mydocs="README.md ThirdPartyNotices.txt"
for doc in ${mydocs}
do
(dodoc "${doc}" && rm "${doc}") || die
done
einstalldocs
insinto "/usr/lib/${MY_PN}"
doins -r .