Peter Jung pushed to branch main at Arch Linux / Packaging / Packages / 
python-proton-vpn-local-agent


Commits:
2b20ce90 by Peter Jung at 2025-02-17T16:31:01+01:00
upgpkg: 1.2.0.r8.g5f3dc9e-1, use newer commit till upstream provides proper tags

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-proton-vpn-local-agent
        pkgdesc = Proton VPN local agent written in Rust
-       pkgver = 1.2.0
-       pkgrel = 4
+       pkgver = 1.2.0.r8.g5f3dc9e
+       pkgrel = 1
        url = https://github.com/ProtonVPN/local-agent-rs
        arch = x86_64
        license = GPL-3.0-or-later
@@ -11,7 +11,8 @@ pkgbase = python-proton-vpn-local-agent
        depends = glibc
        depends = python
        options = !lto
-       source = git+https://github.com/ProtonVPN/local-agent-rs.git#tag=1.2.0
-       sha256sums = 
7f4f04942328d1512c710d28fa172a868b71f82bf7bd13f9e6433244afc41190
+       options = !debug
+       source = 
git+https://github.com/ProtonVPN/local-agent-rs.git#commit=5f3dc9ef06f1752e94d0f564c64ad4e0ca24962a
+       sha256sums = 
66224b7958f4532da9ae0962edfb8a07181b8db5f8ed40c90db110d65a538f7b
 
 pkgname = python-proton-vpn-local-agent


=====================================
PKGBUILD
=====================================
@@ -4,14 +4,14 @@
 # Contributor: antermin <github dot com slash antermin>
 
 pkgname=python-proton-vpn-local-agent
-pkgver=1.2.0
-pkgrel=4
+pkgver=1.2.0.r8.g5f3dc9e
+pkgrel=1
 _pyver=3.13
 pkgdesc="Proton VPN local agent written in Rust"
 arch=(x86_64)
 url="https://github.com/ProtonVPN/local-agent-rs";
 license=(GPL-3.0-or-later)
-options=(!lto)
+options=(!lto !debug)
 depends=(
   gcc-libs
   glibc
@@ -21,8 +21,14 @@ makedepends=(
   git
   cargo
 )
-source=("git+https://github.com/ProtonVPN/local-agent-rs.git#tag=${pkgver}";)
-sha256sums=('7f4f04942328d1512c710d28fa172a868b71f82bf7bd13f9e6433244afc41190')
+_commit=5f3dc9ef06f1752e94d0f564c64ad4e0ca24962a
+source=("git+https://github.com/ProtonVPN/local-agent-rs.git#commit=${_commit}";)
+sha256sums=('66224b7958f4532da9ae0962edfb8a07181b8db5f8ed40c90db110d65a538f7b')
+
+pkgver() {
+    cd "${srcdir}"/local-agent-rs/python-proton-vpn-local-agent
+    git describe --long --tags | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
 
 prepare() {
     cd "${srcdir}"/local-agent-rs/python-proton-vpn-local-agent



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-proton-vpn-local-agent/-/commit/2b20ce90170e7ffbc596de638b371a4541d29506

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-proton-vpn-local-agent/-/commit/2b20ce90170e7ffbc596de638b371a4541d29506
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to