# Compiling Time: 0.01 SBU # Maintainer: DeX77 pkgname=laptop-mode-tools pkgver=1.69.2 pkgrel=1 pkgdesc="A kernel mode that allows you to extend the battery life of your laptop" url="http://www.samwel.tk/laptop_mode/" depends=('hdparm' 'acpid') backup=(etc/laptop-mode/conf.d/ac97-powersave.conf etc/laptop-mode/conf.d/auto-hibernate.conf etc/laptop-mode/conf.d/battery-level-polling.conf etc/laptop-mode/conf.d/bluetooth.conf etc/laptop-mode/conf.d/configuration-file-control.conf etc/laptop-mode/conf.d/cpufreq.conf etc/laptop-mode/conf.d/dpms-standby.conf etc/laptop-mode/conf.d/eee-superhe.conf etc/laptop-mode/conf.d/ethernet.conf etc/laptop-mode/conf.d/exec-commands.conf etc/laptop-mode/conf.d/hal-polling.conf etc/laptop-mode/conf.d/intel-hda-powersave.conf 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/runtime-pm.conf etc/laptop-mode/conf.d/sched-mc-power-savings.conf etc/laptop-mode/conf.d/sched-smt-power-savings.conf etc/laptop-mode/conf.d/start-stop-programs.conf etc/laptop-mode/conf.d/terminal-blanking.conf etc/laptop-mode/conf.d/usb-autosuspend.conf etc/laptop-mode/conf.d/video-out.conf etc/laptop-mode/conf.d/wireless-ipw-power.conf etc/laptop-mode/conf.d/wireless-iwl-power.conf etc/laptop-mode/conf.d/wireless-power.conf etc/laptop-mode/laptop-mode.conf etc/laptop-mode/lm-profiler.conf) groups=('apps-extra') archs=('i686' 'x86_64') sha1sums=('b698efca15b6a2ef3b2bf224511f74af607b9a6b') _F_systemd_units=(laptop-mode-tools=e) _F_github_author="rickysarraf" _F_github_tag="y" Finclude systemd github build() { Fcd pwd Fpatchall Fsed "etc/udev" "lib/udev" install.sh make DESTDIR="$Fdestdir" INIT_D=none MAN_D=/usr/share/man APM=disabled PMU=disabled install || Fdie Fsed '[ -x /sbin/udevadm ]' \ '[ -x "$(which udevadm 2> /dev/null)" ]' \ usr/share/laptop-mode-tools/modules/hdparm Fgenscriptlet } # optimization OK