From 176edd7338ab53d0a351ebf0cf90ed612f49b84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Sat, 4 May 2024 10:13:37 +0200 Subject: [PATCH] update vesktop & xbps-src --- srcpkgs/vesktop/template | 8 ++++---- xbps-src | 16 ++++++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/srcpkgs/vesktop/template b/srcpkgs/vesktop/template index f436a52..429c6a1 100644 --- a/srcpkgs/vesktop/template +++ b/srcpkgs/vesktop/template @@ -1,7 +1,7 @@ # Template file for 'vesktop' pkgname='vesktop' -version='1.5.1' +version='1.5.2' revision='1' arch='x86_64' short_desc='Vesktop gives you the performance of web Discord and the comfort of Discord Desktop' @@ -13,7 +13,7 @@ hostmakedepends="electron24" makedepends="pnpm git" distfiles="https://github.com/Vencord/Vesktop/archive/refs/tags/v${version}.tar.gz" -checksum="28f2fdc9a5d017446ad59f119dad0e2e649692d46c6ce8330891e7f0c725a33f" +checksum="2795891c71d3ec39fd412cf1396a3172499b58619b2e7f92ce81de3db19d5de7" do_build() { export SYSTEM_ELECTRON_VERSION=$( show-build-deps Show required build dependencies for . +show-check-deps + Show required check dependencies for . + show-deps Show required run-time dependencies for . Package must be installed into destdir. @@ -565,13 +568,14 @@ if [ -d "$XBPS_MASTERDIR" -a ! -w "$XBPS_MASTERDIR" ]; then fi # Try using chroot-git then git from the host system -if command -v chroot-git &>/dev/null; then - export XBPS_GIT_CMD=$(command -v chroot-git) -elif command -v git &>/dev/null; then - export XBPS_GIT_CMD=$(command -v git) +XBPS_GIT_CMD="$(PATH="/usr/libexec/chroot-git:$PATH:$XBPS_MASTERDIR/usr/libexec/chroot-git" command -v git 2>/dev/null)" +if [ -n "$XBPS_GIT_CMD" ]; then + export XBPS_GIT_CMD elif [ -z "$XBPS_USE_BUILD_MTIME" ] || [ "$XBPS_USE_GIT_REVS" ]; then echo "neither chroot-git or git are available in your system!" 1>&2 exit 1 +else + unset XBPS_GIT_CMD fi if [ -n "$XBPS_HOSTDIR" ]; then @@ -904,6 +908,10 @@ case "$XBPS_TARGET" in read_pkg ignore-problems show_pkg_makedepends ;; + show-checkdepends) + read_pkg ignore-problems + show_pkg_checkdepends + ;; show-pkg-var-dump) read_pkg ignore-problems for sub_name in $subpackages; do