File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed
Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ [Desktop Entry]
2+ Name =Vesktop
3+ Exec =/usr/bin/vesktop %U
4+ Terminal =false
5+ Type =Application
6+ Icon =vesktop
7+ StartupWMClass =vesktop
8+ GenericName =Internet Messenger
9+ Categories =Network;
10+ Keywords =discord;vencord;electron;chat;
11+ Comment =Vesktop is a custom Discord App aiming to give you better performance and improve Linux support. Vencord comes pre-installed.
12+ MimeType =x-scheme-handler/discord;
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ XDG_CONFIG_HOME=${XDG_CONFIG_HOME:- ~/ .config}
4+
5+ # Allow users to override command-line options
6+ if [ -f " $XDG_CONFIG_HOME /vesktop-flags.conf" ]; then
7+ VESKTOP_USER_FLAGS=" $( grep -v ' ^#' " $XDG_CONFIG_HOME /vesktop-flags.conf" ) "
8+ fi
9+
10+ # Launch (each word in VESKTOP_USER_FLAGS must be split)
11+ # shellcheck disable=SC2086
12+ exec /usr/lib/vesktop/vesktop $VESKTOP_USER_FLAGS " $@ "
Original file line number Diff line number Diff line change 1+ # Template file for 'vesktop'
2+ pkgname=vesktop
3+ version=1.6.3
4+ revision=1
5+ archs="x86_64 aarch64"
6+ hostmakedepends="nodejs pnpm tar xz"
7+ depends="alsa-lib gtk+3 nss"
8+ short_desc="Standalone Electron-based Discord app with Vencord & improved Linux support"
9+ maintainer="Nizarjh <chel773@tutamail.com>"
10+ license="GPL-3.0-only"
11+ homepage="https://github.com/Vencord/Vesktop"
12+ distfiles="https://github.com/Vencord/Vesktop/archive/v${version}.tar.gz"
13+ checksum=19f131dcfaa48df02268bbda538389c7e1ce63c80420fa617089a83253dba702
14+ do_extract() {
15+ mkdir -p "${wrksrc}"
16+ tar xf "${DISTDIR}/Vesktop-v${version}.tar.gz" --strip-components=1 -C "${wrksrc}"
17+ }
18+
19+ do_build() {
20+ cd "${wrksrc}"
21+ pnpm i --frozen-lockfile
22+ pnpm package:dir
23+ }
24+
25+ do_install() {
26+ cd "${wrksrc}"
27+ vmkdir usr/lib/${pkgname}
28+ vcopy "dist/linux-unpacked/*" "usr/lib/${pkgname}"
29+ vinstall ${FILESDIR}/vesktop.desktop 644 usr/share/applications vesktop.desktop
30+ vinstall build/icon.svg 644 usr/share/icons/hicolor/scalable/apps ${pkgname}.svg
31+ vlicense LICENSE
32+ vbin ${FILESDIR}/vesktop.sh ${pkgname}
33+ }
You can’t perform that action at this time.
0 commit comments