Update sunshine to all be in /usr

This commit is contained in:
Phantop 2021-06-22 12:46:57 -04:00
parent df6e2a7fb5
commit 30a6c572c9
1 changed files with 6 additions and 3 deletions

View File

@ -18,13 +18,16 @@ builddeps :
setup : | setup : |
mkdir build mkdir build
pushd build pushd build
%cmake -D SUNSHINE_ASSETS_DIR=/etc/sunshine .. %cmake -D SUNSHINE_ASSETS_DIR=/usr/share/sunshine ..
build : | build : |
pushd build pushd build
%make %make
install : | install : |
install -Dm755 build/sunshine.service "$installdir/usr/lib/systemd/user/sunshine.service"
pushd build pushd build
./gen-deb ./gen-deb
pushd package-deb/sunshine pushd package-deb/sunshine
mkdir $installdir mkdir usr/lib
mv etc usr $installdir mv etc/udev usr/lib
mv etc usr/share
cp -r usr $installdir