makedeb


caddy-bin 2.8.4-1


Fast web server with automatic HTTPS

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for caddy-bin.

# Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>

pkgname=caddy-bin
pkgver=2.8.4
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=('b8bec15d14fb033562af9f207850027bcbaa1f891edc9efe00d38bf39e1bf9944f8b6b8eba041ddd4c171cd70c905174c704d705be2f23bc678fe1eaf37a2485'
            '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: