PKGBUILDs/aur/lirc-user-service/PKGBUILD

21 lines
620 B
Bash
Raw Normal View History

2022-08-20 18:53:46 +00:00
# Maintainer: graysky <graysky AT archlinux DOT us>
# vim:set ts=2 sw=2 et:
pkgname=lirc-user-service
2022-10-27 07:12:41 +00:00
pkgver=1.6
pkgrel=1
pkgdesc="Run lircd as an unprivileged user for better stability and security"
2022-08-20 18:53:46 +00:00
arch=(any)
url="https://www.lirc.org/html/configuration-guide.html"
license=(MIT)
depends=(lirc systemd)
install=readme.install
2022-10-27 07:12:41 +00:00
source=(60-lirc.rules sysusers.conf)
2022-08-20 18:53:46 +00:00
md5sums=('cbed0097426c746550c687ae3d0310ec'
2022-10-27 07:12:41 +00:00
'2a19b64c02e12256624cc15906bcf65a')
2022-08-20 18:53:46 +00:00
package() {
install -Dm644 60-lirc.rules "$pkgdir/usr/lib/udev/rules.d/60-lirc.rules"
install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
}