src_prepare-overlay/x11-plugins/enlightenment-clipboard/enlightenment-clipboard-9999.ebuild

33 lines
676 B
Bash
Raw Normal View History

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN/enlightenment-/}"
inherit meson
DESCRIPTION="A clipboard module for Enlightenment E21+ desktop"
HOMEPAGE="https://github.com/Obsidian-StudiosInc/clipboard"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Obsidian-StudiosInc/${MY_PN}.git"
else
SRC_URI="https://github.com/Obsidian-StudiosInc/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}"/"${MY_PN}-${PV}"
fi
RESTRICT="mirror"
LICENSE="GPL-3"
SLOT="0"
DEPEND="
x11-wm/enlightenment
dev-libs/efl[X]
"
RDEPEND="
${DEPEND}
"