Added version 1.0 of VPN Manager

This commit is contained in:
Ezri Brimhall 2025-11-17 14:09:29 -07:00
commit ac41563955
Signed by: ezri
GPG Key ID: 058A78E5680C6F24
3 changed files with 33 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/*/**/*
!PKGBUILD
!.gitignore
!/README.md

1
README.md Normal file
View File

@ -0,0 +1 @@
# Ezri's PKGBUILDs

28
vpn-manager/PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
_pkgname=vpn-manager
pkgname=${_pkgname}
pkgver=1.0
pkgrel=1
pkgdesc='A modular and extensible VPN management system for the Linux desktop.'
arch=('any')
url='https://git.ezri.dev/vpn-manager/vpn-manager'
license=('AGPL-3.0')
makedepends=(python-build python-installer python-poetry python-wheel)
depends=(python-dbus-fast python-systemd python-requests python-aenum)
source=("https://git.ezri.dev/vpn-manager/vpn-manager/archive/v${pkgver}.tar.gz")
sha256sums=('688d5af99a32339dc633ee15e3b3d8783e363ad93485fa684439098825985feb')
build() {
cd $_pkgname
python -m build --wheel --no-isolation
}
package() {
local _confdir="${srcdir}/${_pkgname}/pkg-support"
cd $_pkgname
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 "${_confdir}/vpn-manager.service" "${pkgdir}/usr/lib/systemd/system/vpn-manager.service"
install -Dm644 "${_confdir}/vpn-agent.service" "${pkgdir}/usr/lib/systemd/user/vpn-agent.service"
install -Dm644 "${_confdir}/dev.ezri.vpn1.conf" "${pkgdir}/usr/share/dbus-1/system.d/dev.ezri.vpn1.conf"
install -Dm644 "${_confdir}/dev.ezri.vpn1.policy" "${pkgdir}/usr/share/polkit-1/actions/dev.ezri.vpn1.policy"
mkdir -p "${pkgdir}/var/lib/vpn-manager/connections/"
}