laptop-mode: remove noarch

This commit is contained in:
Đoàn Trần Công Danh 2020-11-29 09:46:51 +07:00
parent f38d03283d
commit 8df024a514

View file

@ -1,9 +1,9 @@
# Template file for 'laptop-mode' # Template file for 'laptop-mode'
pkgname=laptop-mode pkgname=laptop-mode
version=1.73.1 version=1.73.1
revision=1 revision=2
archs=noarch
wrksrc="${pkgname}-tools_${version}" wrksrc="${pkgname}-tools_${version}"
depends="acpid hdparm sdparm wireless_tools xset bluez"
short_desc="Laptop power saving package for Linux systems" short_desc="Laptop power saving package for Linux systems"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
@ -39,7 +39,6 @@ conf_files="
/etc/laptop-mode/conf.d/kbd-backlight.conf /etc/laptop-mode/conf.d/kbd-backlight.conf
/etc/laptop-mode/conf.d/vgaswitcheroo.conf /etc/laptop-mode/conf.d/vgaswitcheroo.conf
/etc/laptop-mode/laptop-mode.conf" /etc/laptop-mode/laptop-mode.conf"
depends="acpid hdparm sdparm wireless_tools xset bluez"
do_install() { do_install() {
sed -i 's|/lib|/usr/lib|g' etc/rules/99-laptop-mode.rules sed -i 's|/lib|/usr/lib|g' etc/rules/99-laptop-mode.rules