mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +08:00
fix pkgbuild
This commit is contained in:
parent
d9e1afac9a
commit
893ccec8c3
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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: |
|
||||
|
||||
@ -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')
|
||||
|
||||
|
||||
@ -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(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user