initial commit
This commit is contained in:
40
srcpkgs/vesktop/template
Normal file
40
srcpkgs/vesktop/template
Normal file
@ -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
|
||||
}
|
Reference in New Issue
Block a user