summaryrefslogtreecommitdiff
path: root/pcr/cronjobs/PKGBUILD
blob: 60955d5b862682609a8212b9b576f1a5ca4b7575 (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
# Maintainer (Manjaro): artoo <artoo@manjaro.org>
# Contributor (Manjaro): williamh <williamh@gentoo.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=cronjobs
pkgver=20160402
pkgrel=1
pkgdesc="System cron jobs"
arch=('any')
groups=('openrc-base')
url="https://github.com/manjaro/packages-openrc"
license=('GPL')
depends=('cron')
source=('logrotate'
	'shadow'
	'update-db'
	'man-db'
	'sysstat')
sha256sums=('929b49a7383bb35db51ff625e622304e4e00b131886058e64d298b11cad19301'
            '1ba552869f2d45f14730079eca75ef4e316cceb58a1b0ab2cfce22e5b1f0dbc0'
            '9f0c18a683f0dbeeae3f673bc3b2dbe1b54173da1589598672f254eb7a708f1e'
            '1369e71764fcf32a9ca4b07cd37433d16aceae3a95e359289334135a11a2770d'
            '8357a3307f2db5c2c956e1ad77ef21e70763e9ae9d2e63c2f806f0f1c10226bd')

pkgver() {
	date +%Y%m%d
}


package() {
        install -d $pkgdir/etc/cron.daily
        install $srcdir/{logrotate,shadow,update-db,man-db,sysstat} $pkgdir/etc/cron.daily
}