# Maintainer: Olliver Schinagl pkgname="websocat" pkgver="1.5.0" pkgrel=0 pkgdesc="Netcat, curl and socat for WebSockets" url="https://github.com/vi/websocat" arch="all !s390x" # Limited by cargo/rust license="MIT" makedepends="cargo" options="net" source="${pkgname}-${pkgver}.tar.gz::https://github.com/vi/websocat/archive/v${pkgver}.tar.gz" build() { cargo build --release } check() { cargo test --release } package() { cargo install --path . --root="${pkgdir}/usr" rm "${pkgdir}/usr/.crates.toml" } sha512sums="d161aee2153e5fec47e5e81f160abfb7a0b45c5c48f96af341d5d737cd77237fbdf1f9923e80b39a745e19f94ce225b2eb5aa0d03403e4d87ffc4b8b042b4709 websocat-1.5.0.tar.gz"