diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
commit | 687c78d5604ce299d5164ffd69de88f2dd10fefc (patch) | |
tree | 2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /perl | |
parent | 610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff) |
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl')
118 files changed, 169 insertions, 227 deletions
diff --git a/perl/Net-SSLeay/Net-SSLeay.SlackBuild b/perl/Net-SSLeay/Net-SSLeay.SlackBuild index 493e459fc4ad5..56c1a2fc2c5f2 100644 --- a/perl/Net-SSLeay/Net-SSLeay.SlackBuild +++ b/perl/Net-SSLeay/Net-SSLeay.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.55 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 diff --git a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild index 93dce7682e36a..45cf8aac214a0 100644 --- a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild +++ b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - + # Slackware build script for Archive::Zip # Copyright 2008-2010 David Somero <dsomero@hotmail.com> @@ -29,12 +29,10 @@ TAG=${TAG:-_SBo} SRC_PRGNAM=Archive-Zip -# 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 diff --git a/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild b/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild index 362071f798f5a..34ae9b7078354 100644 --- a/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild +++ b/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild index 3fa099d714188..255fe37bc73c5 100644 --- a/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild +++ b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild b/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild index 7d193ed74c1de..2ad2eb21c890c 100644 --- a/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild +++ b/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -e - + # Copyright (c) 2010, 2011, 2012 Daniel LEVAI # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -49,7 +49,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild b/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild index d64a549618a32..f8f4d2087efd0 100644 --- a/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild +++ b/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 2013 Asaf Ohaion # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -50,7 +50,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-Capture-Tiny/perl-Capture-Tiny.SlackBuild b/perl/perl-Capture-Tiny/perl-Capture-Tiny.SlackBuild index 4991bd8bb4643..93d0a3b1f5876 100644 --- a/perl/perl-Capture-Tiny/perl-Capture-Tiny.SlackBuild +++ b/perl/perl-Capture-Tiny/perl-Capture-Tiny.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild b/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild index 7c76d23a5a612..87cc02730a0e9 100644 --- a/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild +++ b/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} SRC_PRGNAM=Carp-Clan DOCS="README" -# 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 diff --git a/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild index fec943ed724de..810e27935f488 100644 --- a/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild +++ b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild b/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild index ba2d8a50cf785..ebdf6256f2d2c 100644 --- a/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild +++ b/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} SRC_PRGNAM=Class-Gomor DOCS="LICENSE LICENSE.Artistic README" -# 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 diff --git a/perl/perl-Class-Inspector/perl-Class-Inspector.SlackBuild b/perl/perl-Class-Inspector/perl-Class-Inspector.SlackBuild index ac611454e65e6..bbac50b45ae67 100644 --- a/perl/perl-Class-Inspector/perl-Class-Inspector.SlackBuild +++ b/perl/perl-Class-Inspector/perl-Class-Inspector.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Class-MethodMaker/perl-Class-MethodMaker.SlackBuild b/perl/perl-Class-MethodMaker/perl-Class-MethodMaker.SlackBuild index c184f32d3edcb..0ba55b66890cd 100644 --- a/perl/perl-Class-MethodMaker/perl-Class-MethodMaker.SlackBuild +++ b/perl/perl-Class-MethodMaker/perl-Class-MethodMaker.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.SlackBuild b/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.SlackBuild index 1c379aa345306..00bbfa8c2f6e6 100644 --- a/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.SlackBuild +++ b/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 2013 Asaf Ohaion # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -48,7 +48,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild b/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild index f4021cf85c57e..7e5fe0367588c 100644 --- a/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild +++ b/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild index fb3d685520c07..e1a919b3a05ab 100644 --- a/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) # All rights reserved. -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -32,12 +32,10 @@ VERSION=0.04 TAG=${TAG:-_SBo} BUILD=${BUILD:-1} -# 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 @@ -104,7 +102,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild index dd6433b2e5f24..835ae7fb9ed68 100644 --- a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) # All rights reserved. -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -102,7 +102,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-Curses/perl-Curses.SlackBuild b/perl/perl-Curses/perl-Curses.SlackBuild index 6768fa235e4fb..0abcf75ef2c3f 100644 --- a/perl/perl-Curses/perl-Curses.SlackBuild +++ b/perl/perl-Curses/perl-Curses.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Data-Dumper/perl-Data-Dumper.SlackBuild b/perl/perl-Data-Dumper/perl-Data-Dumper.SlackBuild index 1e6a065f7e762..e58dd159b1c2c 100644 --- a/perl/perl-Data-Dumper/perl-Data-Dumper.SlackBuild +++ b/perl/perl-Data-Dumper/perl-Data-Dumper.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Data-OptList/perl-Data-OptList.SlackBuild b/perl/perl-Data-OptList/perl-Data-OptList.SlackBuild index f51663c040be4..e8bed0755d239 100644 --- a/perl/perl-Data-OptList/perl-Data-OptList.SlackBuild +++ b/perl/perl-Data-OptList/perl-Data-OptList.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild index b48bdefc8ec17..1e0cd019fc3c3 100644 --- a/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild +++ b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant@mnspace.net) # All rights reserved. -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -30,12 +30,10 @@ VERSION=6.3 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 @@ -97,7 +95,7 @@ if [ -d $PKG/usr/man ]; then ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done - ) + ) fi mkdir -p $PKG/install diff --git a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild index aa04b4f3925fa..d39884282428e 100644 --- a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild +++ b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -94,10 +94,10 @@ cp -a \ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Date::Manip seems to need a correctly set /etc/timezone file in some cases. -# We will create a placeholder and update it with the correct info from the +# We will create a placeholder and update it with the correct info from the # doinst.sh script. mkdir -p $PKG/etc -touch $PKG/etc/timezone.new +touch $PKG/etc/timezone.new mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild index 20afe56822d49..b930d942d91c4 100644 --- a/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild +++ b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild b/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild index ad4a37db21cf9..06bf5234e8339 100644 --- a/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild +++ b/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild index a14ff27abb1e2..886112bde4747 100644 --- a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild +++ b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild @@ -60,7 +60,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild b/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild index edba5cb96a535..5f5a1e813c6ec 100644 --- a/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild +++ b/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild @@ -55,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild b/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild index 5128eca5ecd5a..ae467326c5b0a 100644 --- a/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild +++ b/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild b/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild index a7dd5e10fe93d..985ec19632281 100644 --- a/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild +++ b/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild @@ -29,12 +29,10 @@ TAG=${TAG:-_SBo} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" -# 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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild b/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild index 9838c9683c70d..e6543bcbbb4ab 100644 --- a/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild +++ b/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild index 87a7702cddc14..c0339d821b585 100644 --- a/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild +++ b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) # All rights reserved. -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -32,12 +32,10 @@ VERSION=1.01 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 @@ -102,7 +100,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild index 70c6090d566f3..b28452c862365 100644 --- a/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild +++ b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild @@ -29,12 +29,10 @@ TAG=${TAG:-_SBo} SRC_PRGNAM=ExtUtils-XSBuilder -# 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 diff --git a/perl/perl-File-Find-Rule/perl-File-Find-Rule.SlackBuild b/perl/perl-File-Find-Rule/perl-File-Find-Rule.SlackBuild index ac7fdcc5bc1b0..ebb414865b9dd 100644 --- a/perl/perl-File-Find-Rule/perl-File-Find-Rule.SlackBuild +++ b/perl/perl-File-Find-Rule/perl-File-Find-Rule.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=perl-File-Find-Rule VERSION=${VERSION:-0.33} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,9 +38,9 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Font-AFM/perl-Font-AFM.SlackBuild b/perl/perl-Font-AFM/perl-Font-AFM.SlackBuild index 8f080ce199bac..1ad21a3ebc398 100644 --- a/perl/perl-Font-AFM/perl-Font-AFM.SlackBuild +++ b/perl/perl-Font-AFM/perl-Font-AFM.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 2013 Asaf Ohaion # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -48,7 +48,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-Geo-IP/perl-Geo-IP.SlackBuild b/perl/perl-Geo-IP/perl-Geo-IP.SlackBuild index dec717662d6ee..579c1aeedbbc2 100644 --- a/perl/perl-Geo-IP/perl-Geo-IP.SlackBuild +++ b/perl/perl-Geo-IP/perl-Geo-IP.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild b/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild index f93ec76375297..3ddfe6fa0b9c2 100644 --- a/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild +++ b/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) # All rights reserved. -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -32,12 +32,10 @@ VERSION="20090413" BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 @@ -106,7 +104,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-HTML-TableExtract/perl-HTML-TableExtract.SlackBuild b/perl/perl-HTML-TableExtract/perl-HTML-TableExtract.SlackBuild index 7bb46532fb7d1..0af92993b9c79 100644 --- a/perl/perl-HTML-TableExtract/perl-HTML-TableExtract.SlackBuild +++ b/perl/perl-HTML-TableExtract/perl-HTML-TableExtract.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild b/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild index 5a20ed6b1585c..bc5954c356a70 100644 --- a/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild +++ b/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-HTTP-Cache-Transparent/perl-HTTP-Cache-Transparent.SlackBuild b/perl/perl-HTTP-Cache-Transparent/perl-HTTP-Cache-Transparent.SlackBuild index f0e7bc84b0b15..dd09959160294 100644 --- a/perl/perl-HTTP-Cache-Transparent/perl-HTTP-Cache-Transparent.SlackBuild +++ b/perl/perl-HTTP-Cache-Transparent/perl-HTTP-Cache-Transparent.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild b/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild index c3c2d783d41b0..fbed516465b47 100644 --- a/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild +++ b/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild b/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild index 19596b8e6dafd..4a3f50fab4339 100644 --- a/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild +++ b/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild @@ -32,12 +32,10 @@ VERSION=2.110 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 diff --git a/perl/perl-JSON/perl-JSON.SlackBuild b/perl/perl-JSON/perl-JSON.SlackBuild index 26d700fd46e98..c9f41e88816dd 100644 --- a/perl/perl-JSON/perl-JSON.SlackBuild +++ b/perl/perl-JSON/perl-JSON.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Lingua-EN-Numbers-Ordinate/perl-Lingua-EN-Numbers-Ordinate.SlackBuild b/perl/perl-Lingua-EN-Numbers-Ordinate/perl-Lingua-EN-Numbers-Ordinate.SlackBuild index 7cf32c516905a..664b435fbb653 100644 --- a/perl/perl-Lingua-EN-Numbers-Ordinate/perl-Lingua-EN-Numbers-Ordinate.SlackBuild +++ b/perl/perl-Lingua-EN-Numbers-Ordinate/perl-Lingua-EN-Numbers-Ordinate.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Lingua-Preferred/perl-Lingua-Preferred.SlackBuild b/perl/perl-Lingua-Preferred/perl-Lingua-Preferred.SlackBuild index 1c739409d7d9d..1adb43d296792 100644 --- a/perl/perl-Lingua-Preferred/perl-Lingua-Preferred.SlackBuild +++ b/perl/perl-Lingua-Preferred/perl-Lingua-Preferred.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild b/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild index fb26332dc23bb..017304007cd59 100644 --- a/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild +++ b/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-LockFile-Simple/perl-LockFile-Simple.SlackBuild b/perl/perl-LockFile-Simple/perl-LockFile-Simple.SlackBuild index 641c72d39c794..1b237be85e8ee 100644 --- a/perl/perl-LockFile-Simple/perl-LockFile-Simple.SlackBuild +++ b/perl/perl-LockFile-Simple/perl-LockFile-Simple.SlackBuild @@ -50,7 +50,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild b/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild index 06143ff2199c8..7caca57837032 100644 --- a/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild +++ b/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild b/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild index a4f472cc91696..d727606af0426 100644 --- a/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild +++ b/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild b/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild index b1a383cc02737..a6049d556f4c1 100644 --- a/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild +++ b/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild @@ -3,14 +3,14 @@ # Slackware Package Build Script for perl module: Mail::SPF # Home Page http://search.cpan.org/dist/Mail-SPF/ -# Copyright (c) 2008-2012, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2008-2012, Nishant Limbachia, Hoffman Estates, IL, USA # (nishant _AT_ mnspace _DOT_ net) # All rights reserved. -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -105,7 +105,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild b/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild index 27d57d0d8bc95..2011a9099037d 100644 --- a/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild +++ b/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} SRC_PRGNAM=Math-Base85 DOCS="README rfc1924.txt" -# 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 diff --git a/perl/perl-Math-Round/perl-Math-Round.SlackBuild b/perl/perl-Math-Round/perl-Math-Round.SlackBuild index c53b87d67deb5..0106d4b9315e0 100644 --- a/perl/perl-Math-Round/perl-Math-Round.SlackBuild +++ b/perl/perl-Math-Round/perl-Math-Round.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Module-Versions-Report/perl-Module-Versions-Report.SlackBuild b/perl/perl-Module-Versions-Report/perl-Module-Versions-Report.SlackBuild index a1b791206eb4f..7f993f3d52abe 100644 --- a/perl/perl-Module-Versions-Report/perl-Module-Versions-Report.SlackBuild +++ b/perl/perl-Module-Versions-Report/perl-Module-Versions-Report.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 2013 Asaf Ohaion # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -48,7 +48,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild b/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild index 0c65fdf9bcdd2..e73539441b498 100644 --- a/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild +++ b/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for perl-MusicBrainz-DiscID +# Slackware build script for perl-MusicBrainz-DiscID # Copyright 2012 Glenn Becker, Arlington, Massachusetts, USA # All rights reserved. @@ -40,7 +40,7 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild index 5aa8bff31fe0c..a5cf99dbdd7ff 100644 --- a/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild +++ b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) # All rights reserved. -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -32,12 +32,10 @@ VERSION=0.003 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 @@ -99,7 +97,7 @@ find $PKG -depth -type d -empty -exec rm -rf {} \; ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild index 9fa962b9b3ed2..c19c117c671e8 100644 --- a/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild +++ b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} SRC_PRGNAM=Net-IPv4Addr DOCS="ChangeLog NEWS README" -# 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 diff --git a/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild index f2a08a33a24fb..1a87b93efac7f 100644 --- a/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild +++ b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} SRC_PRGNAM=Net-IPv6Addr DOCS="ChangeLog README" -# 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 diff --git a/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild b/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild index eea4d268e9e3c..4fc0d1222105c 100644 --- a/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild +++ b/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) # All rights reserved. -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -32,12 +32,10 @@ VERSION=1.23 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 diff --git a/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild b/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild index 38224f38f687f..27fb0f1699ef4 100644 --- a/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild +++ b/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} SRC_PRGNAM=Net-LibIDN DOCS="Artistic Changes README" -# 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 @@ -59,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Net-Netmask/perl-Net-Netmask.SlackBuild b/perl/perl-Net-Netmask/perl-Net-Netmask.SlackBuild index 02c16e96b4f08..9a7a90cf8a5ee 100644 --- a/perl/perl-Net-Netmask/perl-Net-Netmask.SlackBuild +++ b/perl/perl-Net-Netmask/perl-Net-Netmask.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild b/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild index 75b853285947c..021b99c77529b 100644 --- a/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild +++ b/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} SRC_PRGNAM=Net-RawIP DOCS="README README.Devel" -# 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 diff --git a/perl/perl-Net-SMTP-SSL/perl-Net-SMTP-SSL.SlackBuild b/perl/perl-Net-SMTP-SSL/perl-Net-SMTP-SSL.SlackBuild index 5600e90a1149e..09ceb52dd7ea2 100644 --- a/perl/perl-Net-SMTP-SSL/perl-Net-SMTP-SSL.SlackBuild +++ b/perl/perl-Net-SMTP-SSL/perl-Net-SMTP-SSL.SlackBuild @@ -57,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Net-Server/perl-Net-Server.SlackBuild b/perl/perl-Net-Server/perl-Net-Server.SlackBuild index d879c668cee62..fdae1f676825f 100644 --- a/perl/perl-Net-Server/perl-Net-Server.SlackBuild +++ b/perl/perl-Net-Server/perl-Net-Server.SlackBuild @@ -34,12 +34,10 @@ TAG=${TAG:-_SBo} 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 diff --git a/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild b/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild index 6f650e4aedc85..fdb6e24c86370 100644 --- a/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild +++ b/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild @@ -31,12 +31,10 @@ VERSION=${VERSION:-1.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 diff --git a/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild b/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild index df68ef3419f29..9d45f52c1adc8 100644 --- a/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild +++ b/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild @@ -22,10 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-Number-Compare +PRGNAM=perl-Number-Compare VERSION=${VERSION:-0.03} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,9 +38,9 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild index bd2cbb32fef75..34bc2c57ee228 100644 --- a/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild +++ b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.SlackBuild b/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.SlackBuild index ce7657629d6b0..3b67209f0a8d3 100644 --- a/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.SlackBuild +++ b/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.SlackBuild @@ -53,7 +53,7 @@ find -L . \ perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test +make test make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/perl/perl-OpenGL/perl-OpenGL.SlackBuild b/perl/perl-OpenGL/perl-OpenGL.SlackBuild index 87106779001fa..54a0a056191b8 100644 --- a/perl/perl-OpenGL/perl-OpenGL.SlackBuild +++ b/perl/perl-OpenGL/perl-OpenGL.SlackBuild @@ -54,7 +54,7 @@ find -L . \ perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test +make test make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/perl/perl-PHP-Serialization/perl-PHP-Serialization.SlackBuild b/perl/perl-PHP-Serialization/perl-PHP-Serialization.SlackBuild index e2daff0b89e5b..30c6cacdb2d31 100644 --- a/perl/perl-PHP-Serialization/perl-PHP-Serialization.SlackBuild +++ b/perl/perl-PHP-Serialization/perl-PHP-Serialization.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Package-Stash-XS/perl-Package-Stash-XS.SlackBuild b/perl/perl-Package-Stash-XS/perl-Package-Stash-XS.SlackBuild index a72551df5e2ca..8a906756edd81 100644 --- a/perl/perl-Package-Stash-XS/perl-Package-Stash-XS.SlackBuild +++ b/perl/perl-Package-Stash-XS/perl-Package-Stash-XS.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild b/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild index 0eaf8309582cb..4fdc7b405e308 100644 --- a/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild +++ b/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Params-Util/perl-Params-Util.SlackBuild b/perl/perl-Params-Util/perl-Params-Util.SlackBuild index b9ac12c025529..e9b75f7bb991c 100644 --- a/perl/perl-Params-Util/perl-Params-Util.SlackBuild +++ b/perl/perl-Params-Util/perl-Params-Util.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-PerlIO-Layers/perl-PerlIO-Layers.SlackBuild b/perl/perl-PerlIO-Layers/perl-PerlIO-Layers.SlackBuild index 6aed2636bce70..a6b3a84b028a7 100644 --- a/perl/perl-PerlIO-Layers/perl-PerlIO-Layers.SlackBuild +++ b/perl/perl-PerlIO-Layers/perl-PerlIO-Layers.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Pod-Coverage/perl-Pod-Coverage.SlackBuild b/perl/perl-Pod-Coverage/perl-Pod-Coverage.SlackBuild index 55d2cffd2813e..378563aa45bdc 100644 --- a/perl/perl-Pod-Coverage/perl-Pod-Coverage.SlackBuild +++ b/perl/perl-Pod-Coverage/perl-Pod-Coverage.SlackBuild @@ -55,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Regexp-IPv6/perl-Regexp-IPv6.SlackBuild b/perl/perl-Regexp-IPv6/perl-Regexp-IPv6.SlackBuild index 68a522df89893..2f4bd330ee53d 100644 --- a/perl/perl-Regexp-IPv6/perl-Regexp-IPv6.SlackBuild +++ b/perl/perl-Regexp-IPv6/perl-Regexp-IPv6.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 2013 Asaf Ohaion # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -50,7 +50,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild b/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild index 6248007310bcf..4f5ed4706c961 100644 --- a/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild +++ b/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Socket6/perl-Socket6.SlackBuild b/perl/perl-Socket6/perl-Socket6.SlackBuild index ceb6388bdd6a5..c4cdc0ddde945 100644 --- a/perl/perl-Socket6/perl-Socket6.SlackBuild +++ b/perl/perl-Socket6/perl-Socket6.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} SRC_PRGNAM=Socket6 DOCS="README" -# 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 diff --git a/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild b/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild index 3d312985ba273..ff3fa8b621e18 100644 --- a/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild +++ b/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild index ccaed37bb352d..b7c3ea065d042 100644 --- a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild +++ b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant@mnspace.net) # All rights reserved. -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS diff --git a/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild b/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild index 2c1db09b92daf..11c88b54d08b9 100644 --- a/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild +++ b/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild b/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild index 897d06a6e9e10..f53b0b7041b29 100644 --- a/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild +++ b/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild b/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild index d9ff253a007b4..5ac3ab351a32c 100644 --- a/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild +++ b/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Term-ProgressBar/perl-Term-ProgressBar.SlackBuild b/perl/perl-Term-ProgressBar/perl-Term-ProgressBar.SlackBuild index d6b49c2662007..d064143f3cbfb 100644 --- a/perl/perl-Term-ProgressBar/perl-Term-ProgressBar.SlackBuild +++ b/perl/perl-Term-ProgressBar/perl-Term-ProgressBar.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-TermReadKey/perl-TermReadKey.SlackBuild b/perl/perl-TermReadKey/perl-TermReadKey.SlackBuild index a769869190dd8..0e655a9643b03 100644 --- a/perl/perl-TermReadKey/perl-TermReadKey.SlackBuild +++ b/perl/perl-TermReadKey/perl-TermReadKey.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 2010 Daniel LEVAI # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -49,7 +49,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-Test-Fatal/perl-Test-Fatal.SlackBuild b/perl/perl-Test-Fatal/perl-Test-Fatal.SlackBuild index e75032b2d8e86..9196c4896d7c6 100644 --- a/perl/perl-Test-Fatal/perl-Test-Fatal.SlackBuild +++ b/perl/perl-Test-Fatal/perl-Test-Fatal.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild b/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild index 96ea21ab000ce..d18ff601b04ff 100644 --- a/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild +++ b/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Test-LongString/perl-Test-LongString.SlackBuild b/perl/perl-Test-LongString/perl-Test-LongString.SlackBuild index 00ff93911ebac..efba3adcfa216 100644 --- a/perl/perl-Test-LongString/perl-Test-LongString.SlackBuild +++ b/perl/perl-Test-LongString/perl-Test-LongString.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 2013 Asaf Ohaion # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -48,7 +48,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-Test-NoWarnings/perl-Test-NoWarnings.SlackBuild b/perl/perl-Test-NoWarnings/perl-Test-NoWarnings.SlackBuild index 1eba50f3320cb..646a9294d7374 100644 --- a/perl/perl-Test-NoWarnings/perl-Test-NoWarnings.SlackBuild +++ b/perl/perl-Test-NoWarnings/perl-Test-NoWarnings.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild b/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild index 485e9fa03dc11..8d7e4c51a1558 100644 --- a/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild +++ b/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Test-Number-Delta -# Copyright 2012 Glenn Becker +# Copyright 2012 Glenn Becker # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild index 7e3f387172a1e..12ab46702eb25 100644 --- a/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild +++ b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild index 18190efa7c4a2..72b7b1561f1a4 100644 --- a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild +++ b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for perl modules: Test::POD # Home Page http://search.cpan.org/dist/Test-Pod/ -# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA # (nishant _AT_ mnspace _DOT_ net) # All rights reserved. diff --git a/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild b/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild index c753616c66144..a0fff43aee00f 100644 --- a/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild +++ b/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Test-Tester/perl-Test-Tester.SlackBuild b/perl/perl-Test-Tester/perl-Test-Tester.SlackBuild index 49d1b342ceec4..da81b0fb6df62 100644 --- a/perl/perl-Test-Tester/perl-Test-Tester.SlackBuild +++ b/perl/perl-Test-Tester/perl-Test-Tester.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Text-CSV_XS/perl-Text-CSV_XS.SlackBuild b/perl/perl-Text-CSV_XS/perl-Text-CSV_XS.SlackBuild index 46a37b6f6b55d..be63580e53735 100644 --- a/perl/perl-Text-CSV_XS/perl-Text-CSV_XS.SlackBuild +++ b/perl/perl-Text-CSV_XS/perl-Text-CSV_XS.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - + # Slackware build script for Text::CSV_XS # Written by Falu <falu0_0@fastmail.fm> @@ -38,7 +38,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Text-Glob/perl-Text-Glob.SlackBuild b/perl/perl-Text-Glob/perl-Text-Glob.SlackBuild index fb0a7a42c54ff..ad02f543235e8 100644 --- a/perl/perl-Text-Glob/perl-Text-Glob.SlackBuild +++ b/perl/perl-Text-Glob/perl-Text-Glob.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=perl-Text-Glob VERSION=${VERSION:-0.09} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,9 +38,9 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild b/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild index b4266ea9d2e9d..c5e7b0e3d0dd0 100644 --- a/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild +++ b/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 2013 Asaf Ohaion # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -50,7 +50,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-Text-Quoted/perl-Text-Quoted.SlackBuild b/perl/perl-Text-Quoted/perl-Text-Quoted.SlackBuild index 6597f28c08f30..c9828b67660d0 100644 --- a/perl/perl-Text-Quoted/perl-Text-Quoted.SlackBuild +++ b/perl/perl-Text-Quoted/perl-Text-Quoted.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 2013 Asaf Ohaion # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -50,7 +50,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-Text-Reform/perl-Text-Reform.SlackBuild b/perl/perl-Text-Reform/perl-Text-Reform.SlackBuild index 961ded1a9ce84..8352968b6a304 100644 --- a/perl/perl-Text-Reform/perl-Text-Reform.SlackBuild +++ b/perl/perl-Text-Reform/perl-Text-Reform.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.20} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# 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 diff --git a/perl/perl-Tidy/perl-Tidy.SlackBuild b/perl/perl-Tidy/perl-Tidy.SlackBuild index 11dbd8753b350..67547e69fc412 100644 --- a/perl/perl-Tidy/perl-Tidy.SlackBuild +++ b/perl/perl-Tidy/perl-Tidy.SlackBuild @@ -57,7 +57,7 @@ perl Makefile.PL \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test +make test make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/perl/perl-Time-modules/perl-Time-modules.SlackBuild b/perl/perl-Time-modules/perl-Time-modules.SlackBuild index a62002b08fe8b..549e994b8d837 100644 --- a/perl/perl-Time-modules/perl-Time-modules.SlackBuild +++ b/perl/perl-Time-modules/perl-Time-modules.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.SlackBuild b/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.SlackBuild index 208e330cc942c..aef22ed958557 100644 --- a/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.SlackBuild +++ b/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild b/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild index 6fb043826b71f..afb91e22c38fd 100644 --- a/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild +++ b/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 2013 Asaf Ohaion # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,7 +13,7 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -48,7 +48,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then diff --git a/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild b/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild index 1a1fc746470ae..963c07b847bae 100644 --- a/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild +++ b/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild @@ -38,7 +38,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Unicode-UTF8simple/perl-Unicode-UTF8simple.SlackBuild b/perl/perl-Unicode-UTF8simple/perl-Unicode-UTF8simple.SlackBuild index 461d00aea8e23..82f45e7bc6500 100644 --- a/perl/perl-Unicode-UTF8simple/perl-Unicode-UTF8simple.SlackBuild +++ b/perl/perl-Unicode-UTF8simple/perl-Unicode-UTF8simple.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild b/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild index 6c1d0e3e507d3..a0063e6394db9 100644 --- a/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild +++ b/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild @@ -32,12 +32,10 @@ VERSION=1.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 diff --git a/perl/perl-X10/perl-X10.SlackBuild b/perl/perl-X10/perl-X10.SlackBuild index 72317f8fc0296..0ef4b69cc473e 100644 --- a/perl/perl-X10/perl-X10.SlackBuild +++ b/perl/perl-X10/perl-X10.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-XML-LibXSLT/perl-XML-LibXSLT.SlackBuild b/perl/perl-XML-LibXSLT/perl-XML-LibXSLT.SlackBuild index 884e7f6886bfe..803d6512b7993 100644 --- a/perl/perl-XML-LibXSLT/perl-XML-LibXSLT.SlackBuild +++ b/perl/perl-XML-LibXSLT/perl-XML-LibXSLT.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-XML-Writer/perl-XML-Writer.SlackBuild b/perl/perl-XML-Writer/perl-XML-Writer.SlackBuild index 6c96c43cf7dfb..ccb5ac5e18e9f 100644 --- a/perl/perl-XML-Writer/perl-XML-Writer.SlackBuild +++ b/perl/perl-XML-Writer/perl-XML-Writer.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild b/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild index 4f885952b8401..8badecf5c8a9e 100644 --- a/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild +++ b/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-class-accessor/perl-class-accessor.SlackBuild b/perl/perl-class-accessor/perl-class-accessor.SlackBuild index f1da5d1c1a9b8..6a63140efad27 100644 --- a/perl/perl-class-accessor/perl-class-accessor.SlackBuild +++ b/perl/perl-class-accessor/perl-class-accessor.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.34} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -55,7 +53,7 @@ find . \ -exec chmod 644 {} \; perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild b/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild index 9736559deac0e..3ab06e112aea5 100644 --- a/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild +++ b/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 @@ -45,7 +43,7 @@ OUTPUT=${OUTPUT:-/tmp} SRCNAM=Digest-HMAC DOCFILES="Changes README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild b/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild index 096b7b8b86359..8829f1885e976 100644 --- a/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild +++ b/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild @@ -58,7 +58,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild b/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild index b3ed88704c517..b3afb40d5f267 100644 --- a/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild +++ b/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - + # Slackware build script for perl-extutils-depends # (C) 2007 Michael Wagner <lapinours@web.de> diff --git a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild index da1dccc400b80..0d28201a3a935 100644 --- a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild +++ b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - + # Slackware build script for perl-extutils-pkgconfig # (C) 2007 Michael Wagner <lapinours@web.de> diff --git a/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild b/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild index 03975196b5590..1ee4687a45d81 100644 --- a/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild +++ b/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -56,7 +54,7 @@ find . \ -exec chmod 644 {} \; perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/perl/perl-html-parser/perl-html-parser.SlackBuild b/perl/perl-html-parser/perl-html-parser.SlackBuild index d0e45f68077b2..e2b0b7c349d84 100644 --- a/perl/perl-html-parser/perl-html-parser.SlackBuild +++ b/perl/perl-html-parser/perl-html-parser.SlackBuild @@ -54,7 +54,7 @@ else SLKCFLAGS="-O2" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-html-tagset/perl-html-tagset.SlackBuild b/perl/perl-html-tagset/perl-html-tagset.SlackBuild index bb22e9e41e35d..ba6ad3a0701e5 100644 --- a/perl/perl-html-tagset/perl-html-tagset.SlackBuild +++ b/perl/perl-html-tagset/perl-html-tagset.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-3.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 diff --git a/perl/perl-lirc-client/perl-lirc-client.SlackBuild b/perl/perl-lirc-client/perl-lirc-client.SlackBuild index 484cbf714be4b..10a72b56c4a6e 100644 --- a/perl/perl-lirc-client/perl-lirc-client.SlackBuild +++ b/perl/perl-lirc-client/perl-lirc-client.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-net-ip/perl-net-ip.SlackBuild b/perl/perl-net-ip/perl-net-ip.SlackBuild index 95f7b5da4e11a..dc3b4b7f07827 100644 --- a/perl/perl-net-ip/perl-net-ip.SlackBuild +++ b/perl/perl-net-ip/perl-net-ip.SlackBuild @@ -44,7 +44,7 @@ OUTPUT=${OUTPUT:-/tmp} DOCFILES="Changes README COPYING" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/perl-trayicon/perl-trayicon.SlackBuild b/perl/perl-trayicon/perl-trayicon.SlackBuild index 3118e9988b0a7..c506603d849cd 100644 --- a/perl/perl-trayicon/perl-trayicon.SlackBuild +++ b/perl/perl-trayicon/perl-trayicon.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# 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 diff --git a/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild index be2f112848167..d363523030cbe 100644 --- a/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild +++ b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - + # Slackware build script for perl-xml-libxml # Written by Murat D. Kadirov <banderols@gmail.com> |