mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
laptop-mode: move to usr/bin.
This commit is contained in:
parent
2effb8f157
commit
f3b56108d4
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'laptop-mode'
|
# Template file for 'laptop-mode'
|
||||||
pkgname=laptop-mode
|
pkgname=laptop-mode
|
||||||
version=1.66
|
version=1.66
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname}-tools_${version}"
|
wrksrc="${pkgname}-tools_${version}"
|
||||||
short_desc="Laptop power saving package for Linux systems"
|
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
|
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 \
|
DESTDIR=${DESTDIR} ACPI=force APM=disabled INIT_D=none \
|
||||||
INSTALL=install LIB_D=/usr/lib MAN_D=/usr/share/man $wrksrc/install.sh
|
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
|
vsv laptop-mode
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue