Date: Sunday, March 24, 2013 @ 13:53:12 Author: stativ Revision: 86915
upgpkg: laptop-mode-tools 1.63-1 update to 1.63 Modified: laptop-mode-tools/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-03-24 12:50:46 UTC (rev 86914) +++ PKGBUILD 2013-03-24 12:53:12 UTC (rev 86915) @@ -3,8 +3,8 @@ # Contributor: Eric Bélanger <[email protected]> pkgname=laptop-mode-tools -pkgver=1.62 -pkgrel=2 +pkgver=1.63 +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/" @@ -32,6 +32,7 @@ etc/laptop-mode/conf.d/intel-sata-powermgmt.conf etc/laptop-mode/conf.d/lcd-brightness.conf etc/laptop-mode/conf.d/nmi-watchdog.conf + etc/laptop-mode/conf.d/pcie-aspm.conf etc/laptop-mode/conf.d/runtime-pm.conf etc/laptop-mode/conf.d/sched-mc-power-savings.conf etc/laptop-mode/conf.d/sched-smt-power-savings.conf @@ -47,24 +48,16 @@ install=laptop-mode.install source=("http://www.samwel.tk/laptop_mode/tools/downloads/${pkgname}_${pkgver}.tar.gz" 'laptop-mode') -md5sums=('a14283b14f09bb9b03f7faf928c07bb6' +md5sums=('58d7dbffe9a60746a67f4b2a27ab284f' '4d3b4d95c6532451b3dba588c83fb86b') build() { cd "$srcdir/${pkgname}_$pkgver" - - # install udev to rules to a systemd wide directory - # ie use /usr/lib/udev/rules.d/ instead of /etc/udev/rules.d/ - # do the same for systemd - sed -i 's|/etc/udev|/usr/lib/udev|g' install.sh - # see /lib -> /usr/lib move - sed -i 's|DESTDIR/lib|DESTDIR/usr/lib|g' install.sh - sed -i 's|"/lib|"/usr/lib|g' etc/rules/99-laptop-mode.rules } package() { cd "$srcdir/${pkgname}_$pkgver" - make DESTDIR="$pkgdir" INIT_D=none MAN_D=/usr/share/man install + make DESTDIR="$pkgdir" INIT_D=none MAN_D=/usr/share/man LIB_D=/usr/lib install install -D -m755 "$srcdir/laptop-mode" "$pkgdir/etc/rc.d/laptop-mode" }
