aports/cron/postgresql/APKBUILD

23 lines
654 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-cron-postgresql
pkgver=2020.12.23
pkgrel=0
pkgdesc="Postgresql backup maintenance scripts"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
install_if="redxen-config-postgresql"
depends="dcron"
source="
cron-daily
"
options="!check"
package() {
install -dm700 "$pkgdir"/databases/snapshots/postgresql
install -Dm544 cron-daily "$pkgdir"/etc/periodic/daily/snapshot-postgresql
}
sha512sums="08d72ce9693771bbb73b5af98f4b09f8c3b9bd766065b7f8541b4348401c5ec378119deff29eb8a799bbcd0cea23afc54d34bf3f299d961a68569a621bd73754 cron-daily"