From 893ccec8c34dd12e1bc50edd63360c4513bc9846 Mon Sep 17 00:00:00 2001 From: pompurin404 Date: Fri, 16 Aug 2024 21:02:22 +0800 Subject: [PATCH] fix pkgbuild --- .github/workflows/build.yml | 4 ++-- aur/mihomo-party-electron/PKGBUILD | 5 ++--- aur/mihomo-party/PKGBUILD | 6 ++---- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b5780b..0e1d173 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -188,8 +188,8 @@ jobs: if: matrix.pkgname == 'mihomo-party' || matrix.pkgname == 'mihomo-party-electron' run: | wget https://github.com/pompurin404/mihomo-party/archive/refs/tags/$(echo ${{ github.ref }} | tr -d 'refs/tags/').tar.gz -O release.tar.gz - sed -i "s/sha256sums=.*/sha256sums=(\"$(sha256sum ./release.tar.gz | awk '{print $1}')\")/" aur/mihomo-party/PKGBUILD - sed -i "s/sha256sums=.*/sha256sums=(\"$(sha256sum ./release.tar.gz | awk '{print $1}')\")/" aur/mihomo-party-electron/PKGBUILD + sed -i "s/sha256sums=.*/sha256sums=(\"$(sha256sum ./release.tar.gz | awk '{print $1}')\"/" aur/mihomo-party/PKGBUILD + sed -i "s/sha256sums=.*/sha256sums=(\"$(sha256sum ./release.tar.gz | awk '{print $1}')\"/" aur/mihomo-party-electron/PKGBUILD - name: Update Checksums if: matrix.pkgname == 'mihomo-party-bin' || matrix.pkgname == 'mihomo-party-electron-bin' run: | diff --git a/aur/mihomo-party-electron/PKGBUILD b/aur/mihomo-party-electron/PKGBUILD index a908d33..fb6023b 100644 --- a/aur/mihomo-party-electron/PKGBUILD +++ b/aur/mihomo-party-electron/PKGBUILD @@ -15,9 +15,8 @@ source=( "${_pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz" "${_pkgname}.sh" ) -sha256sums=( - "52d761e9432e17477acb8adb5744676df946476e0eb5210fee2b6d45f497f218" - "560733f0e5bd9b47ff50c849301c8a22ae17a5df26830d8c97033dfcbd392382" +sha256sums=("52d761e9432e17477acb8adb5744676df946476e0eb5210fee2b6d45f497f218" +"560733f0e5bd9b47ff50c849301c8a22ae17a5df26830d8c97033dfcbd392382" ) options=('!lto') diff --git a/aur/mihomo-party/PKGBUILD b/aur/mihomo-party/PKGBUILD index fbb7053..6aaaa4e 100644 --- a/aur/mihomo-party/PKGBUILD +++ b/aur/mihomo-party/PKGBUILD @@ -14,10 +14,8 @@ source=( "${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz" "${pkgname}.sh" ) -sha256sums=( - "52d761e9432e17477acb8adb5744676df946476e0eb5210fee2b6d45f497f218" - "f8049c1f26d5a92fbcebd7bebbdedbb3eab53422b21cf6127418251ccd061282" -) +sha256sums=("52d761e9432e17477acb8adb5744676df946476e0eb5210fee2b6d45f497f218" +"f8049c1f26d5a92fbcebd7bebbdedbb3eab53422b21cf6127418251ccd061282") options=('!lto') prepare(){