1 # Maintainer: George Rawlinson <grawlinson@archlinux.org>
2 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
3 # Contributor: João Vitor S. Anjos <jvanjos at protonmail dot com>
8 pkgdesc='A command-line pager for JSON data'
10 url="https://github.com/PaulJuliusMartinez/jless"
12 depends=('gcc-libs' 'libxcb' 'libxkbcommon')
13 makedepends=('git' 'rust' 'python')
15 _commit='6f3b7bbe8ca463467a389ffe3c473993e4c4acd8'
16 source=("$pkgname::git+$url.git#commit=$_commit")
22 git describe --tags | sed 's/^v//'
28 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
34 cargo build --release --frozen
47 install -vDm755 -t "$pkgdir/usr/bin" target/release/jless
50 install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
53 install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
56 # vim:set ts=2 sw=2 et: