summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 473b94c10d59fa17546e6c2ac099e5f39824e1c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <bruno.n.pagani@gmail.com>
# Contributor: Romain Labolle <ravomavain@gmail.com>

_pkgname=certbot
pkgname=${_pkgname}-user
pkgver=1.0.0
pkgrel=1
pkgdesc="Let’s Encrypt certbot systemd files for running as certbot user rather than root, with either standalone or webroot mode."
arch=('any')
license=('Apache')
url="https://certbot.eff.org"
depends=('certbot' 'systemd')
source=("${_pkgname}.service"
        "${_pkgname}.timer"
        "${_pkgname}.tmpfiles"
        "${_pkgname}.sysusers")
sha256sums=('e232526dc2cef75dce88c0e81505e9f86dccaa0a918ac1d633d731839789d41f'
            'cc5d7efe48a12b4605cd4d80e1883b1a87b80f937ca411fb051e9ca3df8cfa70'
            'e0a5fed17060e16612bcd29612f83f8289a7262049bbce112d33d531e08fa5a8'
            '151621a821f56178408851e016c7fda67dc4c726f210ad3279b29fd1f43282fa')

package() {
    install -Dm644 ${_pkgname}.{service,timer} -t "${pkgdir}"/usr/lib/systemd/system/
    install -Dm644 ${_pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${_pkgname}.conf
    install -Dm644 ${_pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${_pkgname}.conf
}