1 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
2 # Contributor: Wesley Moore <wes@wezm.net>
7 pkgdesc="Simple terminal image viewer"
9 url="https://github.com/atanunq/viu"
11 depends=('gcc-libs' 'libsixel')
13 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
14 sha256sums=('9b359c2c7e78d418266654e4c94988b0495ddea62391fcf51512038dd3109146')
19 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
24 cargo build --frozen --release --features sixel
34 install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
35 install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
36 install -Dm 644 LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname"