1 pkgname=kdeplasma-addons-applets-cpufrequtility
2 _pkgname=kde-plasma-cpufrequtility
5 pkgdesc="CPU Frequence Utility plasmoid."
7 url="http://kde-apps.org/content/show.php/plasmaCpuFreqUtility?content=144809"
9 depends=('kdebase-workspace')
10 makedepends=('cmake' 'automoc4')
11 source=("http://kde-apps.org/CONTENT/content-files/144809-kde-plasma-cpufrequtility-${pkgver}.tar.bz2"
13 md5sums=('ede3379edb20528c094186c9fb71414d'
14 'f707be28f56335844e2371d832ac9e65')
17 cd "${srcdir}/kde-plasma-cpufrequtility-${pkgver}"
18 patch -Np1 -i ../CMakeLists.patch
19 cmake -DCMAKE_INSTALL_PREFIX=/usr .
21 sed -i -e 's|kde4/apps|apps|g' kde-plasma-cpufrequtility.desktop metadata.desktop
22 sed -i -e 's|kde4/libexec|kde4|g' org.freedesktop.auth.cpufrequtility.service
26 cd "${srcdir}/kde-plasma-cpufrequtility-${pkgver}"
27 make DESTDIR="${pkgdir}" install