summaryrefslogtreecommitdiff
path: root/gui-apps/tessen/tessen-9999.ebuild
blob: 18c306b24e93bb98803ecdcf3b7da41f1c172b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 2022-2023 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"

inherit git-r3
EGIT_REPO_URI="https://git.awy.one/${PN}.git"

LICENSE="GPL-2"
SLOT="0"
# Requires shfmt (https://github.com/mvdan/sh) which is not packaged
RESTRICT="test"

DEPEND="app-text/scdoc"
RDEPEND="${DEPEND}
	|| ( app-admin/pass
		 app-admin/gopass
	)
"

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
}