makedeb
Fast web server with automatic HTTPS
Viewing /PKGBUILD
.
Click here to go back to the Git tree for caddy-bin.
# Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>
pkgname=caddy-bin
pkgver=2.9.0
pkgrel=1
pkgdesc='Fast web server with automatic HTTPS'
url='https://caddyserver.com'
arch=('amd64')
license=('Apache')
depends=('libc-bin')
backup=('/etc/caddy/Caddyfile')
source=("https://github.com/caddyserver/caddy/releases/download/v${pkgver}/caddy_${pkgver}_linux_amd64.tar.gz"
caddy.service
Caddyfile)
sha512sums=('0ded9ebe69e3341be5278f9f5c000c643fdeaab482ae1464bad0f2d77cb49c55fc0388f10e5d86950d43ef7ef1c72e3a16fbe7bd94592081c024966b9738268e'
'48ce631d19a40a66fdddb5779c909c21ea858e350a45c4459023a957377e2af7712b53bf8ce4f911ff5db1c7e5b3942477fea66f407ad0de1912a9bd8bd954a4'
'64bfcef743eadd1fc1bc49b5e8c9ec91bbb97997a5b903283f6fe54143326758210d43210fda7aef26c7fadacfedd3685c66e179cd90e75a854aca68cfaf01e6')
extensions=()
package() {
install -Dm755 "${srcdir}/caddy" "${pkgdir}/usr/bin/caddy"
install -Dm644 "${srcdir}/Caddyfile" "${pkgdir}/etc/caddy/Caddyfile"
install -Dm644 "${srcdir}/caddy.service" "${pkgdir}/usr/lib/systemd/system/caddy.service"
}
# vim: ts=2 sw=2 et: