37 lines
1.4 KiB
Bash
37 lines
1.4 KiB
Bash
# Maintainer: Konstantin Stepanov <me@kstep.me>
|
|
pkgname=systemd-crontab-generator
|
|
pkgver=0.6
|
|
pkgrel=1
|
|
pkgdesc="systemd generator to generate timers/services from crontab and anacrontab files"
|
|
url="https://github.com/kstep/systemd-crontab-generator"
|
|
arch=('any')
|
|
license=('GPL3')
|
|
depends=('python2' 'systemd')
|
|
provides=('cron' 'anacron')
|
|
replaces=('cron' 'anacron')
|
|
source=(systemd-crontab-generator
|
|
systemd-crontab-update
|
|
cron.target
|
|
crontab)
|
|
md5sums=('65ab9f843c39d6ceca1f67abb8eca9de'
|
|
'054206bd63854dd6b27890c855a34ce8'
|
|
'97450f27b69a1e88f1b21faad403df7c'
|
|
'cbda4f9509494bd621b89a537e86b248')
|
|
|
|
build() {
|
|
echo
|
|
}
|
|
|
|
package() {
|
|
install --mode=0755 -D systemd-crontab-generator ${pkgdir}/usr/lib/systemd/system-generators/systemd-crontab-generator
|
|
install --mode=0644 -D man/systemd-crontab-generator.1 ${pkgdir}/usr/share/man/man1/systemd-crontab-generator.1
|
|
gzip {$pkgdir}/usr/share/man/man1/systemd-crontab-generator.1
|
|
install --mode=0755 -D systemd-crontab-update ${pkgdir}/usr/bin/systemd-crontab-update
|
|
install --mode=0644 -D cron.target ${pkgdir}/usr/lib/systemd/system/cron.target
|
|
install --mode=0755 -D crontab ${pkgdir}/usr/bin/crontab
|
|
install --mode=0644 -D man/crontab.1 ${pkgdir}/usr/share/man/man1/crontab.1
|
|
gzip {$pkgdir}/usr/share/man/man1/crontab.1
|
|
install --mode=0644 -D man/crontab.5 ${pkgdir}/usr/share/man/man5/crontab.5
|
|
gzip {$pkgdir}/usr/share/man/man5/crontab.5
|
|
}
|