diff options
author | davidovski <david@davidovski.xyz> | 2022-03-30 17:54:09 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-30 17:54:09 +0100 |
commit | de16da348671bd797500ab144ae56d23e88c7463 (patch) | |
tree | 728ec7d354049c977b34d9693109cd5683992a30 /repo/system/acpid.xibuild | |
parent | 9ae31d6c582fbb636625a87d0921fd914f33c05e (diff) |
fixed initd files
Diffstat (limited to 'repo/system/acpid.xibuild')
-rw-r--r-- | repo/system/acpid.xibuild | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/repo/system/acpid.xibuild b/repo/system/acpid.xibuild index 55a4e6f..f960ac0 100644 --- a/repo/system/acpid.xibuild +++ b/repo/system/acpid.xibuild @@ -7,11 +7,14 @@ PKG_VER=2.0.33 SOURCE=https://downloads.sourceforge.net/acpid2/acpid-$PKG_VER.tar.xz DESC="Daemon for battery, power, and thermal readings" -BOOTSCRIPTS=blfs-bootscripts-20210826 ADDITIONAL=" - https://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/$BOOTSCRIPTS.tar.xz - " - + acpid.confd + acpid.initd + anything + handler.sh + lid-closed + power-supply-ac +" build () { ./configure --prefix=/usr \ --docdir=/usr/share/doc/acpid-$PKG_VER && @@ -20,10 +23,15 @@ build () { package () { make DESTDIR=$PKG_DEST install - install -v -m755 -d $PKG_DEST/etc/acpi/events && + install -m755 -d $PKG_DEST/etc/acpi/events && cp -r samples $PKG_DEST/usr/share/doc/acpid-$PKG_VER - tar xf $BOOTSCRIPTS.tar.xz - cd $BOOTSCRIPTS - make DESTDIR=$PKG_DEST install-acpid + install -D -m 755 handler.sh etc/acpi/handler.sh + install -D -m 644 anything etc/acpi/events/anything + install -D -m 755 power-supply-ac usr/share/acpid/ + install -D -m 755 lid-closed usr/share/acpid/ + + install -D -m 755 acpid.initd etc/init.d/acpid + install -D -m 644 acpid.confd etc/conf.d/acpid + } |