2020-12-23 13:10:22 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
pkgname=redxen-cron-gitea
|
2020-12-27 13:04:43 +00:00
|
|
|
pkgver=2020.12.27
|
2020-12-23 13:10:22 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Gitea backup maintenance scripts"
|
|
|
|
url="https://git.redxen.eu/RedXen"
|
|
|
|
arch="noarch"
|
|
|
|
license="none"
|
|
|
|
install_if="redxen-config-gitea"
|
|
|
|
depends="dcron"
|
|
|
|
source="
|
|
|
|
cron-daily
|
|
|
|
"
|
|
|
|
options="!check"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -dm700 "$pkgdir"/gitea/snapshots
|
|
|
|
install -Dm544 cron-daily "$pkgdir"/etc/periodic/daily/snapshot-gitea
|
|
|
|
}
|
|
|
|
|
2020-12-27 13:04:43 +00:00
|
|
|
sha512sums="6293e66a7a24519958116a71adb0e05d25419302816118c58fac2673e3457f1955a2667effa097c588afd7e0e3b4deac95f04f646595e1a64b71bf4bddc0a5cc cron-daily"
|