blob: 8bd400d4e73b4ab36d0e7f4873416e6562647413 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
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"
|