blob: 896cde8eaa81c59566c0368321d9d5c9d369c1aa (
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
|
# Maintainer: Zezadas <aur at sefod dot eu>
# Forked from https://aur.archlinux.org/packages/thermald/
pkgname=thermald-git-gcc10
pkgver=v2.1.r2.g3f3cdc3
pkgrel=1
pkgdesc="The Linux Thermal Daemon program from 01.org"
arch=('x86_64')
url="https://01.org/linux-thermal-daemon"
license=('GPL2')
makedepends=('systemd' 'python' 'autoconf-archive'i 'gtk-doc')
depends=('dbus-glib' 'libxml2')
conflicts=('thermald')
provides=('thermald')
source=(${pkgname}::"git://github.com/intel/thermal_daemon"
'modules-load-thermald.conf'
'uninitialized_vars-fix.patch')
sha256sums=('SKIP'
'0155e1eb459306d251a5a049ffc6c11e144fa8caa75901ac5fa20bd52e05d515'
'fa71590c04cb0d1cd3db2d543f2402d887e7b12708f00a3af3005b1a000444df')
pkgver() {
cd "${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare(){
cd ${pkgname}
patch -p1 -i ${srcdir}/uninitialized_vars-fix.patch
}
build() {
cd ${pkgname}
./autogen.sh
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin
make
}
package() {
cd ${pkgname}
make DESTDIR="${pkgdir}" install
install -Dm644 "${srcdir}"/modules-load-thermald.conf "${pkgdir}"/usr/lib/modules-load.d/thermald.conf
}
|