summaryrefslogtreecommitdiff
path: root/crypt-expiry-check/PKGBUILD
blob: 367d6df3af932788c611f0d8d454da0a9561462e (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=""
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::http://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

}