Peter Jung pushed to branch main at Arch Linux / Packaging / Packages /
proton-vpn-daemon
Commits:
0357f921 by Peter Jung at 2025-12-04T18:30:11+01:00
upgpkg: 0.13.4-3, add .install to automatically restart and reload the servince
on installation/update
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + proton-vpn-daemon.install
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,8 +1,9 @@
pkgbase = proton-vpn-daemon
pkgdesc = Daemons for Proton VPN Linux client (split tunneling service)
pkgver = 0.13.4
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/ProtonVPN/proton-vpn-daemon
+ install = proton-vpn-daemon.install
arch = any
license = GPL-3.0-only
makedepends = git
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=proton-vpn-daemon
pkgver=0.13.4
-pkgrel=2
+pkgrel=3
pkgdesc="Daemons for Proton VPN Linux client (split tunneling service)"
arch=('any')
url="https://github.com/ProtonVPN/proton-vpn-daemon"
@@ -24,6 +24,7 @@ makedepends=(
python-setuptools
python-wheel
)
+install=proton-vpn-daemon.install
source=(
"$pkgname::git+https://github.com/ProtonVPN/${pkgname}.git#tag=v${pkgver}"
=====================================
proton-vpn-daemon.install
=====================================
@@ -0,0 +1,12 @@
+post_install() {
+ systemctl enable proton.VPN.service
+}
+
+post_upgrade() {
+ systemctl daemon-reload
+ systemctl restart proton.VPN.service
+}
+
+pre_remove() {
+ systemctl disable --now proton.VPN.service
+}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/proton-vpn-daemon/-/commit/0357f9211c7f5c19ed8f62cb83d172682688d6c8
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/proton-vpn-daemon/-/commit/0357f9211c7f5c19ed8f62cb83d172682688d6c8
You're receiving this email because of your account on gitlab.archlinux.org.