wofi-pass: new ebuild

This commit is contained in:
Alexander Miroshnichenko 2019-11-15 13:49:59 +03:00
parent c288033d93
commit 702954333d
Signed by: alex
GPG Key ID: E93720C6C73A77F4
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1 @@
EBUILD wofi-pass-9999.ebuild 766 BLAKE2B 8352bf0cc5e608f39629e93caa4e5dad824df3f8236fe45c28210a62bef0cc91547836552e48d8b3814dff36c6096f3ec713e30a6ac89854dc3cf4e24c615576 SHA512 1267e6fc25eb5e603c42b3dcc1c5f1361eefaf6b1a83072d7d3a30568cfd44cc16568b3b1bb972e7bef00066103cddee24fa4fedcfdea565f0dcef3b4ea2bc48

View File

@ -0,0 +1,39 @@
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Rofi frontend for pass"
HOMEPAGE="https://github.com/carnager/rofi-pass"
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/carnager/rofi-pass.git"
EGIT_BRANCH="ydotool"
else
SRC_URI="https://github.com/carnager/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="otp"
DEPEND=""
RDEPEND="app-admin/pass
app-admin/pwgen
x11-misc/wl-clipboard-x11
x11-misc/wofi
x11-misc/xdotool
otp? ( app-admin/pass-otp )"
BDEPEND=""
src_compile() {
# nop
true
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr"
}