summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14a5735df905d466e340207820a7b7605a1d7cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Konstantin Stepanov <me@kstep.me>
pkgname=systemd-cron-next
pkgver=1.0.0.rc1
pkgrel=2
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-cron-next/archive/v1.0.0-rc1.zip')
md5sums=('a7d5415795cd166d258f72e5cebcfaee')

build() {
    cd "$srcdir/systemd-cron-next-1.0.0-rc1"
    if which multirust; then
        multirust override stable
    fi
    ./configure --prefix="$pkgdir/usr"
    make build
}

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