Skip to content

Commit

Permalink
4.4.1-3
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylquinal committed Aug 4, 2024
1 parent e8b4b63 commit a4d84d8
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=protonvpn-bin
pkgver=4.4.1
pkgrel=2
pkgrel=3
pkgdesc="ProtonVPN for Linux"
url="https://github.com/Zylquinal/protonvpn-bin"
arch=('any')
Expand Down Expand Up @@ -47,11 +47,11 @@ source=("https://repo.protonvpn.com/fedora-40-unstable/proton-vpn-gtk-app/proton
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-api-core/python3-proton-vpn-api-core-0.27.2-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-connection/python3-proton-vpn-connection-0.16.0-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-killswitch/python3-proton-vpn-killswitch-0.5.0-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-killswitch-network-manager/python3-proton-vpn-killswitch-network-manager-0.4.5-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-killswitch-network-manager-wireguard/python3-proton-vpn-killswitch-network-manager-wireguard-0.0.5-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-killswitch-network-manager/python3-proton-vpn-killswitch-network-manager-0.5.0-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-killswitch-network-manager-wireguard/python3-proton-vpn-killswitch-network-manager-wireguard-0.1.0-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-logger/python3-proton-vpn-logger-0.2.1-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-network-manager/python3-proton-vpn-network-manager-0.4.2-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-network-manager-openvpn/python3-proton-vpn-network-manager-openvpn-0.0.7-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-network-manager/python3-proton-vpn-network-manager-0.5.0-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-network-manager-openvpn/python3-proton-vpn-network-manager-openvpn-0.1.0-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-network-manager-wireguard/python3-proton-vpn-network-manager-wireguard-0.0.7-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-session/python3-proton-vpn-session-0.6.7-1.fc40.noarch.rpm"
"https://repo.protonvpn.com/fedora-40-unstable/python3-proton-core/python3-proton-core-0.2.0-1.fc40.noarch.rpm"
Expand All @@ -63,15 +63,24 @@ sha256sums=('98746876c97e8b11ec82c1a301f6aa8c311493c4a3373abe785857dbe0d97838'
'2fdb0acff27985416a4301ad30f49bc65358278b0ac5bd334dca701d3f408a98'
'3fc97514641eeb1afe07353244dd23e4bb5b35fd995a2f10b7bca73bc3280528'
'3217de02b89978d73a94af4ac7a0ca07d48b9cdd31add7c088b90c69ebe9b48d'
'1299fe42738964973d3711d4d05fcca83ccbcc6a05c4d821f950407bca04d0fe'
'64c7cf662ac50778a615473a86e9eca19727c417ab606220bafd29c96f2c3e67'
'cfcd266997db570a19e83bc4aa616d91967752c13437f0c2246eabe22c1a0b50'
'a42a977cf612bc6db532ec664f9461352185493c3d63898e3853321c01497268'
'8bfa9910f3bc19b3e962200693deac030a4214c1d332985273e668b2d0cf4105'
'3cc3ae1af8fd38e8137376b9b55295658234ceba9301f61f32831be11342979a'
'bc69be8c1c8c9dfbe8852fa02bfbe68ff463d75eb511a9294bd841be998fc8d6'
'0181517aedc81314b7b659603239e0b8db46aa4d8b6e338f136cbcf6a94c4a9a'
'1b0abc443e2998e773247edf59f88abce3f28c55780a65c0b64a88c5d8c1242f'
'a045d86a375eeff05189f77557a3a6de6fb8a8013bb71846949e1121ef79e952'
'18ca68943e5b3d54116eedb0491eb01c96ce70b131926974380c693fa7bb780c'
'bc6581a9e5a27a978376b7a1abef65d7758fa5f584a6e97899b4fed3c38abccd')

if [[ "$CARCH" == "x86_64" ]]; then
source+=("https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-local-agent/python3-proton-vpn-local-agent-0.3.1-1.fc40.x86_64.rpm")
sha256sums+=("e9b011cab236648910a1b31facf9eafb1be36130b5bff940ca3d5c4bc1633ab6")
elif [[ "$CARCH" == "aarch64" ]]; then
source+=("https://repo.protonvpn.com/fedora-40-unstable/python3-proton-vpn-local-agent/python3-proton-vpn-local-agent-0.3.1-1.fc40.aarch64.rpm")
sha256sums+=("a9c10bb1017d499b138acd4f565b4458eeefce2883b2c0e07333f4c0d11fcea1")
fi

package() {
find $srcdir/ -mindepth 1 -maxdepth 1 -type d | xargs cp -r -t "$pkgdir"
mv $pkgdir/usr/lib64 $pkgdir/usr/lib
}

0 comments on commit a4d84d8

Please sign in to comment.