aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asciinema-rs/APKBUILD
blob: 0c806f73120b1f76fbcaacfe3c0483472e5ae0ae (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
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
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"