# Maintainer: Konstantin Stepanov <me@kstep.me>
pkgname=systemd-cron
pkgver=1.0.0.rc1
pkgrel=1
pkgdesc="systemd generator to generate timers/services from crontab and anacrontab files"
url="https://github.com/systemd-cron/systemd-cron-next"
arch=('any')
license=('GPL3')
depends=('systemd')
makedepends=('rust')
provides=('cron' 'anacron')
replaces=('cron' 'anacron')
source=('https://github.com/systemd-cron/systemd-crontab-generator/archive/master.zip')
md5sums=('SKIP')

build() {
    cd "$srcdir/systemd-cron-next-master"
    ./configure --prefix="$pkgdir/usr"
    make build
}

package() {
    cd "$srcdir/systemd-cron-next-master"
    make install
}
