pkg-ayn-odin2-conf/PKGBUILD
2024-06-03 14:04:45 +08:00

17 lines
731 B
Bash

pkgname=ayn-odin2-conf
pkgver=1.0
pkgrel=3
pkgdesc="Odin 2 customizations"
arch=('any')
license=('GPL')
source=("80-no-wifi-powersave.conf" "no-suspend.conf" "power-key-lock.conf" "99-ayn-odin2.rules")
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')
package() {
# Install the configuration file
install -Dm644 "$srcdir"/80-no-wifi-powersave.conf "${pkgdir}/usr/lib/NetworkManager/conf.d/80-no-wifi-powersave.conf"
install -Dm644 "$srcdir"/no-suspend.conf "${pkgdir}/usr/lib/systemd/sleep.conf.d/no-suspend.conf"
install -Dm644 "$srcdir"/power-key-lock.conf "${pkgdir}/usr/lib/systemd/logind.conf.d/power-key-lock.conf"
install -Dm644 "$srcdir"/99-ayn-odin2.rules "${pkgdir}/usr/lib/udev/rules.d/99-ayn-odin2.rules"
}