void-packages/srcpkgs/vpnfailsafe/template

25 lines
834 B
Bash

# Template file for 'vpnfailsafe'
pkgname=vpnfailsafe
version=0.0.20171207
revision=1
_githash=4b87fe95e7a3e7e0f5dc0b0f2ebe93bd68263b48
wrksrc="vpnfailsafe-${_githash}"
hostmakedepends="git"
depends="openresolv openvpn"
short_desc="IP leak prevention for OpenVPN"
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
license="MIT"
homepage="https://github.com/wknapik/vpnfailsafe"
distfiles="https://github.com/wknapik/vpnfailsafe/archive/${_githash}.tar.gz"
checksum=1a02198e3b0b8545a943c00a8e5647c0cdf95f487afe81ba86cde94707fe7873
do_install() {
vmkdir usr/share/vpnfailsafe
vmkdir usr/share/vpnfailsafe/extras
vmkdir usr/share/doc/vpnfailsafe
vinstall vpnfailsafe.sh 755 usr/share/vpnfailsafe
vinstall README.md 644 usr/share/doc/vpnfailsafe
vcopy "extras/*.sh" usr/share/vpnfailsafe/extras
vlicense LICENSE
}