Gentoo Archives: gentoo-commits

From: Samuel Bernardo <samuelbernardo.mail@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/ssnb:master commit in: app-admin/keepass-plugin-agent/
Date: Thu, 28 Feb 2019 21:38:00
Message-Id: 1551380191.76cfda16992e15c62ca9f3aa304655045d75bcc3.samuelbernardo@gentoo
commit:     76cfda16992e15c62ca9f3aa304655045d75bcc3
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Thu Feb 28 18:56:31 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Thu Feb 28 18:56:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=76cfda16

Add keepass-plugin-agent ebuild

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-admin/keepass-plugin-agent/Manifest            |  3 ++
 .../keepass-plugin-agent-0.10.1.ebuild             | 56 ++++++++++++++++++++++
 app-admin/keepass-plugin-agent/metadata.xml        | 11 +++++
 3 files changed, 70 insertions(+)

diff --git a/app-admin/keepass-plugin-agent/Manifest b/app-admin/keepass-plugin-agent/Manifest
new file mode 100644
index 0000000..481016c
--- /dev/null
+++ b/app-admin/keepass-plugin-agent/Manifest
@@ -0,0 +1,3 @@
+DIST KeeAgent_v0.10.1.zip 1636031 BLAKE2B cb0acf705549b2aa83a5b3572270b10914b97af7eb93ac9b8c62ff1f2b14755f321c843b25b24dbbf7e483bdb130b6a8cf0ae279c938859e0eb8e9a8707d5d7c SHA512 ec9bc722af5dcec96a6916ecce985f136d8f3a51af4b423cb567fd0d01a81c598c16261e0012e5d21ce6699c1a6bee3dc7efca650586cc1239d06344da4d6d34
+EBUILD keepass-plugin-agent-0.10.1.ebuild 1256 BLAKE2B ef6c97cc820368575b30a0f7d056c5a7287537e0ca58cc639dd96d71f82829f9204d335a2a4a3bc5e96f4531bf03f13bb78acae27d9d03509736acc7fdb2df31 SHA512 4aea8a77b1d185295d772b95fc8d0daf138c25c962de22a7caf42da734619079ca02e60954c103725b577344621072cbbf8378b0c3fc378a95cb3eb1e25fe339
+MISC metadata.xml 364 BLAKE2B abee598d45804685574465f4bfa3956a1047e071a8893ca9db526a253eca227617809a01e76e9feba06c327239561b1de459abb9d90fd2e0cd9a8f42ed1eba1b SHA512 45db337bbcc79ce1ddd26bf4255c7d6b471df020229c6aa4c705a7ceb14c512fffb3ab1bd52a44d8063d72c24c50ef060a7769300cb103b941639473e2dfb7c7

diff --git a/app-admin/keepass-plugin-agent/keepass-plugin-agent-0.10.1.ebuild b/app-admin/keepass-plugin-agent/keepass-plugin-agent-0.10.1.ebuild
new file mode 100644
index 0000000..97a746b
--- /dev/null
+++ b/app-admin/keepass-plugin-agent/keepass-plugin-agent-0.10.1.ebuild
@@ -0,0 +1,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
+}
+

diff --git a/app-admin/keepass-plugin-agent/metadata.xml b/app-admin/keepass-plugin-agent/metadata.xml
new file mode 100644
index 0000000..d426b89
--- /dev/null
+++ b/app-admin/keepass-plugin-agent/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>samuelbernardo.mail@×××××.com</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">KeeAgent</remote-id>
+		<bugs-to>https://github.com/dlech/KeeAgent/issues</bugs-to>
+	</upstream>
+</pkgmetadata>