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:
parent
74ce047a4b
commit
cb4bfaa2f4
5 changed files with 17 additions and 18 deletions
|
|
@ -8,6 +8,7 @@ pkgdesc="@PROJECT_DESCRIPTION@"
|
|||
arch=('x86_64' 'aarch64')
|
||||
url=@PROJECT_HOMEPAGE_URL@
|
||||
license=('GPL3')
|
||||
install=sunshine.install
|
||||
|
||||
depends=('avahi'
|
||||
'boost-libs'
|
||||
|
|
|
|||
12
packaging/linux/Arch/sunshine.install
Normal file
12
packaging/linux/Arch/sunshine.install
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
do_setcap() {
|
||||
setcap cap_sys_admin+p $(readlink -f $(which sunshine))
|
||||
}
|
||||
|
||||
post_install() {
|
||||
do_setcap
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
do_setcap
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue