From 2c0643542221266486407a80154dca2a57ea5fc7 Mon Sep 17 00:00:00 2001 From: bougyman Date: Wed, 11 Nov 2015 06:18:17 -0600 Subject: [PATCH] chef-client: remove dpkg makedepend --- srcpkgs/chef-client/template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/srcpkgs/chef-client/template b/srcpkgs/chef-client/template index 3589051f670..0d13a2a0942 100644 --- a/srcpkgs/chef-client/template +++ b/srcpkgs/chef-client/template @@ -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 " 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