From 6a03866165dffcb07623a2076fbd671a4c43f4c3 Mon Sep 17 00:00:00 2001 From: V <150687949+vigress8@users.noreply.github.com> Date: Thu, 21 Dec 2023 03:08:53 +0400 Subject: [PATCH] Update librewolf-app.pacscript --- packages/librewolf-app/librewolf-app.pacscript | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/librewolf-app/librewolf-app.pacscript b/packages/librewolf-app/librewolf-app.pacscript index 5cdffe27ce..58c5f8d153 100644 --- a/packages/librewolf-app/librewolf-app.pacscript +++ b/packages/librewolf-app/librewolf-app.pacscript @@ -4,17 +4,13 @@ pkgname="librewolf" pkgver="120.0.1-1" pkgdesc="A fork of Firefox, focused on privacy, security and freedom." arch=("amd64" "arm64") -case "${CARCH}" in - amd64) +if [[ ${CARCH} == "amd64" ]]; then gnuarch="x86_64" hash="21e73e405835bd6cfdaecc9930423f68e544eccb52deb7c992e90f5085ca487e" - ;; - arm64) +else gnuarch="aarch64" hash="af10277447c2c469d3b6c6a4ea99460de90346edfd8515066a317a954659e0f4" - ;; - *) return 1 ;; -esac +fi url="https://gitlab.com/api/v4/projects/24386000/packages/generic/${pkgname}/${pkgver}/LibreWolf.${gnuarch}.AppImage" breaks=("${pkgname}-deb" "${pkgname}-bin" "${pkgname}-git")