[arch-commits] Commit in cpufreqd/trunk (PKGBUILD cpufreqd.install)
Andrea Scarpino
andrea at archlinux.org
Thu May 13 11:18:24 UTC 2010
Date: Thursday, May 13, 2010 @ 07:18:23
Author: andrea
Revision: 80172
upgpkg: cpufreqd 2.4.2-1
upstream release; remove old .install; enabled sensors plugin
Modified:
cpufreqd/trunk/PKGBUILD
Deleted:
cpufreqd/trunk/cpufreqd.install
------------------+
PKGBUILD | 28 ++++++++++++++++------------
cpufreqd.install | 26 --------------------------
2 files changed, 16 insertions(+), 38 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-05-13 11:14:07 UTC (rev 80171)
+++ PKGBUILD 2010-05-13 11:18:23 UTC (rev 80172)
@@ -1,30 +1,34 @@
# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
# Contributor: Kevin Piche <kevin at archlinux.org>
# Contributor: Manolis Tzanidakis <manolis at archlinux.org>
pkgname=cpufreqd
-pkgver=2.3.4
-pkgrel=2
+pkgver=2.4.2
+pkgrel=1
pkgdesc="A small daemon to adjust cpu speed (and indeed voltage)"
arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/cpufreqd"
+url="http://www.linux.it/~malattia/wiki/index.php/Cpufreqd"
license=('GPL2')
-depends=('cpufrequtils')
-install="$pkgname.install"
-backup=(etc/cpufreqd.conf)
+depends=('cpufrequtils' 'lm_sensors')
+backup=('etc/cpufreqd.conf')
options=('!libtool')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
'cpufreqd')
-md5sums=('f4193f688305566a8422dd3989667668'
+md5sums=('2ca80a77849c9a69b81e27c1843c97f5'
'ae7b0ec1e8e9f9e7f05fb83749af4ed4')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc
make || return 1
- make DESTDIR=$pkgdir install
+}
- install -D -m 755 $srcdir/cpufreqd $pkgdir/etc/rc.d/cpufreqd || return 1
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install || return 1
+
+ install -Dm755 ${srcdir}/cpufreqd ${pkgdir}/etc/rc.d/cpufreqd || return 1
}
Deleted: cpufreqd.install
===================================================================
--- cpufreqd.install 2010-05-13 11:14:07 UTC (rev 80171)
+++ cpufreqd.install 2010-05-13 11:18:23 UTC (rev 80172)
@@ -1,26 +0,0 @@
-post_install() {
- cat << EOF
-
-NOTE
-----
-In order to use that daemon you need to either patch your
-kernel-2.4.x with cpufreq patch (check
-http://www.codemonkey.org.uk/projects/cpufreq/),
-or use kernel-2.6.x or 2.4.x.-ac.
-
-EOF
-}
-
-post_upgrade() {
- /bin/true
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-op=$1
-shift
-
-$op $*
More information about the arch-commits
mailing list