PKGBUILDs/extra/cpufrequtils/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
977 B
Bash

# $Id: PKGBUILD 13320 2008-09-26 16:44:09Z giovanni $
# Maintainer: kevin <kevin@archlinux.org>
# Contributor: phrakture <aaronmgriffin+gmail+com>
pkgname=cpufrequtils
pkgver=005
pkgrel=2
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=(force !libtool)
md5sums=('73a41589fe74b73fc530f4179f2c6142' '7be9ea55db712327783162ba6f7659ab'
'8335b8503376a3776da2ddc84043887c')
build()
{
cd $startdir/src/$pkgname-$pkgver
make -j1 || return 1
make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR=$startdir/pkg install
install -D -m755 ../cpufreq.rcd $startdir/pkg/etc/rc.d/cpufreq
install -D -m644 ../cpufreq.confd $startdir/pkg/etc/conf.d/cpufreq
}