[arch-commits] Commit in laptop-mode-tools/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Sun Aug 7 20:41:16 UTC 2011
Date: Sunday, August 7, 2011 @ 16:41:16
Author: eric
Revision: 134837
upgpkg: laptop-mode-tools 1.59-1
Upstream update
Modified:
laptop-mode-tools/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-08-07 20:36:49 UTC (rev 134836)
+++ PKGBUILD 2011-08-07 20:41:16 UTC (rev 134837)
@@ -3,8 +3,8 @@
# Contributor: Eric Bélanger <eric at archlinux.org>
pkgname=laptop-mode-tools
-pkgver=1.58
-pkgrel=2
+pkgver=1.59
+pkgrel=1
pkgdesc="A kernel mode that allows you to extend the battery life of your laptop"
arch=('any')
url="http://www.samwel.tk/laptop_mode/"
@@ -42,13 +42,12 @@
etc/laptop-mode/lm-profiler.conf)
source=("http://www.samwel.tk/laptop_mode/tools/downloads/${pkgname}_${pkgver}.tar.gz"
'laptop-mode')
-md5sums=('c7a234ada284eaaece0e04bd260e87af'
+md5sums=('0c4de075dd714681b4ff62c84d45513c'
'4d3b4d95c6532451b3dba588c83fb86b')
package() {
- cd "${srcdir}/${pkgname}_${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|etc/udev|lib/udev|' install.sh
make DESTDIR="${pkgdir}" INIT_D=none MAN_D=/usr/share/man install
install -D -m755 "${srcdir}/laptop-mode" "${pkgdir}/etc/rc.d/laptop-mode"
- sed -i 's/return 0;/exit 0/' "${pkgdir}/usr/sbin/laptop_mode"
}
More information about the arch-commits
mailing list