New package: chef-client-12.5.1

This commit is contained in:
bougyman 2015-11-11 05:50:42 -06:00
parent 8f963b13b9
commit 113f3f0829
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Template file for 'chefdk'
pkgname=chef-client
version=12.5.1
revision=1
#create_wrksrc=yes
only_for_archs="x86_64 i686"
build_style=fetch
makedepends="dpkg"
short_desc="Client for the Chef Systems Integration Framework"
maintainer="bougyman <bougyman@voidlinux.eu>"
license="apache2"
homepage="https://github.com/chef/chef"
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
_debarch=amd64
checksum=656a4c4a8fd64d74d1d970fb0d07076d6f1d8230d37d751f2c3698a52d82c070
else
_debarch=i386
checksum=d2e82528eca2b247cd59998bb9e0ac3df41614c97337c7d52f69051cafa83bd4
fi
distfiles="https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/10.04/${XBPS_TARGET_MACHINE}/chef_${version}-1_${_debarch}.deb"
do_install() {
dpkg-deb --extract chef_${version}-1_${_debarch}.deb "$DESTDIR"
mkdir -p "$DESTDIR/usr/bin"
for bin in chef-apply chef-client chef-shell chef-solo knife ohai;do
ln -s /opt/chef/bin/${bin} "$DESTDIR"/usr/bin/${bin}
done
}