mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 23:01:02 +02:00
electron-packager: 13.0.1 new version
This commit is contained in:
parent
c0fdebf0ac
commit
6c7470bd97
2 changed files with 49 additions and 0 deletions
2
dev-util/electron-packager/Manifest
Normal file
2
dev-util/electron-packager/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST electron-packager-13.0.1-npm-cache.tar.gz 3439293 BLAKE2B 8c48b14d9dde2fde19ed7ba9d3667bdb3c3a714a3081f27099d5e24b499a2f5029c5401cd71d6fd022a0b2d3f2f11fc93a609ea4001dcb6e5c589c4bcecb8b6a SHA512 3ef8d0d8a249cf81ccf873e09f61630204729d2ec104681fc34024c426f333d9eafeab1801d5995c7309467a5022bb7d1ab799b07a8cc08d7967b424ccbb051f
|
||||
DIST electron-packager-13.0.1.tar.gz 168324 BLAKE2B 53ee57ac3a15b620441d9a911d2058a8388c7507f4e08f2b5cf37cf4818c6ea0c7af29906626375f03083484c15fe6ce8bc26fab6d248b27abb2cce74baa2c5b SHA512 f160daafb57c5008bed470f0a54bcbf9b7c344e906e455663a73069ce0b0114226e63a7c3f6d24ea285f50ab39a911a17c4506e26296abd105e3d19cd426b351
|
||||
47
dev-util/electron-packager/electron-packager-13.0.1.ebuild
Normal file
47
dev-util/electron-packager/electron-packager-13.0.1.ebuild
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Six Degrees of Domain Admin"
|
||||
HOMEPAGE="https://github.com/BloodHoundAD/BloodHound"
|
||||
SRC_URI="https://github.com/electron-userland/electron-packager//archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.pentoo.ch/~blshkv/distfiles/electron-packager-13.0.1-npm-cache.tar.gz"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="net-libs/nodejs[npm]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile(){
|
||||
# For use in npm scripts (recommended)
|
||||
# npm install electron-packager --save-dev
|
||||
|
||||
# For use from the CLI
|
||||
npm install electron-packager -g --prefix "${EPREFIX}" \
|
||||
--cache="${WORKDIR}/${P}-npm-cache"
|
||||
|
||||
# sys-cluster/ceph
|
||||
# --offline --no-save --verbose --parseable \
|
||||
# --no-rollback --no-progress --fetch-retries=0 \
|
||||
# --nodedir="/usr/include/node" \
|
||||
# --cache="${WORKDIR}/${P}-npm-cache" \
|
||||
# --registry="http://npmjs.invalid" \
|
||||
# --sass-binary-site="http://sass.invalid"
|
||||
}
|
||||
|
||||
src_install(){
|
||||
local npm_module_dir="/usr/$(get_libdir)/node_modules/npm/node_modules/${PN}"
|
||||
insinto "${npm_module_dir}"
|
||||
doins *.js package.json usage.txt
|
||||
doins -r lib64/node_modules/electron-packager/node_modules
|
||||
dodoc CONTRIBUTING.md readme.md
|
||||
|
||||
use doc && dodoc -r docs
|
||||
|
||||
fperms +x "${npm_module_dir}/cli.js"
|
||||
dosym "${npm_module_dir}/cli.js" "/usr/bin/${PN}"
|
||||
}
|
||||
Loading…
Reference in a new issue