From 6da7540d20d763f8d56f873862fe979415a5a8c9 Mon Sep 17 00:00:00 2001 From: Wizzard Date: Sat, 23 Dec 2023 22:15:03 -0500 Subject: [PATCH] First push --- run.sh | 2 ++ template | 28 ++++++++++++++++++++++++++++ vencorddesktop.desktop | 10 ++++++++++ 3 files changed, 40 insertions(+) create mode 100755 run.sh create mode 100644 template create mode 100644 vencorddesktop.desktop diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..ff52dcd --- /dev/null +++ b/run.sh @@ -0,0 +1,2 @@ +export LD_LIBRARY_PATH=/opt/gcc-13.2.1/lib64:$LD_LIBRARY_PATH +./vencorddesktop diff --git a/template b/template new file mode 100644 index 0000000..bf3d96f --- /dev/null +++ b/template @@ -0,0 +1,28 @@ +# Template file for 'Vesktop' +pkgname=vesktop +version=0.4.4 +revision=1 +archs="x86_64" +maintainer="Wizzard " +short_desc="Vesktop - Your Short Description" +homepage="https://github.com/Vencord/Vesktop" +license="LicenseType" +distfiles="https://github.com/Vencord/Vesktop/releases/download/v${version}/VencordDesktop_${version}_amd64.deb" +checksum=b08f769ee19d32e27301ace10f0034594e364a1cf5bad4260d401d1eea3accaa +hostmakedepends="tar xz" + +do_extract() { + ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/VencordDesktop_${version}_amd64.deb + tar xf data.tar.xz -C ${wrksrc} +} + +do_install() { + vmkdir /usr/share + vmkdir /opt/Vesktop + + # Copy the files and directories + vcopy usr/share/* /usr/share/ + vcopy opt/Vesktop/* /opt/Vesktop/ +} + +# Any other necessary functions or variables diff --git a/vencorddesktop.desktop b/vencorddesktop.desktop new file mode 100644 index 0000000..a5a0003 --- /dev/null +++ b/vencorddesktop.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Vesktop +Exec=/opt/Vesktop/run.sh %U +Terminal=false +Type=Application +Icon=vencorddesktop +StartupWMClass=VencordDesktop +GenericName=Internet Messenger +Categories=Network; +Keywords=discord;vencord;electron;chat;