pkgname: bat pkgver: '0.26.1' pkgrel: '2' pkgdesc: Cat clone with syntax highlighting and git integration url: 'https://github.com/sharkdp/bat' arch: x86_64 license: - APACHE MIT depends: [] makedepends: - git - make-ca - libssh2 - cmake - rustc source: - 'https://github.com/sharkdp/${pkgname}/archive/v${pkgver}.tar.gz' sha256sums: - 4474de87e084953eefc1120cf905a79f72bbbf85091e30cf37c9214eafcaa9c9 build: | cd ${pkgname}-${pkgver} cargo build --release install -Dm755 target/release/${pkgname} "${PKGDIR}/usr/bin/${pkgname}" find . -name bat.1 -type f \ -exec install -Dm644 {} ${PKGDIR}/usr/share/man/man1/bat.1 \; find . -name bast.zsh -type f \ -exec install -Dm644 {} ${PKGDIR}/usr/share/zsh/site-functions/_bat \; install -Dm644 LICENSE-APACHE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE-APACHE install -Dm644 LICENSE-MIT ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE-MIT package: | true