aports/cron/mail/APKBUILD

23 lines
615 B
Plaintext
Raw Normal View History

2021-01-13 15:21:08 +00:00
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-cron-mail
pkgver=2021.01.13
pkgrel=1
pkgdesc="Mail backup maintenance scripts"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
install_if="redxen-config-dovecot"
depends="dcron"
source="
cron-daily
"
options="!check"
package() {
mkdir -p "$pkgdir"/var/mail/snapshots
install -Dm544 cron-daily "$pkgdir"/etc/periodic/daily/snapshot-mail
}
sha512sums="f89295c25569d57bd5b52255d06036be3d5bd8e40c2f9eeb8f4d6468d2dd510e9c7382348936f47e075d64105888fba9c6a2245c419acea862cd20f6339b1d42 cron-daily"