From 539eab1689164d5cb3aaf576fe3ff3409029f8b8 Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Tue, 6 Dec 2022 18:00:25 -0500 Subject: gui-apps/grimblast: add -9999 --- gui-apps/grimblast/grimblast-9999.ebuild | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 gui-apps/grimblast/grimblast-9999.ebuild (limited to 'gui-apps/grimblast/grimblast-9999.ebuild') diff --git a/gui-apps/grimblast/grimblast-9999.ebuild b/gui-apps/grimblast/grimblast-9999.ebuild new file mode 100644 index 0000000..b2fdc7f --- /dev/null +++ b/gui-apps/grimblast/grimblast-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A helper for screenshots within hyprland" +HOMEPAGE="https://github.com/hyprwm/contrib/" + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/hyprwm/contrib.git/" + inherit git-r3 + S="${WORKDIR}/grimblast-9999/${PN}" +else + SRC_URI="https://github.com/hyprwm/contrib/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/contrib-${COMMIT}/${PN}" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + app-misc/jq + gui-apps/grim + gui-apps/slurp + gui-apps/wl-clipboard + gui-wm/hyprland + x11-libs/libnotify +" + +DEPEND="${RDEPEND}" + +BDEPEND="" + +src_install() { + dodoc grimblast.1 + dobin grimblast +} -- cgit v1.2.3