🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
pkgname: acpid
pkgver: '2.0.34'
pkgrel: '7'
pkgdesc: A completely flexible, totally extensible daemon for delivering ACPI events.
url: 'https://sourceforge.net/projects/acpid2/'
arch: x86_64
depends:
- pm-utils
makedepends: []
source:
- 'https://repo.paganlinux.eu/sources/pagan-scripts-20260822.tar.gz'
- 'https://downloads.sourceforge.net/acpid2/${pkgname}-${pkgver}.tar.xz'
- lid
- lid.sh
sha256sums:
- 32e0aec88cc56a8afe0b2671debe47d19357792a6ffaffaf6e3db8a021a57072
- SKIP
- SKIP
- SKIP
hooks:
post-install: |
name=acpid
version=2.0.34
release=7
INFO="\033[1;36m"
NORMAL="\033[0;39m"
[ -f etc/acpi/events/lid ] || cp -a etc/acpi/events/lid{.example,}
[ -f etc/acpi/lid.sh ] || cp -a etc/acpi/lid.sh{.example,}
printf "${INFO} /etc/acpi/lid.sh and /etc/acpi/events/lid created ${NORMAL}\n"
printf "${INFO} Adapt them to your needs ${NORMAL}\n"
build: |
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--sbindir=/usr/bin \
--docdir=/usr/share/doc/${pkgname}
make
make DESTDIR=${PKGDIR} install
install -m755 -d ${PKGDIR}/etc/acpi/events
cp -r samples ${PKGDIR}/usr/share/doc/${pkgname}
cp -r ../lid ${PKGDIR}/etc/acpi/events/lid.example
cp -r ../lid.sh ${PKGDIR}/etc/acpi/lid.sh.example
chmod +x ${PKGDIR}/etc/acpi/lid.sh.example
# Service
cd ../pagan-scripts-20260822
make DESTDIR=${PKGDIR} install-sysd-acpid
package: |
true