blob: c6399671943ad80da2652b755231b22e567cf886 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
# Maintainer: dreieck (https://aur.archlinux.org/account/dreieck)
# Contributor: adrien1018 (https://aur.archlinux.org/account/adrien1018)
# Contributor: fs4000
# Contributor: trapanator
# Contributor: tomprogrammer
_pkgbase=phc-intel-scripts
pkgbase="${_pkgbase}"
pkgname=("phc-intel-scripts" "phc-intel-openrc" "phc-intel-sysvinit" "phc-intel-systemd")
groups=(
'linux-phc'
'phc-intel'
)
epoch=0
pkgver=0.4.0
pkgrel=1
pkgdesc="Helper and init scripts for phc-intel, a frequency driver for Intel CPUs with undervolting feature."
url="https://gitlab.com/linux-phc/phc-intel"
arch=('any')
license=('GPL2')
makedepends=()
source=(
'phc-intel.conf.default'
'phc-intel.sh'
'phc-intel.sleep.pm-utils'
'phc-intel.sleep.systemd'
'phc-intel.openrc'
'phc-intel.sysvinit'
'phc-intel.systemd'
'phc-intel-scripts.install'
)
sha256sums=(
'ce08a5a4107be1d5723f1f169d515e67b6c77893f3994fc2d0d2ccf611307ed3' # phc-intel.conf.default
'd8520df3d25680574899ad0688d8043e4798ade799eb36572fca5abd7b59ed9a' # phc-intel.sh
'3f965edca571e5a4d2dd60939b252e15062b440ce6eb87021dc3170682eff0d7' # phc-intel.sleep.pm-utils
'0217a76958e2aba747c89bfd3bef16dcd8377770014896ab749faf16c05a2e53' # phc-intel.sleep.systemd
'66be32665dd8e3c153ce512678d3af3cbf24f36829556590736e0c21baf82d28' # phc-intel.openrc
'a18474513c628877d117bd3b096f085b95e5ec4f3618bb6eb59a1db1dd67de1b' # phc-intel.sysvinit
'345b479cce16e2ac2a3b001123aa2b4f16be21c63ba9c7e9e3cc5865d3c01d8c' # phc-intel.systemd
'3d7b7bd26e3bbd93eac8098fe8d688eecd7697fec345ef829b957680e0b4a360' # phc-intel-scripts.install
)
pkgver() {
cd "${srcdir}"
./phc-intel.sh --version
}
package_phc-intel-scripts() {
pkgdesc="Helper scripts for phc-intel, a frequency driver for Intel CPUs with undervolting feature."
install='phc-intel-scripts.install'
depends=(
'bash'
'PHC-INTEL-MODULE' # This means kernel-side support; packages providing kernel module, but also kernel packages which have that builtin, can set this.
)
optdepends=()
provides=()
conflicts=()
replaces=()
backup=(
'etc/default/phc-intel'
)
cd "${srcdir}"
install -Dvm644 phc-intel.conf.default "${pkgdir}/etc/default/phc-intel"
install -Dvm755 phc-intel.sh "${pkgdir}/usr/bin/phc-intel"
install -Dvm755 phc-intel.sleep.pm-utils "${pkgdir}/usr/lib/pm-utils/sleep.d/00phc-intel"
install -Dvm755 phc-intel.sleep.systemd "${pkgdir}/usr/lib/systemd/system-sleep/phc-intel"
}
package_phc-intel-openrc() {
pkgdesc="OpenRC init scripts for phc-intel, a frequency driver for Intel CPUs with undervolting feature."
depends=(
'bash'
'phc-intel-scripts'
)
optdepends=(
'openrc: To use this initscript.'
)
provides=('PHC-INTEL-INITSCRIPT')
conflicts=()
replaces=()
cd "${srcdir}"
install -Dvm755 'phc-intel.openrc' "${pkgdir}/etc/init.d/phc-intel"
}
package_phc-intel-sysvinit() {
pkgdesc="System V init scripts for phc-intel, a frequency driver for Intel CPUs with undervolting feature."
depends=(
'bash'
'phc-intel-scripts'
)
optdepends=(
'sysvinit: To use this initscript.'
)
provides=('PHC-INTEL-INITSCRIPT')
conflicts=()
replaces=()
cd "${srcdir}"
install -Dvm755 'phc-intel.sysvinit' "${pkgdir}/etc/rc.d/phc-intel"
}
package_phc-intel-systemd() {
pkgdesc="systemd init scripts for phc-intel, a frequency driver for Intel CPUs with undervolting feature."
depends=(
'phc-intel-scripts'
)
optdepends=(
'systemd: To use this initscript.'
)
provides=('PHC-INTEL-INITSCRIPT')
conflicts=()
replaces=()
cd "${srcdir}"
install -Dvm644 'phc-intel.systemd' "${pkgdir}/usr/lib/systemd/system/phc-intel.service"
}
|