From 0e0d788cecceb6a5323cba7b240528ef7db039ee Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 20 Dec 2010 23:05:29 -0600 Subject: perl-template: fixup SRCNAM usage to (ideally) avoid confusion --- perl-template.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perl-template.SlackBuild b/perl-template.SlackBuild index 6b913bd..a371cd0 100644 --- a/perl-template.SlackBuild +++ b/perl-template.SlackBuild @@ -34,12 +34,13 @@ # # |-----------------------------------------------------------------| # -SRCNAM=appname # replace with name of program -PRGNAM=perl-$SRCNAM +PRGNAM=perl-appname # replace "appname" with name of program VERSION=${VERSION:-1.4.1} # replace with version of program BUILD=${BUILD:-1} TAG=${TAG:-_SBo} # the "_SBo" is required +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in -- cgit v1.2.3