From be12130689e44302b9d8b550b2380ca9d852679f Mon Sep 17 00:00:00 2001 From: SlimJiM Date: Tue, 16 Jun 2026 16:38:11 +0100 Subject: [PATCH 1/7] new package: protonvpn-local-agent_1.6.3 --- srcpkgs/protonvpn-local-agent/template | 36 ++++++++++++++++++++++++++ srcpkgs/protonvpn-local-agent/update | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 srcpkgs/protonvpn-local-agent/template create mode 100644 srcpkgs/protonvpn-local-agent/update diff --git a/srcpkgs/protonvpn-local-agent/template b/srcpkgs/protonvpn-local-agent/template new file mode 100644 index 00000000000000..cc4bcf5f9ad708 --- /dev/null +++ b/srcpkgs/protonvpn-local-agent/template @@ -0,0 +1,36 @@ +# Template file for 'protonvpn-local-agent' +pkgname=protonvpn-local-agent +version=1.6.3 +revision=1 +archs="x86_64*" +build_style=cargo +hostmakedepends="python3-packaging-bootstrap" +makedepends="git cargo python3-devel" +depends="python" +short_desc="ProtonVPN local agent written in Rust" +maintainer="SlimJiM " +license="GPL-3.0-or-later" +homepage="https://protonvpn.com" +distfiles="https://github.com/ProtonVPN/local-agent-rs/archive/refs/tags/${version}.tar.gz" +checksum=2558807482dcd56c1fb35535698292f1198706bf9f9286c9afd0ad4c8567081c +provides="py3:proton-vpn-local-agent-${version}_${revision}" + +pre_build() { + cd "${wrksrc}/python-proton-vpn-local-agent" + cargo fetch --locked --target "$(rustc --print host-tuple)" +} + +do_build() { + cd "${wrksrc}/python-proton-vpn-local-agent" + cargo build --frozen --release --all-features +} + +do_check() { + cd "${wrksrc}/python-proton-vpn-local-agent" + cargo test --frozen --all-features +} + +do_install() { + mkdir -p "${DESTDIR}/${py3_sitelib}/proton/vpn" + install -Dm755 python-proton-vpn-local-agent/target/release/libpython_proton_vpn_local_agent.so "${DESTDIR}/${py3_sitelib}/proton/vpn/local_agent.abi3.so" +} diff --git a/srcpkgs/protonvpn-local-agent/update b/srcpkgs/protonvpn-local-agent/update new file mode 100644 index 00000000000000..279c636509ac15 --- /dev/null +++ b/srcpkgs/protonvpn-local-agent/update @@ -0,0 +1,2 @@ +site=https://github.com/ProtonVPN/local-agent-rs/tags +pattern="/archive/refs/tags/\K[\d.]+(?=\.tar\.gz)" From 70934dff65930fd9a454bb67718af5a8b0785c69 Mon Sep 17 00:00:00 2001 From: SlimJiM Date: Tue, 16 Jun 2026 16:38:28 +0100 Subject: [PATCH 2/7] new package: protonvpn-core_0.7.0 --- srcpkgs/protonvpn-core/template | 14 ++++++++++++++ srcpkgs/protonvpn-core/update | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 srcpkgs/protonvpn-core/template create mode 100644 srcpkgs/protonvpn-core/update diff --git a/srcpkgs/protonvpn-core/template b/srcpkgs/protonvpn-core/template new file mode 100644 index 00000000000000..3f8967ddaf3c15 --- /dev/null +++ b/srcpkgs/protonvpn-core/template @@ -0,0 +1,14 @@ +# Template file for 'protonvpn-core' +pkgname=protonvpn-core +version=0.7.0 +revision=1 +archs="x86_64*" +build_style=python3-module +makedepends="python3-setuptools" +depends="python3 python3-aiohttp python3-bcrypt python3-gnupg python3-openssl python3-requests" +short_desc="ProtonVPN Core Library" +maintainer="SlimJiM " +license="GPL-3.0-or-later" +homepage="https://protonvpn.com" +distfiles="https://github.com/ProtonVPN/python-proton-core/archive/refs/tags/v${version}.tar.gz" +checksum=7b917102785e85ed3960afc1813fb7e87de6742db3eb77153cc6b3dafa68cca7 diff --git a/srcpkgs/protonvpn-core/update b/srcpkgs/protonvpn-core/update new file mode 100644 index 00000000000000..1ab8a3ed45aae5 --- /dev/null +++ b/srcpkgs/protonvpn-core/update @@ -0,0 +1,2 @@ +site=https://github.com/ProtonVPN/python-proton-core/tags +pattern="/archive/refs/tags/v\K[\d.]+(?=\.tar\.gz)" \ No newline at end of file From 3a41926fddecd340c5dc7c9b3fc81e86d8ff0482 Mon Sep 17 00:00:00 2001 From: SlimJiM Date: Tue, 16 Jun 2026 16:38:58 +0100 Subject: [PATCH 3/7] new package: protonvpn-api-core_5.2.5 --- srcpkgs/protonvpn-api-core/template | 14 ++++++++++++++ srcpkgs/protonvpn-api-core/update | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 srcpkgs/protonvpn-api-core/template create mode 100644 srcpkgs/protonvpn-api-core/update diff --git a/srcpkgs/protonvpn-api-core/template b/srcpkgs/protonvpn-api-core/template new file mode 100644 index 00000000000000..55e723d03532fa --- /dev/null +++ b/srcpkgs/protonvpn-api-core/template @@ -0,0 +1,14 @@ +# Template file for 'protonvpn-api-core' +pkgname=protonvpn-api-core +version=5.2.5 +revision=1 +archs="x86_64*" +build_style=python3-module +makedepends="python3-setuptools" +depends="python3 python3-Jinja2 python3-cairo python3-cryptography python3-distro python3-fido2 python3-gobject python3-packaging python3-pynacl python3-sentry protonvpn-core protonvpn-local-agent" +short_desc="ProtonVPN API Core" +maintainer="SlimJiM " +license="GPL-3.0-or-later" +homepage="https://protonvpn.com" +distfiles="https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v${version}.tar.gz" +checksum=5724b974c299736954105ae19fc497e724c71345e9e27708e389209bae02c322 diff --git a/srcpkgs/protonvpn-api-core/update b/srcpkgs/protonvpn-api-core/update new file mode 100644 index 00000000000000..e299b54c7b8668 --- /dev/null +++ b/srcpkgs/protonvpn-api-core/update @@ -0,0 +1,2 @@ +site=https://github.com/ProtonVPN/python-proton-vpn-api-core/tags +pattern="/archive/refs/tags/v\K[\d.]+(?=\.tar\.gz)" \ No newline at end of file From 8f948e6c5c1f28d9118ec6ddc6d0799ba08d1350 Mon Sep 17 00:00:00 2001 From: SlimJiM Date: Tue, 16 Jun 2026 16:39:17 +0100 Subject: [PATCH 4/7] new package: protonvpn-gui_4.16.5 --- srcpkgs/protonvpn-gui/template | 14 ++++++++++++++ srcpkgs/protonvpn-gui/update | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 srcpkgs/protonvpn-gui/template create mode 100644 srcpkgs/protonvpn-gui/update diff --git a/srcpkgs/protonvpn-gui/template b/srcpkgs/protonvpn-gui/template new file mode 100644 index 00000000000000..8b026ee89efe77 --- /dev/null +++ b/srcpkgs/protonvpn-gui/template @@ -0,0 +1,14 @@ +# Template file for 'protonvpn-gui' +pkgname=protonvpn-gui +version=4.16.5 +revision=1 +archs="x86_64*" +build_style=python3-module +makedepends="python3-setuptools" +depends="python3 python3-cairo python3-dbus python3-distro python3-gobject python3-packaging python3-requests protonvpn-api-core protonvpn-core" +short_desc="ProtonVPN GTK GUI application" +maintainer="SlimJiM " +license="GPL-3.0-or-later" +homepage="https://protonvpn.com" +distfiles="https://github.com/ProtonVPN/proton-vpn-gtk-app/archive/refs/tags/v${version}.tar.gz" +checksum=6d106a38befd51e045cfb8abdf4c5c8d249021038092d6a9cb1d81ad555f9ee6 diff --git a/srcpkgs/protonvpn-gui/update b/srcpkgs/protonvpn-gui/update new file mode 100644 index 00000000000000..c44f04c19c159f --- /dev/null +++ b/srcpkgs/protonvpn-gui/update @@ -0,0 +1,2 @@ +site=https://github.com/ProtonVPN/proton-vpn-gtk-app/tags +pattern="/archive/refs/tags/v\K[\d.]+(?=\.tar\.gz)" \ No newline at end of file From e7ef633a53d326f32e39da544ca3542ccabc28b0 Mon Sep 17 00:00:00 2001 From: SlimJiM Date: Tue, 16 Jun 2026 17:01:52 +0100 Subject: [PATCH 5/7] new package: proton-keyring-linux_0.2.2 --- srcpkgs/proton-keyring-linux/template | 15 +++++++++++++++ srcpkgs/proton-keyring-linux/update | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 srcpkgs/proton-keyring-linux/template create mode 100644 srcpkgs/proton-keyring-linux/update diff --git a/srcpkgs/proton-keyring-linux/template b/srcpkgs/proton-keyring-linux/template new file mode 100644 index 00000000000000..193fcb184cc875 --- /dev/null +++ b/srcpkgs/proton-keyring-linux/template @@ -0,0 +1,15 @@ +# Template file for 'proton-keyring-linux' +pkgname=proton-keyring-linux +version=0.2.2 +revision=1 +archs="x86_64*" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-keyring protonvpn-core" +short_desc="Proton Technologies keyring plugins for linux" +maintainer="SlimJiM " +license="GPL-3.0-or-later" +homepage="https://protonvpn.com" +distfiles="https://github.com/ProtonVPN/python-proton-keyring-linux/archive/refs/tags/v${version}.tar.gz" +checksum=cb5ae5ea394cb6e6ccbea0d1b3cf96d1cfdb494bff47011e010bda06bce26b9e +provides="py3:proton-keyring-linux-${version}_${revision}" diff --git a/srcpkgs/proton-keyring-linux/update b/srcpkgs/proton-keyring-linux/update new file mode 100644 index 00000000000000..2074a5c8f165d1 --- /dev/null +++ b/srcpkgs/proton-keyring-linux/update @@ -0,0 +1,2 @@ +site=https://github.com/ProtonVPN/python-proton-keyring-linux/tags +pattern="/archive/refs/tags/v\K[\d.]+(?=\.tar\.gz)" From 1f1994a87e0dab02e60a804ca4b5778da391234b Mon Sep 17 00:00:00 2001 From: SlimJiM Date: Tue, 16 Jun 2026 17:02:10 +0100 Subject: [PATCH 6/7] new package: protonvpn-cli_1.0.1 --- srcpkgs/protonvpn-cli/template | 14 ++++++++++++++ srcpkgs/protonvpn-cli/update | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 srcpkgs/protonvpn-cli/template create mode 100644 srcpkgs/protonvpn-cli/update diff --git a/srcpkgs/protonvpn-cli/template b/srcpkgs/protonvpn-cli/template new file mode 100644 index 00000000000000..9f4e7131f0df72 --- /dev/null +++ b/srcpkgs/protonvpn-cli/template @@ -0,0 +1,14 @@ +# Template file for 'protonvpn-cli' +pkgname=protonvpn-cli +version=1.0.1 +revision=1 +archs="x86_64*" +build_style=python3-module +makedepends="python3-setuptools" +depends="python3-click python3-dbus-fast python3-tabulate protonvpn-core protonvpn-api-core proton-keyring-linux protonvpn-local-agent" +short_desc="ProtonVPN CLI" +maintainer="SlimJiM " +license="GPL-3.0-or-later" +homepage="https://protonvpn.com" +distfiles="https://github.com/ProtonVPN/proton-vpn-cli/archive/refs/tags/v${version}.tar.gz" +checksum=704742c428b7f7638ba9afb223bcd6e9f6b00fd2f6d63f361e8b2092423f4b8e diff --git a/srcpkgs/protonvpn-cli/update b/srcpkgs/protonvpn-cli/update new file mode 100644 index 00000000000000..a3cee93a6fa25f --- /dev/null +++ b/srcpkgs/protonvpn-cli/update @@ -0,0 +1,2 @@ +site=https://github.com/ProtonVPN/proton-vpn-cli/tags +pattern="/archive/refs/tags/v\K[\d.]+(?=\.tar\.gz)" \ No newline at end of file From e8ae17a07d0103b2ab602b7eab9fb25b946e9096 Mon Sep 17 00:00:00 2001 From: SlimJiM Date: Thu, 6 Aug 2026 17:03:11 +0100 Subject: [PATCH 7/7] protonvpn_gui: add desktop entries --- srcpkgs/protonvpn-gui/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/protonvpn-gui/template b/srcpkgs/protonvpn-gui/template index 8b026ee89efe77..52459236e4b36f 100644 --- a/srcpkgs/protonvpn-gui/template +++ b/srcpkgs/protonvpn-gui/template @@ -12,3 +12,8 @@ license="GPL-3.0-or-later" homepage="https://protonvpn.com" distfiles="https://github.com/ProtonVPN/proton-vpn-gtk-app/archive/refs/tags/v${version}.tar.gz" checksum=6d106a38befd51e045cfb8abdf4c5c8d249021038092d6a9cb1d81ad555f9ee6 + +post_install() { + vinstall rpmbuild/SOURCES/proton.vpn.app.gtk.desktop 644 usr/share/applications + vinstall rpmbuild/SOURCES/proton-vpn-logo.svg 644 usr/share/icons/hicolor/scalable/apps +}