diff --git a/install/aur/deploy_v2raya_bin.sh b/install/aur/deploy_v2raya_bin.sh index e9881a93..05e019f7 100644 --- a/install/aur/deploy_v2raya_bin.sh +++ b/install/aur/deploy_v2raya_bin.sh @@ -3,7 +3,7 @@ set -ex sha1sums_i686=$(sha1sum "$P_DIR"/v2raya_linux_x86_$VERSION | awk '{print $1}') sha1sums_x86_64=$(sha1sum "$P_DIR"/v2raya_linux_x64_$VERSION | awk '{print $1}') -sha1sums_armv6h=$(sha1sum "$P_DIR"/v2raya_linux_armv6_$VERSION | awk '{print $1}') +sha1sums_loong64=$(sha1sum "$P_DIR"/v2raya_linux_loongarch64_$VERSION | awk '{print $1}') sha1sums_armv7h=$(sha1sum "$P_DIR"/v2raya_linux_armv7_$VERSION | awk '{print $1}') sha1sums_aarch64=$(sha1sum "$P_DIR"/v2raya_linux_arm64_$VERSION | awk '{print $1}') sha_service=$(sha1sum "$P_DIR"/install/universal/v2raya.service | awk '{print $1}') @@ -22,7 +22,7 @@ cp "$P_DIR"/install/universal/v2raya-lite.service ./ sed -i s/{{pkgver}}/"$VERSION"/g PKGBUILD .SRCINFO sed -i s/{{sha1sums_i686}}/"${sha1sums_i686}"/g PKGBUILD .SRCINFO sed -i s/{{sha1sums_x86_64}}/"${sha1sums_x86_64}"/g PKGBUILD .SRCINFO -sed -i s/{{sha1sums_armv6h}}/"${sha1sums_armv6h}"/g PKGBUILD .SRCINFO +sed -i s/{{sha1sums_loong64}}/"${sha1sums_loong64}"/g PKGBUILD .SRCINFO sed -i s/{{sha1sums_armv7h}}/"${sha1sums_armv7h}"/g PKGBUILD .SRCINFO sed -i s/{{sha1sums_aarch64}}/"${sha1sums_aarch64}"/g PKGBUILD .SRCINFO sed -i s/{{sha_service}}/"${sha_service}"/g PKGBUILD .SRCINFO diff --git a/install/aur/v2raya-bin/.SRCINFO b/install/aur/v2raya-bin/.SRCINFO index d533eaf9..badd9bee 100644 --- a/install/aur/v2raya-bin/.SRCINFO +++ b/install/aur/v2raya-bin/.SRCINFO @@ -7,7 +7,7 @@ pkgbase = v2raya-bin arch = i686 arch = x86_64 arch = armv7h - arch = armv6h + arch = loong64 arch = aarch64 license = AGPL3 provides = v2raya @@ -27,7 +27,7 @@ pkgbase = v2raya-bin sha1sums_x86_64 = {{sha1sums_x86_64}} source_armv7h = v2raya_{{pkgver}}::https://apt.v2raya.org/static/v2raya_linux_armv7_{{pkgver}} sha1sums_armv7h = {{sha1sums_armv7h}} - source_armv6h = v2raya_{{pkgver}}::https://apt.v2raya.org/static/v2raya_linux_armv6_{{pkgver}} + source_loong64 = v2raya_{{pkgver}}::https://apt.v2raya.org/static/v2raya_linux_loongarch64_{{pkgver}} sha1sums_armv6h = {{sha1sums_armv6h}} source_aarch64 = v2raya_{{pkgver}}::https://apt.v2raya.org/static/v2raya_linux_arm64_{{pkgver}} sha1sums_aarch64 = {{sha1sums_aarch64}} diff --git a/install/aur/v2raya-bin/PKGBUILD b/install/aur/v2raya-bin/PKGBUILD index 6d4a723a..86d20cd4 100644 --- a/install/aur/v2raya-bin/PKGBUILD +++ b/install/aur/v2raya-bin/PKGBUILD @@ -34,9 +34,6 @@ source_x86_64=( source_aarch64=( "v2raya_${pkgver}::https://apt.v2raya.org/static/v2raya_linux_arm64_${pkgver}" ) -source_armv6h=( - "v2raya_${pkgver}::https://apt.v2raya.org/static/v2raya_linux_armv6_${pkgver}" -) source_armv7h=( "v2raya_${pkgver}::https://apt.v2raya.org/static/v2raya_linux_armv7_${pkgver}" ) @@ -60,9 +57,6 @@ sha1sums_x86_64=( sha1sums_aarch64=( '{{sha1sums_aarch64}}' ) -sha1sums_armv6h=( - '{{sha1sums_armv6h}}' -) sha1sums_armv7h=( '{{sha1sums_armv7h}}' )