diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/thermald/PKGBUILD | 38 | ||||
-rw-r--r-- | pcr/thermald/modules-load-thermald.conf | 2 |
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 |