Package Details: wscat 5.2.0-2

Git Clone URL: https://aur.archlinux.org/wscat.git (read-only, click to copy)
Package Base: wscat
Description: Netcat-like utility for WebSockets
Upstream URL: https://github.com/websockets/wscat
Licenses: MIT
Submitter: kstep
Maintainer: Farzat
Last Packager: arth
Votes: 37
Popularity: 0.000000
First Submitted: 2015-10-01 07:09 (UTC)
Last Updated: 2022-12-29 09:19 (UTC)

Latest Comments

1 2 Next › Last »

Farzat commented on 2022-12-29 09:26 (UTC)

You're welcome!

arth commented on 2022-12-29 09:21 (UTC) (edited on 2022-12-29 09:22 (UTC) by arth)

Hi Farzat!

I have made the changes you indicated and added you as co-maintainer.

Thanks!

Farzat commented on 2022-12-29 09:05 (UTC)

This package the package directly through npm.

This goes against the guidelines for node.js packages found here: https://wiki.archlinux.org/title/Node.js_package_guidelines.

Here is a version I modified to be closer to the guidelines:

# Maintainer: Arturo Penen <apenen@gmail.com>
_pkgname=wscat
pkgname="$_pkgname"
pkgver=5.2.0
pkgrel=1
pkgdesc="Netcat-like utility for WebSockets"
url="https://github.com/websockets/wscat"
arch=("x86_64" "i686")
license=("MIT")
source=("https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz")
noextract=("${_pkgname}-${pkgver}.tgz")
sha256sums=('e8c4bb9bc66a2303c0e6a3f2cf2a0cc04ec29ccca8ae0371eda499e3811717a8')
depends=("nodejs")
makedepends=("npm")

package() {
    npm install -g --cache "${srcdir}/npm-cache" --prefix "${pkgdir}/usr" "${srcdir}/${_pkgname}-${pkgver}.tgz"

    # npm gives ownership of ALL FILES to build user
    # https://bugs.archlinux.org/task/63396
    chown -R root:root "${pkgdir}"
}

eXeC64 commented on 2020-09-07 21:44 (UTC)

Disowned, as I didn't have the time to maintain this properly.

fthiery commented on 2020-09-02 07:23 (UTC)

FYI this package has a wrong version: the PKGBUILD contains 4.0.0-1 but after installing, the version is reported as 4.0.1-1

eXeC64 commented on 2018-05-28 11:09 (UTC)

I've fixed the pkgver issue

manuelschneid3r commented on 2018-05-24 21:27 (UTC)

==> ERROR: pkgver is not allowed to be empty. ==> ERROR: pkgver() generated an invalid version: ==> ERROR: Makepkg was unable to build wscat.

frankenstein20 commented on 2018-05-12 19:15 (UTC)

can't install wscat pkgver() had a problem

kstep commented on 2017-09-11 08:05 (UTC)

Although it seems like pkgver variable should be declared anyway.

kstep commented on 2017-09-11 08:04 (UTC)

It's allowed. See https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver.28.29_function for reference.