From ac76b6f2eb15a9104bfc5a1ad8ac2803a8a38f02 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 25 Jun 2022 16:23:15 +0200 Subject: [PATCH] www-apps/libravatarserv: update live ebuild Signed-off-by: tastytea --- .../libravatarserv/libravatarserv-9999.ebuild | 23 ++++++------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/www-apps/libravatarserv/libravatarserv-9999.ebuild b/www-apps/libravatarserv/libravatarserv-9999.ebuild index 8dce345..a0724b0 100644 --- a/www-apps/libravatarserv/libravatarserv-9999.ebuild +++ b/www-apps/libravatarserv/libravatarserv-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 2018-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake @@ -11,32 +11,23 @@ fi DESCRIPTION="Simple libravatar server" HOMEPAGE="https://schlomp.space/tastytea/libravatarserv" -if [[ "${PV}" == "9999" ]]; then +if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://schlomp.space/tastytea/libravatarserv.git" else SRC_URI="https://schlomp.space/tastytea/libravatarserv/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" fi LICENSE="GPL-3" SLOT="0" -if [[ "${PV}" == "9999" ]]; then - KEYWORDS="" -else - KEYWORDS="~amd64" -fi -IUSE="" RDEPEND=" - dev-libs/crypto++ - media-gfx/imagemagick - dev-libs/libxdg-basedir dev-cpp/identiconpp + dev-libs/crypto++:= + media-gfx/imagemagick:= " DEPEND="${RDEPEND}" DOCS=("README.md" "doc/nginx-example.conf") - -if [[ "${PV}" != "9999" ]]; then - S="${WORKDIR}/${PN}" -fi