[arch-commits] Commit in laptop-mode-tools/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Fri May 20 20:06:56 UTC 2011
Date: Friday, May 20, 2011 @ 16:06:56
Author: eric
Revision: 124440
upgpkg: laptop-mode-tools 1.57-3
Fixed udev rules location
Modified:
laptop-mode-tools/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-05-20 20:03:42 UTC (rev 124439)
+++ PKGBUILD 2011-05-20 20:06:56 UTC (rev 124440)
@@ -4,7 +4,7 @@
pkgname=laptop-mode-tools
pkgver=1.57
-pkgrel=2
+pkgrel=3
pkgdesc="A kernel mode that allows you to extend the battery life of your laptop"
arch=('any')
url="http://www.samwel.tk/laptop_mode/"
@@ -46,6 +46,7 @@
package() {
cd "${srcdir}/${pkgname}_${pkgver}"
- DESTDIR="${pkgdir}" INIT_D=none MAN_D=/usr/share/man ./install.sh
+ 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"
}
More information about the arch-commits
mailing list