From ea77662c929487247906a1f9900d32b2703d79a4 Mon Sep 17 00:00:00 2001
From: fourtysixandtwo <fourtysixandtwo@sliderr.net>
Date: Sun, 14 May 2023 09:23:57 -0600
Subject: python/python3-netifaces: SRCNAM changes.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
---
 python/python3-netifaces/python3-netifaces.SlackBuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'python/python3-netifaces/python3-netifaces.SlackBuild')

diff --git a/python/python3-netifaces/python3-netifaces.SlackBuild b/python/python3-netifaces/python3-netifaces.SlackBuild
index 5307fd2645..e97f748505 100644
--- a/python/python3-netifaces/python3-netifaces.SlackBuild
+++ b/python/python3-netifaces/python3-netifaces.SlackBuild
@@ -25,7 +25,7 @@
 cd $(dirname $0) ; CWD=$(pwd)
 
 PRGNAM=python3-netifaces
-SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
+SRCNAM=${PRGNAM#python3-*}
 VERSION=${VERSION:-0.11.0}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
-- 
cgit v1.2.3