# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=vpn-slice pkgver=0.16.1 pkgrel=3 pkgdesc="vpnc-script replacement for easy and secure split-tunnel VPN setup" url="https://github.com/dlenski/vpn-slice" license="GPL-3.0-or-later" arch="noarch" depends="python3 py3-dnspython py3-setproctitle" makedepends="py3-gpep517 py3-installer py3-setuptools py3-wheel" subpackages="$pkgname-pyc" source="https://github.com/dlenski/vpn-slice/archive/v$pkgver/vpn-slice-$pkgver.tar.gz" options="!check" # no test suite build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/vpn_slice-$pkgver-py3-none-any.whl } sha512sums=" ba588927fd859691b768dfe2ee6e407ee133df303831d60828283b41f3bd3386f9b1f03e6df9c43191678490de68b81b0ed7c9c6853f92ab87158fa1362e26f7 vpn-slice-0.16.1.tar.gz "