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.2.0
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="https://github.com/eduvpn/python-eduvpn-client/releases/download/${version}/python-eduvpn-client-${version}.tar.xz"
checksum=5b9cf4ca4af0580359996fa542dea6f819983c8d1cbadb1a9b1f15d89ae97870
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
}
}