# Compiling Time: 0.01 SBU # Maintainer: DeX77 pkgname=laptop-mode-tools pkgver=1.74 pkgrel=1 pkgdesc="A kernel mode that allows you to extend the battery life of your laptop" 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=('x86_64') sha1sums=('67d9be58f856e3b2661602f9644faf276b91df70') _F_systemd_units=(laptop-mode-tools=e) _F_github_author="rickysarraf" _F_github_tag="y" _F_github_sep="_" _F_github_up2date_path="releases/latest" Finclude systemd github build() { Fcd 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