wofi-pass: new ebuild

This commit is contained in:
2019-11-15 13:49:59 +03:00
parent c288033d93
commit 702954333d
2 changed files with 40 additions and 0 deletions

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"
}