chef-client: remove dpkg makedepend

This commit is contained in:
bougyman 2015-11-11 06:18:17 -06:00
parent 92643b83e0
commit 2c06435422
1 changed files with 2 additions and 4 deletions

View File

@ -2,10 +2,8 @@
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"
@ -20,8 +18,8 @@ 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"
ar p chef_${version}-1_${_debarch}.deb data.tar.gz | tar xzf - -C "${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