Files
gentoo-zh/net-proxy/qvplugin-command/qvplugin-command-2.0.0.ebuild
T
2020-07-10 18:00:46 +08:00

33 lines
609 B
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils git-r3
DESCRIPTION="Plugin for Qv2ray to run any commands when something happens in Qv2ray"
HOMEPAGE="https://github.com/Qv2ray/QvPlugin-Command"
EGIT_REPO_URI="${HOMEPAGE}.git"
EGIT_COMMIT="v${PV}"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
DEPEND="
>=net-proxy/qv2ray-2.6.0
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_configure() {
cmake-utils_src_configure
}
src_install(){
insinto "/usr/share/qv2ray/plugins"
insopts -m755
doins "${BUILD_DIR}/libQvCommandPlugin.so"
}