diff --git a/app-misc/arttime/arttime-2.3.4.ebuild b/app-misc/arttime/arttime-2.3.4.ebuild index 76fac115f9..e751bce164 100644 --- a/app-misc/arttime/arttime-2.3.4.ebuild +++ b/app-misc/arttime/arttime-2.3.4.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit optfeature + DESCRIPTION="CLI application that blends beauty of ASCII" HOMEPAGE="https://github.com/poetaman/arttime" SRC_URI="https://github.com/poetaman/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" @@ -10,11 +12,9 @@ SRC_URI="https://github.com/poetaman/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${ LICENSE="all-rights-reserved" SLOT="0" KEYWORDS="~amd64" -IUSE="notify" DEPEND=" app-shells/zsh - notify? ( x11-libs/libnotify ) " RDEPEND=" ${DEPEND} @@ -26,7 +26,6 @@ src_prepare() { gunzip share/man/man1/artprint.1.gz || die } - src_install() { dobin bin/arttime dobin bin/artprint @@ -41,3 +40,7 @@ src_install() { dodoc README.md } + +pkg_postinst() { + optfeature "Desktop notifications" x11-libs/libnotify +}