aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild')
-rw-r--r--perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild b/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild
index 81fdb68e32f4a..edc8a953db4bb 100644
--- a/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild
+++ b/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild
@@ -3,12 +3,13 @@
# Slackware build script for perl-Template-Toolkit
# Written by Thomas Morper <thomas@beingboiled.info>
-SRCNAM=Template-Toolkit
-PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-2.26}
+PRGNAM=perl-Template-Toolkit
+VERSION=${VERSION:-2.27}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;