laptop-mode: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 16:51:01 +02:00
parent 2effb8f157
commit f3b56108d4
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'laptop-mode'
pkgname=laptop-mode
version=1.66
revision=2
revision=3
noarch=yes
wrksrc="${pkgname}-tools_${version}"
short_desc="Laptop power saving package for Linux systems"
@ -44,5 +44,7 @@ do_install() {
sed -i 's|/sbin/udevadm|/usr/bin/udevadm|g' usr/share/laptop-mode-tools/modules/hdparm
DESTDIR=${DESTDIR} ACPI=force APM=disabled INIT_D=none \
INSTALL=install LIB_D=/usr/lib MAN_D=/usr/share/man $wrksrc/install.sh
vmkdir usr/bin
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin/
vsv laptop-mode
}