summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-03 03:23:12 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-03 03:23:12 (GMT)
commitf05d32ec3995dd5f7296295329903d1f459c5605 (patch)
tree74ddfdcd8e2cd9f823b7a96108c5ac029426f8f3
parente98ca1911e435e6cf24283a579f4736f49ac0b8a (diff)
downloadlinhes_pkgbuild-f05d32ec3995dd5f7296295329903d1f459c5605.zip
linhes_pkgbuild-f05d32ec3995dd5f7296295329903d1f459c5605.tar.gz
linhes_pkgbuild-f05d32ec3995dd5f7296295329903d1f459c5605.tar.bz2
athcool: recompile
-rw-r--r--abs/extra/community/athcool/PKGBUILD32
1 files changed, 18 insertions, 14 deletions
diff --git a/abs/extra/community/athcool/PKGBUILD b/abs/extra/community/athcool/PKGBUILD
index c5a3290..fb24df1 100644
--- a/abs/extra/community/athcool/PKGBUILD
+++ b/abs/extra/community/athcool/PKGBUILD
@@ -1,24 +1,28 @@
pkgname=athcool
pkgver=0.3.12
-pkgrel=3
+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"
+depends=('pciutils')
+license=('GPL')
install=athcool.install
-arch=(i686)
+arch=('i686')
source=(http://members.jcom.home.ne.jp/jacobi/linux/files/$pkgname-$pkgver.tar.gz
-athcool run finish)
-md5sums=('f2e0f4fbd04f5e1f09aa60a3ecb24645'
- 'bbf32484cec6431568ccf51c2516f9e7'
- 'b9cf31ac580c1665d50d70e405d276bc')
+ athcool run finish)
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd ${srcdir}/${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
}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ /bin/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')