Package Details: v2raya-bin 2.2.6.2-1

Git Clone URL: https://aur.archlinux.org/v2raya-bin.git (read-only, click to copy)
Package Base: v2raya-bin
Description: A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan, Tuic and Juicity protocols
Upstream URL: https://github.com/v2rayA/v2rayA
Licenses: AGPL3
Conflicts: v2raya
Provides: v2raya
Submitter: mzz2017
Maintainer: mzz2017 (Asuna-w)
Last Packager: mzz2017
Votes: 10
Popularity: 0.000556
First Submitted: 2020-03-27 07:42 (UTC)
Last Updated: 2024-10-26 14:50 (UTC)

Latest Comments

1 2 3 4 Next › Last »

Firestar commented on 2024-09-05 12:18 (UTC)

but now armv6h also failed:

error: failed to parse srcinfo for 'v2raya-bin-2.2.5.8-1': undeclared architecture 'armv6h' in key 'sha1sums_armv6h': Line 31: sha1sums_armv6h = {{sha1sums_armv6h}}

Misaka13514 commented on 2024-08-20 13:11 (UTC)

This is the modification I would suggest, it would still take more work to apply it into the upstream CI process.

# Maintainer: mzz2017 <mzz@tuta.io>
# Co-Maintainer: Asuna <SpriteOvO[at]gmail[dot]com>
# Contributor: Misaka13514 <Misaka13514 at gmail dot com>
pkgname=v2raya-bin
_pkgname=v2raya
pkgver=2.2.5.8
pkgrel=1
pkgdesc="A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan, Tuic and Juicity protocols"
arch=('i686' 'x86_64' 'armv7h' 'aarch64' 'loong64' 'riscv64')
url="https://github.com/v2rayA/v2rayA"
license=('AGPL-3.0-only')
optdepends=('v2ray>=5.0.0' 'xray')
provides=('v2raya')
conflicts=('v2raya')
backup=("etc/default/v2raya")

source=("v2raya.service"
        "v2raya-lite.service"
        "v2raya.png"
        "v2raya.desktop")
source_i686=("${_pkgname}-i686-${pkgver}::${url}/releases/download/v${pkgver}/${_pkgname}_linux_x86_${pkgver}")
source_x86_64=("${_pkgname}-x86_64-${pkgver}::${url}/releases/download/v${pkgver}/${_pkgname}_linux_x64_${pkgver}")
source_aarch64=("${_pkgname}-aarch64-${pkgver}::${url}/releases/download/v${pkgver}/${_pkgname}_linux_arm64_${pkgver}")
source_armv7h=("${_pkgname}-armv7h-${pkgver}::${url}/releases/download/v${pkgver}/${_pkgname}_linux_armv7_${pkgver}")
source_loong64=("${_pkgname}-loong64-${pkgver}::${url}/releases/download/v${pkgver}/${_pkgname}_linux_loongarch64_${pkgver}")
source_riscv64=("${_pkgname}-riscv64-${pkgver}::${url}/releases/download/v${pkgver}/${_pkgname}_linux_riscv64_${pkgver}")

sha256sums=('1d2eaeb506337d4b6e4c6510b603723c2b51942357804bee324d7febd43e1d4b'
            'a5b32060ccd06abb40b6a852bde2f5a79e7f8dd5280fea0fcdbb28cfb9628d87'
            '1f536f73c91dfcf670f04f377216d555de474d0163944abf243d4779cea6ec2f'
            'd850f8d998e1935d55d583868b9e4c88f574029b111bcf2c2efabe37046b102f')
sha256sums_i686=('5fc38a1a9241f4837615c3d3b6ae0e1a402b95d50e33794ab6434538a18723fe')
sha256sums_x86_64=('df1bf3845c7d140dbdda74105152f20fb4697736d9a6a70f8587f67fa66feb75')
sha256sums_armv7h=('b8a9a9cee1cf06f459c26df2fa0377c5f19ce576b7db413e9a1d321385830c1d')
sha256sums_aarch64=('4fcb8deeb9c9f40dd08fb5c6acfece627a10379b973aad4f12ff4cad0d06508e')
sha256sums_loong64=('0a5f9b8a492b5d81bac159f8928800730b07dd92dd952bda1a388f5f2851a1fe')
sha256sums_riscv64=('3766f97b7edc77a40c3144659101bf7251d64ab3f42cb3fbe5f4c05ec7be806a')

build() {
    cd "$srcdir"

    # generate default config
    cat > "$srcdir/v2raya.conf" << EOF
# v2raya config example
# Everything has defaults so you only need to uncomment things you want to
# change

EOF
    chmod +x ./v2raya-"${CARCH}-${pkgver}"
    ./v2raya-"${CARCH}-${pkgver}" --report config | sed '1,6d' | fold -s -w 78 | sed -E 's/^([^#].+)/# \1/' >> "$srcdir/v2raya.conf"
}

package() {
    cd "$srcdir"
    install -Dm 755 v2raya-"${CARCH}-${pkgver}" "${pkgdir}"/usr/bin/v2raya
    install -Dm 644 v2raya.desktop -t "${pkgdir}"/usr/share/applications/
    install -Dm 644 v2raya.service -t "${pkgdir}"/usr/lib/systemd/system/
    install -Dm 644 v2raya-lite.service -t "${pkgdir}"/usr/lib/systemd/user/
    install -Dm 644 v2raya.png "${pkgdir}"/usr/share/icons/hicolor/512x512/apps/v2raya.png
    install -Dm 644 v2raya.conf "${pkgdir}"/etc/default/v2raya
}

aflt98 commented on 2024-08-20 12:17 (UTC)

@Asuna-w Any updates on the issue?

ImmortAlex commented on 2024-07-22 11:56 (UTC) (edited on 2024-07-22 11:57 (UTC) by ImmortAlex)

No, it's still not fixed, arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64' 'loong64') is still here.

lyhokia commented on 2024-07-19 02:00 (UTC)

@Asuna-w Looks like it is. It seems to be an issue with my AUR helper not being able to fetch the latest PKGBUILD file.

Asuna-w commented on 2024-07-18 16:48 (UTC)

@lyhokia Try the latest PKGBUILD file, isn't that fixed?

lyhokia commented on 2024-07-18 16:45 (UTC)

I run into the same problem due to armv6h mentioned by yifwon, so please fix it. Thank you!

yifwon commented on 2024-07-16 03:33 (UTC) (edited on 2024-07-16 03:35 (UTC) by yifwon)

seems forget to drop armv6h arch in PKGBUILD file

:: Synchronizing package databases...
 core is up to date
 extra is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1)         Old Version  New Version    Make Only
aur/v2raya-bin  2.2.5.7-1    2.2.5.8-1      No

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 (1/1) v2raya-bin-2.2.5.8-1                          [-----------------------------------------------------------------------------------------------------------------------------------------------------------]
error: failed to parse srcinfo for 'v2raya-bin-2.2.5.8-1': undeclared architecture 'armv6h' in key 'sha1sums_armv6h': Line 31: sha1sums_armv6h = {{sha1sums_armv6h}}

shaoping commented on 2024-07-15 15:50 (UTC)

# ~/.cache/yay/v2raya-bin [master ● (34c8e4c)] [23:23:09]
➜ yay -S v2raya-bin
AUR Explicit (1): v2raya-bin-2.2.5.7-1
:: PKGBUILD 是最新的,跳过下载: v2raya-bin
  1 v2raya-bin                               (构建文件已存在)
==> 清理哪些软件包的构建文件?
==> [N]没有 [A]全部 [Ab]中止 [I]已安装 [No]未安装 或 (1 2 3, 1-3, ^4)
==> N
  1 v2raya-bin                               (构建文件已存在)
==> 显示哪些包的差异?
==> [N]没有 [A]全部 [Ab]中止 [I]已安装 [No]未安装 或 (1 2 3, 1-3, ^4)
==> N
==> 错误: sha1sums 不允许空值。
 -> 下载源文件时出错: /home/shaoping/.cache/yay/v2raya-bin 
         context: exit status 12 


:: (1/1) 正在解析 SRCINFO: v2raya-bin
==> 错误: sha1sums 不允许空值。
 -> 生成时出错: v2raya-bin-exit status 12
 -> 无法安装以下软件包, 需要手动介入处理:
v2raya-bin - exit status 12