diff options
author | pancho horrillo | 2018-11-13 06:31:24 +0100 |
---|---|---|
committer | pancho horrillo | 2018-11-13 06:31:24 +0100 |
commit | 6d85f710a5dacef4cdbcb4c7a8e66e66e621d446 (patch) | |
tree | 3a33d57181578e1a3c389ff2cdc9ee5c49def33e | |
parent | 93a35453905d75abd464e830877c5bd7762fa014 (diff) | |
download | aur-6d85f710a5dacef4cdbcb4c7a8e66e66e621d446.tar.gz |
Declare custom license and install EULA
Thanks to @editicalu for pointing out that the governing license for the
binaries is not Apache but a custom EULA.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 6 insertions, 5 deletions
@@ -1,13 +1,13 @@ # Generated by mksrcinfo v8 -# Sat Jun 30 17:47:30 UTC 2018 +# Tue Nov 13 05:30:28 UTC 2018 pkgbase = caddy-bin pkgdesc = HTTP/2 web server with automatic HTTPS pkgver = 0.11.0 - pkgrel = 1 + pkgrel = 2 url = https://caddyserver.com install = caddy.install arch = x86_64 - license = Apache + license = custom provides = caddy conflicts = caddy backup = etc/caddy/caddy.conf @@ -5,11 +5,11 @@ _name="caddy" pkgname="$_name-bin" pkgver=0.11.0 -pkgrel=1 +pkgrel=2 pkgdesc='HTTP/2 web server with automatic HTTPS' arch=('x86_64') url='https://caddyserver.com' -license=('Apache') +license=('custom') backup=('etc/caddy/caddy.conf') provides=("$_name") conflicts=("$_name") @@ -28,6 +28,7 @@ sha512sums=('ae9502c86347a0b33ec9acfbfb3f5125c0bba6e76c02c7c302c27e14c5063179525 'c329cfa66428287cc554274790130f94f13d53d60a2d4ffba44a229913805f8bcf50e2df0073808009e57f026f2f0962d412cc38723719e6c248d90aaa4fdd33') package() { + install -D -m 0644 EULA.txt "$pkgdir/usr/share/licenses/caddy/EULA.txt" install -D -m 0755 caddy "$pkgdir/usr/bin/caddy" install -D -m 0644 caddy-at-your-service-white.svg "$pkgdir/usr/share/caddy/caddy-at-your-service-white.svg" install -D -m 0644 index.html "$pkgdir/usr/share/caddy/index.html" |