shellcheck-bin/PKGBUILD

44 lines
1.5 KiB
Bash

# Maintainer: Christian Schendel <doppelhelix@gmail.com>
# Contributor: Silvio <s.i.l.v.io..f.r.i.c.k.e@gmail.com>
# Contribute via: https://github.com/silvio/archlinux-package--shellcheck-bin
# Contributor: katt <magunasu.b97@gmail.com>
pkgname=shellcheck-bin
pkgver=0.11.0
pkgrel=3
url='https://shellcheck.net'
pkgdesc='Shell script analysis tool (binary release, static)'
license=(
GPL-3.0-only
)
arch=(
x86_64
armv6h
aarch64
)
conflicts=(
shellcheck
shellcheck-git
shellcheck-git-static
)
provides=(
shellcheck
)
source_x86_64=("https://github.com/koalaman/${pkgname%-bin}/releases/download/v${pkgver}/${pkgname%-bin}-v${pkgver}.linux.x86_64.tar.xz")
source_armv6h=("https://github.com/koalaman/${pkgname%-bin}/releases/download/v${pkgver}/${pkgname%-bin}-v${pkgver}.linux.armv6hf.tar.xz")
source_aarch64=("https://github.com/koalaman/${pkgname%-bin}/releases/download/v${pkgver}/${pkgname%-bin}-v${pkgver}.linux.aarch64.tar.xz")
b2sums_x86_64=('8485e00a25133925dcbea6c665025799c3435aebaf220a1a9a2e08272a5d88ac3f7cd71f7da984eec98a20a872718ca70785096f2549e98f0e6602b2920a98d7')
b2sums_armv6h=('f7e40b57b08a0d6f2a19ff6a4d1e82d8da834c3c0ed9056fef233e970505fe9e920bf37d24542152692edf1bd8ab2e343322501bfa09b174b67aa1e7a0f7138a')
b2sums_aarch64=('8b242a96044f5c8dc091170b517f2842596dfbeb305e32fd3934d613109dc777a2c3bd11af03b3d51a690ee4070ca3a8e2a48a7870b5855a93658cb7f67a52e8')
package() {
install -Dm755 "${pkgname%-bin}-v${pkgver}/${pkgname%-bin}" -t \
"${pkgdir}/usr/bin"
}
# vim: set ft=sh ts=4 sw=4 et: