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(){