mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
Added -9999 and optfeature logs in postinst
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -3,13 +3,21 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature
|
||||
|
||||
DESCRIPTION="an interactive menu to autotype and copy pass and gopass data"
|
||||
HOMEPAGE="https://github.com/ayushnix/tessen"
|
||||
SRC_URI="https://github.com/ayushnix/tessen/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ayushnix/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/ayushnix/tessen/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+pass gopass dmenu bemenu wofi rofi"
|
||||
|
||||
REQUIRED_USE="|| ( pass gopass )
|
||||
@@ -24,3 +32,11 @@ RDEPEND="${DEPEND}
|
||||
pass? ( app-admin/pass )
|
||||
gopass? ( app-admin/gopass )"
|
||||
BDEPEND=""
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "autotype support" gui-apps/wtype
|
||||
optfeature "clipboard support" gui-apps/wl-clipboard
|
||||
optfeature "URL opening support" x11-misc/xdg-utils
|
||||
optfeature "OTP support" app-admin/pass-otp
|
||||
optfeature "notifications support" x11-libs/libnotify
|
||||
}
|
||||
|
||||
42
gui-apps/tessen/tessen-9999.ebuild
Normal file
42
gui-apps/tessen/tessen-9999.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature
|
||||
|
||||
DESCRIPTION="an interactive menu to autotype and copy pass and gopass data"
|
||||
HOMEPAGE="https://github.com/ayushnix/tessen"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ayushnix/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/ayushnix/tessen/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+pass gopass dmenu bemenu wofi rofi"
|
||||
|
||||
REQUIRED_USE="|| ( pass gopass )
|
||||
|| ( dmenu bemenu wofi rofi )"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
dmenu? ( x11-misc/dmenu )
|
||||
bemenu? ( dev-libs/bemenu )
|
||||
wofi? ( gui-apps/wofi )
|
||||
rofi? ( x11-misc/rofi )
|
||||
pass? ( app-admin/pass )
|
||||
gopass? ( app-admin/gopass )"
|
||||
BDEPEND=""
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "autotype support" gui-apps/wtype
|
||||
optfeature "clipboard support" gui-apps/wl-clipboard
|
||||
optfeature "URL opening support" x11-misc/xdg-utils
|
||||
optfeature "OTP support" app-admin/pass-otp
|
||||
optfeature "notifications support" x11-libs/libnotify
|
||||
}
|
||||
Reference in New Issue
Block a user