# Maintainer: Olliver Schinagl pkgname=websocat pkgver=1.7.0 pkgrel=0 pkgdesc="Netcat, curl and socat for WebSockets" url="https://github.com/vi/websocat" arch="all !s390x !mips !mips64 !riscv64" # Limited by cargo/rust license="MIT" makedepends="cargo" options="net" source="https://github.com/vi/websocat/archive/v$pkgver/websocat-$pkgver.tar.gz" build() { cargo build --release --locked } check() { cargo test --release --locked } package() { install -Dm755 target/release/websocat -t "$pkgdir"/usr/bin } sha512sums="9087abff708503d9682d2bbe43faa45365f1a0623f7106493271478943f836c011a742d1f194392b9e65890f06185704db6a27eae91814888378e7ad75c137e8 websocat-1.7.0.tar.gz"