app-admin/kpcli: bump to 3.4
authorJoonas Niilola <juippis@gentoo.org>
Sun, 26 Apr 2020 10:52:08 +0000 (13:52 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Sun, 26 Apr 2020 10:52:47 +0000 (13:52 +0300)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
app-admin/kpcli/Manifest
app-admin/kpcli/kpcli-3.4.ebuild [new file with mode: 0644]

index 0953c78bf32295cff60719b18a918f8c36969714..335e9df58373df933d4a1020ae2f244af96d6cfa 100644 (file)
@@ -1 +1,2 @@
 DIST kpcli-3.3.pl 199249 BLAKE2B 6db8dff530c709600ac90ca77c8171bedb98dc0ff3822963cdd177000a0b23c46387613639205b85dfdcb710b5a9804fc5b2e205c1937952e8439f5bebae4900 SHA512 5a837891a29dc65f0900015124fe3fdd1b7b9878ed2094d7c299c24590feee8e704212bcabf45c63064f97deca1dd2da96aa80c5be4305692f181db45b7e241a
+DIST kpcli-3.4.pl 211243 BLAKE2B 4880d832554de1956e033bba2e2021b9dc0b77202585663b0f4ad2acca520bcb430ac974bbea00c21aa37c2c8e8fa8c5cf2e8131542c20ecc3c6b0ac6dd85d9a SHA512 1ec9ea46f769a6891700565a51c592fd4809a0f3bc1d2088ca694233b276652506b470328b8b840cd0876b945faad27a16a5685d8655868cd20760f24619ffaf
diff --git a/app-admin/kpcli/kpcli-3.4.ebuild b/app-admin/kpcli/kpcli-3.4.ebuild
new file mode 100644 (file)
index 0000000..f16419a
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+DESCRIPTION="A command line interface to KeePass database files"
+HOMEPAGE="http://kpcli.sourceforge.net"
+SRC_URI="https://downloads.sourceforge.net/project/kpcli/${P}.pl"
+
+LICENSE="|| ( Artistic GPL-1+ )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-lang/perl
+       dev-perl/Clone
+       dev-perl/Crypt-Rijndael
+       dev-perl/TermReadKey
+       dev-perl/Sort-Naturally
+       dev-perl/Term-ShellUI
+       dev-perl/File-KeePass
+       virtual/perl-File-Spec
+       virtual/perl-Getopt-Long
+       virtual/perl-Digest-MD5
+       virtual/perl-Digest-SHA
+       virtual/perl-Data-Dumper
+       virtual/perl-Term-ANSIColor
+       virtual/perl-Time-Piece
+       virtual/perl-Carp"
+
+src_unpack() {
+       mkdir "${S}" || die
+       cp "${DISTDIR}/${P}.pl" "${S}/${PN}" || die
+}
+
+src_compile() { :; }
+
+src_install() {
+       dobin kpcli
+}
+
+pkg_postinst() {
+       optfeature "X clipboard support" "dev-perl/Capture-Tiny dev-perl/Clipboard"
+}