# Maintainer (Arch): Bruno Pagani (a.k.a. ArchangeGabriel) # Contributor (Arch): hadrons123 # Contributor (Arch): WonderWoofy ,wallnuss # Maintainer: Omar Vega Ramos pkgname=thermald _pkgname=thermal_daemon pkgver=1.5.3 pkgrel=1 pkgdesc="The Linux Thermal Daemon program from 01.org" arch=('i686' 'x86_64') url="https://github.com/01org/${_pkgname}" 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') sha512sums=('aab4ade4dc50985cd5d45bcce6ea9b75cce22504eb113c86b8733c8be88a701c8812b8b0f3202f084a8128d50ec794ebe1c73312c0a5a5fd1dbc87eedf02df16' '3aff2d9cf1396f8dd165addfebfd1f7354051c6f7e1bfbd920fde05d402d9315eecc9bcbf19bd3f45b54b3cea6b421ba002b76540865f227e0a3d1ebdf655824') 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" }