# Contributor: TBK # Maintainer: TBK pkgname=asciinema-rs pkgver=0.5.1 pkgrel=0 pkgdesc="A reimplementation of the asciinema command line program written in Rust." url="https://github.com/LegNeato/asciinema-rs" arch="x86_64" # Limited by cargo license="Apache-2.0 MIT" provides="asciinema" makedepends="cargo openssl-dev" source="https://github.com/LegNeato/asciinema-rs/archive/v$pkgver/$pkgname-v$pkgver.tar.gz" build() { cargo build --release --locked } check() { cargo test --release --locked } package() { install -Dt "$pkgdir"/usr/bin target/release/asciinema } sha512sums="59a786a6a82122c33200bc7eb30e96e38548e45eb478eae259fa8ccd601b0bd596d4d9066ce75a5dc95abdaa97554f4a05cc2218b4c228566a65ed510d35c600 asciinema-rs-v0.5.1.tar.gz"