blob: e81062998ca4cc72f273d4555a9d164d1519b906 (
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
37
38
39
40
|
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
# Maintainer (Artix): Rafli Akmal <rafliakmaltejakusuma@gmail.com>
# Contributor (Artix): artoo <artoo@artixlinux.org>
# Contributor (Artix): Oscar Campos <damnwidget@artixlinux.org>
# # I maintain this because:
# system version uses /usr/sbin
pkgname=acpid-openrc
pkgver=20181217
pkgrel=1
pkgdesc="OpenRC acpid init script"
arch=('any')
url="https://neueland.iserlohn-fortress.net/gitea/jc_gargma"
license=('GPL2')
groups=('openrc-galaxy')
depends=('openrc' 'acpid')
conflicts=('systemd-sysvcompat')
backup=('etc/conf.d/acpid')
source=("acpid.confd"
"acpid.initd")
sha256sums=('328913101f06a80b36eead6a258f310cb4e560405f0f45e25a6655381cc40e4c'
'853b28de64ef921ed077f5713ddf98a807927fd2d0c05752d7049d6b7e08420e')
# pkgver() {
# date +%Y%m%d
# }
_inst_initd(){
install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
}
_inst_confd(){
install -Dm644 ${srcdir}/$1.confd ${pkgdir}/etc/conf.d/$1
}
package() {
_inst_confd 'acpid'
_inst_initd 'acpid'
}
|