summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 001987c13c23c3c62a8bf09a4c9a9fa55528973f (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)
url="https://certbot.eff.org"
license=(GPL)
depends=(certbot systemd)
source=("${_pkgname}.service"
        "${_pkgname}.timer"
        "${_pkgname}.tmpfiles"
        "${_pkgname}.sysusers")
sha256sums=('e232526dc2cef75dce88c0e81505e9f86dccaa0a918ac1d633d731839789d41f'
            '6a9f7b26bb61e9c9859e034d9577029f6b6514eeb89fcabf92a95f6e519a7246'
            '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
}