Created
July 4, 2022 22:58
-
-
Save ixti/29c0085d647009177c3e4f02ecc922f1 to your computer and use it in GitHub Desktop.
net-vpn/twingate-1.0.37.35359.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2022 Gentoo Authors | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI=8 | |
inherit rpm bash-completion-r1 | |
DESCRIPTION="Crap" | |
HOMEPAGE="https://www.twingate.com/" | |
SRC_URI="https://packages.twingate.com/rpm/files/ver_1lMD38/twingate-x86_64.rpm -> ${P}.rpm" | |
LICENSE="" | |
SLOT="0" | |
KEYWORDS="~amd64" | |
RESTRICT="mirror" | |
DEPEND="" | |
RDEPEND="${DEPEND}" | |
BDEPEND="" | |
S="${WORKDIR}" | |
src_install() { | |
insinto / | |
doins -r etc | |
insinto /usr/lib | |
doins -r usr/lib/systemd | |
exeinto /usr/bin | |
doexe usr/bin/twingate | |
doexe usr/bin/twingate-notifier | |
exeinto /usr/sbin | |
doexe usr/sbin/twingated | |
keepdir /run/twingate | |
keepdir /var/lib/twingate | |
fperms 0700 /var/lib/twingate | |
dobashcomp usr/share/bash-completion/completions/twingate | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could not make it to work with openrc... :((