summaryrefslogtreecommitdiff
path: root/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild')
-rw-r--r--perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild b/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild
index 7611340d67..54a54a7cfc 100644
--- a/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild
+++ b/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for perl modules: Mail::DKIM
# Home Page http://search.cpan.org/dist/Mail-DKIM/
-# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA
# <nishant _AT_ mnspace _DOT_ net>
# All rights reserved.
#
@@ -25,19 +25,17 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=perl-Mail-DKIM
-VERSION=${VERSION:-0.39}
+PRGNAM="perl-Mail-DKIM"
+VERSION=${VERSION:-0.40}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=Mail-DKIM
+SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi