diff options
author | zxp19821005 | 2025-03-04 22:46:22 +0800 |
---|---|---|
committer | zxp19821005 | 2025-03-04 22:46:22 +0800 |
commit | 8b9e37dd77fd863de759d084499e5a93be2ef7ba (patch) | |
tree | 50f57c4ac5f01511d4343322c363ca6b5e150e3c | |
parent | 67783eeded25e77a6e7aacee52b9636f4039c22f (diff) | |
download | aur-8b9e37dd77fd863de759d084499e5a93be2ef7ba.tar.gz |
update to 2.6.51
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 14 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = apifox-bin - pkgdesc = Apifox=Postman+Swagger+Mock+JMeter(Prebuilt version).API 文档、API 调试、API Mock、API 自动化测试 - pkgver = 2.6.50 + pkgdesc = Apifox=Postman+Swagger+Mock+JMeter(Prebuilt version.Use system-wide electron).API 文档、API 调试、API Mock、API 自动化测试 + pkgver = 2.6.51 pkgrel = 1 url = https://apifox.com/ arch = aarch64 @@ -11,16 +11,16 @@ pkgbase = apifox-bin depends = libxcrypt-compat depends = nodejs depends = java-runtime - provides = apifox=2.6.50 + provides = apifox=2.6.51 conflicts = apifox options = !strip source = apifox.sh source = LICENSE.html sha256sums = 291f50480f5a61bc9c68db7d44cd0412071128706baa868a9cb854f8779a1980 sha256sums = 3884df6451dd5aaadc867c2b6882a7feabccb10c7e1df98e48e9fe2414c9fe19 - source_aarch64 = apifox-2.6.50-aarch64.zip::https://file-assets.apifox.com/download/Apifox-linux-arm64-latest.zip - sha256sums_aarch64 = 32812da29389e55491fd07070794a9715a0b043b4755ec28e609fce035e87496 - source_x86_64 = apifox-2.6.50-x86_64.zip::https://file-assets.apifox.com/download/Apifox-linux-latest.zip - sha256sums_x86_64 = 172db1215ed61e65cbaa719ffb114bb309526cc48348d4e033a472e4d4531729 + source_aarch64 = apifox-2.6.51-aarch64.zip::https://file-assets.apifox.com/download/Apifox-linux-arm64-latest.zip + sha256sums_aarch64 = 8c7641f0a97f44d636f4fd52e82c0457d9061f4c35b698085084b69709a90ee2 + source_x86_64 = apifox-2.6.51-x86_64.zip::https://file-assets.apifox.com/download/Apifox-linux-latest.zip + sha256sums_x86_64 = 4b3298d76ab906a730d7fe04b83f318a63aad947e7a23a997bb2883bb2a3a40d pkgname = apifox-bin @@ -1,10 +1,10 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> pkgname=apifox-bin _pkgname=Apifox -pkgver=2.6.50 +pkgver=2.6.51 _electronversion=28 pkgrel=1 -pkgdesc="Apifox=Postman+Swagger+Mock+JMeter(Prebuilt version).API 文档、API 调试、API Mock、API 自动化测试" +pkgdesc="Apifox=Postman+Swagger+Mock+JMeter(Prebuilt version.Use system-wide electron).API 文档、API 调试、API Mock、API 自动化测试" arch=( 'aarch64' 'x86_64' @@ -34,20 +34,21 @@ source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.zip::https://file-assets.apif source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.zip::https://file-assets.apifox.com/download/${_pkgname}-linux-latest.zip") sha256sums=('291f50480f5a61bc9c68db7d44cd0412071128706baa868a9cb854f8779a1980' '3884df6451dd5aaadc867c2b6882a7feabccb10c7e1df98e48e9fe2414c9fe19') -sha256sums_aarch64=('32812da29389e55491fd07070794a9715a0b043b4755ec28e609fce035e87496') -sha256sums_x86_64=('172db1215ed61e65cbaa719ffb114bb309526cc48348d4e033a472e4d4531729') +sha256sums_aarch64=('8c7641f0a97f44d636f4fd52e82c0457d9061f4c35b698085084b69709a90ee2') +sha256sums_x86_64=('4b3298d76ab906a730d7fe04b83f318a63aad947e7a23a997bb2883bb2a3a40d') pkgver() { cd "${srcdir}/squashfs-root" grep "X-AppImage-Version" "${pkgname%-bin}.desktop" | sed "s/X-AppImage-Version=//g" } prepare() { - sed -e " + sed -i -e " s/@electronversion@/${_electronversion}/g s/@appname@/${pkgname%-bin}/g s/@runname@/app.asar/g s/@cfgdirname@/${pkgname%-bin}/g s/@options@/env ELECTRON_OZONE_PLATFORM_HINT=auto/g - " -i "${srcdir}/${pkgname%-bin}.sh" + " "${srcdir}/${pkgname%-bin}.sh" + chmod +x "${srcdir}/${_pkgname}"*.AppImage "${srcdir}/${_pkgname}"*.AppImage --appimage-extract > /dev/null sed -i "s/AppRun --no-sandbox/${pkgname%-bin}/g" "${srcdir}/squashfs-root/${pkgname%-bin}.desktop" find "${srcdir}/squashfs-root" -type d -perm 700 -exec chmod 755 {} \; |