commit:     9d99d3b3df48f90d78a708ae999e31961110ce4f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  6 17:19:08 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 21:40:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d99d3b3

media-sound/rplay: fix version (3.3.2-r4 -> 3.3.2_p16-r4)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../rplay/{rplay-3.3.2-r4.ebuild => rplay-3.3.2_p16-r4.ebuild}   | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/media-sound/rplay/rplay-3.3.2-r4.ebuild 
b/media-sound/rplay/rplay-3.3.2_p16-r4.ebuild
similarity index 79%
rename from media-sound/rplay/rplay-3.3.2-r4.ebuild
rename to media-sound/rplay/rplay-3.3.2_p16-r4.ebuild
index 14af27da6c3d..054c31b7c782 100644
--- a/media-sound/rplay/rplay-3.3.2-r4.ebuild
+++ b/media-sound/rplay/rplay-3.3.2_p16-r4.ebuild
@@ -8,9 +8,10 @@ inherit autotools
 DESCRIPTION="Play sounds on remote Unix systems without data transfer"
 HOMEPAGE="http://rplay.doit.org/";
 SRC_URI="
-       http://rplay.doit.org/dist/${P}.tar.gz
-       mirror://debian/pool/main/r/${PN}/${PN}_${PV}-16.debian.tar.xz
+       http://rplay.doit.org/dist/${PN}-$(ver_cut 1-3).tar.gz
+       mirror://debian/pool/main/r/${PN}/${PN}_$(ver_cut 1-3)-$(ver_cut 
5).debian.tar.xz
 "
+S="${WORKDIR}"/${PN}-$(ver_cut 1-3)
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -24,8 +25,8 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 PATCHES=(
-       "${WORKDIR}/debian/patches"
-       "${FILESDIR}/${P}-built-in_function_exit-r1.patch"
+       "${WORKDIR}"/debian/patches
+       "${FILESDIR}"/${PN}-$(ver_cut 1-3)-built-in_function_exit-r1.patch
 )
 
 src_prepare() {

Reply via email to