updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / kdeplasma-addons-applets-cpufrequtility / PKGBUILD
blob3bea59e8f9f740e5c2893b176ac3417cd1646a9d
1 pkgname=kdeplasma-addons-applets-cpufrequtility
2 _pkgname=kde-plasma-cpufrequtility
3 pkgver=1.4
4 pkgrel=1
5 pkgdesc="CPU Frequence Utility plasmoid."
6 arch=('i686' 'x86_64')
7 url="http://kde-apps.org/content/show.php/plasmaCpuFreqUtility?content=144809"
8 license=('GPL')
9 depends=('kdebase-workspace')
10 makedepends=('cmake' 'automoc4')
11 source=("http://kde-apps.org/CONTENT/content-files/144809-kde-plasma-cpufrequtility-${pkgver}.tar.bz2"
12         "CMakeLists.patch")
13 md5sums=('ede3379edb20528c094186c9fb71414d'
14          'f707be28f56335844e2371d832ac9e65')
16 build() {
17   cd "${srcdir}/kde-plasma-cpufrequtility-${pkgver}"
18   patch -Np1 -i ../CMakeLists.patch
19   cmake -DCMAKE_INSTALL_PREFIX=/usr .
20   make
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
25 package() {
26   cd "${srcdir}/kde-plasma-cpufrequtility-${pkgver}"
27   make DESTDIR="${pkgdir}" install