blob: 4c67ecee58b6db0e1cd2782b62986abdcf8a7d4e (
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
32
33
34
35
36
|
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
# # I maintain this because:
# system version uses /usr/sbin
pkgname=cronie-openrc
pkgver=20181002
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=('7823956bf24a8778de10d8b4a9842763d25252f440a7ac7a310e0b995f8ff416')
pkgver() {
date +%Y%m%d
}
_inst_initd(){
install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
sed -e 's|/var/run|/run|g' \
-e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|g' \
-e 's|/usr/sbin|/usr/bin|g' \
-i ${pkgdir}/etc/init.d/$1
}
package() {
_inst_initd 'cronie'
}
|