Add acpid package (#170)
Thanks craftyguy! This commit adds the acpid daemon. This requires a kernel with NETLINK support compiled in before daemon will run. acpid will be extremely helpful for devices that have external buttons which need event handling. The nokia-rx51 is full of such devices/switched! This was heavily leveraged from the Arch Linux PKGBUILD, thank you Arch maintainers/contributors!
This commit is contained in:
parent
1757d5f111
commit
f50f9fbaa9
1 changed files with 24 additions and 0 deletions
24
acpid/APKBUILD
Normal file
24
acpid/APKBUILD
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
pkgname=acpid
|
||||||
|
pkgver=2.0.28
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A daemon for delivering ACPI power management events with netlink support"
|
||||||
|
arch="all"
|
||||||
|
url="http://sourceforge.net/projects/acpid2/"
|
||||||
|
license="GPL"
|
||||||
|
depends=""
|
||||||
|
source="http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
./configure --prefix=/usr --sbindir=/usr/bin --build=$CBUILD --host=$CHOST
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $builddir
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
# fix acpid rights
|
||||||
|
chmod 755 "$pkgdir/usr/bin/acpid"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="effe9c3b30b4a6ea20eca4b36a06d4b3da9b262d100685958faec4b38f89377a87dcaecee7a69b87aaddfa47688bcc46fc47a38391ac4bd2019cb3b48ab18fcb acpid-2.0.28.tar.xz"
|
Loading…
Reference in a new issue