diff options
Diffstat (limited to 'abs/extra/community/athcool/PKGBUILD')
-rw-r--r-- | abs/extra/community/athcool/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/extra/community/athcool/PKGBUILD b/abs/extra/community/athcool/PKGBUILD new file mode 100644 index 0000000..c5a3290 --- /dev/null +++ b/abs/extra/community/athcool/PKGBUILD @@ -0,0 +1,24 @@ +pkgname=athcool +pkgver=0.3.12 +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) +license="GPL" +install=athcool.install +arch=(i686) +source=(http://members.jcom.home.ne.jp/jacobi/linux/files/$pkgname-$pkgver.tar.gz +athcool run finish) +md5sums=('f2e0f4fbd04f5e1f09aa60a3ecb24645' + 'bbf32484cec6431568ccf51c2516f9e7' + 'b9cf31ac580c1665d50d70e405d276bc') + +build() { + cd $startdir/src/$pkgname-$pkgver + make || return 1 + make DESTDIR=$startdir/pkg install + /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 +} |