Package Details: fkill 6.0.1-1

Git Clone URL: (read-only, click to copy)
Package Base: fkill
Description: Fabulously kill processes. Cross-platform.
Upstream URL:
Keywords: cli nodejs
Licenses: MIT
Submitter: ivanfon
Maintainer: ivanfon
Last Packager: ivanfon
Votes: 7
Popularity: 0.004219
First Submitted: 2017-10-04 03:36
Last Updated: 2020-03-22 16:21

Latest Comments

abelian424 commented on 2021-01-01 08:15

newest versiom is 6.1.0

rillioy commented on 2020-03-25 02:29

Do I ignore this?:

npm WARN inquirer-autocomplete-prompt@1.0.2 requires a peer of inquirer@^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.

yochananmarqos commented on 2020-02-12 17:14

The noextract() array has a typo, it should be "$_npmname-$pkgver.tgz"

EDIT: Please use a temporary cache, remove references to the $pkgdir & $srcdir (requires jq) and install the license (requires extraction):

package() {
  npm install \
    --cache "$srcdir/npm-cache" \
    -g \
    --user root \
    --prefix "$pkgdir"/usr

  # Non-deterministic race in npm gives 777 permissions to random directories.
  # See for details.
  find "${pkgdir}"/usr -type d -exec chmod 755 {} +

  # Remove references to $pkgdir
  find "$pkgdir" -type f -name package.json -print0 | xargs -0 sed -i "/_where/d"

  # Remove references to $srcdir
  local tmppackage="$(mktemp)"
  local pkgjson="$pkgdir/usr/lib/node_modules/$_npmname/package.json"
  jq '.|=with_entries(select(.key|test("_.+")|not))' "$pkgjson" > "$tmppackage"
  mv "$tmppackage" "$pkgjson"
  chmod 644 "$pkgjson"

  install -Dm644 "$srcdir/package/license" -t "$pkgdir/usr/share/licenses/$pkgname"