# Maintainer: Morteza NourelahiAlamdari pkgname="datree" pkgver="0.1.741" pkgrel=3 pkgdesc="Prevent Kubernetes misconfigurations from reaching production (again triumph)! Datree is a CLI tool to ensure K8s manifests and Helm charts follow best practices as well as your organization’s policies." arch=('x86_64') url="https://github.com/datreeio/datree" license=('Apache-2.0') source=("https://github.com/datreeio/${pkgname}/releases/download/${pkgver}/${pkgname}-cli_${pkgver}_Linux_x86_64.zip") sha256sums=('1dcd222c28c53bb223b4776279d7429c7b798f9a46a92d607dd4d19701a3640e') package() { mkdir -p "${pkgdir}/usr/local/bin" install -Dm755 "${pkgname}" "$pkgdir/usr/local/bin/${pkgname}" install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}" install -Dvm644 'LICENSE.md' -t "${pkgdir}/usr/share/licenses/${pkgname}" }