From 16a4480821fb32f738ea880943a1da82b629496d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 3 Feb 2018 23:00:21 +0100 Subject: Add completions for usbkey --- app-crypt/usbkey/Manifest | 2 +- app-crypt/usbkey/usbkey-0.1-r1.ebuild | 27 --------------------------- app-crypt/usbkey/usbkey-0.2-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 28 deletions(-) delete mode 100644 app-crypt/usbkey/usbkey-0.1-r1.ebuild create mode 100644 app-crypt/usbkey/usbkey-0.2-r1.ebuild diff --git a/app-crypt/usbkey/Manifest b/app-crypt/usbkey/Manifest index d2c63c5..df63f42 100644 --- a/app-crypt/usbkey/Manifest +++ b/app-crypt/usbkey/Manifest @@ -1 +1 @@ -DIST usbkey-0.1.tar.gz 2363 SHA256 23be5943746cf2a8b27da06d7f85fc762b1b908e3976a654c42af2e41dfb5f3d SHA512 f152457d96ac2cc5a69ff6ed4f92b04ad374238d4deb7f0b2001d0274db4a6d901a99a215880e0b434212d15569cb31032c4eb3bf79998c22d186e0d4d626c03 WHIRLPOOL d46785ae3b2370008fd9ce5e8e6d9059439f1fed98de05b1f899bb803e4cccdc7ab05c28ffd746cabd9dd95cff356b2cd3c1b487cf23bde80264097d16e18a05 +DIST usbkey-0.2.tar.gz 3134 SHA256 cb3892ef6b10b003e9e021b24fca3aae860d22c4b44b361c85d8adec3e5e2a9b SHA512 df2f4531361f966d971959e23af2f0045cc60d2aec9ac521980ae9e9a2e9c544853e16a87a0090bef5550742db919a5a9be3e410c93cc54624493878c4671367 WHIRLPOOL 628f12a784d8757716e45d448c12206f4d858bedd352c09ff56b500a9031cd66d9902a7d3013fc52cce27e0a4e244596a92cdf39c23cfda2b4b07e8b19209a72 diff --git a/app-crypt/usbkey/usbkey-0.1-r1.ebuild b/app-crypt/usbkey/usbkey-0.1-r1.ebuild deleted file mode 100644 index c9876ad..0000000 --- a/app-crypt/usbkey/usbkey-0.1-r1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -EAPI=6 - -VER="${PV%-r*}" - -DESCRIPTION="Maintain keys on USB drive" -HOMEPAGE="http://git.cynerd.cz/usbkey/" -SRC_URI="http://git.cynerd.cz/usbkey/snapshot/usbkey-${VER}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/usbkey-${VER}" - -LICENSE="GPL-3.0+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND=" -sys-fs/cryptsetup -net-misc/rsync -net-misc/openssh -dev-libs/openssl -" -RDEPEND="${DEPEND}" - -src_install() { - dodir /usr/bin - exeinto /usr/bin - doexe "${S}/usbkey" -} diff --git a/app-crypt/usbkey/usbkey-0.2-r1.ebuild b/app-crypt/usbkey/usbkey-0.2-r1.ebuild new file mode 100644 index 0000000..ccb8b4e --- /dev/null +++ b/app-crypt/usbkey/usbkey-0.2-r1.ebuild @@ -0,0 +1,35 @@ +EAPI=6 + +VER="${PV%-r*}" + +DESCRIPTION="Maintain keys on USB drive" +HOMEPAGE="http://git.cynerd.cz/usbkey/" +SRC_URI="http://git.cynerd.cz/usbkey/snapshot/usbkey-${VER}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/usbkey-${VER}" + +LICENSE="GPL-3.0+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=" +sys-fs/cryptsetup +net-misc/rsync +net-misc/openssh +dev-libs/openssl +" +RDEPEND="${DEPEND}" + +src_install() { + dodir /usr/bin + exeinto /usr/bin + doexe "${S}/usbkey" + + dodir /usr/share/bash-completion/completions + insinto /usr/share/bash-completion/completions + newins "${S}/bash_completions" usbkey + + dodir /usr/share/zsh/site-functions + insinto /usr/share/zsh/site-functions + newins "${S}/zsh_completions" _usbkey +} -- cgit v1.2.3