void-packages/srcpkgs/python3-eduvpn-client/template

42 lines
1.6 KiB
Bash

# Template file for 'python3-eduvpn-client'
pkgname=python3-eduvpn-client
version=4.1.3
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="eduvpn-common python3-gobject NetworkManager-openvpn"
checkdepends="${depends} python3-pytest python3-pycodestyle"
short_desc="Linux client and Python client API for eduVPN"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://www.eduvpn.org/"
distfiles="${PYPI_SITE}/e/eduvpn-client/eduvpn_client-${version}.tar.gz"
checksum=e693548d591f3165ed8da0032a4463c699426bbc92e517cd99b0104a52f2518b
eduvpn-client_package() {
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/icons/hicolor/48x48/apps/org.eduvpn.client.png
vmove usr/share/icons/hicolor/128x128/apps/org.eduvpn.client.png
vmove usr/share/icons/hicolor/256x256/apps/org.eduvpn.client.png
vmove usr/share/icons/hicolor/512x512/apps/org.eduvpn.client.png
vmove usr/bin/eduvpn-cli
vmove usr/bin/eduvpn-gui
vmove usr/share/applications/org.eduvpn.client.desktop
}
}
letsconnect-client_package() {
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/letsconnect
vmove usr/share/icons/hicolor/48x48/apps/org.letsconnect-vpn.client.png
vmove usr/share/icons/hicolor/128x128/apps/org.letsconnect-vpn.client.png
vmove usr/share/icons/hicolor/256x256/apps/org.letsconnect-vpn.client.png
vmove usr/share/icons/hicolor/512x512/apps/org.letsconnect-vpn.client.png
vmove usr/bin/letsconnect-cli
vmove usr/bin/letsconnect-gui
vmove usr/share/applications/org.letsconnect-vpn.client.desktop
}
}