Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: vencord-desktop #1608

Open
wants to merge 4 commits into
base: frawhide
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions anda/apps/vencord-desktop/vencord-desktop.spec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Group: Applications/Internet
#Source1: launch.sh
Source0: https://github.com/Vencord/Vesktop/archive/refs/tags/v%{version}.tar.gz
Requires: xdg-utils
BuildRequires: nodejs-npm git
BuildRequires: pnpm git
# Conflicts: vesktop-bin

%description
Expand Down Expand Up @@ -45,27 +45,31 @@ EOF


%build
npx pnpm@8 install --no-frozen-lockfile
npx pnpm@8 package:dir
pnpm install
pnpm package:dir


%install

mkdir -p %buildroot/usr/share/vesktop
cp -r dist/*-unpacked/. %buildroot/usr/share/vesktop/.

install -Dm755 dist/*-unpacked/vencorddesktop %buildroot/usr/bin/vencorddesktop
ln -sf /usr/share/vesktop/vencorddesktop %buildroot/usr/bin/vencorddesktop
install -Dm644 vesktop.desktop %buildroot/usr/share/applications/vesktop.desktop
install -Dm644 build/icon.png %buildroot/usr/share/pixmaps/vesktop.png
ls -alh dist/*

install -Dm755 dist/*-unpacked/vesktop %buildroot%_bindir/vencorddesktop
ln -sf /usr/share/vesktop/vesktop %buildroot%_bindir/vencorddesktop
ln -sf /usr/share/vesktop/vesktop %buildroot%_bindir/vesktop
install -Dm644 vesktop.desktop %buildroot%_datadir/applications/vesktop.desktop
install -Dm644 build/icon.png %buildroot%_datadir/pixmaps/vesktop.png

%files
%doc README.md
%license LICENSE
/usr/bin/vencorddesktop
/usr/share/applications/vesktop.desktop
/usr/share/pixmaps/vesktop.png
/usr/share/vesktop/*
%_bindir/vencorddesktop
%_bindir/vesktop
%_datadir/applications/vesktop.desktop
%_datadir/pixmaps/vesktop.png
%_datadir/vesktop/*

%changelog
* Tue Nov 07 2023 Cappy Ishihara <[email protected]> - 0.4.3-1
Expand Down
Loading