diff options
author | irmluity | 2023-12-11 07:05:33 +0800 |
---|---|---|
committer | irmluity | 2023-12-11 07:05:33 +0800 |
commit | dcd15ca53feebe1fb3aef85d9a6904e634915b0d (patch) | |
tree | 470acb9120a26f74c74912d663be0d45cb0e4772 | |
parent | df346e47b4c033ada8be0d56cdc7393587b61e45 (diff) | |
download | aur-dcd15ca53feebe1fb3aef85d9a6904e634915b0d.tar.gz |
chore(hiddify-next): update flutter version and pkgrel
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = hiddify-next-git pkgdesc = A multi-platform proxy app. Auto, SSH, VLESS, Vmess, Trojan, Reality, Sing-Box, Clash, Xray, Shadowsocks pkgver = 0.11.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/hiddify/hiddify-next arch = x86_64 license = CCPL @@ -37,8 +37,8 @@ pkgbase = hiddify-next-git conflicts = hiddify-next-bin options = !strip source = git+https://github.com/hiddify/hiddify-next.git - source = https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.13.9-stable.tar.xz + source = https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.16.3-stable.tar.xz + sha256sums = SKIP sha256sums = SKIP - sha256sums = b6bc6f93423488c67110e0fe56523cd2260f3a4c379ed015cd1c7fab66362739 pkgname = hiddify-next-git @@ -3,7 +3,7 @@ _pkgname=hiddify-next pkgname=$_pkgname-git pkgver=0.11.1 -pkgrel=1 +pkgrel=2 pkgdesc="A multi-platform proxy app. Auto, SSH, VLESS, Vmess, Trojan, Reality, Sing-Box, Clash, Xray, Shadowsocks" arch=(x86_64) url='https://github.com/hiddify/hiddify-next' @@ -18,11 +18,11 @@ conflicts=(${_pkgname} ${_pkgname}-bin) options=(!strip) source=( "git+https://github.com/hiddify/hiddify-next.git" - "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.13.9-stable.tar.xz" + "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.16.3-stable.tar.xz" ) sha256sums=( "SKIP" - "b6bc6f93423488c67110e0fe56523cd2260f3a4c379ed015cd1c7fab66362739" + "SKIP" ) _install_path="/opt/$_pkgname" @@ -59,17 +59,16 @@ build() { mv dist/*/*.$EXT tmp_out/hiddify-linux-x64.$EXT chmod a+x tmp_out/hiddify-linux-x64.$EXT cd tmp_out - ./hiddify-linux-x64.AppImage --appimage-extract > /dev/null + ./hiddify-linux-x64.AppImage --appimage-extract >/dev/null sed -i 's/Exec=/Exec=env /' "./squashfs-root/hiddify.desktop" } - package() { install -Dm755 "${srcdir}/hiddify-next/tmp_out/hiddify-linux-x64.AppImage" "${pkgdir}/${_install_path}/hiddify.AppImage" install -Dm644 "${srcdir}/hiddify-next/tmp_out/squashfs-root/hiddify.desktop" "$pkgdir/usr/share/applications/hiddify.desktop" - for _icons in 128x128 256x256;do + for _icons in 128x128 256x256; do install -Dm644 "${srcdir}/hiddify-next/tmp_out/squashfs-root/usr/share/icons/hicolor/${_icons}/apps/hiddify.png" "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps/hiddify.png" done install -dm755 "${pkgdir}/usr/bin" - ln -s "/opt/${_pkgname}/${_pkgname}.AppImage" "${pkgdir}/usr/bin/hiddify" + ln -s "/opt/${_pkgname}/hiddify.AppImage" "${pkgdir}/usr/bin/hiddify" } |