From ad7a9fa1d52d6c62fee4a3264523946c2b835c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Thu, 6 Apr 2023 06:55:37 +0200 Subject: [PATCH] upgpkg: discord-electron-openasar 0.0.26+800-1 Update to latest OpenAsar commit --- .SRCINFO | 4 ++-- PKGBUILD | 13 +++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f6e1460..2ac2632 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = discord-electron-openasar pkgdesc = Discord packaged with OpenAsar using system provided electron (v21) for increased security and performance - pkgver = 0.0.26+795 + pkgver = 0.0.26+800 pkgrel = 1 url = https://discord.com arch = x86_64 @@ -17,7 +17,7 @@ pkgbase = discord-electron-openasar conflicts = discord options = !strip source = https://dl.discordapp.net/apps/linux/0.0.26/discord-0.0.26.tar.gz - source = git+https://github.com/goosemod/openasar.git#commit=28e8ed4a6068aea8adf737f57cb5fd15a434f998 + source = git+https://github.com/goosemod/openasar.git#commit=6705ee9933c48e494ac0350936015796e6d61acc sha512sums = 65477c2c033f30850a699706a6502ff4f4af8838185716d968d641fdab3033555139b04bf91a111a847aca14113e33ba6248d49ba317fd43cbacb099e974117b sha512sums = SKIP diff --git a/PKGBUILD b/PKGBUILD index 6993849..c9a18a3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,7 @@ pkgname=discord-electron-openasar _pkgname=discord _electron=21 -pkgver=0.0.26+795 +pkgver=0.0.26+800 _pkgver=${pkgver%%+*} pkgrel=1 pkgdesc="Discord packaged with OpenAsar using system provided electron (v${_electron}) for increased security and performance" @@ -24,14 +24,15 @@ optdepends=( 'xdg-utils: Open files' ) source=("https://dl.discordapp.net/apps/linux/${_pkgver}/discord-${_pkgver}.tar.gz" - "git+https://github.com/goosemod/openasar.git#commit=28e8ed4a6068aea8adf737f57cb5fd15a434f998") + "git+https://github.com/goosemod/openasar.git#commit=6705ee9933c48e494ac0350936015796e6d61acc") sha512sums=('65477c2c033f30850a699706a6502ff4f4af8838185716d968d641fdab3033555139b04bf91a111a847aca14113e33ba6248d49ba317fd43cbacb099e974117b' 'SKIP') -#pkgver() { -# cd "${srcdir}/openasar" -# printf "%s+%s" "$_pkgver" "$(git rev-list --count HEAD)" -#} +# just in case I get the version wrong +pkgver() { + cd "${srcdir}/openasar" + printf "%s+%s" "$_pkgver" "$(git rev-list --count HEAD)" +} prepare() { # create launcher script