# Maintainer (Arch): hadrons123 # Contributor (Arch): WonderWoofy ,wallnuss # Maintainer: Omar Vega Ramos 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" }