commit ac41563955fdea8f89eac8a5b18bdd8a04db0df0 Author: Ezri Brimhall Date: Mon Nov 17 14:09:29 2025 -0700 Added version 1.0 of VPN Manager diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6973d6b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/*/**/* +!PKGBUILD +!.gitignore +!/README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..10e85fb --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Ezri's PKGBUILDs diff --git a/vpn-manager/PKGBUILD b/vpn-manager/PKGBUILD new file mode 100644 index 0000000..4edd4c9 --- /dev/null +++ b/vpn-manager/PKGBUILD @@ -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/" +}