summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-30 19:30:44 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-30 19:30:44 (GMT)
commite329e9f893789bb194978c21be503b00dc1af508 (patch)
tree59703cfaa9bff63765b7528f4a1581c73a3c5826
parent14cc1b8e883e5144adb89cefd4b9046238be69c5 (diff)
downloadlinhes_pkgbuild-e329e9f893789bb194978c21be503b00dc1af508.zip
linhes_pkgbuild-e329e9f893789bb194978c21be503b00dc1af508.tar.gz
linhes_pkgbuild-e329e9f893789bb194978c21be503b00dc1af508.tar.bz2
athcool: remove as now handled in kernel
-rw-r--r--abs/extra/community/athcool/PKGBUILD28
-rw-r--r--abs/extra/community/athcool/athcool35
-rw-r--r--abs/extra/community/athcool/athcool.install18
-rwxr-xr-xabs/extra/community/athcool/finish3
-rw-r--r--abs/extra/community/athcool/run2
5 files changed, 0 insertions, 86 deletions
diff --git a/abs/extra/community/athcool/PKGBUILD b/abs/extra/community/athcool/PKGBUILD
deleted file mode 100644
index 58d7c21..0000000
--- a/abs/extra/community/athcool/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-pkgname=athcool
-pkgver=0.3.12
-pkgrel=4
-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')
-license=('GPL')
-install=athcool.install
-arch=('i686' 'x86_64')
-source=(http://members.jcom.home.ne.jp/jacobi/linux/files/$pkgname-$pkgver.tar.gz
- athcool run finish)
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make || return 1
-}
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- install -D -m0755 ../athcool ${pkgdir}/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
-}
-md5sums=('f2e0f4fbd04f5e1f09aa60a3ecb24645'
- 'bbf32484cec6431568ccf51c2516f9e7'
- 'b9cf31ac580c1665d50d70e405d276bc'
- 'f854a49b2430852fddab2b7baa0591ad')
diff --git a/abs/extra/community/athcool/athcool b/abs/extra/community/athcool/athcool
deleted file mode 100644
index f49bd40..0000000
--- a/abs/extra/community/athcool/athcool
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-ATHCOOL=/usr/sbin/athcool
-
-case "$1" in
- start)
- stat_busy "Enabling Athcool"
- $ATHCOOL on > /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- ;;
- stop)
- stat_busy "Disabling Athcool"
- $ATHCOOL off > /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- ;;
- restart)
- $0 stop
- /bin/sleep 1
- $0 start
- ;;
- *)
- echo "Usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/abs/extra/community/athcool/athcool.install b/abs/extra/community/athcool/athcool.install
deleted file mode 100644
index 8896da2..0000000
--- a/abs/extra/community/athcool/athcool.install
+++ /dev/null
@@ -1,18 +0,0 @@
-# arg 1: the new package version
-post_install() {
- add_service.sh athcool
-}
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- remove_service.sh athcool
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra/community/athcool/finish b/abs/extra/community/athcool/finish
deleted file mode 100755
index cae6b1b..0000000
--- a/abs/extra/community/athcool/finish
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-exec 2>&1
-sv down athcool
diff --git a/abs/extra/community/athcool/run b/abs/extra/community/athcool/run
deleted file mode 100644
index b43936c..0000000
--- a/abs/extra/community/athcool/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec /usr/sbin/athcool on 2>&1