void-packages/srcpkgs/vpnfailsafe/template

23 lines
779 B
Bash

# Template file for 'vpnfailsafe'
pkgname=vpnfailsafe
version=0.0.20180415
revision=1
_githash=f4317cac1d99033e48cbda5247571d5fc664583d
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=6a9cef23b5c192c9ca4d63403598e605904e70dd11f2b679a2be1daa320afa5e
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
}