pkg-ayn-odin2-conf/PKGBUILD

17 lines
731 B
Bash
Raw Normal View History

2024-06-01 14:29:16 +08:00
pkgname=ayn-odin2-conf
2024-06-01 11:11:19 +08:00
pkgver=1.0
2024-06-03 14:04:45 +08:00
pkgrel=3
2024-06-01 11:11:19 +08:00
pkgdesc="Odin 2 customizations"
arch=('any')
license=('GPL')
2024-06-01 19:01:14 +08:00
source=("80-no-wifi-powersave.conf" "no-suspend.conf" "power-key-lock.conf" "99-ayn-odin2.rules")
2024-06-01 19:02:31 +08:00
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')
2024-06-01 11:11:19 +08:00
package() {
# Install the configuration file
2024-06-03 14:04:45 +08:00
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"
2024-06-01 11:11:19 +08:00
}