summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorТомас2022-04-08 14:50:04 -0500
committerТомас2022-04-08 14:50:04 -0500
commit2c0826a1c63a169a8b58bc030f6fc93ef9fde314 (patch)
treec3044f377bd49e99d0cd389934e5c7ddd3edf33e
parentd97b0d5a62310bc0e756ee0324eb17a30d25c931 (diff)
downloadaur-2c0826a1c63a169a8b58bc030f6fc93ef9fde314.tar.gz
Updated the license
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c021638784c..7024f7ed951 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="The Chef server works with the Chef client as a central artifact store and distribution mechanism that manages scale, complexity, and safeguarding your systems. "
arch=('x86_64')
url="https://downloads.chef.io/chef-server/"
-license=('Apache')
+license=('custom:Chef EULA')
depends=()
conflicts=( chef chef-solo chef-client chef-dk )
source=("https://packages.chef.io/files/stable/chef-server/${pkgver}/ubuntu/18.04/chef-server-core_${pkgver}-${_ubunturel}_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-client chef-server-ctl chef-shell chef-solo gather-logs knife ohai"