summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorТомас2022-04-08 14:50:16 -0500
committerТомас2022-04-08 14:50:16 -0500
commit161d48d396adc422565517bc0ddd41501d671a5a (patch)
tree703846e00b9a8abcfdd54b0c64167a72b7b6b785
parent8407ebe0a640fd8288457159c8279d6a57edda4c (diff)
downloadaur-161d48d396adc422565517bc0ddd41501d671a5a.tar.gz
Updated the license
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b1b783324160..575abc562962 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="The Chef Client installation package includes everything you need to start converging your machines."
arch=('x86_64')
url="https://downloads.chef.io/chef-client/"
-license=('Apache')
+license=('custom:Chef EULA')
depends=()
conflicts=(chef chef-solo chef-dk cinc)
source=("https://packages.chef.io/files/stable/chef/${pkgver}/ubuntu/20.04/chef_${pkgver}-1_amd64.deb")
@@ -16,6 +16,8 @@ package() {
cd "$srcdir"
bsdtar -xf data.tar.xz -C "$pkgdir"
+ install -Dm644 "$pkgdir/opt/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
# link executables
binaries="chef-apply chef-shell knife chef-client chef-solo ohai"