summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 969a02f845af17a40aab3425d5224820c361f1e7 (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
29
30
31
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>

# # I maintain this because:
# system version uses /usr/sbin

pkgname=cronie-openrc
pkgver=20181030
pkgrel=1
pkgdesc="OpenRC cronie init script"
arch=('any')
url="https://neueland.iserlohn-fortress.net/gitea/jc_gargma"
license=('GPL2')
groups=('openrc-system')
depends=('openrc' 'cronie')
provides=('openrc-cron' 'init-cron')
conflicts=('fcron' 'fcron-openrc' 'init-cron')
backup=('etc/init.d/cronie')
source=("cronie.initd")
sha256sums=('2f9bff24476bd24cf031a46cfe2687bf60158797aef6e6c425146abd323e798e')

pkgver() {
    date +%Y%m%d
}

_inst_initd(){
    install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
}

package() {
    _inst_initd 'cronie'
}