From 27d06f49bc60ea15ea19f92167ff042feaff5f1e Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Tue, 6 Dec 2022 17:41:47 -0500 Subject: gui-apps/grimblast: new package (for wayland-desktop repository) --- gui-apps/grimblast/grimblast-2022.10.13.ebuild | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 gui-apps/grimblast/grimblast-2022.10.13.ebuild (limited to 'gui-apps/grimblast/grimblast-2022.10.13.ebuild') diff --git a/gui-apps/grimblast/grimblast-2022.10.13.ebuild b/gui-apps/grimblast/grimblast-2022.10.13.ebuild new file mode 100644 index 0000000..fa72945 --- /dev/null +++ b/gui-apps/grimblast/grimblast-2022.10.13.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COMMIT="dafb86d6d3adb421e788f0eaeecdf09c497a14e8" +DESCRIPTION="A helper for screenshots within hyprland" +HOMEPAGE="https://github.com/hyprwm/contrib/" + +if [[ ${PV} = 9999* ]]; then + SRC_URI="ftp://foo.example.org/${P}.tar.gz" + inherit git-r3 +else + SRC_URI="https://github.com/hyprwm/contrib/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +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="" + +S="${WORKDIR}/contrib-${COMMIT}/${PN}" + +src_install() { + dodoc grimblast.1 + dobin grimblast +} -- cgit v1.2.3