Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions srcpkgs/proton-keyring-linux/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Template file for 'proton-keyring-linux'
pkgname=proton-keyring-linux
version=0.2.2
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3 python3-keyring protonvpn-core"
short_desc="Proton Technologies keyring plugins for linux"
maintainer="SlimJiM <slimjim@slimjimsoftware.co.uk>"
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}"
2 changes: 2 additions & 0 deletions srcpkgs/proton-keyring-linux/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
site=https://github.com/ProtonVPN/python-proton-keyring-linux/tags
pattern="/archive/refs/tags/\K[\d.]+(?=\.tar\.gz)"
13 changes: 13 additions & 0 deletions srcpkgs/protonvpn-api-core/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Template file for 'protonvpn-api-core'
pkgname=protonvpn-api-core
version=5.2.5
revision=1
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 <slimjim@slimjimsoftware.co.uk>"
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
2 changes: 2 additions & 0 deletions srcpkgs/protonvpn-api-core/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
site=https://github.com/ProtonVPN/python-proton-vpn-api-core/tags
pattern="/archive/refs/tags/v\K[\d.]+(?=\.tar\.gz)"
13 changes: 13 additions & 0 deletions srcpkgs/protonvpn-cli/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Template file for 'protonvpn-cli'
pkgname=protonvpn-cli
version=1.0.1
revision=1
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 <slimjim@slimjimsoftware.co.uk>"
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
2 changes: 2 additions & 0 deletions srcpkgs/protonvpn-cli/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
site=https://github.com/ProtonVPN/proton-vpn-cli/tags
pattern="/archive/refs/tags/v\K[\d.]+(?=\.tar\.gz)"
13 changes: 13 additions & 0 deletions srcpkgs/protonvpn-core/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Template file for 'protonvpn-core'
pkgname=protonvpn-core
version=0.7.0
revision=1
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 <slimjim@slimjimsoftware.co.uk>"
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
2 changes: 2 additions & 0 deletions srcpkgs/protonvpn-core/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
site=https://github.com/ProtonVPN/python-proton-core/tags
pattern="/archive/refs/tags/v\K[\d.]+(?=\.tar\.gz)"
13 changes: 13 additions & 0 deletions srcpkgs/protonvpn-gui/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Template file for 'protonvpn-gui'
pkgname=protonvpn-gui
version=4.16.5
revision=1
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 <slimjim@slimjimsoftware.co.uk>"
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
2 changes: 2 additions & 0 deletions srcpkgs/protonvpn-gui/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
site=https://github.com/ProtonVPN/proton-vpn-gtk-app/tags
pattern="/archive/refs/tags/v\K[\d.]+(?=\.tar\.gz)"
36 changes: 36 additions & 0 deletions srcpkgs/protonvpn-local-agent/template
Original file line number Diff line number Diff line change
@@ -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 <slimjim@slimjimsoftware.co.uk>"
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"
}
2 changes: 2 additions & 0 deletions srcpkgs/protonvpn-local-agent/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
site=https://github.com/ProtonVPN/local-agent-rs/tags
pattern="/archive/refs/tags/\K[\d.]+(?=\.tar\.gz)"
Loading