Add the .INSTALL script needed for kmsgrab to work

This also removes the standalone PKGBUILD artifact because
our PKGBUILD has external dependencies now.
This commit is contained in:
Cameron Gutman 2024-03-09 11:55:22 -06:00
commit cb4bfaa2f4
5 changed files with 17 additions and 18 deletions

View file

@ -8,6 +8,7 @@ pkgdesc="@PROJECT_DESCRIPTION@"
arch=('x86_64' 'aarch64')
url=@PROJECT_HOMEPAGE_URL@
license=('GPL3')
install=sunshine.install
depends=('avahi'
'boost-libs'

View file

@ -0,0 +1,12 @@
do_setcap() {
setcap cap_sys_admin+p $(readlink -f $(which sunshine))
}
post_install() {
do_setcap
}
post_upgrade() {
do_setcap
}