1 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
6 pkgdesc="Screen{shot,cast} and perform ImageOps on the command line"
8 url="https://github.com/orhun/menyoki"
10 depends=('gcc-libs' 'libxrandr' 'libsixel')
12 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
13 sha512sums=('fca337a78a4dddfde3b1fde2d42a33df098a868e50fe324c710354834acb8e5198e4112c52441a78e763cd9a875feb0d020af13c7a5305385d580dc34d7ce7f9')
18 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
23 cargo build --release --frozen --features sixel
33 install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
34 install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
35 install -Dm 644 "man/$pkgname.1" -t "$pkgdir/usr/share/man/man1"
36 install -Dm 644 "man/$pkgname.conf.5" -t "$pkgdir/usr/share/man/man5"
37 install -Dm 644 "completions/$pkgname.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname"
38 install -Dm 644 "completions/$pkgname.fish" -t "${pkgdir}/usr/share/fish/completions"
39 install -Dm 644 "completions/$pkgname.zsh" "${pkgdir}/usr/share/zsh/site-functions/_$pkgname"