makedeb
A cat1 clone with wings
Viewing /PKGBUILD
.
Click here to go back to the Git tree for bat-cat-bin.
# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname="bat-cat-bin"
pkgver=0.22.1
pkgrel=1
arch=('amd64' 'i686' 'arm' 'aarch64')
pkgdesc="A cat1 clone with wings"
url="https://github.com/sharkdp/bat"
makedepends=('cargo')
license=('Apache-2.0')
provides=('bat' 'batcat')
conflicts=('bat' 'batcat')
#replaces=('bat')
source_amd64=("https://github.com/sharkdp/bat/releases/download/v${pkgver}/bat_${pkgver}_amd64.deb")
source_aarch64=("https://github.com/sharkdp/bat/releases/download/v${pkgver}/bat_${pkgver}_arm64.deb")
source_arm=("https://github.com/sharkdp/bat/releases/download/v${pkgver}/bat_${pkgver}_armhf.deb")
source_i686=("https://github.com/sharkdp/bat/releases/download/v${pkgver}/bat_${pkgver}_i686.deb")
sha512sums_amd64=("80c1f5ceafba2836a1dae4ebb73d522062f7cf412e592909c5b1746ae5d8a88c080b51d4582a024074539957e9f4a42d85c1c3670e05e424e980003416d37c5a")
sha512sums_aarch64=("6275450a91079028a611d38639673e3863ed11ab7a26870667bb0e1ac55106328fcbdffa6b190df545897725ecb19fa1468e07a772edffa725ef0a1333d7d63d")
sha512sums_arm=("0af76b49c35cad4623ef78d7ad63fc8afb2cc84707ebfc290189a61e26c9d3c0155af64cdcd82bb9724c2b0f1a0ecbfa872bd4d3d3f446ccc296b58a5090929b")
sha512sums_i686=("83b877119a15f11e6e7c38411f4a6cfe48f48f4ab6540513b15e94262b7d1b500f5218e81994a6f438c203e86d934b1cd25ea6a5657c9deec42222a3c81bc46f")
package() {
#Extract data.tar.xz to pkgdir
msg2 "Extracting data.tar.gz..."
tar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}"
}