Added version 1.0 of VPN Manager
This commit is contained in:
commit
ac41563955
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
/*/**/*
|
||||||
|
!PKGBUILD
|
||||||
|
!.gitignore
|
||||||
|
!/README.md
|
||||||
28
vpn-manager/PKGBUILD
Normal file
28
vpn-manager/PKGBUILD
Normal 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/"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user