[arch-commits] Commit in (5 files)
Bruno Pagani
archange at archlinux.org
Sat Mar 25 23:41:44 UTC 2017
Date: Saturday, March 25, 2017 @ 23:41:43
Author: archange
Revision: 218992
Initial import from the AUR + 1.6 update
Added:
thermald/
thermald/repos/
thermald/trunk/
thermald/trunk/PKGBUILD
thermald/trunk/modules-load-thermald.conf
----------------------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
modules-load-thermald.conf | 2 ++
2 files changed, 40 insertions(+)
Added: thermald/trunk/PKGBUILD
===================================================================
--- thermald/trunk/PKGBUILD (rev 0)
+++ thermald/trunk/PKGBUILD 2017-03-25 23:41:43 UTC (rev 218992)
@@ -0,0 +1,38 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=thermald
+_pkgname=thermal_daemon
+pkgver=1.6
+pkgrel=1
+pkgdesc="The Linux Thermal Daemon program from 01.org"
+arch=('i686' 'x86_64')
+url="https://01.org/linux-thermal-daemon"
+license=('GPL2')
+makedepends=('systemd')
+depends=('dbus-glib' 'libxml2')
+backup=('etc/thermald/thermal-conf.xml')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/01org/${_pkgname}/archive/v${pkgver}.tar.gz"
+ 'modules-load-thermald.conf')
+sha256sums=('c63ae1b031f2b4ce037441e7e9910d05405b540fe6668e156d32c56d5dfa7492'
+ '0155e1eb459306d251a5a049ffc6c11e144fa8caa75901ac5fa20bd52e05d515')
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ ./autogen.sh
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 "${srcdir}"/modules-load-thermald.conf "${pkgdir}"/usr/lib/modules-load.d/thermald.conf
+
+ # Remove Upstart related files
+ rm -r "${pkgdir}/etc/init"
+}
Added: thermald/trunk/modules-load-thermald.conf
===================================================================
--- thermald/trunk/modules-load-thermald.conf (rev 0)
+++ thermald/trunk/modules-load-thermald.conf 2017-03-25 23:41:43 UTC (rev 218992)
@@ -0,0 +1,2 @@
+msr
+coretemp
More information about the arch-commits
mailing list