summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/athcool
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-09 14:14:55 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-09 14:14:55 (GMT)
commitdbfd9598e7acac8ad2ad8b9501859d07a51ae4e6 (patch)
tree287500a36ea7e54d1d0ce9e623d0267c157b82c3 /abs/extra-testing/community/athcool
parent24bf31183a714449ee1ae6d93283722ae4f55e6d (diff)
downloadlinhes_pkgbuild-dbfd9598e7acac8ad2ad8b9501859d07a51ae4e6.zip
linhes_pkgbuild-dbfd9598e7acac8ad2ad8b9501859d07a51ae4e6.tar.gz
linhes_pkgbuild-dbfd9598e7acac8ad2ad8b9501859d07a51ae4e6.tar.bz2
Temp fix for athcool and runit. This adds the finish file to stop the athcool service after running once.
Athcool does not like my system, so this is untested.
Diffstat (limited to 'abs/extra-testing/community/athcool')
-rw-r--r--abs/extra-testing/community/athcool/PKGBUILD5
-rwxr-xr-xabs/extra-testing/community/athcool/finish3
2 files changed, 6 insertions, 2 deletions
diff --git a/abs/extra-testing/community/athcool/PKGBUILD b/abs/extra-testing/community/athcool/PKGBUILD
index e5d9dde..c5a3290 100644
--- a/abs/extra-testing/community/athcool/PKGBUILD
+++ b/abs/extra-testing/community/athcool/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=athcool
pkgver=0.3.12
-pkgrel=2
+pkgrel=3
pkgdesc="Small utility allowing to enable powersaving mode on AMD Duron/Athlon/Athlon XP processors."
url="http://members.jcom.home.ne.jp/jacobi/linux/softwares.html"
depends=(pciutils)
@@ -8,7 +8,7 @@ license="GPL"
install=athcool.install
arch=(i686)
source=(http://members.jcom.home.ne.jp/jacobi/linux/files/$pkgname-$pkgver.tar.gz
- athcool run)
+athcool run finish)
md5sums=('f2e0f4fbd04f5e1f09aa60a3ecb24645'
'bbf32484cec6431568ccf51c2516f9e7'
'b9cf31ac580c1665d50d70e405d276bc')
@@ -20,4 +20,5 @@ build() {
/bin/install -D -m0755 ../athcool $startdir/pkg/etc/rc.d/athcool
mkdir -p $pkgdir/etc/sv/athcool/supervise
install -D -m0755 ../run $pkgdir/etc/sv/athcool
+ install -D -m0755 ../finish $pkgdir/etc/sv/athcool
}
diff --git a/abs/extra-testing/community/athcool/finish b/abs/extra-testing/community/athcool/finish
new file mode 100755
index 0000000..cae6b1b
--- /dev/null
+++ b/abs/extra-testing/community/athcool/finish
@@ -0,0 +1,3 @@
+#!/bin/bash
+exec 2>&1
+sv down athcool