laptop-mode: update to 1.66.
This commit is contained in:
parent
967f7ab8c8
commit
6abaa410d1
1 changed files with 8 additions and 12 deletions
|
@ -1,18 +1,17 @@
|
|||
# Template file for 'laptop-mode'
|
||||
pkgname=laptop-mode
|
||||
version=1.62
|
||||
revision=7
|
||||
noarch="yes"
|
||||
build_style=meta
|
||||
wrksrc=$pkgname-tools_$version
|
||||
version=1.66
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="${pkgname}-tools_${version}"
|
||||
short_desc="Laptop power saving package for Linux systems"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://samwel.tk/laptop_mode/"
|
||||
update_pkgname="$pkgname-tools"
|
||||
update_pkgname="${pkgname}-tools"
|
||||
update_site="${homepage}packages/tarball"
|
||||
distfiles="${homepage}/tools/downloads/$pkgname-tools_$version.tar.gz"
|
||||
checksum=d40b3d2fb4dc120b4a427ef7dbddc9dd4d9ea0c475685538d36d3457b39158cd
|
||||
checksum=0e8488d6112fa7edfa7e4b1084b16f8c7c6726d935029e4afd7d7034caed5f62
|
||||
conf_files="
|
||||
/etc/laptop-mode/lm-profiler.conf
|
||||
/etc/laptop-mode/conf.d/lcd-brightness.conf
|
||||
|
@ -44,11 +43,8 @@ conf_files="
|
|||
depends="acpid hdparm sdparm wireless_tools xset bluez"
|
||||
|
||||
do_install() {
|
||||
export DESTDIR=${XBPS_DESTDIR}/${pkgname}-${version} ACPI=force APM=disabled PMU=disabled INIT_D=none MAN_D=/usr/share/man
|
||||
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
|
||||
sed -i 's|/sbin/udevadm|/usr/bin/udevadm|g' usr/share/laptop-mode-tools/modules/hdparm
|
||||
$wrksrc/install.sh
|
||||
DESTDIR=${DESTDIR} ACPI=force APM=disabled INIT_D=none \
|
||||
INSTALL=install LIB_D=/usr/lib MAN_D=/usr/share/man $wrksrc/install.sh
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue