summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/athcool/PKGBUILD
blob: 58d7c2120b37ac983dfdf2df4200506441ddb3f6 (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
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')