dev-js/core-js: unkeyword 3.17.3 for ~x86

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-09-29 16:24:32 +02:00
parent 6016108338
commit e4156c4bae
2 changed files with 14 additions and 33 deletions

View File

@@ -1,38 +1,15 @@
# Copyright 2021 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EAPI=7
DESCRIPTION="A modular standard library for JavaScript"
HOMEPAGE="https://github.com/zloirock/core-js"
SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz"
inherit node
DESCRIPTION="Standard library"
HOMEPAGE="
https://github.com/zloirock/core-js
https://www.npmjs.com/package/core-js
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="net-libs/nodejs"
BDEPEND="net-libs/nodejs[npm]"
src_compile() {
# nothing to compile here
:
}
S="${WORKDIR}/package"
src_install() {
npm \
--audit false \
--color false \
--foreground-scripts \
--global \
--offline \
--omit dev \
--prefix "${ED}"/usr \
--progress false \
--verbose \
install "${DISTDIR}/${P}".tgz || die "npm install failed"
einstalldocs
}
KEYWORDS="~amd64"

View File

@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<bugs-to>https://github.com/zloirock/core-js/issues</bugs-to>
<remote-id type="github">zloirock/core-js</remote-id>
</upstream>
</pkgmetadata>