Commit fadeb880 authored by John Johnson's avatar John Johnson

net-vpn/torguard

Using archlinux package from torguard.net for vpn client
parent 6e9c7323
DIST torguard-3.90.0.tar.gz 29414546 SHA256 710481abbee583a74394a0a95d0e6440e6b79532361ba4e5831e43ca02686bdb SHA512 9c445837efbef80885b57d29286f80d45526d4cb0af7f905ef5c8bd3efac8cb81ffb975e26d82ce4fec5039078b4d9f270f9a5ea293b8318b566eac21733062f WHIRLPOOL 70e96b817afbc9fff3bc695f90addc0a3089149156d947ef8c258c4dd83e91a10e0dc2ed608b2787d57f98e00740d81ec78ec63401ce2977ebe1d7ca8f9fc4a1
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit systemd toolchain-funcs user
DESCRIPTION="torguard anonymous VPN - NOT related to TOR project"
HOMEPAGE="https://torguard.net"
SRC_URI="https://updates.torguard.biz/Software/Linux/torguard-latest-amd64-arch.tar.gz -> ${P}.tar.gz"
LICENSE="custom"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="sys-apps/iproute2"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}-v${PV}-amd64-arch
pkg_setup() {
# enewgroup <name> [gid]
enewgroup ${PN}
# enewuser <user> [uid] [shell] [homedir] [groups]
enewuser ${PN} -1 -1 -1 ${PN}
}
src_unpack() {
default
cd "${S}" || die "Couldn't cd into the source directory ${S}"
# tar xpf ${PN}-v${PV}-amd64-arch.tar || die "tar failed"
tar xpf ${PN}-v${PV}-amd64-arch.tar || die "tar failed"
}
src_install() {
default
# fperms 0644 *
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment