summaryrefslogtreecommitdiff
path: root/crypt-expiry-check/PKGBUILD
blob: 5a90ece3b76d9af71c5b4400ddd08b05511d4ad4 (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
27
28
29
30
31
32
33
34
35
36
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=crypt-expiry-check
pkgver=4.0.1
pkgrel=2
pkgdesc="Surveilance of expiry of gpg-keys and X.509 certificates"
arch=('any')
url="https://opensources.eckner.net/ls.php?ls=${pkgname}"
license=('GPL')
groups=()
depends=('openssl' 'gnupg')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=(
    'etc/crypt-expiry.checks'
    'etc/cron.daily/crypt-expiry-check'
)
options=()
source=(
    "${pkgname}-${pkgver}.tar.gz::https://opensources.eckner.net/dl.php?dl=${pkgname}-${pkgver}"
)
sha256sums=(
    "c0cb97f22d14305784f778fb4fbc05867f6f05d588461126a278d2dc54970428"
)

package() {

    cd ${pkgname}-${pkgver}
    install -D -t $pkgdir/usr/bin/ crypt-expiry-check
    install -D crypt-expiry-check.cron $pkgdir/etc/cron.daily/crypt-expiry-check
    touch $pkgdir/etc/crypt-expiry.checks

}