init
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
commit
e9f15f24c1
25
PKGBUILD
Normal file
25
PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
||||
|
||||
pkgname=chef-client
|
||||
pkgver=13.6.0
|
||||
pkgrel=1; _debian_pkgrel=1
|
||||
pkgdesc=''
|
||||
url=''
|
||||
arch=( 'x86_64' )
|
||||
license=( 'Apache' )
|
||||
options=(!strip)
|
||||
|
||||
source=( "https://packages.chef.io/files/stable/chef/${pkgver}/debian/8/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=('5d41a09a479aee17a203b4c433f550e84b65320d')
|
Reference in New Issue
Block a user