File PKGBUILD of Package slimbook-quirk
pkgbase=slimbook-quirk
pkgname=(slimbook-quirk-i8042-wakeup slimbook-quirk-i8042-reset)
pkgver=1.2
pkgrel=0
pkgdesc="Slimbook hardware quirks"
arch=(any)
license=(GPL-3.0-or-later)
depends=(systemd)
source=("90-slimbook-i8042-wakeup.rules"
"slimbook-i8042-reset")
sha256sums=("3059ea393a6233ef36d627a66dac6b1514c13b6c8270381fa12511a441e30fba"
"4fc0d765453e93ddef1e4fd66b66268722e8a343ae4889d251371fdb39620bb6"
)
package_slimbook-quirk-i8042-wakeup() {
pkgdesc+="This udev rules prevents system to wakeup from s2idle due to spurious interruption from this devices"
install="post-udev.install"
install -D -m 0644 -t $pkgdir/usr/lib/udev/rules.d/ 90-slimbook-i8042-wakeup.rules
}
package_slimbook-quirk-i8042-reset() {
pkgdesc+="This systemd sleep script resets i8042 after s2idle"
install -D -m 0755 -t $pkgdir/usr/lib/systemd/system-sleep slimbook-i8042-reset
}