1 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
2 # Contributor: Sven-Hendrik Haase <svenstaro@gmail.com>
7 pkgdesc="Futuristic take on hexdump"
9 url="https://github.com/sitkevij/hex"
13 source=($pkgname-$pkgver.tar.gz::https://github.com/sitkevij/hex/archive/v${pkgver}.tar.gz)
14 sha512sums=('5b5706d931c4f6a9a21de5e883b264c9a2831a8be463a5283ac4cd3552eb44c480f45779fa6364dd97390a2d38f252b44313e4567186ec42c594451f295e648f')
17 cd "$srcdir/$pkgname-$pkgver"
23 cd "$srcdir/$pkgname-$pkgver"
25 cargo build --release --frozen
29 cd "$srcdir/$pkgname-$pkgver"
36 cd "$srcdir/$pkgname-$pkgver"
38 install -Dm755 target/release/hx "$pkgdir"/usr/bin/hx
39 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
40 install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
43 # vim:set ts=2 sw=2 et: