summaryrefslogtreecommitdiff
path: root/pcr/thermald
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-08-28 18:55:25 -0500
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:14:58 -0300
commitb3545ea3da3e406cbd71a90d92694379d7309bbc (patch)
tree0c9b27f03a774acaff461fbe4c32537234512671 /pcr/thermald
parent3a78329cae798b7dcd989fee622b016b7fb4d437 (diff)
downloadabslibre-b3545ea3da3e406cbd71a90d92694379d7309bbc.tar.gz
abslibre-b3545ea3da3e406cbd71a90d92694379d7309bbc.tar.bz2
abslibre-b3545ea3da3e406cbd71a90d92694379d7309bbc.zip
thermald: add new package to [pcr]
Diffstat (limited to 'pcr/thermald')
-rw-r--r--pcr/thermald/PKGBUILD38
-rw-r--r--pcr/thermald/modules-load-thermald.conf2
2 files changed, 40 insertions, 0 deletions
diff --git a/pcr/thermald/PKGBUILD b/pcr/thermald/PKGBUILD
new file mode 100644
index 000000000..f17c32ffe
--- /dev/null
+++ b/pcr/thermald/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer (Arch): hadrons123 <piruthiviraj at gmail dot com>
+# Contributor (Arch): WonderWoofy <sugar.and.scruffy@gmail.com>,wallnuss <v dot churavy at gmail dot com>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=thermald
+_pkgname=thermal_daemon
+pkgver=1.4.3
+pkgrel=1
+pkgdesc="The Linux Thermal Daemon program from 01.org"
+arch=('i686' 'x86_64')
+url='https://github.com/01org/thermal_daemon'
+license=('GPL2')
+makedepends=('systemd')
+depends=('dbus-glib>=0.94' 'libxml2>=2.4')
+backup=('etc/thermald/thermal-conf.xml')
+conflicts=('thermald')
+provides=('thermald')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
+ 'modules-load-thermald.conf')
+sha256sums=('566595eb2c56679d463be5a65d612de90968248054122bb390d0bc902ba7b762'
+ '0155e1eb459306d251a5a049ffc6c11e144fa8caa75901ac5fa20bd52e05d515')
+build() {
+ cd "${_pkgname}-${pkgver}"
+ ./autogen.sh
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --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"
+}
diff --git a/pcr/thermald/modules-load-thermald.conf b/pcr/thermald/modules-load-thermald.conf
new file mode 100644
index 000000000..a8b98118a
--- /dev/null
+++ b/pcr/thermald/modules-load-thermald.conf
@@ -0,0 +1,2 @@
+msr
+coretemp