# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname=chef-client
pkgver=14.3.37
pkgrel=1; _debian_pkgrel=1
debian_version=9
pkgdesc='Chef client'
url='https://downloads.chef.io/chef'
arch=( 'x86_64' )
license=( 'Apache' )
options=(!strip)
source=( "https://packages.chef.io/files/stable/chef/${pkgver}/debian/${debian_version}/chef_${pkgver}-${_debian_pkgrel}_amd64.deb" )
package() {
tar -xf data.tar.xz -C "$pkgdir"
mkdir -pm755 "$pkgdir/usr/bin"
binaries=( chef-client chef-shell chef-solo chef-apply ohai knife )
for b in "${binaries[@]}"; do
ln -s "/opt/chef/bin/$b" "$pkgdir/usr/bin"
done
}
sha1sums=('ff655ded4061dd802cc8bc1d839b6ca6d10e2b5e')