upgpkg: discord-electron-openasar 0.0.26+800-1

Update to latest OpenAsar commit
This commit is contained in:
Manuel 2023-04-06 06:55:37 +02:00
parent 853bcfa50a
commit ad7a9fa1d5
2 changed files with 9 additions and 8 deletions

View file

@ -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

View file

@ -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