aboutsummaryrefslogtreecommitdiffstats
path: root/srcpkgs/vesktop
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--srcpkgs/vesktop/template40
1 files changed, 40 insertions, 0 deletions
diff --git a/srcpkgs/vesktop/template b/srcpkgs/vesktop/template
new file mode 100644
index 0000000..c7e60ea
--- /dev/null
+++ b/srcpkgs/vesktop/template
@@ -0,0 +1,40 @@
+# Template file for 'vesktop'
+pkgname=vesktop
+version=1.5.3
+revision=1
+archs="x86_64"
+short_desc="custom Discord App"
+maintainer="Zachary Scheiman <me@zacharyscheiman.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Vencord/Vesktop"
+distfiles="https://github.com/Vencord/Vesktop/releases/download/v${version}/vesktop-${version}.tar.gz"
+checksum=5ab37924e87bd7beb19ce2cc6599c280be765f1577573f014918fb60b5a7cd86
+
+do_install() {
+ local package_location="usr/lib/$pkgname" item
+ vmkdir ${package_location}
+ chmod +x vesktop
+ for item in \
+ locales \
+ resources \
+ vesktop \
+ libffmpeg.so \
+ snapshot_blob.bin \
+ icudtl.dat \
+ libEGL.so \
+ libGLESv2.so \
+ chrome_100_percent.pak \
+ chrome_200_percent.pak \
+ chrome-sandbox \
+ chrome_crashpad_handler \
+ resources.pak \
+ libvulkan.so.1 \
+ v8_context_snapshot.bin \
+ libvk_swiftshader.so \
+ vk_swiftshader_icd.json
+ do
+ vcopy "${item}" "${package_location}"
+ done
+ vmkdir usr/bin
+ ln -sfr $DESTDIR/${package_location}/vesktop $DESTDIR/usr/bin/vesktop
+}