blob: 97a746b279f2afe9d73fe5466b6a3afb306e7660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
#inherit eutils git-r3
inherit eutils
MAIN_PN="keepass"
MY_PN="KeeAgent"
DESCRIPTION="ssh agent plugin for KeePass 2.x"
HOMEPAGE="https://github.com/dlech/KeeAgent"
SRC_URI="https://lechnology.com/wp-content/uploads/2018/04/${MY_PN}_v${PV}.zip"
#EGIT_REPO_URI="https://github.com/dlech/KeeAgent.git"
#EGIT_COMMIT="v${PV}"
#EGIT_SUBMODULES=( '*' )
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEPEND="dev-lang/mono"
#DEPEND="${COMMON_DEPEND}
# app-arch/unzip
# >=dev-dotnet/nuget-2.12
#"
DEPEND="${COMMON_DEPEND}
app-arch/unzip
"
RDEPEND="${COMMON_DEPEND}
app-admin/keepass
"
S="${WORKDIR}"
src_prepare() {
default
#cd ${S}/${P} || die "Cloudn't access source directory: ${S}/${P}/${MY_PN}"
#nuget restore KeeAgent.sln
}
src_compile() {
#cd ${S}/${P} || die "Cloudn't access source directory: ${S}/${P}"
#xbuild /property:Configuration=ReleasePlgx KeeAgent.sln
true
}
src_install() {
dodir /usr/$(get_libdir)/${MAIN_PN}/Plugins
insinto /usr/$(get_libdir)/${MAIN_PN}/Plugins
#doins KeeAgent/bin/ReleasePlgx/KeeAgent.plgx
doins KeeAgent.plgx
fperms 644 /usr/$(get_libdir)/${MAIN_PN}/Plugins/KeeAgent.plgx
}
|