You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
983 B
42 lines
983 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit optfeature
|
|
|
|
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-perl/Clone
|
|
dev-perl/Crypt-Rijndael
|
|
dev-perl/File-KeePass
|
|
dev-perl/Math-Random-ISAAC
|
|
dev-perl/Sort-Naturally
|
|
dev-perl/Sub-Install
|
|
dev-perl/TermReadKey
|
|
dev-perl/Term-ReadLine-Gnu
|
|
dev-perl/Term-ShellUI"
|
|
|
|
src_unpack() {
|
|
mkdir "${S}" || die
|
|
cp "${DISTDIR}/${P}.pl" "${S}/${PN}" || die
|
|
}
|
|
|
|
src_compile() { :; }
|
|
|
|
src_install() {
|
|
dobin kpcli
|
|
}
|
|
|
|
pkg_postinst() {
|
|
# Not packaged in Gentoo yet, but we'd be interested in:
|
|
# Data::Password, Data::Password::passwdqc, Crypt::PWSafe3, (Authen::OATH (& Convert::Base32)).
|
|
optfeature "X clipboard support" "dev-perl/Capture-Tiny dev-perl/Clipboard"
|
|
}
|