From 11079e0f66ef07518280d59c3e625a9343620c51 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Thu, 4 Aug 2022 18:14:20 +0800 Subject: [PATCH] Cleanup and fix SRC_URI so version bumps work. --- net-im/webcord-bin/webcord-bin-3.5.2.ebuild | 31 ++------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/net-im/webcord-bin/webcord-bin-3.5.2.ebuild b/net-im/webcord-bin/webcord-bin-3.5.2.ebuild index 65e5acb..f4f7a2c 100644 --- a/net-im/webcord-bin/webcord-bin-3.5.2.ebuild +++ b/net-im/webcord-bin/webcord-bin-3.5.2.ebuild @@ -6,7 +6,7 @@ EAPI=8 DESCRIPTION="A Discord and Fosscord client implemented directly without Discord API." HOMEPAGE="https://github.com/SpacingBat3/WebCord" -SRC_URI="https://github.com/SpacingBat3/WebCord/releases/download/v3.5.2/WebCord-${PV}-x64.AppImage" +SRC_URI="https://github.com/SpacingBat3/WebCord/releases/download/v${PV}/WebCord-${PV}-x64.AppImage" LICENSE="MIT" @@ -14,34 +14,9 @@ SLOT="0" KEYWORDS="~amd64" -# A space delimited list of portage features to restrict. man 5 ebuild -# for details. Usually not needed. -#RESTRICT="strip" - - -# Run-time dependencies. Must be defined to whatever this depends on to run. -# Example: -# ssl? ( >=dev-libs/openssl-1.0.2q:0= ) -# >=dev-lang/perl-5.24.3-r1 -# It is advisable to use the >= syntax show above, to reflect what you -# had installed on your system when you tested the package. Then -# other users hopefully won't be caught without the right version of -# a dependency. -#RDEPEND="" - -# Build-time dependencies that need to be binary compatible with the system -# being built (CHOST). These include libraries that we link against. -# The below is valid if the same run-time depends are required to compile. -#DEPEND="${RDEPEND}" - -# Build-time dependencies that are executed during the emerge process, and -# only need to be present in the native build system (CBUILD). Example: -#BDEPEND="" - - src_unpack() { - mkdir ${S} || die - cp ${DISTDIR}/${A} ${S} || die + mkdir "${S}" || die + cp "${DISTDIR}/${A}" $"{S}" || die } src_prepare() {