Fix build error

This commit is contained in:
Wizzard 2024-01-26 13:19:35 -05:00
parent cb71ec9fd9
commit 85ed5f98af
1 changed files with 9 additions and 2 deletions

View File

@ -26,6 +26,13 @@ do_install() {
vmkdir /usr/share/doc/mullvad-vpn vmkdir /usr/share/doc/mullvad-vpn
vmkdir /usr/share/zsh/site-functions vmkdir /usr/share/zsh/site-functions
vmkdir /etc/sv/mullvad
echo '#!/bin/sh' > ${DESTDIR}/etc/sv/mullvad/run.sh
echo 'exec 2>&1' >> ${DESTDIR}/etc/sv/mullvad/run.sh
echo 'sv check dbus > /dev/null || exit 1' >> ${DESTDIR}/etc/sv/mullvad/run.sh
echo 'exec /usr/bin/mullvad-daemon -v --disable-stdout-timestamps' >> ${DESTDIR}/etc/sv/mullvad/run.sh
chmod 755 ${DESTDIR}/etc/sv/mullvad/run.sh
vcopy usr/bin/* /usr/bin/ vcopy usr/bin/* /usr/bin/
vcopy usr/lib/systemd/system/* /usr/lib/systemd/system/ vcopy usr/lib/systemd/system/* /usr/lib/systemd/system/
vcopy usr/share/icons/hicolor/* /usr/share/icons/hicolor/ vcopy usr/share/icons/hicolor/* /usr/share/icons/hicolor/
@ -36,8 +43,8 @@ do_install() {
vmkdir /usr/share/zsh/site-functions vmkdir /usr/share/zsh/site-functions
mkdir -p ${DESTDIR}/opt/Mullvad\ VPN mkdir -p ${DESTDIR}/opt/MullvadVPN
cp -a ${wrksrc}/opt/Mullvad\ VPN/* ${DESTDIR}/opt/Mullvad\ VPN/ cp -a ${wrksrc}/opt/MullvadVPN/* ${DESTDIR}/opt/MullvadVPN/
} }
pkg_install() { pkg_install() {