summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/cpufrequtils/PKGBUILD
blob: c9087aa120a7ebb4e4c223bb5569a4b88da525ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 66595 2010-02-01 00:00:07Z giovanni $
# Maintainer: kevin <kevin@archlinux.org>
# Contributor: phrakture <aaronmgriffin+gmail+com>
# Contributor: SpepS <dreamspepser at yahoo dot it>

pkgname=cpufrequtils
pkgver=008
pkgrel=1
pkgdesc="Userspace tools for the kernel cpufreq subsystem"
arch=('i686' 'x86_64')
url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
license=('GPL')
depends=('sysfsutils')
backup=('etc/conf.d/cpufreq')
source=(http://www.kernel.org/pub/linux/utils/kernel/cpufreq/${pkgname}-${pkgver}.tar.bz2
        cpufreq.rcd
        cpufreq.confd)
options=(!libtool)

build()
{
  cd "${srcdir}/${pkgname}-${pkgver}"

  make -j1 || return 1
  make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR="${pkgdir}" install || return 1

  install -D -m755 ${srcdir}/cpufreq.rcd "${pkgdir}/etc/rc.d/cpufreq" || return 1
  install -D -m644 ${srcdir}/cpufreq.confd "${pkgdir}/etc/conf.d/cpufreq" || return 1
}
md5sums=('c59b71c044d463896f3247e8dd83dd7e'
         '7f2b5085df44d2df3e7c2d0b9f6dab08'
         'baae1f2abffc6bef2bd32a8dd8263c09')