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 | |
parent | 610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff) |
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
1359 files changed, 1792 insertions, 3167 deletions
diff --git a/academic/GMT/GMT.SlackBuild b/academic/GMT/GMT.SlackBuild index 4d43b6d7b1a6..964cad3b836f 100644 --- a/academic/GMT/GMT.SlackBuild +++ b/academic/GMT/GMT.SlackBuild @@ -45,12 +45,12 @@ OUTPUT=${OUTPUT:-/tmp} COASTNAME=gshhg-gmt-nc3 COASTVER=2.2.3 -# Shewchuk's triangulation routine used in some parts of GMT is not +# Shewchuk's triangulation routine used in some parts of GMT is not # distributed under the GNU Public Licence. If you work for a for-profit -# organisation, you should read Shewchuk's copyright statement (in -# $PKG/src/README.TRIANGLE) first. -# This script enables the (much faster) Shewchuk triangulation routine -# by default; should you need to change this behaviour, set SHEWCHUK to +# organisation, you should read Shewchuk's copyright statement (in +# $PKG/src/README.TRIANGLE) first. +# This script enables the (much faster) Shewchuk triangulation routine +# by default; should you need to change this behaviour, set SHEWCHUK to # "no" below: SHEWCHUK=${SHEWCHUK:-yes} if [ $SHEWCHUK = "yes" ]; then @@ -126,7 +126,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog LICENSE.TXT README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/academic/Gblocks/Gblocks.SlackBuild b/academic/Gblocks/Gblocks.SlackBuild index fcb2a6006e76..95a966856ee4 100644 --- a/academic/Gblocks/Gblocks.SlackBuild +++ b/academic/Gblocks/Gblocks.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=Gblocks -VERSION=${VERSION:-0.91b} +PRGNAM=Gblocks +VERSION=${VERSION:-0.91b} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,9 +36,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} set -e diff --git a/academic/QtiPlot/QtiPlot.SlackBuild b/academic/QtiPlot/QtiPlot.SlackBuild index 635300ae6b34..9d3638b1e63a 100644 --- a/academic/QtiPlot/QtiPlot.SlackBuild +++ b/academic/QtiPlot/QtiPlot.SlackBuild @@ -66,7 +66,7 @@ DOCBOOK=dsssl-stylesheets-1.79 CHUNK=xsl-stylesheets-1.76.1 DOCBOOKX=xml-dtd-4.5 -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -107,7 +107,7 @@ sed -i "s:/usr/local:/usr/share:" qtiplot/qtiplot.pro sed -i "s:/share/man:/man:" qtiplot/qtiplot.pro sed -i "s:/share/doc/qtiplot:/doc/$PRGNAM-$VERSION:" qtiplot/qtiplot.pro -# Point to the right places of qt-assistant-compat, libreoffice (when +# Point to the right places of qt-assistant-compat, libreoffice (when # installed), latex, java, the QtiPlot html manual and fitPlugins sed -i "s:<QAssistantClient>:<QtAssistant/qassistantclient.h>:" qtiplot/src/core/ApplicationWindow.cpp sed -i "s:/usr/bin/soffice:/usr/bin/libreoffice:" qtiplot/src/core/ApplicationWindow.cpp diff --git a/academic/WordNet/WordNet.SlackBuild b/academic/WordNet/WordNet.SlackBuild index fa3ab8263685..38828ed7ac48 100644 --- a/academic/WordNet/WordNet.SlackBuild +++ b/academic/WordNet/WordNet.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -66,7 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \ make CFLAGS="$CFLAGS -DUSE_INTERP_RESULT" make install DESTDIR=$PKG -# Make sure WNHOME is set in the users' environments +# Make sure WNHOME is set in the users' environments mkdir -p $PKG/etc/profile.d cat $CWD/profile.d/WordNet.sh > $PKG/etc/profile.d/WordNet.sh cat $CWD/profile.d/WordNet.csh > $PKG/etc/profile.d/WordNet.csh diff --git a/academic/abntex/abntex.SlackBuild b/academic/abntex/abntex.SlackBuild index 7993fc7e596f..97c13cd2ebee 100644 --- a/academic/abntex/abntex.SlackBuild +++ b/academic/abntex/abntex.SlackBuild @@ -3,23 +3,23 @@ # Slackware build script for abntex # Copyright 2009 Andre Barboza <bmg.andre@gmail.com> -# All rights reserved. -# +# All rights reserved. +# # Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''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 DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Slightly modified by Robby Workman <rworkman@slackbuilds.org> diff --git a/academic/amplicon/amplicon.SlackBuild b/academic/amplicon/amplicon.SlackBuild index 24ebdf4da934..588ea1115ebc 100644 --- a/academic/amplicon/amplicon.SlackBuild +++ b/academic/amplicon/amplicon.SlackBuild @@ -22,17 +22,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=amplicon +PRGNAM=amplicon VERSION=${VERSION:-b09.1} BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} -ARCH=noarch +ARCH=noarch CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} set -e diff --git a/academic/arka/arka.SlackBuild b/academic/arka/arka.SlackBuild index 48ee14e6ed39..b672401581bf 100644 --- a/academic/arka/arka.SlackBuild +++ b/academic/arka/arka.SlackBuild @@ -1,17 +1,17 @@ #!/bin/sh # Slackware build script for arka -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. -PRGNAM=arka -VERSION=${VERSION:-0.11} +PRGNAM=arka +VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -22,9 +22,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" diff --git a/academic/arpack/arpack.SlackBuild b/academic/arpack/arpack.SlackBuild index c976fdc5879d..3b22253fb5b7 100644 --- a/academic/arpack/arpack.SlackBuild +++ b/academic/arpack/arpack.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-2.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/academic/bibletime/bibletime.SlackBuild b/academic/bibletime/bibletime.SlackBuild index 550a119ecd77..6be4cfd60863 100644 --- a/academic/bibletime/bibletime.SlackBuild +++ b/academic/bibletime/bibletime.SlackBuild @@ -83,7 +83,7 @@ cd build -DCMAKE_SKIP_RPATH:BOOL=ON \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ - -DLIB_SUFFIX=$LIBDIRSUFFIX .. + -DLIB_SUFFIX=$LIBDIRSUFFIX .. make make install DESTDIR=$PKG diff --git a/academic/bibus/bibus.SlackBuild b/academic/bibus/bibus.SlackBuild index 0575f2da13cf..f7a19c8f1e01 100644 --- a/academic/bibus/bibus.SlackBuild +++ b/academic/bibus/bibus.SlackBuild @@ -18,7 +18,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/academic/bowtie/bowtie.SlackBuild b/academic/bowtie/bowtie.SlackBuild index 72eedc70ceb0..f6211bf2f14b 100644 --- a/academic/bowtie/bowtie.SlackBuild +++ b/academic/bowtie/bowtie.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=bowtie +PRGNAM=bowtie VERSION=${VERSION:-0.12.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -82,7 +82,7 @@ mkdir -p $PKG/usr/share/$PRGNAM cp -a \ genomes indexes reads scripts \ $PKG/usr/share/$PRGNAM - + # Let's compress the E. coli genome and indexes gzip $PKG/usr/share/$PRGNAM/genomes/*.fna gzip $PKG/usr/share/$PRGNAM/indexes/*.ebwt diff --git a/academic/bwa/bwa.SlackBuild b/academic/bwa/bwa.SlackBuild index 32d7e7d6a9fc..4d6d54d23e54 100644 --- a/academic/bwa/bwa.SlackBuild +++ b/academic/bwa/bwa.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=bwa +PRGNAM=bwa VERSION=${VERSION:-0.6.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -81,7 +81,7 @@ make install -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM install -D -m644 $PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1 - + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/academic/calcoo/calcoo.SlackBuild b/academic/calcoo/calcoo.SlackBuild index 98397daeb9ae..c69e98809ee1 100644 --- a/academic/calcoo/calcoo.SlackBuild +++ b/academic/calcoo/calcoo.SlackBuild @@ -36,7 +36,7 @@ OUTPUT=${OUTPUT:-/tmp} set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT mkdir -p $PKG/usr/share/java diff --git a/academic/cap3/cap3.SlackBuild b/academic/cap3/cap3.SlackBuild index 0a18de25cf79..592023607725 100644 --- a/academic/cap3/cap3.SlackBuild +++ b/academic/cap3/cap3.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=cap3 +PRGNAM=cap3 VERSION=${VERSION:-20091029} # Use the last modification date as version BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,7 +56,7 @@ fi # Construct tarball name TARNAME=${PRGNAM}.linux${SRCARCH} -DIRNAM=CAP3 +DIRNAM=CAP3 rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/academic/cblas/cblas.SlackBuild b/academic/cblas/cblas.SlackBuild index 22497b80b29f..c2aac9a9a4b2 100644 --- a/academic/cblas/cblas.SlackBuild +++ b/academic/cblas/cblas.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-20110120} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/academic/chemtool/chemtool.SlackBuild b/academic/chemtool/chemtool.SlackBuild index 387f33596e74..402573c48230 100644 --- a/academic/chemtool/chemtool.SlackBuild +++ b/academic/chemtool/chemtool.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for chemtool -# Copyright 2006,2008-2013 Robby Workman, Northport, Alabama, USA +# Copyright 2006,2008-2013 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -56,7 +56,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION @@ -85,7 +85,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/share/{applications,pixmaps} cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop -cat $CWD/chemtool.png > $PKG/usr/share/pixmaps/chemtool.png +cat $CWD/chemtool.png > $PKG/usr/share/pixmaps/chemtool.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a examples/ ChangeLog INSTALL NEWS README TODO using_chemtool.html \ diff --git a/academic/cld2/cld2.SlackBuild b/academic/cld2/cld2.SlackBuild index e3f560ee39f8..a44a88b234c7 100644 --- a/academic/cld2/cld2.SlackBuild +++ b/academic/cld2/cld2.SlackBuild @@ -77,7 +77,7 @@ cd $PRGNAM-$VERSION cld2_generated_quadchrome0715.cc cld2_generated_deltaoctachrome0614.cc \ cld2_generated_distinctoctachrome0604.cc cld_generated_score_quad_octa_1024_256.cc \ -o libcld2.so - + g++ -shared $SLKCFLAGS \ cldutil.cc cldutil_shared.cc compact_lang_det.cc compact_lang_det_hint_code.cc \ compact_lang_det_impl.cc debug.cc fixunicodevalue.cc \ @@ -89,11 +89,11 @@ cd $PRGNAM-$VERSION cld2_generated_quad0720.cc cld2_generated_deltaocta0527.cc \ cld2_generated_distinctocta0527.cc cld_generated_score_quad_octa_1024_256.cc \ -o libcld2_full.so - + g++ $SLKCFLAGS \ compact_lang_det_test.cc -I. -L. libcld2_full.so \ - -o cld2 - + -o cld2 + install -D -m 0755 cld2 $PKG/usr/bin/cld2 install -D -m 0755 libcld2.so $PKG/usr/lib${LIBDIRSUFFIX}/libcld2.so install -D -m 0755 libcld2_full.so $PKG/usr/lib${LIBDIRSUFFIX}/libcld2_full.so diff --git a/academic/clustalw/clustalw.SlackBuild b/academic/clustalw/clustalw.SlackBuild index bdef83058327..96f5dcc4015e 100644 --- a/academic/clustalw/clustalw.SlackBuild +++ b/academic/clustalw/clustalw.SlackBuild @@ -1,15 +1,15 @@ #!/bin/sh # Slackware build script for clustalw -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. -PRGNAM=clustalw -VERSION=${VERSION:-2.1} +PRGNAM=clustalw +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,7 +77,7 @@ cd - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# This is empty +# This is empty rm -rf $PKG/usr/share mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/academic/clustalx/clustalx.SlackBuild b/academic/clustalx/clustalx.SlackBuild index 450574509562..e809c01291fb 100644 --- a/academic/clustalx/clustalx.SlackBuild +++ b/academic/clustalx/clustalx.SlackBuild @@ -1,16 +1,16 @@ #!/bin/sh # Slackware build script for clustalx -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# Based on the clustalx PKGBUILD from Archlinux AUR -# (http://aur.archlinux.org/packages.php?ID=25080). -# PKGBUILD submitter is mickelliot and maintainer is +# Based on the clustalx PKGBUILD from Archlinux AUR +# (http://aur.archlinux.org/packages.php?ID=25080). +# PKGBUILD submitter is mickelliot and maintainer is # machoo02. Thank you! -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. PRGNAM=clustalx @@ -45,7 +45,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/academic/coq/coq.SlackBuild b/academic/coq/coq.SlackBuild index fe4011d7d8b3..d5faa1a56a7f 100644 --- a/academic/coq/coq.SlackBuild +++ b/academic/coq/coq.SlackBuild @@ -1,18 +1,18 @@ #!/bin/sh -# +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -# +# # Slackware build script for coq # Written by William Bowman (wilbowma@indiana.edu) @@ -65,7 +65,7 @@ find . \ if hash ocamlopt || hash ocamlopt.opt ; then OPT="-opt" -else +else OPT="" fi @@ -73,11 +73,11 @@ fi -prefix /usr \ -libdir /usr/lib${LIBDIRSUFFIX}/coq \ -arch $ARCH \ - $OPT - + $OPT + make world umask 022 -COQINSTALLPREFIX=$PKG make install +COQINSTALLPREFIX=$PKG make install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/academic/engauge/engauge.SlackBuild b/academic/engauge/engauge.SlackBuild index ff637ef4efe6..43a383096fb0 100644 --- a/academic/engauge/engauge.SlackBuild +++ b/academic/engauge/engauge.SlackBuild @@ -8,12 +8,10 @@ VERSION=4.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/academic/ess/ess.SlackBuild b/academic/ess/ess.SlackBuild index 0a1988c316b4..803f980c3e57 100644 --- a/academic/ess/ess.SlackBuild +++ b/academic/ess/ess.SlackBuild @@ -20,7 +20,7 @@ OUTPUT=${OUTPUT:-/tmp} set -e rm -rf $PKG -mkdir -p $TMP $PKG/usr $OUTPUT +mkdir -p $TMP $PKG/usr $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tgz diff --git a/academic/fann/fann.SlackBuild b/academic/fann/fann.SlackBuild index 4fcf4368743a..da04dcc62e3b 100644 --- a/academic/fann/fann.SlackBuild +++ b/academic/fann/fann.SlackBuild @@ -62,7 +62,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/academic/flann/flann.SlackBuild b/academic/flann/flann.SlackBuild index 8f91d2afa2a5..585e57d2291c 100644 --- a/academic/flann/flann.SlackBuild +++ b/academic/flann/flann.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -87,7 +87,7 @@ cd tmp -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release ../src - make + make make install DESTDIR=$PKG cd .. diff --git a/academic/flashqard/flashqard.SlackBuild b/academic/flashqard/flashqard.SlackBuild index 228be4139409..a86b66b8200a 100644 --- a/academic/flashqard/flashqard.SlackBuild +++ b/academic/flashqard/flashqard.SlackBuild @@ -4,7 +4,7 @@ # written by Mehdi Esmaeelpour ariarat@gmail.com www.slack-world.com PRGNAM=flashqard -VERSION=${VERSION:-0.15.0} +VERSION=${VERSION:-0.15.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,7 +37,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $TMP/$PRGNAM-$VERSION @@ -60,7 +60,7 @@ cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING ChangeLog README AUTHORS INSTALL $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/flashqard.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/flashqard.SlackBuild diff --git a/academic/gcompris/gcompris.SlackBuild b/academic/gcompris/gcompris.SlackBuild index e844f8cba442..7bb22c99930a 100644 --- a/academic/gcompris/gcompris.SlackBuild +++ b/academic/gcompris/gcompris.SlackBuild @@ -4,16 +4,16 @@ # Copyright (c) 2009, Paul Liconti # 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 notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -42,7 +42,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -60,7 +60,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/academic/gelemental/gelemental.SlackBuild b/academic/gelemental/gelemental.SlackBuild index c4778367667c..3dc04ef77957 100644 --- a/academic/gelemental/gelemental.SlackBuild +++ b/academic/gelemental/gelemental.SlackBuild @@ -80,7 +80,7 @@ sed -i "s:Categories=GTK;Utility;Science;Chemistry;:Categories=Education;:" data # Increase the info button size sed -i "s:set_size_request (50, 50):set_size_request (64, 64):" src/buttons.cc -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/academic/genius/genius.SlackBuild b/academic/genius/genius.SlackBuild index e18111cbd1ad..feb1302a60d2 100644 --- a/academic/genius/genius.SlackBuild +++ b/academic/genius/genius.SlackBuild @@ -20,7 +20,7 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# PRGNAM=genius VERSION=${VERSION:-1.0.17} diff --git a/academic/genpak/genpak.SlackBuild b/academic/genpak/genpak.SlackBuild index 87c2f2c2dff2..070eaf88ffd4 100644 --- a/academic/genpak/genpak.SlackBuild +++ b/academic/genpak/genpak.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=genpak -VERSION=${VERSION:-0.26} +PRGNAM=genpak +VERSION=${VERSION:-0.26} BUILD=${BUILD:-4} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,9 +36,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" diff --git a/academic/geomview/geomview.SlackBuild b/academic/geomview/geomview.SlackBuild index ca3d5e741b99..2ecdfd11484f 100644 --- a/academic/geomview/geomview.SlackBuild +++ b/academic/geomview/geomview.SlackBuild @@ -85,7 +85,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r gzip -c -9 $PRGNAM-1 > $PRGNAM.info-1.gz gzip -c -9 $PRGNAM-2 > $PRGNAM.info-2.gz rm -fr dir figs $PRGNAM-* $PRGNAM ) - + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ doc/figs doc/*.txt doc/*.c doc/*.tcl doc/README* doc/*.gvplot doc/oogltour* \ diff --git a/academic/ggobi/ggobi.SlackBuild b/academic/ggobi/ggobi.SlackBuild index 4aa98db8fd7d..6a302ccf1453 100644 --- a/academic/ggobi/ggobi.SlackBuild +++ b/academic/ggobi/ggobi.SlackBuild @@ -9,12 +9,10 @@ VERSION=2.1.8 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/academic/gp2fasta/gp2fasta.SlackBuild b/academic/gp2fasta/gp2fasta.SlackBuild index 971f9861b79e..e828347cb8af 100644 --- a/academic/gp2fasta/gp2fasta.SlackBuild +++ b/academic/gp2fasta/gp2fasta.SlackBuild @@ -1,21 +1,21 @@ #!/bin/sh # Slackware build script for gp2fasta -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# The icon used by the gp2fasta.desktop file is taken from -# http://kde-look.org/content/show.php/Fasta+icons?content=54012 +# The icon used by the gp2fasta.desktop file is taken from +# http://kde-look.org/content/show.php/Fasta+icons?content=54012 # Author is Luis-Miguel Rodriguez. Thank you! -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. -PRGNAM=gp2fasta +PRGNAM=gp2fasta VERSION=${VERSION:-0.2} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -86,7 +86,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Menu item and icon mkdir -p $PKG/usr/share/{applications,pixmaps} cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/ -cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/ +cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/academic/grace/grace.SlackBuild b/academic/grace/grace.SlackBuild index 26256648019c..04b4eda93338 100644 --- a/academic/grace/grace.SlackBuild +++ b/academic/grace/grace.SlackBuild @@ -104,7 +104,7 @@ cp -a CHANGES ChangeLog README DEVELOPERS LICENSE \ find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild ( cd $PKG/usr/lib${LIBDIRSUFFIX}/xmgrace # now make the compat symlink - ln -s ../../doc/$PRGNAM-$VERSION doc + ln -s ../../doc/$PRGNAM-$VERSION doc ) # We're going to leave the man pages where they are, since grace (might|does) diff --git a/academic/gresistor/gresistor.SlackBuild b/academic/gresistor/gresistor.SlackBuild index a7d8dd96c77c..27cec22fb993 100644 --- a/academic/gresistor/gresistor.SlackBuild +++ b/academic/gresistor/gresistor.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.0.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/academic/grpn/grpn.SlackBuild b/academic/grpn/grpn.SlackBuild index 83e77da59885..0eb469e4835c 100644 --- a/academic/grpn/grpn.SlackBuild +++ b/academic/grpn/grpn.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-1.1.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/academic/isoelectric-point/isoelectric-point.SlackBuild b/academic/isoelectric-point/isoelectric-point.SlackBuild index 5fcd4ee9cc48..98cffae3d060 100644 --- a/academic/isoelectric-point/isoelectric-point.SlackBuild +++ b/academic/isoelectric-point/isoelectric-point.SlackBuild @@ -1,17 +1,17 @@ #!/bin/sh # Slackware build script for isoelectric-point -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. PRGNAM=isoelectric-point VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -80,7 +80,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Menu item and icon mkdir -p $PKG/usr/share/{applications,pixmaps} cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/ -cp ./icons/ip_64.png $PKG/usr/share/pixmaps/isoelectric-point.png +cp ./icons/ip_64.png $PKG/usr/share/pixmaps/isoelectric-point.png mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/academic/itex2mml/itex2mml.SlackBuild b/academic/itex2mml/itex2mml.SlackBuild index 234f1ba9fb71..0dc40057abd0 100644 --- a/academic/itex2mml/itex2mml.SlackBuild +++ b/academic/itex2mml/itex2mml.SlackBuild @@ -51,7 +51,7 @@ find -L . \ if [[ "$RUBY" = "YES" ]]; then MYRARCH=$(ruby -e 'print RbConfig::CONFIG["arch"]') fi -# This fixes ruby bindings build, BINDIR, +# This fixes ruby bindings build, BINDIR, sed -i \ -e "s|require\ \"rbconfig\";\ print\ |print Rb|" \ -e "s|RUBYDIR)|RUBYDIR) -I/usr/include/ruby-1.9.1/${MYRARCH}|" \ diff --git a/academic/jalview/jalview.SlackBuild b/academic/jalview/jalview.SlackBuild index 101b9b7bf309..71ee50884471 100644 --- a/academic/jalview/jalview.SlackBuild +++ b/academic/jalview/jalview.SlackBuild @@ -25,18 +25,18 @@ # With help from the jalview PKGBUILD at Arch linux AUR: # https://aur.archlinux.org/packages/jalview/ -PRGNAM=jalview +PRGNAM=jalview VERSION=${VERSION:-2.8} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} SRCNAM=install.bin ARCH=noarch CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} set -e diff --git a/academic/jpicedt/jpicedt.SlackBuild b/academic/jpicedt/jpicedt.SlackBuild index 6fe0021b7cb8..66402404c93c 100644 --- a/academic/jpicedt/jpicedt.SlackBuild +++ b/academic/jpicedt/jpicedt.SlackBuild @@ -25,12 +25,10 @@ VERSION=${VERSION:-1.4.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 @@ -57,10 +55,10 @@ fi set -e rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -p $TMP $PKG $OUTPUT -mkdir -p $PKG/opt/$PRGNAM-$VERSION -unzip $CWD/jpicedt-install_1_4_1_03_20071021.jar -d $PKG/opt/$PRGNAM-$VERSION +mkdir -p $PKG/opt/$PRGNAM-$VERSION +unzip $CWD/jpicedt-install_1_4_1_03_20071021.jar -d $PKG/opt/$PRGNAM-$VERSION # Add a convenience symlink to keep path simple ( cd $PKG/opt ; ln -s $PRGNAM-$VERSION $PRGNAM ) @@ -76,8 +74,8 @@ rm -rf $PKG/opt/$PRGNAM-$VERSION/{META-INF,installer,add-ons/windows} mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION ( cd $PKG/usr/doc/$PRGNAM-$VERSION for doc in \ - COPYING.txt quickstart.html readme.html api-doc help-files add-ons ; - do ln -s $PKG/opt/$PRGNAM-$VERSION/$doc . ; + COPYING.txt quickstart.html readme.html api-doc help-files add-ons ; + do ln -s $PKG/opt/$PRGNAM-$VERSION/$doc . ; done ) diff --git a/academic/jugglinglab/jugglinglab.SlackBuild b/academic/jugglinglab/jugglinglab.SlackBuild index cabb1dba3ed0..10f82fb1f2f5 100644 --- a/academic/jugglinglab/jugglinglab.SlackBuild +++ b/academic/jugglinglab/jugglinglab.SlackBuild @@ -12,7 +12,7 @@ TAG=${TAG:-_SBo} ARCH=noarch CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/academic/ladr/ladr.SlackBuild b/academic/ladr/ladr.SlackBuild index 1fa39365121a..624d1a73006b 100644 --- a/academic/ladr/ladr.SlackBuild +++ b/academic/ladr/ladr.SlackBuild @@ -27,12 +27,10 @@ VERSION=2009_11A 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/academic/lalnview/lalnview.SlackBuild b/academic/lalnview/lalnview.SlackBuild index 1b25bcdb9dc7..7b892909db3d 100644 --- a/academic/lalnview/lalnview.SlackBuild +++ b/academic/lalnview/lalnview.SlackBuild @@ -24,10 +24,10 @@ # Thanks to Niels Horn for correcting the CFLAGS. -PRGNAM=lalnview -VERSION=${VERSION:-3.0} +PRGNAM=lalnview +VERSION=${VERSION:-3.0} BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -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" diff --git a/academic/lapack95/lapack95.SlackBuild b/academic/lapack95/lapack95.SlackBuild index d1338bc6c5f5..9f9e7c0376a7 100644 --- a/academic/lapack95/lapack95.SlackBuild +++ b/academic/lapack95/lapack95.SlackBuild @@ -5,24 +5,22 @@ # Written by Pablo Santamaría (pablosantamaria@gmail.com) PRGNAM=lapack95 -VERSION=${VERSION:-3.0} +VERSION=${VERSION:-3.0} 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 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" @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -56,14 +54,14 @@ find . \ # Copy the pre-configured make.inc file but put in the correct LIBDIR sed "s%@LIBDIR@%/usr/lib${LIBDIRSUFFIX}%" $CWD/make.inc > make.inc -# Make single and double precision, complex and double complex +# Make single and double precision, complex and double complex # static library. cd SRC make -j1 clean make -j1 OPTS0="$SLKCFLAGS" single_double_complex_dcomplex cd .. -# Install lib +# Install lib mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} cp $PRGNAM.a $PKG/usr/lib${LIBDIRSUFFIX}/lib$PRGNAM.a diff --git a/academic/link-grammar/link-grammar.SlackBuild b/academic/link-grammar/link-grammar.SlackBuild index c31ab72bee71..5c9732b5fc6c 100644 --- a/academic/link-grammar/link-grammar.SlackBuild +++ b/academic/link-grammar/link-grammar.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -62,7 +62,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG diff --git a/academic/mrbayes/mrbayes.SlackBuild b/academic/mrbayes/mrbayes.SlackBuild index b0b8fd12a3d0..292047eeb084 100644 --- a/academic/mrbayes/mrbayes.SlackBuild +++ b/academic/mrbayes/mrbayes.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=mrbayes +PRGNAM=mrbayes VERSION=${VERSION:-3.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/academic/muscle/muscle.SlackBuild b/academic/muscle/muscle.SlackBuild index 10d32e72bfa1..555f96954ae4 100644 --- a/academic/muscle/muscle.SlackBuild +++ b/academic/muscle/muscle.SlackBuild @@ -1,17 +1,17 @@ #!/bin/sh # Slackware build script for muscle -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. -PRGNAM=muscle -VERSION=${VERSION:-3.8.31} +PRGNAM=muscle +VERSION=${VERSION:-3.8.31} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -24,7 +24,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" diff --git a/academic/ncbi-blast/ncbi-blast.SlackBuild b/academic/ncbi-blast/ncbi-blast.SlackBuild index 34a7b03ac07d..d9db3dee2264 100644 --- a/academic/ncbi-blast/ncbi-blast.SlackBuild +++ b/academic/ncbi-blast/ncbi-blast.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=ncbi-blast +PRGNAM=ncbi-blast VERSION=${VERSION:-2.2.26} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/academic/pcb/pcb.SlackBuild b/academic/pcb/pcb.SlackBuild index 624cc69c3413..53eedfb64035 100644 --- a/academic/pcb/pcb.SlackBuild +++ b/academic/pcb/pcb.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/academic/perlprimer/perlprimer.SlackBuild b/academic/perlprimer/perlprimer.SlackBuild index 7afa41f79316..386494734987 100644 --- a/academic/perlprimer/perlprimer.SlackBuild +++ b/academic/perlprimer/perlprimer.SlackBuild @@ -22,17 +22,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perlprimer +PRGNAM=perlprimer VERSION=${VERSION:-1.1.21} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} -ARCH=noarch +ARCH=noarch CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} set -e diff --git a/academic/pgrouting/pgrouting.SlackBuild b/academic/pgrouting/pgrouting.SlackBuild index dbc17725d1ef..07eb0434057d 100644 --- a/academic/pgrouting/pgrouting.SlackBuild +++ b/academic/pgrouting/pgrouting.SlackBuild @@ -84,10 +84,10 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DWITH_DOC=$WITH_DOC \ - .. + .. - make VERBOSE=1 - make install VERBOSE=1 DESTDIR=$PKG + make VERBOSE=1 + make install VERBOSE=1 DESTDIR=$PKG cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/academic/plasmidomics/plasmidomics.SlackBuild b/academic/plasmidomics/plasmidomics.SlackBuild index 8c06ffacf937..265750c45335 100644 --- a/academic/plasmidomics/plasmidomics.SlackBuild +++ b/academic/plasmidomics/plasmidomics.SlackBuild @@ -22,17 +22,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=plasmidomics +PRGNAM=plasmidomics VERSION=${VERSION:-0.2} BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} -ARCH=noarch +ARCH=noarch CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} set -e diff --git a/academic/qhull/qhull.SlackBuild b/academic/qhull/qhull.SlackBuild index b2872a219390..eafdf7fd91ca 100644 --- a/academic/qhull/qhull.SlackBuild +++ b/academic/qhull/qhull.SlackBuild @@ -79,7 +79,7 @@ cd build -DMAN_INSTALL_DIR=/usr/man/man1 \ -DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/academic/qrupdate/qrupdate.SlackBuild b/academic/qrupdate/qrupdate.SlackBuild index d9aa663f8bf0..89ca8cf52ca7 100644 --- a/academic/qrupdate/qrupdate.SlackBuild +++ b/academic/qrupdate/qrupdate.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.1.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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/academic/qtoctave/qtoctave.SlackBuild b/academic/qtoctave/qtoctave.SlackBuild index b2feb6e348af..690792a5cdd1 100644 --- a/academic/qtoctave/qtoctave.SlackBuild +++ b/academic/qtoctave/qtoctave.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.8.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 @@ -40,7 +38,7 @@ else fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild index 5370f4e3912a..76e4fef646b7 100644 --- a/academic/sage/sage.SlackBuild +++ b/academic/sage/sage.SlackBuild @@ -26,7 +26,7 @@ SAGEROOT=${SAGEROOT:-/opt/sage} set -e rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar @@ -37,7 +37,7 @@ find -L . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - + mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \ $PKG/usr/doc/$PRGNAM-$VERSION $PKG/etc/profile.d make @@ -45,7 +45,7 @@ make # test all examples in the documentation (over 93,000 line of input) [ "${TEST:-no}" = "yes" ] && make test -# build the pdf version of the documentation +# build the pdf version of the documentation # (Note: this requires a LaTeX installation) if [ "${PDFDOC:-no}" = "yes" ]; then ./sage -docbuild all pdf @@ -66,8 +66,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Sage installs specific versions of a number of software components which -# may be different from the system-wide versions of those components. For -# this reason, the man and info pages are not moved to /usr/man and +# may be different from the system-wide versions of those components. For +# this reason, the man and info pages are not moved to /usr/man and # /usr/info. To avoid possible conflicts, they are compressed in place. find $PKG/$SAGEROOT/local/man -type f -exec gzip -9 {} \; for i in $( find $PKG/$SAGEROOT/local/man -type l ) ; do @@ -84,8 +84,8 @@ sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.sh > $PKG/etc/profile.d/sage.s sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.csh > $PKG/etc/profile.d/sage.csh chmod 0755 $PKG/etc/profile.d/* -# install scripts to SAGEROOT/bin that allow the internal sage versions of: gap, -# gp, singular, maxima, M2, kash, mwrank, ipython, hg, and R to be run independently +# install scripts to SAGEROOT/bin that allow the internal sage versions of: gap, +# gp, singular, maxima, M2, kash, mwrank, ipython, hg, and R to be run independently # and add SAGEROOT/bin to the PATH if [ "${INSTALLSCRIPTS:-no}" = "yes" ]; then mkdir $PKG$SAGEROOT/bin diff --git a/academic/sequence-analysis/sequence-analysis.SlackBuild b/academic/sequence-analysis/sequence-analysis.SlackBuild index 9b84365b616a..f7419ac79192 100644 --- a/academic/sequence-analysis/sequence-analysis.SlackBuild +++ b/academic/sequence-analysis/sequence-analysis.SlackBuild @@ -1,23 +1,23 @@ #!/bin/sh # Slackware build script for sequence-analysis -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. -PRGNAM=sequence-analysis +PRGNAM=sequence-analysis VERSION=${VERSION:-1.6.0} ARCH=noarch BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} set -e diff --git a/academic/slatec/slatec.SlackBuild b/academic/slatec/slatec.SlackBuild index ddbb312c885c..58f41b06336c 100644 --- a/academic/slatec/slatec.SlackBuild +++ b/academic/slatec/slatec.SlackBuild @@ -11,12 +11,10 @@ TAG=${TAG:-_SBo} SRCVERSION=${VERSION}-4 -# 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 @@ -40,7 +38,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -60,10 +58,10 @@ v1=$(echo $VERSION | cut -d. -f1) v2=$VERSION make MA_N=${v1} MI_N=${v2} OPT="$SLKCFLAGS -std=legacy" F77="gfortran" CC="gcc" -mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} -cp -a libslatec.a $PKG/usr/lib${LIBDIRSUFFIX} +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} +cp -a libslatec.a $PKG/usr/lib${LIBDIRSUFFIX} cp -a libslatec.so.$v2 $PKG/usr/lib${LIBDIRSUFFIX} -( cd $PKG/usr/lib${LIBDIRSUFFIX} +( cd $PKG/usr/lib${LIBDIRSUFFIX} ln -s libslatec.so.$v2 libslatec.so.$v1 ln -s libslatec.so.$v2 libslatec.so ) diff --git a/academic/solfege/solfege.SlackBuild b/academic/solfege/solfege.SlackBuild index 0a700373ac3b..e1de0f13af25 100644 --- a/academic/solfege/solfege.SlackBuild +++ b/academic/solfege/solfege.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-3.22.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/academic/spidey/spidey.SlackBuild b/academic/spidey/spidey.SlackBuild index afe96d9c20b5..443940eb11c7 100644 --- a/academic/spidey/spidey.SlackBuild +++ b/academic/spidey/spidey.SlackBuild @@ -1,19 +1,19 @@ #!/bin/sh # Slackware build script for spidey -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. -PRGNAM=spidey +PRGNAM=spidey VERSION=${VERSION:-20060601} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} -ARCH=i386 +ARCH=i386 CWD=$(pwd) TMP=${TMP:-/tmp/SBo} diff --git a/academic/staden/staden.SlackBuild b/academic/staden/staden.SlackBuild index 81e982c08cd6..73d1c4c6f68f 100644 --- a/academic/staden/staden.SlackBuild +++ b/academic/staden/staden.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=staden +PRGNAM=staden VERSION=${VERSION:-2.0.0b9} BUILD=${BUILD:-3} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/academic/suitesparse/suitesparse.SlackBuild b/academic/suitesparse/suitesparse.SlackBuild index e7948ba7e60a..82458b6fb7b9 100644 --- a/academic/suitesparse/suitesparse.SlackBuild +++ b/academic/suitesparse/suitesparse.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-4.0.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 @@ -58,7 +56,7 @@ for lib in SuiteSparse_config AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMO make -C $lib library CFLAGS="$SLKCFLAGS -DNPARTITION" done -mkdir -p $PKG/usr/lib$LIBDIRSUFFIX +mkdir -p $PKG/usr/lib$LIBDIRSUFFIX mkdir -p $PKG/usr/include/suitesparse for lib in SuiteSparse_config AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR RBio; do make -C $lib INSTALL_LIB="$PKG/usr/lib$LIBDIRSUFFIX" INSTALL_INCLUDE="$PKG/usr/include/suitesparse" install diff --git a/academic/t_coffee/t_coffee.SlackBuild b/academic/t_coffee/t_coffee.SlackBuild index fc66530a2448..ddac42a7c99a 100644 --- a/academic/t_coffee/t_coffee.SlackBuild +++ b/academic/t_coffee/t_coffee.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=t_coffee +PRGNAM=t_coffee VERSION=${VERSION:-9.03.r1318} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/academic/tilem/tilem.SlackBuild b/academic/tilem/tilem.SlackBuild index 8bd3733646a7..2a6c4475f771 100644 --- a/academic/tilem/tilem.SlackBuild +++ b/academic/tilem/tilem.SlackBuild @@ -25,12 +25,10 @@ VERSION=0.973 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 @@ -54,7 +52,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/academic/tilem2/tilem2.SlackBuild b/academic/tilem2/tilem2.SlackBuild index 8d2deda08f93..f5956a2713ec 100644 --- a/academic/tilem2/tilem2.SlackBuild +++ b/academic/tilem2/tilem2.SlackBuild @@ -74,7 +74,7 @@ find -L . \ # This adds -lm to the linker flags - comes from revision 661 patch -p1 < $CWD/patches/add_-lm_to_libs_r661.patch -# Fix a sprintf error on 64-bit - comes from +# Fix a sprintf error on 64-bit - comes from # http://svn.calcforge.org/viewvc/repo-specfiles/fedora/tilem/tilem-2.0-64bit.patch patch -p1 < $CWD/patches/tilem-2.0-64bit.patch diff --git a/academic/treeview/treeview.SlackBuild b/academic/treeview/treeview.SlackBuild index 3cef689478ef..16ef7260293e 100644 --- a/academic/treeview/treeview.SlackBuild +++ b/academic/treeview/treeview.SlackBuild @@ -71,7 +71,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Disable SVG support. If you want it, you should build +# Disable SVG support. If you want it, you should build # wxGTK or wxPython including svg from contrib/src/svg # Then, of course comment the next line. sed "s:USE_SVG=1:USE_SVG=0:" -i configure diff --git a/academic/ugene/ugene.SlackBuild b/academic/ugene/ugene.SlackBuild index ae8ea476af69..0143dabf1cad 100644 --- a/academic/ugene/ugene.SlackBuild +++ b/academic/ugene/ugene.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=ugene +PRGNAM=ugene VERSION=${VERSION:-1.11.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/academic/verilog/verilog.SlackBuild b/academic/verilog/verilog.SlackBuild index c549d6ffcbc8..607a97fdc4fb 100644 --- a/academic/verilog/verilog.SlackBuild +++ b/academic/verilog/verilog.SlackBuild @@ -3,7 +3,7 @@ #Slackware build script for Icarus Verilog compiler #Written by Stephen Van Berg stephen_van_berg@earlicker.com. -PRGNAM=verilog +PRGNAM=verilog VERSION=${VERSION:-0.9.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,9 +17,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" diff --git a/academic/wxmacmolplt/wxmacmolplt.SlackBuild b/academic/wxmacmolplt/wxmacmolplt.SlackBuild index 34b1ed1ecc26..457f0e234666 100644 --- a/academic/wxmacmolplt/wxmacmolplt.SlackBuild +++ b/academic/wxmacmolplt/wxmacmolplt.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for wxmacmolplt -# Copyright 2012 Daniil Bratashov <dn2010@gmail.com> +# Copyright 2012 Daniil Bratashov <dn2010@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/accessibility/jpilot/jpilot.SlackBuild b/accessibility/jpilot/jpilot.SlackBuild index 7ad0b9553315..59dfb137e4ce 100644 --- a/accessibility/jpilot/jpilot.SlackBuild +++ b/accessibility/jpilot/jpilot.SlackBuild @@ -81,8 +81,8 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc \ --build=$ARCH-slackware-linux -make -make install-strip DESTDIR=$PKG +make +make install-strip DESTDIR=$PKG ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; diff --git a/audio/MusicMixer/MusicMixer.SlackBuild b/audio/MusicMixer/MusicMixer.SlackBuild index 9a0fa9f5cd4d..f47681338dcb 100644 --- a/audio/MusicMixer/MusicMixer.SlackBuild +++ b/audio/MusicMixer/MusicMixer.SlackBuild @@ -12,7 +12,7 @@ TAG=${TAG:-_SBo} ARCH=i486 # hardcoded for 32bit CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/Pd-extended/Pd-extended.SlackBuild b/audio/Pd-extended/Pd-extended.SlackBuild index 7e5a80dfa493..4dcca816543b 100644 --- a/audio/Pd-extended/Pd-extended.SlackBuild +++ b/audio/Pd-extended/Pd-extended.SlackBuild @@ -3,7 +3,7 @@ # Written by Felix Pfeifer, revision date 2010/07/31 # contact: pfeifer[dot]felix[at]googlemail[dot]com -# Modified by the SlackBuilds.org project. +# Modified by the SlackBuilds.org project. PRGNAM=Pd-extended VERSION=0.43.4 @@ -83,7 +83,7 @@ cd packages/linux_make libdir="/usr/lib$LIBDIRSUFFIX" \ mandir="/usr/man" \ DOC_TARGETS="media messageoddness pd_fileformat pd-msg pddp tutorials" \ - DESTDIR=$PKG + DESTDIR=$PKG cd ../.. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -102,7 +102,7 @@ if [ "$ARCH" = "x86_64" ]; then chmod 755 $PKG/usr/bin/pdextended64 fi -# Seems Pd developers can't make their mind up how they want to be called, +# Seems Pd developers can't make their mind up how they want to be called, # (Pd/pd or Pd/pd-extended), so we're hardcoding the files here. mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps $PKG/usr/share/mime/packages sed "s|^Exec.*|Exec=/usr/lib$LIBDIRSUFFIX/pd-extended/tcl/pd-gui.tcl %F|" \ diff --git a/audio/SuperCollider/SuperCollider.SlackBuild b/audio/SuperCollider/SuperCollider.SlackBuild index ea5c0a767770..a08673de310d 100644 --- a/audio/SuperCollider/SuperCollider.SlackBuild +++ b/audio/SuperCollider/SuperCollider.SlackBuild @@ -84,7 +84,7 @@ cd build -DSC_WII="$cwiid" \ -DSC_ED="2" \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install/strip DESTDIR=$PKG cd - diff --git a/audio/a52dec/a52dec.SlackBuild b/audio/a52dec/a52dec.SlackBuild index 46dbd08cc770..c16e68e9234f 100644 --- a/audio/a52dec/a52dec.SlackBuild +++ b/audio/a52dec/a52dec.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.7.4 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/audio/abcde/abcde.SlackBuild b/audio/abcde/abcde.SlackBuild index e287d81c6b93..5f131d3f890e 100644 --- a/audio/abcde/abcde.SlackBuild +++ b/audio/abcde/abcde.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for abcde # abcde has a dependency of cd-discid, see the README -# Copyright 2007 Jim Capozzoli <saltmiser@gmail.com> +# Copyright 2007 Jim Capozzoli <saltmiser@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -31,12 +31,10 @@ VERSION=2.5.4 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 @@ -48,7 +46,7 @@ OUTPUT=${OUTPUT:-/tmp} set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP @@ -65,11 +63,11 @@ chmod -R u+w,go+r-w,a-s . # likes to test a script as normal user before running it as root, and the # ownership setting in the Makefile will break installs as a normal user. # --rworkman -patch -p1 < $CWD/Makefile.diff +patch -p1 < $CWD/Makefile.diff # fix to mailx call: the command was using the -a option which, in Slackware's # mailx, means something different than what was intended here (intent here is -# to set content type to UTF-8. In Slackware the -a is unnecessary. Thanks to +# to set content type to UTF-8. In Slackware the -a is unnecessary. Thanks to # Andreas Vogele for this patch. --gbecker patch -p1 < $CWD/cddb-tool.diff diff --git a/audio/aften/aften.SlackBuild b/audio/aften/aften.SlackBuild index 82c1caee4c45..091ba6d6b040 100644 --- a/audio/aften/aften.SlackBuild +++ b/audio/aften/aften.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.0.8 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/audio/amSynth/amSynth.SlackBuild b/audio/amSynth/amSynth.SlackBuild index eb3071a62966..df216e06bb4d 100644 --- a/audio/amSynth/amSynth.SlackBuild +++ b/audio/amSynth/amSynth.SlackBuild @@ -37,7 +37,7 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/ario/ario.SlackBuild b/audio/ario/ario.SlackBuild index 32261870334a..5025f66594ea 100644 --- a/audio/ario/ario.SlackBuild +++ b/audio/ario/ario.SlackBuild @@ -72,7 +72,7 @@ find . \ # Check for Avahi if $(pkg-config --exists avahi-core); then AVAHI="enable" ; else AVAHI="disable" ; fi -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/audio/audtty/audtty.SlackBuild b/audio/audtty/audtty.SlackBuild index 019f098feeb9..7738e038870e 100644 --- a/audio/audtty/audtty.SlackBuild +++ b/audio/audtty/audtty.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.1.12} 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/audio/cd-discid/cd-discid.SlackBuild b/audio/cd-discid/cd-discid.SlackBuild index dabee6d2b376..9fe39062fae4 100644 --- a/audio/cd-discid/cd-discid.SlackBuild +++ b/audio/cd-discid/cd-discid.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cd-discid -# Copyright 2007 Jim Capozzoli <saltmiser@gmail.com> +# Copyright 2007 Jim Capozzoli <saltmiser@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,12 +29,10 @@ VERSION=1.3.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 @@ -69,7 +67,7 @@ chown -R root:root . chmod -R u+w,go+r-w,a-s . # Apply a patch to Makefile to fix mandir and prevent setting ownership during -# the install. The mandir could easily be done by passing the 'mandir' +# the install. The mandir could easily be done by passing the 'mandir' # variable to 'make install' but the ownership setting can't be omitted any # other way. This isn't a huge issue, but I'm probably not the only one who # likes to test scripts as a normal user before running them as root, and the diff --git a/audio/celt051/celt051.SlackBuild b/audio/celt051/celt051.SlackBuild index ffc26fee8fa8..196d6acadbc0 100644 --- a/audio/celt051/celt051.SlackBuild +++ b/audio/celt051/celt051.SlackBuild @@ -29,12 +29,10 @@ VERSION=0.5.1.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 diff --git a/audio/chuck/chuck.SlackBuild b/audio/chuck/chuck.SlackBuild index 815714a440d5..e5c9b9a10187 100644 --- a/audio/chuck/chuck.SlackBuild +++ b/audio/chuck/chuck.SlackBuild @@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/cuberok/cuberok.SlackBuild b/audio/cuberok/cuberok.SlackBuild index cad3b9e99d0c..084aa1fc63fa 100644 --- a/audio/cuberok/cuberok.SlackBuild +++ b/audio/cuberok/cuberok.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.0.11} 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/audio/dcd/dcd.SlackBuild b/audio/dcd/dcd.SlackBuild index f1fd1bbcae3c..ae3e97609b1b 100644 --- a/audio/dcd/dcd.SlackBuild +++ b/audio/dcd/dcd.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.99.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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/audio/deadbeef/deadbeef.SlackBuild b/audio/deadbeef/deadbeef.SlackBuild index f914e032f3f9..78d6fac156f3 100644 --- a/audio/deadbeef/deadbeef.SlackBuild +++ b/audio/deadbeef/deadbeef.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.4.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/audio/discord/discord.SlackBuild b/audio/discord/discord.SlackBuild index 55fb18444dec..d3e5be112022 100644 --- a/audio/discord/discord.SlackBuild +++ b/audio/discord/discord.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-3.2.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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/audio/dssi-vst/dssi-vst.SlackBuild b/audio/dssi-vst/dssi-vst.SlackBuild index 3897dc0408ff..a84aca46677a 100644 --- a/audio/dssi-vst/dssi-vst.SlackBuild +++ b/audio/dssi-vst/dssi-vst.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/easymp3gain/easymp3gain.SlackBuild b/audio/easymp3gain/easymp3gain.SlackBuild index 65752dd7c184..b0307bf65cc6 100644 --- a/audio/easymp3gain/easymp3gain.SlackBuild +++ b/audio/easymp3gain/easymp3gain.SlackBuild @@ -27,7 +27,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/audio/eyeD3/eyeD3.SlackBuild b/audio/eyeD3/eyeD3.SlackBuild index 14df739400d0..f2e6b92025cd 100644 --- a/audio/eyeD3/eyeD3.SlackBuild +++ b/audio/eyeD3/eyeD3.SlackBuild @@ -30,12 +30,10 @@ VERSION=0.6.14 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/audio/faac/faac.SlackBuild b/audio/faac/faac.SlackBuild index 988f4d64153a..f43c05c13344 100644 --- a/audio/faac/faac.SlackBuild +++ b/audio/faac/faac.SlackBuild @@ -30,12 +30,10 @@ VERSION=${VERSION:-1.28} BUILD=${BUILD:-3} 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/audio/faad2/faad2.SlackBuild b/audio/faad2/faad2.SlackBuild index 2de4d62f78c9..e051b8f3bd01 100644 --- a/audio/faad2/faad2.SlackBuild +++ b/audio/faad2/faad2.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.7} 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/audio/faust/faust.SlackBuild b/audio/faust/faust.SlackBuild index f76a47f8e7e6..de1903451941 100644 --- a/audio/faust/faust.SlackBuild +++ b/audio/faust/faust.SlackBuild @@ -32,7 +32,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/audio/flac123/flac123.SlackBuild b/audio/flac123/flac123.SlackBuild index fa1dbc0105aa..5e9d3cfceb0f 100644 --- a/audio/flac123/flac123.SlackBuild +++ b/audio/flac123/flac123.SlackBuild @@ -22,17 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=flac123 -VERSION=0.0.11 +PRGNAM=flac123 +VERSION=0.0.11 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/audio/gimmix/gimmix.SlackBuild b/audio/gimmix/gimmix.SlackBuild index 9926e2e1b78c..13e09f280110 100644 --- a/audio/gimmix/gimmix.SlackBuild +++ b/audio/gimmix/gimmix.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=gimmix VERSION=0.5.7.1 BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -53,7 +53,7 @@ find . \ # Fix curl includes. patch -p1 -i $CWD/gimmix-0.5.7.1-curl-headers.patch -# Replace "enable" with "disable" -cover and -lyrics if you do not +# Replace "enable" with "disable" -cover and -lyrics if you do not # want to have built in plugins for cover and lyrics fetching. CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/audio/gmusicbrowser/gmusicbrowser.SlackBuild b/audio/gmusicbrowser/gmusicbrowser.SlackBuild index d8c4a5e766ed..cd8259cb95de 100644 --- a/audio/gmusicbrowser/gmusicbrowser.SlackBuild +++ b/audio/gmusicbrowser/gmusicbrowser.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - + # Slackware build script for gmusicbrowser # (C) 2007 Michael Wagner <lapinours@web.de> diff --git a/audio/gnump3d/gnump3d.SlackBuild b/audio/gnump3d/gnump3d.SlackBuild index 01a3a4b3fee2..0b8579e9a0b8 100644 --- a/audio/gnump3d/gnump3d.SlackBuild +++ b/audio/gnump3d/gnump3d.SlackBuild @@ -24,19 +24,17 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# PRGNAM=gnump3d VERSION=3.0 BUILD=${BUILD:-3} 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 @@ -59,7 +57,7 @@ else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi -# gnump3d gets the library directory from a short perl script in the +# gnump3d gets the library directory from a short perl script in the # source directory, thus, there's no need to specify a suffix in this # script. @@ -74,7 +72,7 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -make +make make install \ PREFIX=$PKG \ MANDIR=/usr/man/man1 diff --git a/audio/grip2/grip2.SlackBuild b/audio/grip2/grip2.SlackBuild index 35d480289c68..187ddf24d664 100644 --- a/audio/grip2/grip2.SlackBuild +++ b/audio/grip2/grip2.SlackBuild @@ -51,10 +51,10 @@ if [ -r /usr/include/cdda/cdda_interface.h ]; then fi # Patch to use system-installed cdparanoia libs: -patch -p1 --verbose < $CWD/patches/system_cdparanoia_libs.diff +patch -p1 --verbose < $CWD/patches/system_cdparanoia_libs.diff # Patch to fix a compile issue with threads (probably came from gentoo): -patch -p1 --verbose < $CWD/patches/grip2-nptl.diff +patch -p1 --verbose < $CWD/patches/grip2-nptl.diff # Patch to install binaries/manpages as grip2 and gcd2 (so as not to conflict # with the grip 3.x package). diff --git a/audio/guitarix/guitarix.SlackBuild b/audio/guitarix/guitarix.SlackBuild index 99e45da87076..fc8d39893e9a 100644 --- a/audio/guitarix/guitarix.SlackBuild +++ b/audio/guitarix/guitarix.SlackBuild @@ -32,7 +32,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -85,7 +85,7 @@ fi --ladspadir="/usr/lib${LIBDIRSUFFIX}/ladspa/" \ $LV2OPT ./waf build -./waf install --destdir=$PKG +./waf install --destdir=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/audio/gvolwheel/gvolwheel.SlackBuild b/audio/gvolwheel/gvolwheel.SlackBuild index e39fe95dd9e3..3e40e398af66 100644 --- a/audio/gvolwheel/gvolwheel.SlackBuild +++ b/audio/gvolwheel/gvolwheel.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for GVolWheel +# Slackware build script for GVolWheel # Copyright 2012 Bojan Popovic, Belgrade, Serbia <bocke@slackware-srbija.org> # All rights reserved. @@ -25,7 +25,7 @@ PRGNAM=gvolwheel VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,9 +36,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" @@ -55,11 +55,11 @@ else fi # The package is compiled without OSS support by default to avoid -# auto-detection of ALSA OSS compatibility libs. 0.7 seemed to have -# problems with this, so it's better to be on the safe side. +# auto-detection of ALSA OSS compatibility libs. 0.7 seemed to have +# problems with this, so it's better to be on the safe side. OSS=${OSS:-no} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -91,7 +91,7 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Configure will ignore passed --docdir option, so correct docdir manually. +# Configure will ignore passed --docdir option, so correct docdir manually. mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/audio/herrie/herrie.SlackBuild b/audio/herrie/herrie.SlackBuild index 0b629625f92a..f7ac4473ca38 100644 --- a/audio/herrie/herrie.SlackBuild +++ b/audio/herrie/herrie.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-2.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 @@ -27,10 +25,10 @@ OUTPUT=${OUTPUT:-/tmp} # Experimental Patches # # # I have found these to be stable on my systems, -# and they might be included in future upstream +# and they might be included in future upstream # sources, but for now you use these at your own risk. # -# Please read README.SBo for more information on the +# Please read README.SBo for more information on the # functionality that these patches add. AUTOQUIT=${AUTOQUIT:-NO} SIGNALS=${SIGNALS:-NO} diff --git a/audio/icecast/icecast.SlackBuild b/audio/icecast/icecast.SlackBuild index 1e96aecc429a..267b7b597c2e 100644 --- a/audio/icecast/icecast.SlackBuild +++ b/audio/icecast/icecast.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-2.3.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 @@ -40,7 +38,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/audio/ices-cc/ices-cc.SlackBuild b/audio/ices-cc/ices-cc.SlackBuild index 6c2207c70ecd..ecd6b6f964ec 100644 --- a/audio/ices-cc/ices-cc.SlackBuild +++ b/audio/ices-cc/ices-cc.SlackBuild @@ -74,7 +74,7 @@ with_flac="no" \ --disable-static \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ diff --git a/audio/ices/ices.SlackBuild b/audio/ices/ices.SlackBuild index 5846a92a5e0f..8a97b0e0002e 100644 --- a/audio/ices/ices.SlackBuild +++ b/audio/ices/ices.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-2.0.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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -64,7 +62,7 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/audio/id3/id3.SlackBuild b/audio/id3/id3.SlackBuild index b3de0c065fad..ba641f2458bf 100644 --- a/audio/id3/id3.SlackBuild +++ b/audio/id3/id3.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.78} 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 @@ -60,7 +58,7 @@ patch -p1 < $CWD/id3-0.78-include_string_h.diff make CFLAGS="$SLKCFLAGS" -# Copying executable and manual to the correct location +# Copying executable and manual to the correct location mkdir -p $PKG/usr/bin cp -a id3 $PKG/usr/bin diff --git a/audio/id3v2/id3v2.SlackBuild b/audio/id3v2/id3v2.SlackBuild index 142da5410a94..4db55a23beca 100644 --- a/audio/id3v2/id3v2.SlackBuild +++ b/audio/id3v2/id3v2.SlackBuild @@ -7,22 +7,20 @@ PRGNAM=id3v2 VERSION=0.1.11 BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} +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 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,9 +54,9 @@ find . \ patch -p1 < $CWD/id3v2-0.1.11-fixup_Makefile.patch patch -p1 < $CWD/id3v2-0.1.11-track_no-segfault.patch -# The Makefile doesnt use DESTDIR, but the program is just an -# executable and a man page (there's no apparent path-info compiled -# into the binary). So we can fake it be using PREFIX and manually +# The Makefile doesnt use DESTDIR, but the program is just an +# executable and a man page (there's no apparent path-info compiled +# into the binary). So we can fake it be using PREFIX and manually # creating the direcories needed in $PKG mkdir -p $PKG/usr/{bin,man/man1} make OPT="$SLKCFLAGS" diff --git a/audio/iripdb/iripdb.SlackBuild b/audio/iripdb/iripdb.SlackBuild index d3731cd2f3a2..e46a1cd1f3ec 100644 --- a/audio/iripdb/iripdb.SlackBuild +++ b/audio/iripdb/iripdb.SlackBuild @@ -9,12 +9,10 @@ VERSION=0.1.3b 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/audio/jack_capture/jack_capture.SlackBuild b/audio/jack_capture/jack_capture.SlackBuild index c163dfa582a4..11daed4b6800 100644 --- a/audio/jack_capture/jack_capture.SlackBuild +++ b/audio/jack_capture/jack_capture.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/jamin/jamin.SlackBuild b/audio/jamin/jamin.SlackBuild index f4b7b9e1a836..58fbd3abece4 100644 --- a/audio/jamin/jamin.SlackBuild +++ b/audio/jamin/jamin.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.95.0 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 @@ -88,7 +86,7 @@ make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps mv $PKG/usr/share/icons/jamin.svg $PKG/usr/share/icons/hicolor/scalable/apps -# Make sure the desktop file is standard-compliant - we ship this gzipped +# Make sure the desktop file is standard-compliant - we ship this gzipped # to make sure our non-utf8-capable server doesn't corrupt it zcat $CWD/desktopfile.gz > $PKG/usr/share/applications/jamin.desktop diff --git a/audio/jokosher/jokosher.SlackBuild b/audio/jokosher/jokosher.SlackBuild index cf7192b2cc13..1fcb51901e72 100644 --- a/audio/jokosher/jokosher.SlackBuild +++ b/audio/jokosher/jokosher.SlackBuild @@ -56,7 +56,7 @@ find . \ -exec chmod 644 {} \; python setup.py build -python setup.py install --skip-build --root=$PKG +python setup.py install --skip-build --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/audio/jost_bin/jost_bin.SlackBuild b/audio/jost_bin/jost_bin.SlackBuild index d382e8393f27..4ea0eddee942 100644 --- a/audio/jost_bin/jost_bin.SlackBuild +++ b/audio/jost_bin/jost_bin.SlackBuild @@ -11,7 +11,7 @@ ARCH=i486 # Hardcoded: we don't compile. SRCNAM=jost CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$SRCNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/kanola/kanola.SlackBuild b/audio/kanola/kanola.SlackBuild index 5d3cad4f1f1f..84d7c181c58d 100644 --- a/audio/kanola/kanola.SlackBuild +++ b/audio/kanola/kanola.SlackBuild @@ -29,12 +29,10 @@ VERSION=0.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 @@ -48,7 +46,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION diff --git a/audio/kid3/kid3.SlackBuild b/audio/kid3/kid3.SlackBuild index 175cfb189d01..70a5aeee9b2c 100644 --- a/audio/kid3/kid3.SlackBuild +++ b/audio/kid3/kid3.SlackBuild @@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -84,7 +84,7 @@ cmake . \ -DWITH_CHROMAPRINT="$CHROMA" \ -DWITH_MP4V2="$MP4TAG" \ -DWITH_KDE="$KDE4" - + # breaks compilation #-DBUILD_SHARED_LIBS:BOOL=ON \ diff --git a/audio/listener/listener.SlackBuild b/audio/listener/listener.SlackBuild index 21a572ebec5b..c38c1859c973 100644 --- a/audio/listener/listener.SlackBuild +++ b/audio/listener/listener.SlackBuild @@ -1,13 +1,13 @@ #!/bin/bash # # Slackware build script for listener. -# +# # Distributed under the beerware licence: # # "THE BEER-WARE LICENSE" (Revision 42): -# pwcazenave <at> gmail <dot> com wrote this file. As long as you retain this -# notice you can do whatever you want with this stuff. If we meet some day, -# and you think this stuff is worth it, you can buy me a beer in return +# pwcazenave <at> gmail <dot> com wrote this file. As long as you retain this +# notice you can do whatever you want with this stuff. If we meet some day, +# and you think this stuff is worth it, you can buy me a beer in return # Pierre Cazenave # # Created 07/08/2008 diff --git a/audio/llcon/llcon.SlackBuild b/audio/llcon/llcon.SlackBuild index b63686f36f9f..1ead3d23f347 100644 --- a/audio/llcon/llcon.SlackBuild +++ b/audio/llcon/llcon.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-3.1.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/audio/meterbridge/meterbridge.SlackBuild b/audio/meterbridge/meterbridge.SlackBuild index b132651b44c7..816c3b742460 100644 --- a/audio/meterbridge/meterbridge.SlackBuild +++ b/audio/meterbridge/meterbridge.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/miniAudicle/miniAudicle.SlackBuild b/audio/miniAudicle/miniAudicle.SlackBuild index b9b24ed6a061..4c787f585a16 100644 --- a/audio/miniAudicle/miniAudicle.SlackBuild +++ b/audio/miniAudicle/miniAudicle.SlackBuild @@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/mp3blaster/mp3blaster.SlackBuild b/audio/mp3blaster/mp3blaster.SlackBuild index 219346a4f897..96dc4e0f1135 100644 --- a/audio/mp3blaster/mp3blaster.SlackBuild +++ b/audio/mp3blaster/mp3blaster.SlackBuild @@ -29,12 +29,10 @@ VERSION=3.2.5 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 @@ -60,7 +58,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION @@ -83,7 +81,7 @@ make install-strip DESTDIR=$PKG ( 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/usr/doc/$PRGNAM-$VERSION cp -a \ diff --git a/audio/mp3val/mp3val.SlackBuild b/audio/mp3val/mp3val.SlackBuild index 62e6591113c7..02a20b919a72 100644 --- a/audio/mp3val/mp3val.SlackBuild +++ b/audio/mp3val/mp3val.SlackBuild @@ -6,12 +6,10 @@ VERSION=${VERSION:-0.1.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) export ARCH=i486 ;; arm*) export ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; esac fi @@ -42,7 +40,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz # source file comes with -src appended -mv $PRGNAM-$VERSION-src $PRGNAM-$VERSION # .tar extracts to directory with -src appended +mv $PRGNAM-$VERSION-src $PRGNAM-$VERSION # .tar extracts to directory with -src appended cd $PRGNAM-$VERSION mv Makefile.linux Makefile diff --git a/audio/mp3wrap/mp3wrap.SlackBuild b/audio/mp3wrap/mp3wrap.SlackBuild index 46a48033cbcb..6bc908b8ecd8 100644 --- a/audio/mp3wrap/mp3wrap.SlackBuild +++ b/audio/mp3wrap/mp3wrap.SlackBuild @@ -64,7 +64,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-samples \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/audio/mppenc/mppenc.SlackBuild b/audio/mppenc/mppenc.SlackBuild index 5a1f84885082..b5fe8f94415a 100644 --- a/audio/mppenc/mppenc.SlackBuild +++ b/audio/mppenc/mppenc.SlackBuild @@ -34,7 +34,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKLDFLAGS="-L/usr/lib64" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -49,7 +49,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -mkdir build +mkdir build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ @@ -66,7 +66,7 @@ cd - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a INSTALL $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/audio/mt-daapd/mt-daapd.SlackBuild b/audio/mt-daapd/mt-daapd.SlackBuild index 25d0789e06dc..2bf0349ab805 100644 --- a/audio/mt-daapd/mt-daapd.SlackBuild +++ b/audio/mt-daapd/mt-daapd.SlackBuild @@ -29,12 +29,10 @@ VERSION=0.2.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 @@ -86,7 +84,7 @@ install -D -m 0644 contrib/mt-daapd.conf $PKG/etc/mt-daapd.conf.new || exit 1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; diff --git a/audio/multimidicast/multimidicast.SlackBuild b/audio/multimidicast/multimidicast.SlackBuild index 7fdb2d02223b..704457a82ef6 100644 --- a/audio/multimidicast/multimidicast.SlackBuild +++ b/audio/multimidicast/multimidicast.SlackBuild @@ -18,7 +18,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/muse/muse.SlackBuild b/audio/muse/muse.SlackBuild index 64794c3b94f8..ef640f219277 100644 --- a/audio/muse/muse.SlackBuild +++ b/audio/muse/muse.SlackBuild @@ -60,7 +60,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DENABLE_PYTHON:STRING="ON" \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/audio/musepack-tools/musepack-tools.SlackBuild b/audio/musepack-tools/musepack-tools.SlackBuild index 5d6acce4949d..db18af7c25e4 100644 --- a/audio/musepack-tools/musepack-tools.SlackBuild +++ b/audio/musepack-tools/musepack-tools.SlackBuild @@ -61,7 +61,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=$LIBDIRSUFFIX \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/audio/ncmpc/ncmpc.SlackBuild b/audio/ncmpc/ncmpc.SlackBuild index 19ab773d9383..e59b689de916 100644 --- a/audio/ncmpc/ncmpc.SlackBuild +++ b/audio/ncmpc/ncmpc.SlackBuild @@ -29,12 +29,10 @@ VERSION=0.16 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/audio/ncmpcpp/ncmpcpp.SlackBuild b/audio/ncmpcpp/ncmpcpp.SlackBuild index b25e0193dcc0..1e65122f8fcc 100644 --- a/audio/ncmpcpp/ncmpcpp.SlackBuild +++ b/audio/ncmpcpp/ncmpcpp.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.5.10} 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/audio/ogmtools/ogmtools.SlackBuild b/audio/ogmtools/ogmtools.SlackBuild index 2ffe59940161..68f5a2c343af 100644 --- a/audio/ogmtools/ogmtools.SlackBuild +++ b/audio/ogmtools/ogmtools.SlackBuild @@ -7,10 +7,10 @@ # Copyright (c) 2008, Nishant Limbachia (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 @@ -24,7 +24,7 @@ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + ################################################################################# PRGNAM=ogmtools @@ -32,12 +32,10 @@ VERSION=1.5 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/audio/opencore-amr/opencore-amr.SlackBuild b/audio/opencore-amr/opencore-amr.SlackBuild index f4641b842d86..6f22ea20ca93 100644 --- a/audio/opencore-amr/opencore-amr.SlackBuild +++ b/audio/opencore-amr/opencore-amr.SlackBuild @@ -26,12 +26,10 @@ VERSION=${VERSION:-0.1.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 diff --git a/audio/pd_mrpeach/pd_mrpeach.SlackBuild b/audio/pd_mrpeach/pd_mrpeach.SlackBuild index acb039e9b238..f9b68f6e1cd8 100644 --- a/audio/pd_mrpeach/pd_mrpeach.SlackBuild +++ b/audio/pd_mrpeach/pd_mrpeach.SlackBuild @@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/phat/phat.SlackBuild b/audio/phat/phat.SlackBuild index efd963b51de0..4336530f5da2 100644 --- a/audio/phat/phat.SlackBuild +++ b/audio/phat/phat.SlackBuild @@ -22,12 +22,10 @@ VERSION=${VERSION:-0.4.1} 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/audio/pmidi/pmidi.SlackBuild b/audio/pmidi/pmidi.SlackBuild index 34b877ad14f8..380448bde59c 100644 --- a/audio/pmidi/pmidi.SlackBuild +++ b/audio/pmidi/pmidi.SlackBuild @@ -29,17 +29,15 @@ VERSION=1.6.0 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 -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PKGNAME OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/pulseaudio/pulseaudio.SlackBuild b/audio/pulseaudio/pulseaudio.SlackBuild index 7e3d8f9cdeda..aa45905f1041 100644 --- a/audio/pulseaudio/pulseaudio.SlackBuild +++ b/audio/pulseaudio/pulseaudio.SlackBuild @@ -61,7 +61,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -if pkg-config --exists orc-0.4 ; then +if pkg-config --exists orc-0.4 ; then ORC=yes else ORC=no diff --git a/audio/pyalsaaudio/pyalsaaudio.SlackBuild b/audio/pyalsaaudio/pyalsaaudio.SlackBuild index 88f90977aceb..e4911bbb1934 100644 --- a/audio/pyalsaaudio/pyalsaaudio.SlackBuild +++ b/audio/pyalsaaudio/pyalsaaudio.SlackBuild @@ -53,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/audio/qastools/qastools.SlackBuild b/audio/qastools/qastools.SlackBuild index d05ee2a315a1..33881a47ff00 100644 --- a/audio/qastools/qastools.SlackBuild +++ b/audio/qastools/qastools.SlackBuild @@ -37,7 +37,7 @@ fi DOCS="CHANGELOG COPYING README TODO" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -59,7 +59,7 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/audio/qjackctl/qjackctl.SlackBuild b/audio/qjackctl/qjackctl.SlackBuild index f78eb5b0d7a5..4d377e41549f 100644 --- a/audio/qjackctl/qjackctl.SlackBuild +++ b/audio/qjackctl/qjackctl.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-0.3.9} 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/audio/qsynth/qsynth.SlackBuild b/audio/qsynth/qsynth.SlackBuild index b9f4e7ba2029..976178781416 100644 --- a/audio/qsynth/qsynth.SlackBuild +++ b/audio/qsynth/qsynth.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/rubyripper/rubyripper.SlackBuild b/audio/rubyripper/rubyripper.SlackBuild index 7079023a3ebe..54c6fe4f68e5 100644 --- a/audio/rubyripper/rubyripper.SlackBuild +++ b/audio/rubyripper/rubyripper.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.6.0} 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/audio/sfarkxtc/sfarkxtc.SlackBuild b/audio/sfarkxtc/sfarkxtc.SlackBuild index c6f15f285ce5..a5d77ef4d298 100644 --- a/audio/sfarkxtc/sfarkxtc.SlackBuild +++ b/audio/sfarkxtc/sfarkxtc.SlackBuild @@ -7,12 +7,10 @@ VERSION=20070326 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/audio/shell-fm/shell-fm.SlackBuild b/audio/shell-fm/shell-fm.SlackBuild index 5e31fa2bdef6..84cf10d9715d 100644 --- a/audio/shell-fm/shell-fm.SlackBuild +++ b/audio/shell-fm/shell-fm.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-git20130207} 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/audio/speex/speex.SlackBuild b/audio/speex/speex.SlackBuild index 9a9c9f73c650..70995a9b1712 100644 --- a/audio/speex/speex.SlackBuild +++ b/audio/speex/speex.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for speex -# Copyright (c) 2012 Vliegendehuiskat +# Copyright (c) 2012 Vliegendehuiskat # Copyright (c) 2007 Alex Lysenka <me@alkos333.net> # All rights reserved. # @@ -31,12 +31,10 @@ VERSION=1.2rc1 BUILD=${BUILD:-3} 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/audio/streamripper/streamripper.SlackBuild b/audio/streamripper/streamripper.SlackBuild index 5cd2a5bbe251..2ffd34209eb5 100644 --- a/audio/streamripper/streamripper.SlackBuild +++ b/audio/streamripper/streamripper.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.64.6} 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/audio/streamtuner/streamtuner.SlackBuild b/audio/streamtuner/streamtuner.SlackBuild index 542e0a4ce348..a7b1678fd35d 100644 --- a/audio/streamtuner/streamtuner.SlackBuild +++ b/audio/streamtuner/streamtuner.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.99.99} 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/audio/swami/swami.SlackBuild b/audio/swami/swami.SlackBuild index ade1842e471e..dc603075bbfe 100644 --- a/audio/swami/swami.SlackBuild +++ b/audio/swami/swami.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/audio/swh-plugins/swh-plugins.SlackBuild b/audio/swh-plugins/swh-plugins.SlackBuild index 7eaa4e58b7e8..99b0456b15d5 100644 --- a/audio/swh-plugins/swh-plugins.SlackBuild +++ b/audio/swh-plugins/swh-plugins.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.4.15 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/audio/vimpc/vimpc.SlackBuild b/audio/vimpc/vimpc.SlackBuild index c430858add90..cb2bc74be8ce 100644 --- a/audio/vimpc/vimpc.SlackBuild +++ b/audio/vimpc/vimpc.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for vimpc +# Slackware build script for vimpc # Written by Jostein Berntsen <jbernts@broadpark.no> @@ -18,7 +18,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -61,8 +61,8 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --build=$ARCH-slackware-linux -make -make install DESTDIR=$PKG +make +make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/audio/volti/volti.SlackBuild b/audio/volti/volti.SlackBuild index 4ec3ec3a8af0..6340f84782bd 100644 --- a/audio/volti/volti.SlackBuild +++ b/audio/volti/volti.SlackBuild @@ -53,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -86,7 +86,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/audio/xforge/xforge.SlackBuild b/audio/xforge/xforge.SlackBuild index e0e2a7e7c8f9..c0038766aa8f 100644 --- a/audio/xforge/xforge.SlackBuild +++ b/audio/xforge/xforge.SlackBuild @@ -31,12 +31,10 @@ VERSION=${VERSION:-0.2.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/audio/xmms-scrobbler/xmms-scrobbler.SlackBuild b/audio/xmms-scrobbler/xmms-scrobbler.SlackBuild index 0e3aa454320e..6b2eb913e90b 100644 --- a/audio/xmms-scrobbler/xmms-scrobbler.SlackBuild +++ b/audio/xmms-scrobbler/xmms-scrobbler.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.4.0} 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 @@ -35,7 +33,7 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e diff --git a/audio/xmms-shn/xmms-shn.SlackBuild b/audio/xmms-shn/xmms-shn.SlackBuild index 3ed9deef3611..5d5e8c33e75c 100644 --- a/audio/xmms-shn/xmms-shn.SlackBuild +++ b/audio/xmms-shn/xmms-shn.SlackBuild @@ -3,25 +3,23 @@ # Slackware build script for xmms-shn # Written by mightaswell <mightaswell@gmail.com> -PRGNAM=xmms-shn -VERSION=${VERSION:-2.4.1} +PRGNAM=xmms-shn +VERSION=${VERSION:-2.4.1} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +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 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" @@ -37,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -62,7 +60,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/audio/xmms2/xmms2.SlackBuild b/audio/xmms2/xmms2.SlackBuild index c4bff33ab93f..7e641fc2cec1 100644 --- a/audio/xmms2/xmms2.SlackBuild +++ b/audio/xmms2/xmms2.SlackBuild @@ -11,12 +11,10 @@ VERSION="0.8DrO_o" BUILD=${BUILD:-3} 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/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild b/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild index 70639243b59a..149ac629a327 100644 --- a/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild +++ b/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-3.2.0} 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/business/beancount/beancount.SlackBuild b/business/beancount/beancount.SlackBuild index 6da48429912e..ee01fa4b9201 100644 --- a/business/beancount/beancount.SlackBuild +++ b/business/beancount/beancount.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) export ARCH=i486 ;; arm*) export ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; esac fi @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/business/gnucash/gnucash.SlackBuild b/business/gnucash/gnucash.SlackBuild index 73262f18fc7d..98af663309df 100644 --- a/business/gnucash/gnucash.SlackBuild +++ b/business/gnucash/gnucash.SlackBuild @@ -92,7 +92,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/business/lemonpos/lemonpos.SlackBuild b/business/lemonpos/lemonpos.SlackBuild index 6e6f974380fa..ccd1f07500e1 100644 --- a/business/lemonpos/lemonpos.SlackBuild +++ b/business/lemonpos/lemonpos.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.9.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 diff --git a/business/openerp-client/openerp-client.SlackBuild b/business/openerp-client/openerp-client.SlackBuild index aaec2a385957..bc58ffc6bf15 100644 --- a/business/openerp-client/openerp-client.SlackBuild +++ b/business/openerp-client/openerp-client.SlackBuild @@ -27,12 +27,10 @@ VERSION=5.0.4 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/business/openerp-server/openerp-server.SlackBuild b/business/openerp-server/openerp-server.SlackBuild index 262ccf29965e..a3f4398e00f0 100644 --- a/business/openerp-server/openerp-server.SlackBuild +++ b/business/openerp-server/openerp-server.SlackBuild @@ -27,12 +27,10 @@ VERSION=5.0.4 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/desktop/Alphacube-GTK/Alphacube-GTK.SlackBuild b/desktop/Alphacube-GTK/Alphacube-GTK.SlackBuild index 83c03679fbf4..892a44c105bd 100644 --- a/desktop/Alphacube-GTK/Alphacube-GTK.SlackBuild +++ b/desktop/Alphacube-GTK/Alphacube-GTK.SlackBuild @@ -35,13 +35,13 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/29851-Alphacube\ GTK\ 0.5.tar.gz +tar xvf $CWD/29851-Alphacube\ GTK\ 0.5.tar.gz cd "Alphacube GTK "$VERSION chown -R root:root . find . \ diff --git a/desktop/AlsaMixer.app/AlsaMixer.app.SlackBuild b/desktop/AlsaMixer.app/AlsaMixer.app.SlackBuild index 8d7e0c740da3..ad71b5d8e88e 100644 --- a/desktop/AlsaMixer.app/AlsaMixer.app.SlackBuild +++ b/desktop/AlsaMixer.app/AlsaMixer.app.SlackBuild @@ -55,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/CurseTheWeather/CurseTheWeather.SlackBuild b/desktop/CurseTheWeather/CurseTheWeather.SlackBuild index 97cd3b5d3bfa..8acd6ad8bc32 100644 --- a/desktop/CurseTheWeather/CurseTheWeather.SlackBuild +++ b/desktop/CurseTheWeather/CurseTheWeather.SlackBuild @@ -29,12 +29,10 @@ VERSION=0.6 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 @@ -55,7 +53,7 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# Patch ctw to work with latest weather feed changes +# Patch ctw to work with latest weather feed changes # and display 10 day forecast patch -p1 < $CWD/$PRGNAM-$VERSION-patch diff --git a/desktop/PyPanel/PyPanel.SlackBuild b/desktop/PyPanel/PyPanel.SlackBuild index 8a1ab0fc5851..3e0db7d00563 100644 --- a/desktop/PyPanel/PyPanel.SlackBuild +++ b/desktop/PyPanel/PyPanel.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild index 00c15c5b0b88..eec526356793 100644 --- a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild +++ b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for QtCurve-Gtk2 # Copyright 2008-2009 Michiel van Wessem, Manchester, United Kingdom -# Copyright 2009-2010 Gregory J. L. Tourte, UK (artourter@gmail.com) +# Copyright 2009-2010 Gregory J. L. Tourte, UK (artourter@gmail.com) # All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild b/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild index b244ea3cf197..fb74a98baf11 100644 --- a/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild +++ b/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild @@ -57,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -72,7 +72,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -mkdir build +mkdir build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ @@ -92,7 +92,7 @@ cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/desktop/anki/anki.SlackBuild b/desktop/anki/anki.SlackBuild index f88df3847ee6..0e71e7653686 100644 --- a/desktop/anki/anki.SlackBuild +++ b/desktop/anki/anki.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -53,7 +53,7 @@ find . \ # Fix sqlite table problem (without this anki isn't able to create new decks) sed -i 's/\"sqlite_stat1\"/\"sqlite_stat1\",\"sqlite_stat2\"/' libanki/anki/deck.py - + cd libanki python setup.py install --root=$PKG cd .. diff --git a/desktop/awesome/awesome.SlackBuild b/desktop/awesome/awesome.SlackBuild index f72be9e402a5..e52266f31f93 100644 --- a/desktop/awesome/awesome.SlackBuild +++ b/desktop/awesome/awesome.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-3.5.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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -83,7 +81,7 @@ cd build -DAWESOME_DOC_PATH=/usr/doc/$PRGNAM-$VERSION \ -DSYSCONFDIR=/etc \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/desktop/bmpanel2/bmpanel2.SlackBuild b/desktop/bmpanel2/bmpanel2.SlackBuild index 6080534ab146..a687810cfd77 100644 --- a/desktop/bmpanel2/bmpanel2.SlackBuild +++ b/desktop/bmpanel2/bmpanel2.SlackBuild @@ -85,7 +85,7 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/desktop/cellwriter/cellwriter.SlackBuild b/desktop/cellwriter/cellwriter.SlackBuild index 018b8e25f143..6a677fda4f46 100644 --- a/desktop/cellwriter/cellwriter.SlackBuild +++ b/desktop/cellwriter/cellwriter.SlackBuild @@ -35,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/cmatrix/cmatrix.SlackBuild b/desktop/cmatrix/cmatrix.SlackBuild index e29dae46c34d..22331e01bfeb 100644 --- a/desktop/cmatrix/cmatrix.SlackBuild +++ b/desktop/cmatrix/cmatrix.SlackBuild @@ -8,12 +8,10 @@ VERSION=1.2a 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/desktop/cryptkeeper/cryptkeeper.SlackBuild b/desktop/cryptkeeper/cryptkeeper.SlackBuild index 85d6557a7505..196f63aabf4d 100644 --- a/desktop/cryptkeeper/cryptkeeper.SlackBuild +++ b/desktop/cryptkeeper/cryptkeeper.SlackBuild @@ -57,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/devilspie/devilspie.SlackBuild b/desktop/devilspie/devilspie.SlackBuild index 65b702b9a0a9..1e0fad958cc1 100644 --- a/desktop/devilspie/devilspie.SlackBuild +++ b/desktop/devilspie/devilspie.SlackBuild @@ -8,12 +8,10 @@ VERSION=0.22 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/desktop/dwm/dwm.SlackBuild b/desktop/dwm/dwm.SlackBuild index 4b7e7c5b438e..5fe57b80d609 100644 --- a/desktop/dwm/dwm.SlackBuild +++ b/desktop/dwm/dwm.SlackBuild @@ -13,18 +13,18 @@ # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. -# * Neither the name of Tom Canich nor the names of other contributors +# * Neither the name of Tom Canich nor the names of other contributors # may be used to endorse or promote products derived from this # software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY Tom Canich ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL Tom Canich BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN +# NO EVENT SHALL Tom Canich BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @@ -60,7 +60,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/e16/e16.SlackBuild b/desktop/e16/e16.SlackBuild index dfb1dc8de777..c025275c99ec 100644 --- a/desktop/e16/e16.SlackBuild +++ b/desktop/e16/e16.SlackBuild @@ -62,7 +62,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -150,7 +150,7 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Additionally, if themes and documentation are installed, copy their +# Additionally, if themes and documentation are installed, copy their # documenation as well. if [ $THEMES == "YES" ]; then cd $TMP/$TNAME-$TVERSION diff --git a/desktop/ede/ede.SlackBuild b/desktop/ede/ede.SlackBuild index d39548f0f7cb..1c0a493cf33f 100644 --- a/desktop/ede/ede.SlackBuild +++ b/desktop/ede/ede.SlackBuild @@ -116,10 +116,10 @@ get_config_files() { } # Finish the doinst.sh by adding the .new file handler. -if [ -e $PKG/etc/pekwm ]; then +if [ -e $PKG/etc/pekwm ]; then get_config_files $PKG/etc/pekwm fi -if [ -e $PKG/etc/xdg/ede ]; then +if [ -e $PKG/etc/xdg/ede ]; then get_config_files $PKG/etc/xdg/ede fi diff --git a/desktop/fbpanel/fbpanel.SlackBuild b/desktop/fbpanel/fbpanel.SlackBuild index ce0fbf5b217c..31ebc9a8b52f 100644 --- a/desktop/fbpanel/fbpanel.SlackBuild +++ b/desktop/fbpanel/fbpanel.SlackBuild @@ -16,12 +16,10 @@ VERSION=6.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/desktop/gntp-send/gntp-send.SlackBuild b/desktop/gntp-send/gntp-send.SlackBuild index ee48a40c18e6..2050c92b9099 100644 --- a/desktop/gntp-send/gntp-send.SlackBuild +++ b/desktop/gntp-send/gntp-send.SlackBuild @@ -13,12 +13,10 @@ GITCOMMIT=8241d46903219cecca371f89ac6edf33a091eb03 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) export ARCH=i486 ;; arm*) export ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; esac fi diff --git a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild index 95eff4ec419e..39c1aa0765f0 100644 --- a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild +++ b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild @@ -29,12 +29,10 @@ VERSION=0.3.1 BUILD=${BUILD:-3} 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 @@ -82,7 +80,7 @@ make install DESTDIR=$PKG MANDIR=usr/man find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG/usr/man -type f -exec gzip -9 {} \; +find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/desktop/gtk-engines/gtk-engines.SlackBuild b/desktop/gtk-engines/gtk-engines.SlackBuild index 1266b17880ac..d3baff041a06 100644 --- a/desktop/gtk-engines/gtk-engines.SlackBuild +++ b/desktop/gtk-engines/gtk-engines.SlackBuild @@ -65,7 +65,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/desktop/gtk-kde4/gtk-kde4.SlackBuild b/desktop/gtk-kde4/gtk-kde4.SlackBuild index 998d412a276a..e462ffbe8b19 100644 --- a/desktop/gtk-kde4/gtk-kde4.SlackBuild +++ b/desktop/gtk-kde4/gtk-kde4.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-0.9.5} 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/desktop/hsetroot/hsetroot.SlackBuild b/desktop/hsetroot/hsetroot.SlackBuild index 71faa56e8adf..ef1ce565967f 100644 --- a/desktop/hsetroot/hsetroot.SlackBuild +++ b/desktop/hsetroot/hsetroot.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-1.0.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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild index 11b1a0077409..2918b4aa7028 100644 --- a/desktop/i3/i3.SlackBuild +++ b/desktop/i3/i3.SlackBuild @@ -84,7 +84,7 @@ mkdir -p $PKG/usr/man/man1 cp man/*.1 $PKG/usr/man/man1 find $PKG/usr/man -type f -exec gzip -9 {} \; -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html $PKG/usr/doc/$PRGNAM-$VERSION/txt +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html $PKG/usr/doc/$PRGNAM-$VERSION/txt cp -a DEPENDS LICENSE RELEASE-NOTES-* $PKG/usr/doc/$PRGNAM-$VERSION cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/txt ( cd $PKG/usr/doc/$PRGNAM-$VERSION/txt diff --git a/desktop/ion/ion.SlackBuild b/desktop/ion/ion.SlackBuild index 20c60f0818a3..dd4deb525b45 100644 --- a/desktop/ion/ion.SlackBuild +++ b/desktop/ion/ion.SlackBuild @@ -75,7 +75,7 @@ make install \ install -D -m 0755 $CWD/xinitrc.ion $PKG/etc/X11/xinit/xinitrc.ion.new cd $PKG/etc/ion3 - for f in * ; do mv $f $f.new ; done + for f in * ; do mv $f $f.new ; done cd - # Add ion3 as a valid session in login managers diff --git a/desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild b/desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild index 217f95e13b3b..41152bce04c4 100644 --- a/desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild +++ b/desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild @@ -67,7 +67,7 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install/strip DESTDIR=$PKG cd .. diff --git a/desktop/josm/josm.SlackBuild b/desktop/josm/josm.SlackBuild index 13001c976437..544c107c929e 100644 --- a/desktop/josm/josm.SlackBuild +++ b/desktop/josm/josm.SlackBuild @@ -21,7 +21,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/desktop/kbdd/kbdd.SlackBuild b/desktop/kbdd/kbdd.SlackBuild index f946ae862eaf..773227c121de 100644 --- a/desktop/kbdd/kbdd.SlackBuild +++ b/desktop/kbdd/kbdd.SlackBuild @@ -40,7 +40,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/kover/kover.SlackBuild b/desktop/kover/kover.SlackBuild index 6ac5e0794070..7dca423655d8 100644 --- a/desktop/kover/kover.SlackBuild +++ b/desktop/kover/kover.SlackBuild @@ -7,18 +7,16 @@ VERSION=${VERSION:-4} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/desktop/lxpanel-xmms2/lxpanel-xmms2.SlackBuild b/desktop/lxpanel-xmms2/lxpanel-xmms2.SlackBuild index 6204a2d19b4c..86d8a72418c9 100644 --- a/desktop/lxpanel-xmms2/lxpanel-xmms2.SlackBuild +++ b/desktop/lxpanel-xmms2/lxpanel-xmms2.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-20100405_43aced1} 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/desktop/macopix/macopix.SlackBuild b/desktop/macopix/macopix.SlackBuild index 91901c21d3da..b645a61c4b12 100644 --- a/desktop/macopix/macopix.SlackBuild +++ b/desktop/macopix/macopix.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.7.4} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/maitreya/maitreya.SlackBuild b/desktop/maitreya/maitreya.SlackBuild index f187558c1db2..1582b6c1a13f 100644 --- a/desktop/maitreya/maitreya.SlackBuild +++ b/desktop/maitreya/maitreya.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh -# +# # Didier Charles 2011.05.22 # dcharles@alumni.concordia.ca # written with the grateful assistance of the tutorial diff --git a/desktop/musca/musca.SlackBuild b/desktop/musca/musca.SlackBuild index 5a124c9a98fc..e3147d7119a2 100644 --- a/desktop/musca/musca.SlackBuild +++ b/desktop/musca/musca.SlackBuild @@ -11,8 +11,8 @@ # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials # provided with the distribution. # * Neither the name of Jim Bottino nor the names of other contributors # may be used to endorse or promote products derived from this @@ -20,14 +20,14 @@ # # THIS SOFTWARE IS PROVIDED BY Jim Bottino ''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 DISCLAIMED. IN NO EVENT SHALL Jim Bottino BE LIABLE FOR +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Jim Bottino BE LIABLE FOR # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER -# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=musca @@ -102,7 +102,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp $CWD/README gpl.txt $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mkdir -p $PKG/install +mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG diff --git a/desktop/nitrogen/nitrogen.SlackBuild b/desktop/nitrogen/nitrogen.SlackBuild index 0902fd8519a2..70c83bd36130 100644 --- a/desktop/nitrogen/nitrogen.SlackBuild +++ b/desktop/nitrogen/nitrogen.SlackBuild @@ -39,7 +39,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -54,7 +54,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -./bootstrap +./bootstrap CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/desktop/obconf/obconf.SlackBuild b/desktop/obconf/obconf.SlackBuild index 012c3ad138ea..13bb5c5a988b 100644 --- a/desktop/obconf/obconf.SlackBuild +++ b/desktop/obconf/obconf.SlackBuild @@ -29,12 +29,10 @@ VERSION=git_85e3e6ef 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/desktop/parcellite/parcellite.SlackBuild b/desktop/parcellite/parcellite.SlackBuild index 1f1e7e9d7d21..ce9e915a3295 100644 --- a/desktop/parcellite/parcellite.SlackBuild +++ b/desktop/parcellite/parcellite.SlackBuild @@ -55,7 +55,7 @@ if [ "$NOICON" = "YES" ]; then sed -i "s/PARCELLITE_ICON/GTK_STOCK_PASTE/" src/main.c sed -i "s/#define GTK_STOCK_PASTE \"parcellite\"//" src/main.c fi -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/desktop/pclock/pclock.SlackBuild b/desktop/pclock/pclock.SlackBuild index 370c5d64f8b6..e14c96710d93 100644 --- a/desktop/pclock/pclock.SlackBuild +++ b/desktop/pclock/pclock.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.13.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/desktop/pekwm/pekwm.SlackBuild b/desktop/pekwm/pekwm.SlackBuild index a7a779402223..d26411a1c78b 100644 --- a/desktop/pekwm/pekwm.SlackBuild +++ b/desktop/pekwm/pekwm.SlackBuild @@ -27,14 +27,12 @@ PRGNAM=pekwm VERSION=${VERSION:-0.1.17} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/pidgin-guifications/pidgin-guifications.SlackBuild b/desktop/pidgin-guifications/pidgin-guifications.SlackBuild index cd311d6d7a4b..47228b638653 100644 --- a/desktop/pidgin-guifications/pidgin-guifications.SlackBuild +++ b/desktop/pidgin-guifications/pidgin-guifications.SlackBuild @@ -8,12 +8,10 @@ VERSION=2.16 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/desktop/pidgin-libnotify/pidgin-libnotify.SlackBuild b/desktop/pidgin-libnotify/pidgin-libnotify.SlackBuild index 4fa784c39fe4..841da8c94e45 100644 --- a/desktop/pidgin-libnotify/pidgin-libnotify.SlackBuild +++ b/desktop/pidgin-libnotify/pidgin-libnotify.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.14 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/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild b/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild index 73a9896511b7..5c9869fce362 100644 --- a/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild +++ b/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild @@ -8,12 +8,10 @@ VERSION=0.0.4.26 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 @@ -57,7 +55,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/desktop/polar-cursor-themes/polar-cursor-themes.SlackBuild b/desktop/polar-cursor-themes/polar-cursor-themes.SlackBuild index ecf097c5787e..23dae17a61ee 100644 --- a/desktop/polar-cursor-themes/polar-cursor-themes.SlackBuild +++ b/desktop/polar-cursor-themes/polar-cursor-themes.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=polar-cursor-themes +PRGNAM=polar-cursor-themes VERSION=${VERSION:-1.4} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} SRCNAM=PolarCursorThemes SRCVER=27913 @@ -63,7 +63,7 @@ rm -rf $PKG/usr/share/icons/PolarCursorTheme-Green/{COPYRIGHT~,index.theme~} # Geez, looks like upstream needs to know about "set nobackup" in vimrc... # I'm afraid to clean these up, because a few of them don't have a non-~'d # equivalent :/ Oh well, we can still fixup file permissions. --rworkman -find $PKG -type f -exec chmod 0644 {} \; +find $PKG -type f -exec chmod 0644 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp PolarCursorTheme/COPYRIGHT~ $PKG/usr/doc/$PRGNAM-$VERSION/COPYRIGHT diff --git a/desktop/protozoa-cursor-themes/protozoa-cursor-themes.SlackBuild b/desktop/protozoa-cursor-themes/protozoa-cursor-themes.SlackBuild index 755d3ceff0cb..63552d14012a 100644 --- a/desktop/protozoa-cursor-themes/protozoa-cursor-themes.SlackBuild +++ b/desktop/protozoa-cursor-themes/protozoa-cursor-themes.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=protozoa-cursor-themes -VERSION=${VERSION:-20120114} +PRGNAM=protozoa-cursor-themes +VERSION=${VERSION:-20120114} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} ORIGINAL=protozoa_by_grynays-d2n7qil BLUGREY=protozoa_blu_and_grey_by_grynays-d2yy6sr @@ -35,9 +35,9 @@ SRCNAM=Protozoa ARCH=noarch CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} set -e diff --git a/desktop/ptbatterysystemtray/ptbatterysystemtray.SlackBuild b/desktop/ptbatterysystemtray/ptbatterysystemtray.SlackBuild index a718e629e58a..cbc2b0d0b0d1 100644 --- a/desktop/ptbatterysystemtray/ptbatterysystemtray.SlackBuild +++ b/desktop/ptbatterysystemtray/ptbatterysystemtray.SlackBuild @@ -37,7 +37,7 @@ fi DOCS="AUTHORS ChangeLog LICENCE NEWS README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/qlandkartegt/qlandkartegt.SlackBuild b/desktop/qlandkartegt/qlandkartegt.SlackBuild index 7b5e7897dd8e..75ed219ef7bb 100644 --- a/desktop/qlandkartegt/qlandkartegt.SlackBuild +++ b/desktop/qlandkartegt/qlandkartegt.SlackBuild @@ -7,7 +7,7 @@ # the extent permitted by applicable law. You can redistribute it # and/or modify it under the terms of the Do What The Fuck You Want # To Public License, Version 2, as published by Sam Hocevar. See -# http://sam.zoy.org/wtfpl/COPYING for more details. +# http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=qlandkartegt VERSION=${VERSION:-1.7.5} diff --git a/desktop/qlipper/qlipper.SlackBuild b/desktop/qlipper/qlipper.SlackBuild index 527ab6b15af9..b84c7f7fff50 100644 --- a/desktop/qlipper/qlipper.SlackBuild +++ b/desktop/qlipper/qlipper.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="COPYING README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -78,7 +78,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DUSE_SYSTEM_QTSA=OFF \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/desktop/qt-recordmydesktop/qt-recordmydesktop.SlackBuild b/desktop/qt-recordmydesktop/qt-recordmydesktop.SlackBuild index 58ef496d48fb..7aad2fbd015d 100644 --- a/desktop/qt-recordmydesktop/qt-recordmydesktop.SlackBuild +++ b/desktop/qt-recordmydesktop/qt-recordmydesktop.SlackBuild @@ -7,18 +7,16 @@ VERSION=${VERSION:-0.3.8} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/desktop/quadkonsole4/quadkonsole4.SlackBuild b/desktop/quadkonsole4/quadkonsole4.SlackBuild index e9426b5acc68..feea72616a36 100644 --- a/desktop/quadkonsole4/quadkonsole4.SlackBuild +++ b/desktop/quadkonsole4/quadkonsole4.SlackBuild @@ -66,7 +66,7 @@ cd build -DMAN_INSTALL_DIR=/usr/man \ -DQT_PLUGINS_DIR=/usr/lib$LIBDIRSUFFIX/qt/plugins \ .. - make + make make install DESTDIR=$PKG cd - diff --git a/desktop/quickaccess/quickaccess.SlackBuild b/desktop/quickaccess/quickaccess.SlackBuild index 290030fbddb1..96df54dddf56 100644 --- a/desktop/quickaccess/quickaccess.SlackBuild +++ b/desktop/quickaccess/quickaccess.SlackBuild @@ -10,12 +10,10 @@ TAG=${TAG:-_SBo} SRCVERSION="$(echo $VERSION | tr '_' '-')" -# 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/desktop/recoll/recoll.SlackBuild b/desktop/recoll/recoll.SlackBuild index f838a90b33e4..a09d116609a5 100644 --- a/desktop/recoll/recoll.SlackBuild +++ b/desktop/recoll/recoll.SlackBuild @@ -31,11 +31,11 @@ TAG=${TAG:-_SBo} # from the official online documenatation: # -# --enable-camelcase will enable splitting camelCase words. This is not enabled -# by default as it has the unfortunate side-effect of making some phrase searches -# quite confusing: ie, "MySQL manual" would be matched by "MySQL manual" and +# --enable-camelcase will enable splitting camelCase words. This is not enabled +# by default as it has the unfortunate side-effect of making some phrase searches +# quite confusing: ie, "MySQL manual" would be matched by "MySQL manual" and # "my sql manual" but not "mysql manual" (only inside phrase searches). -# +# # to use this feature, set ENABLE_CAMELCASE to YES (default is to let it disabled) ENABLE_CAMELCASE=${ENABLE_CAMELCASE:-"NO"} diff --git a/desktop/recorditnow/recorditnow.SlackBuild b/desktop/recorditnow/recorditnow.SlackBuild index d3e61399334d..1e1b15270f0a 100644 --- a/desktop/recorditnow/recorditnow.SlackBuild +++ b/desktop/recorditnow/recorditnow.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -78,7 +78,7 @@ cmake \ -DCMAKE_EXE_LINKER_FLAGS="-lX11 -lXext -lXfixes -lrecorditnow_plugin" \ -DCMAKE_BUILD_TYPE=Release . -make +make make install DESTDIR=$PKG # Hopefully KDE will eventually figure out that KDE's config dir is diff --git a/desktop/recordmydesktop/recordmydesktop.SlackBuild b/desktop/recordmydesktop/recordmydesktop.SlackBuild index 9158a25d7340..53bc7a1d8bd2 100644 --- a/desktop/recordmydesktop/recordmydesktop.SlackBuild +++ b/desktop/recordmydesktop/recordmydesktop.SlackBuild @@ -12,12 +12,10 @@ VERSION=0.3.8.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/desktop/redshift/redshift.SlackBuild b/desktop/redshift/redshift.SlackBuild index c54f27dd2720..fbd23a34d563 100644 --- a/desktop/redshift/redshift.SlackBuild +++ b/desktop/redshift/redshift.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/rss-glx/rss-glx.SlackBuild b/desktop/rss-glx/rss-glx.SlackBuild index 68ef80096bd1..e011c645e48d 100644 --- a/desktop/rss-glx/rss-glx.SlackBuild +++ b/desktop/rss-glx/rss-glx.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.9.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/desktop/rss-guard/rss-guard.SlackBuild b/desktop/rss-guard/rss-guard.SlackBuild index 91d69186a48c..ec92390af17b 100644 --- a/desktop/rss-guard/rss-guard.SlackBuild +++ b/desktop/rss-guard/rss-guard.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -77,7 +77,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/desktop/screenfetch/screenfetch.SlackBuild b/desktop/screenfetch/screenfetch.SlackBuild index 50d540c7d062..f9f7d6796387 100644 --- a/desktop/screenfetch/screenfetch.SlackBuild +++ b/desktop/screenfetch/screenfetch.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for Screenfetch +# Slackware build script for Screenfetch # Copyright 2012, Bojan Popovic, Belgrade, Serbia, <bocke@slackware-srbija.org> # Copyright 2012, Slackware Srbija (http://www.slackware-srbija.org/) diff --git a/desktop/skulpture/skulpture.SlackBuild b/desktop/skulpture/skulpture.SlackBuild index 1f250d6d966d..9b15a4903c82 100644 --- a/desktop/skulpture/skulpture.SlackBuild +++ b/desktop/skulpture/skulpture.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -61,7 +61,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/desktop/sync-engine/sync-engine.SlackBuild b/desktop/sync-engine/sync-engine.SlackBuild index 54a4f9db6624..225d6675708d 100644 --- a/desktop/sync-engine/sync-engine.SlackBuild +++ b/desktop/sync-engine/sync-engine.SlackBuild @@ -2,27 +2,25 @@ # Slackware build script for sync-engine # Written by Lionel Young (redtricycle@gmail.com) -PRGNAM=sync-engine +PRGNAM=sync-engine VERSION=${VERSION:-0.13} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/synce-kpm/synce-kpm.SlackBuild b/desktop/synce-kpm/synce-kpm.SlackBuild index 5e737ba98ff6..84b71014aec4 100644 --- a/desktop/synce-kpm/synce-kpm.SlackBuild +++ b/desktop/synce-kpm/synce-kpm.SlackBuild @@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/desktop/thunar-thumbnailers/thunar-thumbnailers.SlackBuild b/desktop/thunar-thumbnailers/thunar-thumbnailers.SlackBuild index a38fb0df4409..e1eb03c976ee 100644 --- a/desktop/thunar-thumbnailers/thunar-thumbnailers.SlackBuild +++ b/desktop/thunar-thumbnailers/thunar-thumbnailers.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.4.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 @@ -81,8 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-debug=no \ --enable-tex \ --disable-update-mime-database \ - --build=$ARCH-slackware-linux -# --enable-raw # Raw image support, requires dcraw + --build=$ARCH-slackware-linux +# --enable-raw # Raw image support, requires dcraw # --enable-ffmpeg # video file support, requires ffmpegthumbnailer # --enable-grace # .agr file support, requires grace (not at SBo) diff --git a/desktop/thunar-vcs-plugin/thunar-vcs-plugin.SlackBuild b/desktop/thunar-vcs-plugin/thunar-vcs-plugin.SlackBuild index ac8c5e493676..be3a95bda620 100644 --- a/desktop/thunar-vcs-plugin/thunar-vcs-plugin.SlackBuild +++ b/desktop/thunar-vcs-plugin/thunar-vcs-plugin.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.1.4} 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/desktop/trayer-srg/trayer-srg.SlackBuild b/desktop/trayer-srg/trayer-srg.SlackBuild index 3dedf3dace89..fb61de62ed67 100644 --- a/desktop/trayer-srg/trayer-srg.SlackBuild +++ b/desktop/trayer-srg/trayer-srg.SlackBuild @@ -77,7 +77,7 @@ mkdir -p $PKG/usr/bin install -m 0755 trayer $PKG/usr/bin mkdir -p $PKG/usr/man/man1 -gzip -c man/trayer.1 > $PKG/usr/man/man1/trayer.1.gz +gzip -c man/trayer.1 > $PKG/usr/man/man1/trayer.1.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ diff --git a/desktop/vwm/vwm.SlackBuild b/desktop/vwm/vwm.SlackBuild index 54211f842f1e..9eb9df174468 100644 --- a/desktop/vwm/vwm.SlackBuild +++ b/desktop/vwm/vwm.SlackBuild @@ -27,12 +27,10 @@ VERSION=2.0.2 BUILD=${BUILD:-3} 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 @@ -76,7 +74,7 @@ patch -p0 < $CWD/patches/vwm-2.0.2-Makefile.patch patch -p1 < $CWD/patches/vwm-2.0.2-Makefile-vwmterm2.patch patch -p0 < $CWD/patches/vwm-2.0.2-Makefile-sysmon.patch -# hack to fix the hardcoded path in vwm.h. Not the prettiest, but there you +# hack to fix the hardcoded path in vwm.h. Not the prettiest, but there you # have it. if [ $ARCH == "x86_64" ]; then sed -i '26s|/usr/lib/vwm/modules|/usr/lib64/vwm/modules|' ./vwm.h @@ -85,17 +83,17 @@ fi make -j1 CFLAGS="$SLKCFLAGS" make install prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX} -# build and install the sysmon module (the vmwterm2 one is done with +# build and install the sysmon module (the vmwterm2 one is done with # the main installation) cd modules/sysmon make -j1 CFLAGS="$SLKCFLAGS -I$PKG/usr/include" make install prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX} cd - -# build and install the keycodes tool to determine codes for remapping +# build and install the keycodes tool to determine codes for remapping # keystrokes in ~/.vwm/vwmrc make -j1 keycode_tool -cp -a keycodes/keycodes $PKG/usr/bin/ +cp -a keycodes/keycodes $PKG/usr/bin/ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/desktop/whaw/whaw.SlackBuild b/desktop/whaw/whaw.SlackBuild index 13b3dc757e88..16ba1722900c 100644 --- a/desktop/whaw/whaw.SlackBuild +++ b/desktop/whaw/whaw.SlackBuild @@ -8,12 +8,10 @@ VERSION=0.1.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 @@ -56,9 +54,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ # Compress the man page gzip -9 $PKG/usr/man/man1/$PRGNAM.1 -# Include a .desktop file so it will be convenient for KDE users +# Include a .desktop file so it will be convenient for KDE users # to have one to place in ~/.kde/Autostart -# The program is mouse-driven, so it makes sense to be able to +# The program is mouse-driven, so it makes sense to be able to # launch it with the mouse. mkdir -p $PKG/usr/share/applications cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop diff --git a/desktop/wmCalClock/wmCalClock.SlackBuild b/desktop/wmCalClock/wmCalClock.SlackBuild index b6b0e17be974..57c1c7cebe84 100644 --- a/desktop/wmCalClock/wmCalClock.SlackBuild +++ b/desktop/wmCalClock/wmCalClock.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.25} 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/desktop/wmMoonClock/wmMoonClock.SlackBuild b/desktop/wmMoonClock/wmMoonClock.SlackBuild index a1d9b95d0678..726f7ce96498 100644 --- a/desktop/wmMoonClock/wmMoonClock.SlackBuild +++ b/desktop/wmMoonClock/wmMoonClock.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.27} 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 @@ -60,7 +58,7 @@ cd Src make \ CFLAGS="$SLKCFLAGS" \ INCDIR="-I/usr/include/X11" \ - LIBDIR="-L/usr/lib${LIBDIRSUFFIX}/X11" + LIBDIR="-L/usr/lib${LIBDIRSUFFIX}/X11" make install DESTDIR=$PKG/usr cd - diff --git a/desktop/wmakerconf/wmakerconf.SlackBuild b/desktop/wmakerconf/wmakerconf.SlackBuild index fd9dd541b131..ed5dab51f3c3 100644 --- a/desktop/wmakerconf/wmakerconf.SlackBuild +++ b/desktop/wmakerconf/wmakerconf.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-2.12} 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/desktop/wmbiff/wmbiff.SlackBuild b/desktop/wmbiff/wmbiff.SlackBuild index a09577a10f22..cbbc6726acdb 100644 --- a/desktop/wmbiff/wmbiff.SlackBuild +++ b/desktop/wmbiff/wmbiff.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.4.27} 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/desktop/wmcliphist/wmcliphist.SlackBuild b/desktop/wmcliphist/wmcliphist.SlackBuild index 4d1df49cd366..8b1dabbc50ca 100644 --- a/desktop/wmcliphist/wmcliphist.SlackBuild +++ b/desktop/wmcliphist/wmcliphist.SlackBuild @@ -49,7 +49,7 @@ cd $PRGNAM chmod -R u+w,go+r-w,a-s . chown -R root:root . -make CFLAGS="$SLKCFLAGS \$(INCLUDES)" LDFLAGS="-lX11" +make CFLAGS="$SLKCFLAGS \$(INCLUDES)" LDFLAGS="-lX11" mkdir -p $PKG/usr/bin install -m 0755 -s $PRGNAM $PKG/usr/bin/$PRGNAM diff --git a/desktop/wmctrl/wmctrl.SlackBuild b/desktop/wmctrl/wmctrl.SlackBuild index a2fe190402ac..399755394034 100644 --- a/desktop/wmctrl/wmctrl.SlackBuild +++ b/desktop/wmctrl/wmctrl.SlackBuild @@ -10,12 +10,10 @@ VERSION=1.07 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 @@ -58,7 +56,7 @@ CFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc/X11/WindowMaker \ --mandir=/usr/man \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG diff --git a/desktop/wmdate/wmdate.SlackBuild b/desktop/wmdate/wmdate.SlackBuild index d77425bc155b..d3d460bdd5de 100644 --- a/desktop/wmdate/wmdate.SlackBuild +++ b/desktop/wmdate/wmdate.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.7} 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/desktop/wmdl/wmdl.SlackBuild b/desktop/wmdl/wmdl.SlackBuild index 9146aab1e3d2..473b30e90729 100644 --- a/desktop/wmdl/wmdl.SlackBuild +++ b/desktop/wmdl/wmdl.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.4.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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/wmdrawer/wmdrawer.SlackBuild b/desktop/wmdrawer/wmdrawer.SlackBuild index 5068b5f6eb67..abc5ec0ec61a 100644 --- a/desktop/wmdrawer/wmdrawer.SlackBuild +++ b/desktop/wmdrawer/wmdrawer.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.10.5} 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 @@ -59,7 +57,7 @@ make \ EXTRA_CFLAGS="$SLKCFLAGS" \ USE_GDKPIXBUF=0 \ USE_GDKPIXBUF2=1 - + # We'll install everything manually because the Makefile is non-optimal :) mkdir -p $PKG/usr/bin cp -a wmdrawer $PKG/usr/bin diff --git a/desktop/wmfs/wmfs.SlackBuild b/desktop/wmfs/wmfs.SlackBuild index b4ec9dca14c2..d50afd0d7b89 100644 --- a/desktop/wmfs/wmfs.SlackBuild +++ b/desktop/wmfs/wmfs.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/wmmon/wmmon.SlackBuild b/desktop/wmmon/wmmon.SlackBuild index ab994d50c654..4976ac29f6c3 100644 --- a/desktop/wmmon/wmmon.SlackBuild +++ b/desktop/wmmon/wmmon.SlackBuild @@ -14,12 +14,10 @@ TAG=${TAG:-_SBo} SRCVER=$(echo $VERSION | cut -d_ -f1) PATCHVER=$(echo $VERSION | 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 diff --git a/desktop/wmnet/wmnet.SlackBuild b/desktop/wmnet/wmnet.SlackBuild index 6b128d4fad03..08013bb80be4 100644 --- a/desktop/wmnet/wmnet.SlackBuild +++ b/desktop/wmnet/wmnet.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.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/desktop/wmsm.app/wmsm.app.SlackBuild b/desktop/wmsm.app/wmsm.app.SlackBuild index e71e4b93907a..f18e40d2ae17 100644 --- a/desktop/wmsm.app/wmsm.app.SlackBuild +++ b/desktop/wmsm.app/wmsm.app.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.2.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/desktop/wmsystemtray/wmsystemtray.SlackBuild b/desktop/wmsystemtray/wmsystemtray.SlackBuild index be60e9b3cfa6..7e3d072e3c68 100644 --- a/desktop/wmsystemtray/wmsystemtray.SlackBuild +++ b/desktop/wmsystemtray/wmsystemtray.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -63,7 +61,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/desktop/wmtime/wmtime.SlackBuild b/desktop/wmtime/wmtime.SlackBuild index 76df13788b29..0a22ec555da7 100644 --- a/desktop/wmtime/wmtime.SlackBuild +++ b/desktop/wmtime/wmtime.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.0b2} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/wmtop/wmtop.SlackBuild b/desktop/wmtop/wmtop.SlackBuild index 59aa879f03e5..824ec352d711 100644 --- a/desktop/wmtop/wmtop.SlackBuild +++ b/desktop/wmtop/wmtop.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.84} 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/desktop/x-tile/x-tile.SlackBuild b/desktop/x-tile/x-tile.SlackBuild index 396bd0723401..ab022fde4ec3 100644 --- a/desktop/x-tile/x-tile.SlackBuild +++ b/desktop/x-tile/x-tile.SlackBuild @@ -34,7 +34,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.SlackBuild b/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.SlackBuild index 210d4f19adbf..c07c0e9dabc5 100644 --- a/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.SlackBuild +++ b/desktop/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.SlackBuild @@ -76,7 +76,7 @@ CFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc/xfce \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/desktop/xfce4-datetime-plugin/xfce4-datetime-plugin.SlackBuild b/desktop/xfce4-datetime-plugin/xfce4-datetime-plugin.SlackBuild index ee401ed1e7be..724c65cff27e 100644 --- a/desktop/xfce4-datetime-plugin/xfce4-datetime-plugin.SlackBuild +++ b/desktop/xfce4-datetime-plugin/xfce4-datetime-plugin.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.6.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/desktop/xfce4-diskperf-plugin/xfce4-diskperf-plugin.SlackBuild b/desktop/xfce4-diskperf-plugin/xfce4-diskperf-plugin.SlackBuild index eafc7442d001..eb53ef56eac2 100644 --- a/desktop/xfce4-diskperf-plugin/xfce4-diskperf-plugin.SlackBuild +++ b/desktop/xfce4-diskperf-plugin/xfce4-diskperf-plugin.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.5.4} 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/desktop/xfce4-genmon-plugin/xfce4-genmon-plugin.SlackBuild b/desktop/xfce4-genmon-plugin/xfce4-genmon-plugin.SlackBuild index e915a7353780..1ea403f3145f 100644 --- a/desktop/xfce4-genmon-plugin/xfce4-genmon-plugin.SlackBuild +++ b/desktop/xfce4-genmon-plugin/xfce4-genmon-plugin.SlackBuild @@ -28,12 +28,10 @@ TARVERS=3.4 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/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild b/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild index 2e63da128ef9..eccfed6552bd 100644 --- a/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild +++ b/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild @@ -31,12 +31,10 @@ VERSION=${VERSION:-1.1.0} 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 @@ -60,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/desktop/xfce4-mount-plugin/xfce4-mount-plugin.SlackBuild b/desktop/xfce4-mount-plugin/xfce4-mount-plugin.SlackBuild index db6347ef7880..dea28bf1887e 100644 --- a/desktop/xfce4-mount-plugin/xfce4-mount-plugin.SlackBuild +++ b/desktop/xfce4-mount-plugin/xfce4-mount-plugin.SlackBuild @@ -27,17 +27,15 @@ VERSION=${VERSION:-0.6.4} 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 -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/desktop/xfce4-notes-plugin/xfce4-notes-plugin.SlackBuild b/desktop/xfce4-notes-plugin/xfce4-notes-plugin.SlackBuild index c7cab8f00fc8..64bab342c1b6 100644 --- a/desktop/xfce4-notes-plugin/xfce4-notes-plugin.SlackBuild +++ b/desktop/xfce4-notes-plugin/xfce4-notes-plugin.SlackBuild @@ -79,7 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-static=no \ --enable-debug=no \ --build=$ARCH-slackware-linux - + make make install DESTDIR=$PKG diff --git a/desktop/xfce4-xmms-plugin/xfce4-xmms-plugin.SlackBuild b/desktop/xfce4-xmms-plugin/xfce4-xmms-plugin.SlackBuild index 2fa7836c8be1..19c3e4071d39 100644 --- a/desktop/xfce4-xmms-plugin/xfce4-xmms-plugin.SlackBuild +++ b/desktop/xfce4-xmms-plugin/xfce4-xmms-plugin.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - -# Slackware build script for xfce4-xmms-plugin -# (C) 2007 Michael Wagner <lapinours@web.de> +# Slackware build script for xfce4-xmms-plugin + +# (C) 2007 Michael Wagner <lapinours@web.de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,12 +27,10 @@ VERSION=0.5.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 @@ -74,7 +72,7 @@ CFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc/xfce \ --disable-static \ --build=$ARCH-slackware-linux - + make make install-strip DESTDIR=$PKG diff --git a/desktop/xpenguins/xpenguins.SlackBuild b/desktop/xpenguins/xpenguins.SlackBuild index c7d3cac73d37..0bbb4a6f57f6 100644 --- a/desktop/xpenguins/xpenguins.SlackBuild +++ b/desktop/xpenguins/xpenguins.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-2.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/desktop/xsession/xsession.SlackBuild b/desktop/xsession/xsession.SlackBuild index 34514f970cce..bc5a752cadda 100644 --- a/desktop/xsession/xsession.SlackBuild +++ b/desktop/xsession/xsession.SlackBuild @@ -6,17 +6,15 @@ # Released into the public domain June 8, 2009 -PRGNAM=xsession +PRGNAM=xsession VERSION=${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 @@ -40,7 +38,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/desktop/xtrascreenhacks/xtrascreenhacks.SlackBuild b/desktop/xtrascreenhacks/xtrascreenhacks.SlackBuild index 8cde71e234d3..e22a8321e281 100644 --- a/desktop/xtrascreenhacks/xtrascreenhacks.SlackBuild +++ b/desktop/xtrascreenhacks/xtrascreenhacks.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.4 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/desktop/xxkb/xxkb.SlackBuild b/desktop/xxkb/xxkb.SlackBuild index 08807b995a0f..a588634b6881 100644 --- a/desktop/xxkb/xxkb.SlackBuild +++ b/desktop/xxkb/xxkb.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=xxkb VERSION=${VERSION:-1.11} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG $TMP mkdir -p $TMP $PKG $OUTPUT diff --git a/development/CImg/CImg.SlackBuild b/development/CImg/CImg.SlackBuild index b45210ad9146..9e2d6985de1c 100644 --- a/development/CImg/CImg.SlackBuild +++ b/development/CImg/CImg.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for CImg. -# +# # Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # diff --git a/development/SQLAlchemy/SQLAlchemy.SlackBuild b/development/SQLAlchemy/SQLAlchemy.SlackBuild index 88b6eac58e29..dba85500116a 100644 --- a/development/SQLAlchemy/SQLAlchemy.SlackBuild +++ b/development/SQLAlchemy/SQLAlchemy.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.5.5 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/development/THE/THE.SlackBuild b/development/THE/THE.SlackBuild index 609da21d2fe9..3d0dbb77d408 100644 --- a/development/THE/THE.SlackBuild +++ b/development/THE/THE.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for The Hessling Editor +# Slackware build script for The Hessling Editor # Written by Richard Narron (richard@aaazen.com) @@ -64,9 +64,9 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --prefix=/usr \ - --sysconfdir=/etc + --sysconfdir=/etc -make +make make html make install DESTDIR=$PKG diff --git a/development/ahven/ahven.SlackBuild b/development/ahven/ahven.SlackBuild index a8906aaf1f79..2f7428f0713d 100644 --- a/development/ahven/ahven.SlackBuild +++ b/development/ahven/ahven.SlackBuild @@ -25,12 +25,10 @@ VERSION=${VERSION:-2.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*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7lh ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$(uname -m) ;; esac export ARCH diff --git a/development/amd-app-sdk/amd-app-sdk.SlackBuild b/development/amd-app-sdk/amd-app-sdk.SlackBuild index e02ab073ad27..3c0eaeeedc5e 100644 --- a/development/amd-app-sdk/amd-app-sdk.SlackBuild +++ b/development/amd-app-sdk/amd-app-sdk.SlackBuild @@ -37,7 +37,6 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SAMPLES=${SAMPLES:-no} -# Automatically determine the architecture we're building on or use supplied ARCH # (only x86 and x86_64 are supported) TESTARCH=${ARCH:-`uname -m`} case "$TESTARCH" in diff --git a/development/avr8-burn-o-mat/avr8-burn-o-mat.SlackBuild b/development/avr8-burn-o-mat/avr8-burn-o-mat.SlackBuild index 0fedd5b35ad2..38adfcc384a0 100644 --- a/development/avr8-burn-o-mat/avr8-burn-o-mat.SlackBuild +++ b/development/avr8-burn-o-mat/avr8-burn-o-mat.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-2.1.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 @@ -46,7 +44,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/${SRCNAM}_$(echo $VERSION | tr '.' '_')_src.tar.bz2 -mv $(echo $SRCNAM | tr '_' '-' ) $PRGNAM-$VERSION +mv $(echo $SRCNAM | tr '_' '-' ) $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find . \ diff --git a/development/avrdude/avrdude.SlackBuild b/development/avrdude/avrdude.SlackBuild index 93104e59019f..25e248c45616 100644 --- a/development/avrdude/avrdude.SlackBuild +++ b/development/avrdude/avrdude.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -62,7 +62,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/development/bakefile/bakefile.SlackBuild b/development/bakefile/bakefile.SlackBuild index 77ef986a7a88..1d47c518f654 100644 --- a/development/bakefile/bakefile.SlackBuild +++ b/development/bakefile/bakefile.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/bpython/bpython.SlackBuild b/development/bpython/bpython.SlackBuild index 66a098c81ca9..86e1ad7e698c 100644 --- a/development/bpython/bpython.SlackBuild +++ b/development/bpython/bpython.SlackBuild @@ -19,14 +19,14 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . diff --git a/development/bsdiff/bsdiff.SlackBuild b/development/bsdiff/bsdiff.SlackBuild index 02867bfe0a83..8f66ebae2c25 100644 --- a/development/bsdiff/bsdiff.SlackBuild +++ b/development/bsdiff/bsdiff.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-4.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 diff --git a/development/bvi/bvi.SlackBuild b/development/bvi/bvi.SlackBuild index 99f3e50bae62..cd58f5f98a90 100644 --- a/development/bvi/bvi.SlackBuild +++ b/development/bvi/bvi.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.3.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/development/cgit/cgit.SlackBuild b/development/cgit/cgit.SlackBuild index 2b14d5bd4411..4d5e4b6186fa 100644 --- a/development/cgit/cgit.SlackBuild +++ b/development/cgit/cgit.SlackBuild @@ -59,7 +59,7 @@ GIT_VERSION=${GIT_VERSION:-1.8.4} DOCS="cgitrc.5.txt COPYING README $CWD/config/cgit-lighttpd.conf \ $CWD/config/cgit-httpd.conf $CWD/config/cgitrc.sample" -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/check/check.SlackBuild b/development/check/check.SlackBuild index b93bad67f06d..de96dea66037 100644 --- a/development/check/check.SlackBuild +++ b/development/check/check.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Check -# Copyright 2006 Jules Villard <theblatte@loulous.org> +# Copyright 2006 Jules Villard <theblatte@loulous.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/development/chicken/chicken.SlackBuild b/development/chicken/chicken.SlackBuild index af53a7f16fb6..92c53d875dbd 100644 --- a/development/chicken/chicken.SlackBuild +++ b/development/chicken/chicken.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-4.8.0.4} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/cim/cim.SlackBuild b/development/cim/cim.SlackBuild index fe9cd9fd53a8..b1256f1214a9 100644 --- a/development/cim/cim.SlackBuild +++ b/development/cim/cim.SlackBuild @@ -5,33 +5,31 @@ # Written by Andre Barboza <bmg.andre@gmail.com> # Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''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 DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cim VERSION=${VERSION:-3.37} 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/development/couchdb/couchdb.SlackBuild b/development/couchdb/couchdb.SlackBuild index 580ed7b574f8..2f156267e69b 100644 --- a/development/couchdb/couchdb.SlackBuild +++ b/development/couchdb/couchdb.SlackBuild @@ -12,12 +12,10 @@ TAG=${TAG:-_SBo} PKGSRC=apache-couchdb -# 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/development/cpan2tgz/cpan2tgz.SlackBuild b/development/cpan2tgz/cpan2tgz.SlackBuild index 3fde9fbdaf16..dc5666d73519 100644 --- a/development/cpan2tgz/cpan2tgz.SlackBuild +++ b/development/cpan2tgz/cpan2tgz.SlackBuild @@ -61,7 +61,7 @@ make install DESTDIR=$PKG INSTALLSITEMAN1DIR=/usr/man/man1 # Remove unnecessary crap eval $(perl '-V:archlib'); eval $(perl '-V:sitelib') -rm -rf $PKG/$archlib/* $PKG/$sitelib/* +rm -rf $PKG/$archlib/* $PKG/$sitelib/* rmdir --parents $PKG/$sitelib $PKG/$archlib 2>/dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/cppcms/cppcms.SlackBuild b/development/cppcms/cppcms.SlackBuild index 5f4b60c1cb84..81cbc681ceec 100644 --- a/development/cppcms/cppcms.SlackBuild +++ b/development/cppcms/cppcms.SlackBuild @@ -60,7 +60,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DLIBDIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/development/cppunit/cppunit.SlackBuild b/development/cppunit/cppunit.SlackBuild index 523a97cd7683..2e341e7a5f65 100644 --- a/development/cppunit/cppunit.SlackBuild +++ b/development/cppunit/cppunit.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.12.1} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/cryptoki/cryptoki.SlackBuild b/development/cryptoki/cryptoki.SlackBuild index 79f80729a18b..a01024950a55 100644 --- a/development/cryptoki/cryptoki.SlackBuild +++ b/development/cryptoki/cryptoki.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for the RSA Security Inc. PKCS #11 Cryptographic # Token Interface 2.20 headers, called Cryptoki. -# +# # Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # diff --git a/development/cvsd/cvsd.SlackBuild b/development/cvsd/cvsd.SlackBuild index 953e4b798052..bb547e70cf89 100644 --- a/development/cvsd/cvsd.SlackBuild +++ b/development/cvsd/cvsd.SlackBuild @@ -28,7 +28,7 @@ elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" fi -set -e # Exit on most errors +set -e # Bail out if user or group isn't valid on your system # For slackbuilds.org, assigned cvsd uid/gid are 233/233 diff --git a/development/devhelp/devhelp.SlackBuild b/development/devhelp/devhelp.SlackBuild index 44fd44de9862..a4d424ab20d3 100644 --- a/development/devhelp/devhelp.SlackBuild +++ b/development/devhelp/devhelp.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/docutils/docutils.SlackBuild b/development/docutils/docutils.SlackBuild index cd532f7a5b1b..bc398f1e094d 100644 --- a/development/docutils/docutils.SlackBuild +++ b/development/docutils/docutils.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.11} 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/development/ecl/ecl.SlackBuild b/development/ecl/ecl.SlackBuild index 3828151a5c40..6b2738209851 100644 --- a/development/ecl/ecl.SlackBuild +++ b/development/ecl/ecl.SlackBuild @@ -26,12 +26,10 @@ TAG=${TAG:-_SBo} DOCS="ANNOUNCEMENT INSTALL README.1st Copyright LGPL" -# 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/development/eclipse/eclipse.SlackBuild b/development/eclipse/eclipse.SlackBuild index 27213f726c24..7da697232f73 100644 --- a/development/eclipse/eclipse.SlackBuild +++ b/development/eclipse/eclipse.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for eclipse +# Slackware build script for eclipse # Copyright (c) 2008-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com> # All rights reserved. diff --git a/development/epydoc/epydoc.SlackBuild b/development/epydoc/epydoc.SlackBuild index 34bf1ac49e64..92d3c3f1c8a2 100644 --- a/development/epydoc/epydoc.SlackBuild +++ b/development/epydoc/epydoc.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=epydoc VERSION=3.0.1 BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,9 +35,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} DOCS="LICENSE.txt README.txt" diff --git a/development/erlang-otp/erlang-otp.SlackBuild b/development/erlang-otp/erlang-otp.SlackBuild index 0b316632f51c..e456c5146b72 100644 --- a/development/erlang-otp/erlang-otp.SlackBuild +++ b/development/erlang-otp/erlang-otp.SlackBuild @@ -10,7 +10,7 @@ # Modified by Robby Workman 20071027 # I won't change the "Written by" line, because I didn't # change who wrote the script. If there are questions as -# to whether my changes caused a problem, feel free to +# to whether my changes caused a problem, feel free to # send mail to me first. # Package adaptation in order to rename it from otp-R11B diff --git a/development/flawfinder/flawfinder.SlackBuild b/development/flawfinder/flawfinder.SlackBuild index c1157fa82f7d..8b2a9a681932 100644 --- a/development/flawfinder/flawfinder.SlackBuild +++ b/development/flawfinder/flawfinder.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.27} 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/development/ftjam/ftjam.SlackBuild b/development/ftjam/ftjam.SlackBuild index 867784050df0..208e1cbb0c6a 100644 --- a/development/ftjam/ftjam.SlackBuild +++ b/development/ftjam/ftjam.SlackBuild @@ -12,12 +12,10 @@ VERSION=2.5.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/development/gambit/gambit.SlackBuild b/development/gambit/gambit.SlackBuild index 218ff0ec51b2..d8c6e23c97bf 100644 --- a/development/gambit/gambit.SlackBuild +++ b/development/gambit/gambit.SlackBuild @@ -10,12 +10,10 @@ TAG=${TAG:-_SBo} SOURCE_BASE="gambc-v$(echo $VERSION | tr \. _)-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 @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/glade/glade.SlackBuild b/development/glade/glade.SlackBuild index 4484b688e8fb..626be5ba832c 100644 --- a/development/glade/glade.SlackBuild +++ b/development/glade/glade.SlackBuild @@ -82,7 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux \ --disable-scrollkeeper -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/development/global/global.SlackBuild b/development/global/global.SlackBuild index ce0c6192b0e1..825d30ca93e3 100644 --- a/development/global/global.SlackBuild +++ b/development/global/global.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-6.2.5} 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/development/gnome-inform7/gnome-inform7.SlackBuild b/development/gnome-inform7/gnome-inform7.SlackBuild index bbba73c858fe..03ccafdd32af 100644 --- a/development/gnome-inform7/gnome-inform7.SlackBuild +++ b/development/gnome-inform7/gnome-inform7.SlackBuild @@ -13,7 +13,6 @@ 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 @@ -37,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -67,7 +66,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r rm -rf $PRGNAM-$VERSION tar xfv $CWD/I7_${VERSION}_GNOME_Source.tar.gz -cp $PKG/usr/share/inform7/Compilers/ni $PRGNAM-$VERSION/src/ni/ +cp $PKG/usr/share/inform7/Compilers/ni $PRGNAM-$VERSION/src/ni/ cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -94,7 +93,7 @@ make \ frotzdocdir=/usr/doc/$PRGNAM-$VERSION/frotz \ glulxedocdir=/usr/doc/$PRGNAM-$VERSION/glulxe \ gitdocdir=/usr/doc/$PRGNAM-$VERSION/git - + make install \ docdir=/usr/doc/$PRGNAM-$VERSION \ inform6docdir=/usr/doc/$PRGNAM-$VERSION/inform6 \ diff --git a/development/gnustep-base/gnustep-base.SlackBuild b/development/gnustep-base/gnustep-base.SlackBuild index fc97b289019f..aa42b6177c99 100644 --- a/development/gnustep-base/gnustep-base.SlackBuild +++ b/development/gnustep-base/gnustep-base.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.24.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 diff --git a/development/gnustep-make/gnustep-make.SlackBuild b/development/gnustep-make/gnustep-make.SlackBuild index 48ff3f0a0180..d4cd7db7d0b9 100644 --- a/development/gnustep-make/gnustep-make.SlackBuild +++ b/development/gnustep-make/gnustep-make.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.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 diff --git a/development/gplcver/gplcver.SlackBuild b/development/gplcver/gplcver.SlackBuild index 502132a61a1b..f38845caf566 100644 --- a/development/gplcver/gplcver.SlackBuild +++ b/development/gplcver/gplcver.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -75,8 +75,8 @@ mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr .. - make + -DCMAKE_INSTALL_PREFIX=/usr .. + make make install DESTDIR=$PKG cd .. diff --git a/development/gprolog/gprolog.SlackBuild b/development/gprolog/gprolog.SlackBuild index 41769a1b08b5..376b982d68bf 100644 --- a/development/gprolog/gprolog.SlackBuild +++ b/development/gprolog/gprolog.SlackBuild @@ -53,7 +53,7 @@ find -L . \ # gprolog seems to ignore the default SlackBuild configure options # and installs itself into $prefix/gprolog-$VERSION # So build it with only these two flags for now -cd src +cd src CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/development/gputils/gputils.SlackBuild b/development/gputils/gputils.SlackBuild index f01d2ddc3bc9..2febbb030665 100644 --- a/development/gputils/gputils.SlackBuild +++ b/development/gputils/gputils.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.13.7} 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 @@ -33,7 +31,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/grails/grails.SlackBuild b/development/grails/grails.SlackBuild index 83b52734c243..70b0efe7b73c 100644 --- a/development/grails/grails.SlackBuild +++ b/development/grails/grails.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.2.0} 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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/gtest/gtest.SlackBuild b/development/gtest/gtest.SlackBuild index 05cceab60e9e..f79db5c7d154 100644 --- a/development/gtest/gtest.SlackBuild +++ b/development/gtest/gtest.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-1.5.0} 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 @@ -37,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/guile1.8/guile1.8.SlackBuild b/development/guile1.8/guile1.8.SlackBuild index eea537054832..3eaabbfcb027 100644 --- a/development/guile1.8/guile1.8.SlackBuild +++ b/development/guile1.8/guile1.8.SlackBuild @@ -91,11 +91,11 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r # Compress info files if [ -d $PKG/usr/info ]; then ( cd $PKG/usr/info - rm -f dir + rm -f dir gzip -9 * # rename it so that it will not overwrite Slackware's guile 2.0 package for i in {1..7} - do + do mv guile.info-$i.gz guile1.8.info-$i.gz done mv guile.info.gz guile1.8.info.gz diff --git a/development/hexedit/hexedit.SlackBuild b/development/hexedit/hexedit.SlackBuild index 28a35880e66a..7443ed48f93b 100644 --- a/development/hexedit/hexedit.SlackBuild +++ b/development/hexedit/hexedit.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.2.12} 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 @@ -32,7 +30,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/ht/ht.SlackBuild b/development/ht/ht.SlackBuild index 9fbc98a963d6..5745d1ddaa4b 100644 --- a/development/ht/ht.SlackBuild +++ b/development/ht/ht.SlackBuild @@ -30,7 +30,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/hte/hte.SlackBuild b/development/hte/hte.SlackBuild index f429623846dc..78014080f70a 100644 --- a/development/hte/hte.SlackBuild +++ b/development/hte/hte.SlackBuild @@ -55,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/hugs98/hugs98.SlackBuild b/development/hugs98/hugs98.SlackBuild index c301e8c99387..daa3421b0082 100644 --- a/development/hugs98/hugs98.SlackBuild +++ b/development/hugs98/hugs98.SlackBuild @@ -25,12 +25,10 @@ VERSION=Sep2006 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/development/icoutils/icoutils.SlackBuild b/development/icoutils/icoutils.SlackBuild index b94bdefb556a..16e2c8f0583c 100644 --- a/development/icoutils/icoutils.SlackBuild +++ b/development/icoutils/icoutils.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for icoutils +# Slackware build script for icoutils # Copyright (c) 2008, Mark Walling <mark@markwalling.com> # All rights reserved. @@ -29,12 +29,10 @@ VERSION=0.26.0 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/development/jam/jam.SlackBuild b/development/jam/jam.SlackBuild index 50a7a82f954d..cec53096b9ec 100644 --- a/development/jam/jam.SlackBuild +++ b/development/jam/jam.SlackBuild @@ -29,12 +29,10 @@ VERSION=2.5 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/development/jasspa/jasspa.SlackBuild b/development/jasspa/jasspa.SlackBuild index 8c6ea34a8cce..eeb0413d20ee 100644 --- a/development/jasspa/jasspa.SlackBuild +++ b/development/jasspa/jasspa.SlackBuild @@ -77,7 +77,7 @@ install -D -m 755 me $PKG/usr/bin/me mkdir -p $PKG/usr/share # extract macros under /usr/share -# NOTE $PRGNAM-metree-20091017.tar.gz is newer than VERSION. This is +# NOTE $PRGNAM-metree-20091017.tar.gz is newer than VERSION. This is # intentional, the macros collection contains some minor fixes, # but according to http://www.jasspa.com/downsrc.html: "The official # baseline for 2009 is 2009.10.11 ...", so VERSION is 091011 diff --git a/development/jdk/jdk.SlackBuild b/development/jdk/jdk.SlackBuild index 474b051cf096..0a0511ae6b62 100644 --- a/development/jdk/jdk.SlackBuild +++ b/development/jdk/jdk.SlackBuild @@ -80,7 +80,7 @@ chmod 755 $PKG/etc/profile.d/* ln -sf java ${PRGNAM}${DVER} ) -if [ ${EXPLOIT_ME:-"no"} = "YES" ] ;then +if [ ${EXPLOIT_ME:-"no"} = "YES" ] ;then mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins cd $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins ln -sf /usr/lib${LIBDIRSUFFIX}/java/jre/lib/${LIB_ARCH}/libnpjp2.so libnpjp2.so @@ -90,7 +90,7 @@ else security vulnerabilities, 44 of which affected the use of Java as a plug-in for Web browers. - !! THE MOZILLA PLUGIN IS NO LONGER ACTIVATED BY DEFAULT !! + !! THE MOZILLA PLUGIN IS NO LONGER ACTIVATED BY DEFAULT !! " sleep 5 fi diff --git a/development/judy/judy.SlackBuild b/development/judy/judy.SlackBuild index d0a9467594f7..6415f66cf6f7 100644 --- a/development/judy/judy.SlackBuild +++ b/development/judy/judy.SlackBuild @@ -56,7 +56,7 @@ fi DOCS="AUTHORS COPYING ChangeLog README" -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/julius/julius.SlackBuild b/development/julius/julius.SlackBuild index b6f989be4110..d489f00c7448 100644 --- a/development/julius/julius.SlackBuild +++ b/development/julius/julius.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for julius # Copyright (c) 2010 Roberto Metere. All rights reserved. -# roberto<at>metere<dot>it +# roberto<at>metere<dot>it # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are @@ -76,7 +76,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=$PKG/usr/man \ --build=$ARCH-slackware-linux -make +make make install find $PKG/usr/man -type f -exec gzip -9 {} \; diff --git a/development/kdesvn/kdesvn.SlackBuild b/development/kdesvn/kdesvn.SlackBuild index 0d0ff1a67762..ad3b7c739791 100644 --- a/development/kdesvn/kdesvn.SlackBuild +++ b/development/kdesvn/kdesvn.SlackBuild @@ -31,7 +31,6 @@ 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 @@ -55,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -70,7 +69,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -mkdir build +mkdir build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ diff --git a/development/kelbt/kelbt.SlackBuild b/development/kelbt/kelbt.SlackBuild index fd242cc7dd06..8640f5af5c56 100644 --- a/development/kelbt/kelbt.SlackBuild +++ b/development/kelbt/kelbt.SlackBuild @@ -53,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/kompozer/kompozer.SlackBuild b/development/kompozer/kompozer.SlackBuild index 415c686ee390..5dd861be0baa 100644 --- a/development/kompozer/kompozer.SlackBuild +++ b/development/kompozer/kompozer.SlackBuild @@ -25,7 +25,7 @@ OUTPUT=${OUTPUT:-/tmp} # http://sourceforge.net/projects/kompozer/files/ KOMPOZERLANG=${KOMPOZERLANG:-en-US} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/latrace/latrace.SlackBuild b/development/latrace/latrace.SlackBuild index 49ec7609e0e7..b6254102b3d6 100644 --- a/development/latrace/latrace.SlackBuild +++ b/development/latrace/latrace.SlackBuild @@ -14,12 +14,10 @@ VERSION=${VERSION:-0.5.11} 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 @@ -41,9 +39,9 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/ldns/ldns.SlackBuild b/development/ldns/ldns.SlackBuild index bcced58885cf..3bb9aaea1d3c 100644 --- a/development/ldns/ldns.SlackBuild +++ b/development/ldns/ldns.SlackBuild @@ -24,7 +24,7 @@ # SUCH DAMAGE. # ----------------------------------------------------------------------------- -# Slackware SlackBuild script +# Slackware SlackBuild script # =========================== # By: R. Andrew Bailey # For: ldns @@ -97,7 +97,7 @@ make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION -cd drill +cd drill CXXFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -119,7 +119,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; find $PKG/usr/man -type f -exec chmod 0644 {} \; -for i in $(find $PKG/usr/man -type l -name "*.?") ; do +for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/development/libxdg-basedir/libxdg-basedir.SlackBuild b/development/libxdg-basedir/libxdg-basedir.SlackBuild index 4ec556f6b612..768f1b218985 100644 --- a/development/libxdg-basedir/libxdg-basedir.SlackBuild +++ b/development/libxdg-basedir/libxdg-basedir.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-1.2.0} 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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/logisim/logisim.SlackBuild b/development/logisim/logisim.SlackBuild index 4a3a4682ee27..54eb860e8ebd 100644 --- a/development/logisim/logisim.SlackBuild +++ b/development/logisim/logisim.SlackBuild @@ -33,7 +33,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/luarocks/luarocks.SlackBuild b/development/luarocks/luarocks.SlackBuild index 6ef15172b5d0..391469e484de 100644 --- a/development/luarocks/luarocks.SlackBuild +++ b/development/luarocks/luarocks.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for LuaRocks -# Copyright 2012 evandrofisico +# Copyright 2012 evandrofisico # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/development/mlton/mlton.SlackBuild b/development/mlton/mlton.SlackBuild index 7cf5bbb870ec..0a9076c3f516 100644 --- a/development/mlton/mlton.SlackBuild +++ b/development/mlton/mlton.SlackBuild @@ -40,7 +40,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} case "$ARCH" in - i?86) LIBDIRSUFFIX="" + i?86) LIBDIRSUFFIX="" TARARCH="x86" ;; x86_64) LIBDIRSUFFIX="64" TARARCH="amd64" ;; diff --git a/development/mm-common/mm-common.SlackBuild b/development/mm-common/mm-common.SlackBuild index e9f07f2ccb78..d884ac10140b 100644 --- a/development/mm-common/mm-common.SlackBuild +++ b/development/mm-common/mm-common.SlackBuild @@ -77,7 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -# Ugly hack for things that look for /usr/share/glibmm-2.4/doctool +# Ugly hack for things that look for /usr/share/glibmm-2.4/doctool mkdir -p $PKG/usr/share/glibmm-2.4 ( cd $PKG/usr/share/glibmm-2.4 && ln -s /usr/share/mm-common/doctool doctool ) diff --git a/development/mono-debugger/mono-debugger.SlackBuild b/development/mono-debugger/mono-debugger.SlackBuild index 48d6c3fbc193..bae11dcea4cb 100644 --- a/development/mono-debugger/mono-debugger.SlackBuild +++ b/development/mono-debugger/mono-debugger.SlackBuild @@ -68,7 +68,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/development/mtasc/mtasc.SlackBuild b/development/mtasc/mtasc.SlackBuild index b3ea4d17f5e7..fac3797a781d 100644 --- a/development/mtasc/mtasc.SlackBuild +++ b/development/mtasc/mtasc.SlackBuild @@ -10,7 +10,7 @@ PRGNAM=mtasc VERSION=${VERSION:-1.15} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -21,7 +21,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/development/mtd-utils/mtd-utils.SlackBuild b/development/mtd-utils/mtd-utils.SlackBuild index 466a395771c1..8ba3264000e8 100644 --- a/development/mtd-utils/mtd-utils.SlackBuild +++ b/development/mtd-utils/mtd-utils.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.4.4} 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/development/newlisp/newlisp.SlackBuild b/development/newlisp/newlisp.SlackBuild index f6688626579b..359f4a5d461f 100644 --- a/development/newlisp/newlisp.SlackBuild +++ b/development/newlisp/newlisp.SlackBuild @@ -1,10 +1,10 @@ #!/bin/sh # # Written by Jockey S. Kyd (jockey dot kyd at gmail dot com) -# -# Latest version by Markus Hutmacher (markus dot hutmacher at gmail dot com) +# +# Latest version by Markus Hutmacher (markus dot hutmacher at gmail dot com) # May 2013 -# +# # Public domain # diff --git a/development/nexus/nexus.SlackBuild b/development/nexus/nexus.SlackBuild index 77d9eac0bac9..5155d1d07d59 100644 --- a/development/nexus/nexus.SlackBuild +++ b/development/nexus/nexus.SlackBuild @@ -56,7 +56,7 @@ else exit 1 fi -set -e +set -e # Check if the 'nexus' user & group exist: if [ "$(grep ^nexus /etc/passwd)" = "" -o "$(grep ^nexus /etc/group)" = "" ] ; then @@ -92,7 +92,7 @@ mv conf/* $PKG/etc/$PRGNAM mv bin/jsw/conf/* $PKG/etc/$PRGNAM mkdir -p $PKG/var/{lib,log,run,tmp}/$PRGNAM -ln -sf /etc/$PRGNAM $PKG/usr/share/$PRGNAM/conf +ln -sf /etc/$PRGNAM $PKG/usr/share/$PRGNAM/conf ln -sf /etc/$PRGNAM $PKG/usr/share/$PRGNAM/bin/jsw/conf ln -sf /var/tmp/$PRGNAM $PKG/usr/share/$PRGNAM/tmp ln -sf /var/log/$PRGNAM $PKG/usr/share/$PRGNAM/logs diff --git a/development/npm2tgz/npm2tgz.SlackBuild b/development/npm2tgz/npm2tgz.SlackBuild index 561c914fcc88..600e1c7d0366 100644 --- a/development/npm2tgz/npm2tgz.SlackBuild +++ b/development/npm2tgz/npm2tgz.SlackBuild @@ -18,7 +18,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/nqp/nqp.SlackBuild b/development/nqp/nqp.SlackBuild index 8e4078c23d0d..de3491887ab6 100644 --- a/development/nqp/nqp.SlackBuild +++ b/development/nqp/nqp.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -56,7 +56,7 @@ perl Configure.pl \ --with-parrot=/usr/bin/parrot make -j1 -make DESTDIR=$PKG install +make DESTDIR=$PKG install mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ diff --git a/development/nsis/nsis.SlackBuild b/development/nsis/nsis.SlackBuild index 12ea856ec622..886d2ad0601f 100644 --- a/development/nsis/nsis.SlackBuild +++ b/development/nsis/nsis.SlackBuild @@ -27,12 +27,10 @@ VERSION=2.46 BUILD=${BUILD:-3} 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 @@ -59,7 +57,7 @@ fi set -e rm -rf $TMP/$PRGNAM-$VERSION-src $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2 cd $PRGNAM-$VERSION-src diff --git a/development/nvi/nvi.SlackBuild b/development/nvi/nvi.SlackBuild index 210446351375..72ddaeee7354 100644 --- a/development/nvi/nvi.SlackBuild +++ b/development/nvi/nvi.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.81.6} 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/development/ola/ola.SlackBuild b/development/ola/ola.SlackBuild index ba63ecddc6fc..251cf664a0d8 100644 --- a/development/ola/ola.SlackBuild +++ b/development/ola/ola.SlackBuild @@ -39,7 +39,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -70,7 +70,7 @@ CXXFLAGS="-Wno-error=conversion $SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ - $BUILD_HTTP $BUILD_PYTHON + $BUILD_HTTP $BUILD_PYTHON make make install DESTDIR=$PKG diff --git a/development/osc/osc.SlackBuild b/development/osc/osc.SlackBuild index 564c0556e5d8..6fc51444a8ef 100644 --- a/development/osc/osc.SlackBuild +++ b/development/osc/osc.SlackBuild @@ -24,22 +24,20 @@ PRGNAM=osc VERSION=0.117 BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} set -e diff --git a/development/p4/p4.SlackBuild b/development/p4/p4.SlackBuild index c5fa68a93493..6e309fafde64 100644 --- a/development/p4/p4.SlackBuild +++ b/development/p4/p4.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-r10.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/development/p4v/p4v.SlackBuild b/development/p4v/p4v.SlackBuild index f1258bd3607d..6bb5be6295b6 100644 --- a/development/p4v/p4v.SlackBuild +++ b/development/p4v/p4v.SlackBuild @@ -63,7 +63,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/parrot/parrot.SlackBuild b/development/parrot/parrot.SlackBuild index 6ba1cf195240..9e2c3b60f546 100644 --- a/development/parrot/parrot.SlackBuild +++ b/development/parrot/parrot.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-5.4.0} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -62,8 +60,8 @@ perl Configure.pl \ --parrot_is_shared # --icu-config=/usr/bin/icu-config -make -make DESTDIR=$PKG install +make +make DESTDIR=$PKG install find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/development/patchutils/patchutils.SlackBuild b/development/patchutils/patchutils.SlackBuild index f54e9c7de4f9..c3579510b338 100644 --- a/development/patchutils/patchutils.SlackBuild +++ b/development/patchutils/patchutils.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for patchutils -# Copyright 2008-2012 Robby Workman, Northport, Alabama, USA +# Copyright 2008-2012 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.3.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 @@ -65,7 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -82,7 +80,7 @@ CFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/development/pd-psql/pd-psql.SlackBuild b/development/pd-psql/pd-psql.SlackBuild index 2f1611bb6955..d3fa38f26402 100644 --- a/development/pd-psql/pd-psql.SlackBuild +++ b/development/pd-psql/pd-psql.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for <pd-psql> # Written by Michales Michaloudes korgie@gmail.com -# Exit on most errors + set -e PRGNAM=pd-psql @@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then esac fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRCNAM=$(echo $PRGNAM | cut -f2 -d-) diff --git a/development/polyml/polyml.SlackBuild b/development/polyml/polyml.SlackBuild index 4ef18ccd525e..2c9aa7844f88 100644 --- a/development/polyml/polyml.SlackBuild +++ b/development/polyml/polyml.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-5.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 @@ -37,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -65,7 +63,7 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -# Strip binaries and libraries +# Strip binaries and libraries find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -82,7 +80,7 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Copy the slack-desc +# Copy the slack-desc mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/development/portaudio/portaudio.SlackBuild b/development/portaudio/portaudio.SlackBuild index 4e606c93e939..4e5102d71b4d 100644 --- a/development/portaudio/portaudio.SlackBuild +++ b/development/portaudio/portaudio.SlackBuild @@ -31,12 +31,10 @@ TAG=${TAG:-_SBo} # eek! SRCNAME="pa_stable_v19_20111121.tgz" -# 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/development/power-architect/power-architect.SlackBuild b/development/power-architect/power-architect.SlackBuild index 2b035ca9d793..14286a414ef8 100644 --- a/development/power-architect/power-architect.SlackBuild +++ b/development/power-architect/power-architect.SlackBuild @@ -36,7 +36,7 @@ OUTPUT=${OUTPUT:-/tmp} DOCS="LICENSE README.generic" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/processing/processing.SlackBuild b/development/processing/processing.SlackBuild index 99ec99951abb..14e71a90d69b 100644 --- a/development/processing/processing.SlackBuild +++ b/development/processing/processing.SlackBuild @@ -12,7 +12,6 @@ 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 @@ -22,9 +21,9 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $PKG/opt $OUTPUT tar xvf $CWD/$PRGNAM-$VERSION-linux.tgz -C $PKG/opt diff --git a/development/pyclewn/pyclewn.SlackBuild b/development/pyclewn/pyclewn.SlackBuild index 7520118be8d7..daee7dfb63cd 100644 --- a/development/pyclewn/pyclewn.SlackBuild +++ b/development/pyclewn/pyclewn.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.11.py2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} # the "_SBo" is required -# 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/pyenchant/pyenchant.SlackBuild b/development/pyenchant/pyenchant.SlackBuild index ea34748103a1..d19a5abdb6c5 100644 --- a/development/pyenchant/pyenchant.SlackBuild +++ b/development/pyenchant/pyenchant.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.6.5} 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/development/pylint/pylint.SlackBuild b/development/pylint/pylint.SlackBuild index 2b0f4224ef51..4a6660233196 100644 --- a/development/pylint/pylint.SlackBuild +++ b/development/pylint/pylint.SlackBuild @@ -13,7 +13,6 @@ 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/development/ragel/ragel.SlackBuild b/development/ragel/ragel.SlackBuild index 25a472698672..86a5ff7e4c8d 100644 --- a/development/ragel/ragel.SlackBuild +++ b/development/ragel/ragel.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="AUTHORS COPYING README TODO $PRGNAM.vim contrib/unicode2ragel.rb" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/rakudo/rakudo.SlackBuild b/development/rakudo/rakudo.SlackBuild index 287890e6bfec..608fb052ad2f 100644 --- a/development/rakudo/rakudo.SlackBuild +++ b/development/rakudo/rakudo.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -74,8 +74,8 @@ perl Configure.pl \ --with-parrot=/usr/bin/parrot \ --with-nqp=/usr/bin/nqp -make -make DESTDIR=$PKG install +make +make DESTDIR=$PKG install find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/development/rapidsvn/rapidsvn.SlackBuild b/development/rapidsvn/rapidsvn.SlackBuild index 7e6a884ce04e..e3f77df1df3c 100644 --- a/development/rapidsvn/rapidsvn.SlackBuild +++ b/development/rapidsvn/rapidsvn.SlackBuild @@ -39,7 +39,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/rarian/rarian.SlackBuild b/development/rarian/rarian.SlackBuild index e61db8501887..fb67eaa01c57 100644 --- a/development/rarian/rarian.SlackBuild +++ b/development/rarian/rarian.SlackBuild @@ -4,7 +4,7 @@ # Copyright (c) 2009 Andrzej Telszewski <atelszewski@gmail.com> # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: @@ -36,12 +36,10 @@ VERSION=${VERSION:-0.8.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/development/regexxer/regexxer.SlackBuild b/development/regexxer/regexxer.SlackBuild index c4ee2460657a..3c4826fcde2a 100644 --- a/development/regexxer/regexxer.SlackBuild +++ b/development/regexxer/regexxer.SlackBuild @@ -51,7 +51,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/development/regina-rexx/regina-rexx.SlackBuild b/development/regina-rexx/regina-rexx.SlackBuild index 0842efc18159..bc9368218a63 100644 --- a/development/regina-rexx/regina-rexx.SlackBuild +++ b/development/regina-rexx/regina-rexx.SlackBuild @@ -4,7 +4,7 @@ # Written by Diogo Leal (diogo@diogoleal.com) PRGNAM=regina-rexx -VERSION=${VERSION:-3.7} +VERSION=${VERSION:-3.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/development/scala/scala.SlackBuild b/development/scala/scala.SlackBuild index c44662b0bfa2..75ba84128010 100644 --- a/development/scala/scala.SlackBuild +++ b/development/scala/scala.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-2.7.7.final} 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/development/shed/shed.SlackBuild b/development/shed/shed.SlackBuild index d515912c5a63..e9febb00c514 100644 --- a/development/shed/shed.SlackBuild +++ b/development/shed/shed.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.15} 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 @@ -55,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/sloccount/sloccount.SlackBuild b/development/sloccount/sloccount.SlackBuild index 4b8b55311b49..5587b7e65384 100644 --- a/development/sloccount/sloccount.SlackBuild +++ b/development/sloccount/sloccount.SlackBuild @@ -10,12 +10,10 @@ VERSION=2.26 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/development/spice-protocol/spice-protocol.SlackBuild b/development/spice-protocol/spice-protocol.SlackBuild index 38bd5fbac7ac..c19ec86eca51 100644 --- a/development/spice-protocol/spice-protocol.SlackBuild +++ b/development/spice-protocol/spice-protocol.SlackBuild @@ -35,7 +35,7 @@ OUTPUT=${OUTPUT:-/tmp} DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/splint/splint.SlackBuild b/development/splint/splint.SlackBuild index 902cc2987223..80e5630c84d1 100644 --- a/development/splint/splint.SlackBuild +++ b/development/splint/splint.SlackBuild @@ -15,12 +15,10 @@ VERSION=3.1.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 @@ -48,7 +46,7 @@ fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.src.tgz cd $PRGNAM-$VERSION diff --git a/development/sqliteman/sqliteman.SlackBuild b/development/sqliteman/sqliteman.SlackBuild index cbe4b1e658a5..819b26439f11 100644 --- a/development/sqliteman/sqliteman.SlackBuild +++ b/development/sqliteman/sqliteman.SlackBuild @@ -26,12 +26,10 @@ VERSION=1.2.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/development/squeak-vm/squeak-vm.SlackBuild b/development/squeak-vm/squeak-vm.SlackBuild index 4d74200c101f..73e6ca841a68 100644 --- a/development/squeak-vm/squeak-vm.SlackBuild +++ b/development/squeak-vm/squeak-vm.SlackBuild @@ -55,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/stgit/stgit.SlackBuild b/development/stgit/stgit.SlackBuild index c4469d40f59c..203c509f699d 100644 --- a/development/stgit/stgit.SlackBuild +++ b/development/stgit/stgit.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.15} 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/development/sublime_text/sublime_text.SlackBuild b/development/sublime_text/sublime_text.SlackBuild index 4bdd59009539..8897642fcdbe 100644 --- a/development/sublime_text/sublime_text.SlackBuild +++ b/development/sublime_text/sublime_text.SlackBuild @@ -1,13 +1,13 @@ #!/bin/bash # Slackware build script for Sublime Text 2.0.1 -# Builds a Slackware package from the Sublime Text 2 binary tarballs. +# Builds a Slackware package from the Sublime Text 2 binary tarballs. # Anyone can freely modify and/or distribute this script without restrictions # # Written by Luke Williams ( xocel@iquidus.org ) PRGNAM=sublime_text -VERSION=${VERSION:-2.0.1} +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -28,7 +28,7 @@ TARBALL_x86="Sublime Text 2.0.1.tar.bz2" # Name of 32bit tarball TARBALL_x86_64="Sublime Text 2.0.1 x64.tar.bz2" # Name of 64bit tarball TARBALL_ROOT="Sublime Text 2" # Name of tarballs root directory -# Set LIBDIRSUFFIX and TARBALL. +# Set LIBDIRSUFFIX and TARBALL. if [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" TARBALL="$TARBALL_x86_64" diff --git a/development/swi-prolog/swi-prolog.SlackBuild b/development/swi-prolog/swi-prolog.SlackBuild index 09548b40968b..5c7c0171e7f2 100644 --- a/development/swi-prolog/swi-prolog.SlackBuild +++ b/development/swi-prolog/swi-prolog.SlackBuild @@ -97,7 +97,7 @@ CXXFLAGS="$SLKCFLAGS" \ --with-PDT \ --with-utf8proc \ --with-archive \ - --without-jpl + --without-jpl make all make install DESTDIR=$PKG cd - diff --git a/development/tcc/tcc.SlackBuild b/development/tcc/tcc.SlackBuild index 9536faef4062..b40801e6b20a 100644 --- a/development/tcc/tcc.SlackBuild +++ b/development/tcc/tcc.SlackBuild @@ -56,7 +56,7 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e diff --git a/development/tea/tea.SlackBuild b/development/tea/tea.SlackBuild index 79444ce236a6..2c5d7e10370c 100644 --- a/development/tea/tea.SlackBuild +++ b/development/tea/tea.SlackBuild @@ -49,7 +49,7 @@ find . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - + qmake \ "PREFIX=/usr/bin" \ "QMAKE_CXXFLAGS+=$SLKCFLAGS" \ diff --git a/development/tklib/tklib.SlackBuild b/development/tklib/tklib.SlackBuild index 4f62a73470f0..a7fd5092b6d3 100644 --- a/development/tklib/tklib.SlackBuild +++ b/development/tklib/tklib.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=tklib VERSION=0.5 BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -18,9 +18,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" diff --git a/development/valkyrie/valkyrie.SlackBuild b/development/valkyrie/valkyrie.SlackBuild index 6a488f119fde..597d3a69044d 100644 --- a/development/valkyrie/valkyrie.SlackBuild +++ b/development/valkyrie/valkyrie.SlackBuild @@ -48,10 +48,10 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" -else +else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e diff --git a/development/xemacs/xemacs.SlackBuild b/development/xemacs/xemacs.SlackBuild index caa33c456aa5..faddaf4a6669 100644 --- a/development/xemacs/xemacs.SlackBuild +++ b/development/xemacs/xemacs.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for XEmacs # Created by Sean MacLennan <xemacs@seanm.ca> -# Modified by Robby Workman <rworkman@slackbuilds.org> for +# Modified by Robby Workman <rworkman@slackbuilds.org> for # better consistency with existing SBo scripts... PRGNAM=xemacs diff --git a/development/xxdiff/xxdiff.SlackBuild b/development/xxdiff/xxdiff.SlackBuild index 1fa2301ff16c..6b14c8315d80 100644 --- a/development/xxdiff/xxdiff.SlackBuild +++ b/development/xxdiff/xxdiff.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-401} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild b/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild index 68f63a9cb31a..dfa7395d0d19 100644 --- a/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild +++ b/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild @@ -13,12 +13,10 @@ VERSION=${VERSION:-0.4} 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 @@ -42,7 +40,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild index 256f1533e078..76b596c2c3fc 100644 --- a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild +++ b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for Chatbot-Eliza +# Slackware build script for Chatbot-Eliza # Written by (Marco Cecchetti) (mrc.ildp@gmail.com) @@ -8,27 +8,25 @@ # Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com -PRGNAM=Chatbot-Eliza -VERSION=${VERSION:-1.04} +PRGNAM=Chatbot-Eliza +VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/FlightGear-data/FlightGear-data.SlackBuild b/games/FlightGear-data/FlightGear-data.SlackBuild index 677d438b30d6..d65d1f8eb9b6 100644 --- a/games/FlightGear-data/FlightGear-data.SlackBuild +++ b/games/FlightGear-data/FlightGear-data.SlackBuild @@ -7,12 +7,10 @@ VERSION=${VERSION:-2.12.0} 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/games/FlightGear/FlightGear.SlackBuild b/games/FlightGear/FlightGear.SlackBuild index f4f2667300b3..66bd820b88db 100644 --- a/games/FlightGear/FlightGear.SlackBuild +++ b/games/FlightGear/FlightGear.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-2.12.0} 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 @@ -61,7 +59,7 @@ cd build -DEVENT_INPUT:STRING="ON" \ -DFG_DATA_DIR=/usr/share/${PRGNAM} \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/games/KoboDeluxe/KoboDeluxe.SlackBuild b/games/KoboDeluxe/KoboDeluxe.SlackBuild index df7c95693c6e..5d28618c1504 100644 --- a/games/KoboDeluxe/KoboDeluxe.SlackBuild +++ b/games/KoboDeluxe/KoboDeluxe.SlackBuild @@ -18,10 +18,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=KoboDeluxe +PRGNAM=KoboDeluxe VERSION=0.5.1 BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -32,9 +32,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" diff --git a/games/PyLotRO/PyLotRO.SlackBuild b/games/PyLotRO/PyLotRO.SlackBuild index fd9e86c26f61..89bd840a68cb 100644 --- a/games/PyLotRO/PyLotRO.SlackBuild +++ b/games/PyLotRO/PyLotRO.SlackBuild @@ -26,12 +26,10 @@ VERSION=${VERSION:-0.1.15} 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/games/advancemame/advancemame.SlackBuild b/games/advancemame/advancemame.SlackBuild index 56a2cbb0680e..d15ad3212f9a 100644 --- a/games/advancemame/advancemame.SlackBuild +++ b/games/advancemame/advancemame.SlackBuild @@ -9,12 +9,10 @@ VERSION=0.106.0 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/games/advancescan/advancescan.SlackBuild b/games/advancescan/advancescan.SlackBuild index 6d4c39efb961..c0264c4a10e2 100644 --- a/games/advancescan/advancescan.SlackBuild +++ b/games/advancescan/advancescan.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.14} 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/games/an/an.SlackBuild b/games/an/an.SlackBuild index 1773ae74f2f0..9b6fccfe7ff3 100644 --- a/games/an/an.SlackBuild +++ b/games/an/an.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-0.95_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/games/bloodfrontier/bloodfrontier.SlackBuild b/games/bloodfrontier/bloodfrontier.SlackBuild index 009392234ddb..76d60e2189ff 100644 --- a/games/bloodfrontier/bloodfrontier.SlackBuild +++ b/games/bloodfrontier/bloodfrontier.SlackBuild @@ -45,7 +45,7 @@ else SLKLDFLAGS="-L/usr/lib -L/lib" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/bluemoon/bluemoon.SlackBuild b/games/bluemoon/bluemoon.SlackBuild index f6d875d27b6e..d6c89aa78f7b 100644 --- a/games/bluemoon/bluemoon.SlackBuild +++ b/games/bluemoon/bluemoon.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.3.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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/brainparty/brainparty.SlackBuild b/games/brainparty/brainparty.SlackBuild index 6b8507032583..aeb2d15c27f6 100644 --- a/games/brainparty/brainparty.SlackBuild +++ b/games/brainparty/brainparty.SlackBuild @@ -9,12 +9,10 @@ VERSION=0.61 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/games/brickout/brickout.SlackBuild b/games/brickout/brickout.SlackBuild index 8e9d3ea79700..f2341e456237 100644 --- a/games/brickout/brickout.SlackBuild +++ b/games/brickout/brickout.SlackBuild @@ -13,12 +13,10 @@ VERSION=$( echo $SRCVER | sed 's/\.//g' ) 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/games/brutalchess/brutalchess.SlackBuild b/games/brutalchess/brutalchess.SlackBuild index c85cef6f8760..feb6a36dfd8e 100644 --- a/games/brutalchess/brutalchess.SlackBuild +++ b/games/brutalchess/brutalchess.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.5.2 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/games/bzflag/bzflag.SlackBuild b/games/bzflag/bzflag.SlackBuild index 266770b91a23..0c2700f0e52d 100644 --- a/games/bzflag/bzflag.SlackBuild +++ b/games/bzflag/bzflag.SlackBuild @@ -29,12 +29,10 @@ VERSION=2.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/games/circuslinux/circuslinux.SlackBuild b/games/circuslinux/circuslinux.SlackBuild index c04f8d4b5fa5..309378f85170 100644 --- a/games/circuslinux/circuslinux.SlackBuild +++ b/games/circuslinux/circuslinux.SlackBuild @@ -12,12 +12,10 @@ VERSION=${VERSION:-1.0.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 diff --git a/games/cowsay/cowsay.SlackBuild b/games/cowsay/cowsay.SlackBuild index fc69ab256e5b..27557bce63ca 100644 --- a/games/cowsay/cowsay.SlackBuild +++ b/games/cowsay/cowsay.SlackBuild @@ -17,7 +17,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/dgen/dgen.SlackBuild b/games/dgen/dgen.SlackBuild index d2dfcd3306ea..4b08e5894932 100644 --- a/games/dgen/dgen.SlackBuild +++ b/games/dgen/dgen.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.31} 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/games/digger/digger.SlackBuild b/games/digger/digger.SlackBuild index 4e311773705c..e5fa29c1b14b 100644 --- a/games/digger/digger.SlackBuild +++ b/games/digger/digger.SlackBuild @@ -1,11 +1,11 @@ #!/bin/sh # Slackware build script for digger -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. PRGNAM=digger diff --git a/games/doomseeker/doomseeker.SlackBuild b/games/doomseeker/doomseeker.SlackBuild index 04097d36ba51..747585dddea6 100644 --- a/games/doomseeker/doomseeker.SlackBuild +++ b/games/doomseeker/doomseeker.SlackBuild @@ -64,7 +64,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install/strip DESTDIR=$PKG cd .. diff --git a/games/dopewars/dopewars.SlackBuild b/games/dopewars/dopewars.SlackBuild index 3ffeed440b59..03c46e1e7474 100644 --- a/games/dopewars/dopewars.SlackBuild +++ b/games/dopewars/dopewars.SlackBuild @@ -14,12 +14,10 @@ VERSION=${VERSION:-1.5.12} 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 @@ fi DOCS="NEWS TODO README AUTHORS INSTALL ChangeLog COPYING" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild index 469eac580588..d1f80cf8b7f1 100644 --- a/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild +++ b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild @@ -34,7 +34,7 @@ chown -R root:root . find . -type d | xargs chmod 755 find . -type f | xargs chmod 644 -mkdir -p $PKG/usr/share/games/eduke32 +mkdir -p $PKG/usr/share/games/eduke32 mv autoload $PKG/usr/share/games/eduke32/autoload mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/games/einstein/einstein.SlackBuild b/games/einstein/einstein.SlackBuild index e9d376e0cec0..f6d3bb86fce9 100644 --- a/games/einstein/einstein.SlackBuild +++ b/games/einstein/einstein.SlackBuild @@ -27,12 +27,10 @@ VERSION=2.0 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/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild index d064a24c04b3..f1d02218ef09 100644 --- a/games/fceux/fceux.SlackBuild +++ b/games/fceux/fceux.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/fgrun/fgrun.SlackBuild b/games/fgrun/fgrun.SlackBuild index d9774ece8ae7..fb7e86dc9b0a 100644 --- a/games/fgrun/fgrun.SlackBuild +++ b/games/fgrun/fgrun.SlackBuild @@ -73,7 +73,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DSIMGEAR_SHARED=ON \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/games/firestorm-opensim/firestorm-opensim.SlackBuild b/games/firestorm-opensim/firestorm-opensim.SlackBuild index 0849ffccf8e7..32f52f0c8836 100644 --- a/games/firestorm-opensim/firestorm-opensim.SlackBuild +++ b/games/firestorm-opensim/firestorm-opensim.SlackBuild @@ -24,11 +24,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# NOTE: this SlackBuild is made for the Opensim release of Firestorm. +# NOTE: this SlackBuild is made for the Opensim release of Firestorm. # It can be used for the Second Life main grid and beta grid as well. # However, if you require those features specific to the Havoc release # of Firestorm you should build the standard release of Firestorm -# for which a separate package is available. +# for which a separate package is available. # Both packages can be installed in parallel on the same installation. @@ -103,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
\ No newline at end of file +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/firestorm/firestorm.SlackBuild b/games/firestorm/firestorm.SlackBuild index 5e5f02cd144d..840e996474c3 100644 --- a/games/firestorm/firestorm.SlackBuild +++ b/games/firestorm/firestorm.SlackBuild @@ -28,7 +28,7 @@ # Due to licensing reasons, this version can only be used for the # Second Life main grid and beta grid. If you want to connect to an # open sim you must use the Opensim release of Firestorm for which -# a separate package is available. +# a separate package is available. # Both packages can be installed in parallel on the same installation. @@ -103,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
\ No newline at end of file +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/fortune_firefly/fortune_firefly.SlackBuild b/games/fortune_firefly/fortune_firefly.SlackBuild index 79e60c14e426..c97d65057e4c 100644 --- a/games/fortune_firefly/fortune_firefly.SlackBuild +++ b/games/fortune_firefly/fortune_firefly.SlackBuild @@ -24,7 +24,7 @@ OUTPUT=${OUTPUT:-/tmp} set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $PKG $OUTPUT mkdir -p $PKG/usr/share/games/fortunes diff --git a/games/freedoom/freedoom.SlackBuild b/games/freedoom/freedoom.SlackBuild index 0a1f01bae125..5e2608417318 100644 --- a/games/freedoom/freedoom.SlackBuild +++ b/games/freedoom/freedoom.SlackBuild @@ -39,7 +39,7 @@ for zipfile in $PRGNAM-iwad $PRGNAM-ultimate freedm; do done # Rename to avoid conflicts with id software's doom.wad and doom2.wad. -# zdoom will correctly find the files with these names, according to +# zdoom will correctly find the files with these names, according to # http://remilia.zdoom.org/wiki/IWAD cd $PKG/usr/share/games/doom diff --git a/games/gargoyle/gargoyle.SlackBuild b/games/gargoyle/gargoyle.SlackBuild index 64720bf2c5c9..13722f8e8113 100644 --- a/games/gargoyle/gargoyle.SlackBuild +++ b/games/gargoyle/gargoyle.SlackBuild @@ -4,7 +4,7 @@ # Written by Dugan Chen (thedoogster@gmail.com) -PRGNAM=gargoyle +PRGNAM=gargoyle VERSION=${VERSION:-2011.1} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} diff --git a/games/gl-117/gl-117.SlackBuild b/games/gl-117/gl-117.SlackBuild index 8d9f948dff9a..372579e51788 100644 --- a/games/gl-117/gl-117.SlackBuild +++ b/games/gl-117/gl-117.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.3.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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/glbsp/glbsp.SlackBuild b/games/glbsp/glbsp.SlackBuild index 1f4e8b810f7c..9986873f91b4 100644 --- a/games/glbsp/glbsp.SlackBuild +++ b/games/glbsp/glbsp.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-2.24} 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/games/gnuski/gnuski.SlackBuild b/games/gnuski/gnuski.SlackBuild index 133ac74ff39e..499c436c0ecd 100644 --- a/games/gnuski/gnuski.SlackBuild +++ b/games/gnuski/gnuski.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.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 diff --git a/games/golly/golly.SlackBuild b/games/golly/golly.SlackBuild index bab8f8dadea8..3363c45661c9 100644 --- a/games/golly/golly.SlackBuild +++ b/games/golly/golly.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh - + # Slackware build script for golly - + # Copyright 2012, Glenn Becker, Arlington MA USA # All rights reserved. # @@ -21,12 +21,12 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + PRGNAM=golly VERSION=${VERSION:-2.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} - + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -34,12 +34,12 @@ if [ -z "$ARCH" ]; then *) ARCH=$( uname -m ) ;; esac fi - + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} - + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -53,9 +53,9 @@ else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi - + set -e - + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -69,7 +69,7 @@ find . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -80,32 +80,32 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux - + make make install DESTDIR=$PKG - + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - + for i in 16 32 48; do convert appicon${i}.ico -resize ${i}x${i}! $PRGNAM-${i}.png mkdir -p $PKG/usr/share/icons/hicolor/${i}x${i}/apps/ install -D -m 0644 $PRGNAM-${i}.png \ $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png done - + convert appicon.xpm $PRGNAM.png install -D -m 0644 $PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png - + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ LICENSE README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - + mkdir $PKG/usr/share/applications cat $CWD/golly.desktop > $PKG/usr/share/applications/golly.desktop - + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/games/hedgewars/hedgewars.SlackBuild b/games/hedgewars/hedgewars.SlackBuild index 141352c52137..05d7e1cf3f4c 100644 --- a/games/hedgewars/hedgewars.SlackBuild +++ b/games/hedgewars/hedgewars.SlackBuild @@ -17,10 +17,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=hedgewars -VERSION=${VERSION:-0.9.19.3} +PRGNAM=hedgewars +VERSION=${VERSION:-0.9.19.3} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -31,7 +31,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/hex-a-hop/hex-a-hop.SlackBuild b/games/hex-a-hop/hex-a-hop.SlackBuild index 2309e6b94575..73820644a021 100644 --- a/games/hex-a-hop/hex-a-hop.SlackBuild +++ b/games/hex-a-hop/hex-a-hop.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.1.0} 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/games/higan/higan.SlackBuild b/games/higan/higan.SlackBuild index b0c69256da1e..5e278ff56cb1 100644 --- a/games/higan/higan.SlackBuild +++ b/games/higan/higan.SlackBuild @@ -95,7 +95,7 @@ make \ phoenix="$INTERFACE" \ profile="$PROFILE" -make install DESTDIR=$PKG prefix=/usr platform=x profile=$PROFILE +make install DESTDIR=$PKG prefix=/usr platform=x profile=$PROFILE # Compile ananke (tool to import ROM game files into the higan library). make -C ananke \ diff --git a/games/hnefatafl/hnefatafl.SlackBuild b/games/hnefatafl/hnefatafl.SlackBuild index 3e0af446a39f..c465370f48eb 100644 --- a/games/hnefatafl/hnefatafl.SlackBuild +++ b/games/hnefatafl/hnefatafl.SlackBuild @@ -13,7 +13,6 @@ VERSION=${VERSION:-130920} 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 ;; diff --git a/games/icebreaker/icebreaker.SlackBuild b/games/icebreaker/icebreaker.SlackBuild index 50c279cd4235..d06934c89fc5 100644 --- a/games/icebreaker/icebreaker.SlackBuild +++ b/games/icebreaker/icebreaker.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-1.2.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/games/jfsw/jfsw.SlackBuild b/games/jfsw/jfsw.SlackBuild index e42b3e4984ee..0abd371f2b89 100644 --- a/games/jfsw/jfsw.SlackBuild +++ b/games/jfsw/jfsw.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-20051009} 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/games/jin/jin.SlackBuild b/games/jin/jin.SlackBuild index cb249b1fd3df..1c543d91d765 100644 --- a/games/jin/jin.SlackBuild +++ b/games/jin/jin.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for jin +# Slackware build script for jin # # Copyright 2012 Edward W. Koenig Vancouver, WA, USA # All rights reserved. @@ -23,9 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # Version 1.0 07-OCT-2012 <kingbeowulf@gmail.com> -# -# This is just a repackaging of the original unix tar.gz from -# http://www.jinchess.com +# +# This is just a repackaging of the original unix tar.gz from +# http://www.jinchess.com set -e diff --git a/games/jzintv/jzintv.SlackBuild b/games/jzintv/jzintv.SlackBuild index b385c15d0a21..71a6ce6418a4 100644 --- a/games/jzintv/jzintv.SlackBuild +++ b/games/jzintv/jzintv.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-r1007} 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/games/kildclient/kildclient.SlackBuild b/games/kildclient/kildclient.SlackBuild index 67176221e9fe..8d14459dd02b 100644 --- a/games/kildclient/kildclient.SlackBuild +++ b/games/kildclient/kildclient.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/koules/koules.SlackBuild b/games/koules/koules.SlackBuild index db2c322f451f..2832a5aeba8f 100644 --- a/games/koules/koules.SlackBuild +++ b/games/koules/koules.SlackBuild @@ -15,12 +15,10 @@ VERSION=${VERSION:-1.4} 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/games/lbreakout2/lbreakout2.SlackBuild b/games/lbreakout2/lbreakout2.SlackBuild index e3c6d49a04c7..905b29d13c78 100644 --- a/games/lbreakout2/lbreakout2.SlackBuild +++ b/games/lbreakout2/lbreakout2.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.6.3} 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/games/lincity-ng/lincity-ng.SlackBuild b/games/lincity-ng/lincity-ng.SlackBuild index fba802c42d3d..8615d3a03dfa 100644 --- a/games/lincity-ng/lincity-ng.SlackBuild +++ b/games/lincity-ng/lincity-ng.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-2.0} 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/games/loemu/loemu.SlackBuild b/games/loemu/loemu.SlackBuild index 059ff1c57b5a..6bd59b857e68 100644 --- a/games/loemu/loemu.SlackBuild +++ b/games/loemu/loemu.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.3.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/games/m64py/m64py.SlackBuild b/games/m64py/m64py.SlackBuild index ac0a05381d1c..2a6b621c3246 100644 --- a/games/m64py/m64py.SlackBuild +++ b/games/m64py/m64py.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/micropolis/micropolis.SlackBuild b/games/micropolis/micropolis.SlackBuild index 9a188e8ed42f..e7b81471014d 100644 --- a/games/micropolis/micropolis.SlackBuild +++ b/games/micropolis/micropolis.SlackBuild @@ -30,12 +30,10 @@ VERSION=20100418 BUILD=${BUILD:-3} 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/games/mupen64plus/mupen64plus.SlackBuild b/games/mupen64plus/mupen64plus.SlackBuild index 7e8f4814e269..28b12f147870 100644 --- a/games/mupen64plus/mupen64plus.SlackBuild +++ b/games/mupen64plus/mupen64plus.SlackBuild @@ -50,10 +50,10 @@ find . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./m64p_build.sh V=1 +./m64p_build.sh V=1 ./m64p_install.sh PREFIX=/usr LIBDIR=/usr/lib${LBIDIRSUFFIX} MANDIR=/usr/man DESTDIR=$PKG find $PKG/usr/man -type f -exec gzip -9 {} \; diff --git a/games/nexuiz/nexuiz.SlackBuild b/games/nexuiz/nexuiz.SlackBuild index e0ee9bae7203..487945ef7e35 100644 --- a/games/nexuiz/nexuiz.SlackBuild +++ b/games/nexuiz/nexuiz.SlackBuild @@ -108,7 +108,7 @@ chmod 755 $PKG/usr/share/games/nexuiz/* mkdir -p $PKG/usr/games -# The launchers for the sdl and glx binaries automatically detect +# The launchers for the sdl and glx binaries automatically detect # the architecture. The launchers for the dedicated server do not. cp $CWD/nexuiz-glx $PKG/usr/games/ cp $CWD/nexuiz-sdl $PKG/usr/games/ diff --git a/games/openarena/openarena.SlackBuild b/games/openarena/openarena.SlackBuild index ac82ea607c99..a2b5bc64a19b 100644 --- a/games/openarena/openarena.SlackBuild +++ b/games/openarena/openarena.SlackBuild @@ -58,7 +58,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e # Keep the following for future patches. Based on past history, this # is inevitable. diff --git a/games/openmsx-catapult/openmsx-catapult.SlackBuild b/games/openmsx-catapult/openmsx-catapult.SlackBuild index 8452700450df..2aa2e4393d64 100644 --- a/games/openmsx-catapult/openmsx-catapult.SlackBuild +++ b/games/openmsx-catapult/openmsx-catapult.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.9.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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/openmsx/openmsx.SlackBuild b/games/openmsx/openmsx.SlackBuild index f07b991c3214..43c407d0e304 100644 --- a/games/openmsx/openmsx.SlackBuild +++ b/games/openmsx/openmsx.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.9.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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/pcsxr/pcsxr.SlackBuild b/games/pcsxr/pcsxr.SlackBuild index 9dc01f917c5b..5c4c8e466daa 100644 --- a/games/pcsxr/pcsxr.SlackBuild +++ b/games/pcsxr/pcsxr.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.9.92} BUILD=${BUILD:-3} 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 @@ -67,7 +65,7 @@ LDFLAGS="$SLKLDFLAGS" \ --enable-libcdio \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/*.? diff --git a/games/pengupop/pengupop.SlackBuild b/games/pengupop/pengupop.SlackBuild index e5905efcb9e7..60c7ac071360 100644 --- a/games/pengupop/pengupop.SlackBuild +++ b/games/pengupop/pengupop.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.2.5} 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/games/qjoypad/qjoypad.SlackBuild b/games/qjoypad/qjoypad.SlackBuild index 9bb0bc271196..dc367edae85d 100644 --- a/games/qjoypad/qjoypad.SlackBuild +++ b/games/qjoypad/qjoypad.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-4.1.0} 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/games/rejoystick/rejoystick.SlackBuild b/games/rejoystick/rejoystick.SlackBuild index 841813cda533..5aae60fbf7b9 100644 --- a/games/rejoystick/rejoystick.SlackBuild +++ b/games/rejoystick/rejoystick.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.8.1} 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/games/residualvm/residualvm.SlackBuild b/games/residualvm/residualvm.SlackBuild index bbfe6b85a3ee..4d2e31555c69 100644 --- a/games/residualvm/residualvm.SlackBuild +++ b/games/residualvm/residualvm.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/scid/scid.SlackBuild b/games/scid/scid.SlackBuild index ad8bbb2ac03e..147f97a6a3e6 100644 --- a/games/scid/scid.SlackBuild +++ b/games/scid/scid.SlackBuild @@ -58,7 +58,7 @@ sed -i -e "s/tclsh8.5;/tclsh;/" configure SHAREDIR="/usr/share/scid" \ OPTIMIZE="$SLKCFLAGS -fno-rtti -fno-exceptions" -make all_scid +make all_scid make strip make install_scid DESTDIR=$PKG @@ -67,22 +67,22 @@ if [ -f $CWD/scidlet40k.zip ] ; then mkdir -p $PKG/usr/share/scid/books unzip $CWD/scidlet40k.zip -d $PKG/usr/share/scid/books fi -if [ -f $CWD/ratings_2008_4.zip ] ; then +if [ -f $CWD/ratings_2008_4.zip ] ; then mkdir -p $PKG/usr/share/scid/data unzip $CWD/ratings_2008_4.zip -d $PKG/usr/share/scid/data fi -if [ -f $CWD/photos2007.zip ] ; then +if [ -f $CWD/photos2007.zip ] ; then mkdir -p $PKG/usr/share/scid/photos unzip $CWD/photos2007.zip -d $PKG/usr/share/scid/photos fi -# Fix some permissions +# Fix some permissions find $PKG/usr/share/scid -type d -exec chmod 0755 {} \; find $PKG/usr/share/scid -type f -exec chmod 0644 {} \; # We're going to diverge from upstream a bit in location but not functionality # This will require users to be in the 'games' group for write permissions -mkdir -p $PKG/var/games/scid +mkdir -p $PKG/var/games/scid mv $PKG/usr/share/scid/{bases,books} $PKG/var/games/scid chown -R root:games $PKG/var/games/scid find $PKG/var/games/scid -type d -exec chmod 2775 {} \; @@ -103,7 +103,7 @@ cd $PKG/usr/man/man1 sed "s%@VERSION@%$VERSION%g" $CWD/scid.1 | gzip -9c > scid.1.gz for i in \ sc_remote scmerge pgnscid sc_spell spliteco sc_eco sc_tree scidpgn pgnfix \ - tkscid sc_epgn sc_addmove tcscid sc_import scidlet scidt ; + tkscid sc_epgn sc_addmove tcscid sc_import scidlet scidt ; do ln -s scid.1.gz $i.1.gz done cd - diff --git a/games/scribble/scribble.SlackBuild b/games/scribble/scribble.SlackBuild index 725baa36a244..df0d1db1408c 100644 --- a/games/scribble/scribble.SlackBuild +++ b/games/scribble/scribble.SlackBuild @@ -16,7 +16,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $TMP/$PRGNAM $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/smc_music/smc_music.SlackBuild b/games/smc_music/smc_music.SlackBuild index 987ca1c5bf91..e5692e7bf6cf 100644 --- a/games/smc_music/smc_music.SlackBuild +++ b/games/smc_music/smc_music.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for +# Slackware build script for # smc_music (Secret Maryo Chronicles Music Pack) # Written by Phillip Warner <pc_warner@yahoo.com> diff --git a/games/smokinguns/smokinguns.SlackBuild b/games/smokinguns/smokinguns.SlackBuild index 9c4fd7920abd..b6875c4d0ab2 100644 --- a/games/smokinguns/smokinguns.SlackBuild +++ b/games/smokinguns/smokinguns.SlackBuild @@ -36,7 +36,7 @@ OUTPUT=${OUTPUT:-/tmp} # No flags/configure needed as it is just a binary repackaging. -set -e # Exit on most errors. +set -e rm -rf $PKG mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT diff --git a/games/snes9x/snes9x.SlackBuild b/games/snes9x/snes9x.SlackBuild index 46db75460e45..26e88a5cd1d7 100644 --- a/games/snes9x/snes9x.SlackBuild +++ b/games/snes9x/snes9x.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-1.53} 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/games/spring/spring.SlackBuild b/games/spring/spring.SlackBuild index cfae353279f8..f651e1fb165a 100644 --- a/games/spring/spring.SlackBuild +++ b/games/spring/spring.SlackBuild @@ -21,7 +21,7 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # Script modified by Juan Pablo Cordova E. (jpcordovae@gmail.com) # # diff --git a/games/supertux/supertux.SlackBuild b/games/supertux/supertux.SlackBuild index 9cc59dd13e08..1996b1c2aa29 100644 --- a/games/supertux/supertux.SlackBuild +++ b/games/supertux/supertux.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.1.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 @@ -54,7 +52,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION diff --git a/games/supertux2/supertux2.SlackBuild b/games/supertux2/supertux2.SlackBuild index d02c12473c56..0efbbabc21e6 100644 --- a/games/supertux2/supertux2.SlackBuild +++ b/games/supertux2/supertux2.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=supertux2 +PRGNAM=supertux2 VERSION=${VERSION:-0.3.3} BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} SRCNAM=supertux @@ -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" @@ -73,7 +73,7 @@ find . \ patch -p1 < $CWD/remove-curl-types_h-usage.patch patch -p1 < $CWD/supertux2-0.3.3-gcc46.patch -patch -p1 < $CWD/supertux2-0.3.3-squirrel-gcc47.patch +patch -p1 < $CWD/supertux2-0.3.3-squirrel-gcc47.patch mkdir -p build cd build @@ -85,7 +85,7 @@ cd build -DINSTALL_SUBDIR_SHARE=share/games/$PRGNAM \ -DINSTALL_SUBDIR_DOC=doc/$PRGNAM-$VERSION \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/games/tintin/tintin.SlackBuild b/games/tintin/tintin.SlackBuild index 1b41c46138fb..66b9c396ac7c 100644 --- a/games/tintin/tintin.SlackBuild +++ b/games/tintin/tintin.SlackBuild @@ -1,9 +1,9 @@ #!/bin/sh # Slackware build script for tintin++ -PRGNAM=tintin -VERSION=${VERSION:-2.00.9} +PRGNAM=tintin +VERSION=${VERSION:-2.00.9} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/games/tmw/tmw.SlackBuild b/games/tmw/tmw.SlackBuild index 7f53378a6595..0fd49accc333 100644 --- a/games/tmw/tmw.SlackBuild +++ b/games/tmw/tmw.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.0.29.1 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/games/tong/tong.SlackBuild b/games/tong/tong.SlackBuild index bda5b7e6e8f7..5ff079094d9a 100644 --- a/games/tong/tong.SlackBuild +++ b/games/tong/tong.SlackBuild @@ -30,12 +30,10 @@ VERSION=${VERSION:-1.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) export ARCH=i486 ;; arm*) export ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; esac fi diff --git a/games/trackballs/trackballs.SlackBuild b/games/trackballs/trackballs.SlackBuild index 4dfee298a716..106d68071bdb 100644 --- a/games/trackballs/trackballs.SlackBuild +++ b/games/trackballs/trackballs.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-1.1.4} 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/games/tt/tt.SlackBuild b/games/tt/tt.SlackBuild index 3776024ece17..2f1ea1f16880 100644 --- a/games/tt/tt.SlackBuild +++ b/games/tt/tt.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="Attrib Meista NEWS Notes Porting README Testimonial Score" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/tuxnes/tuxnes.SlackBuild b/games/tuxnes/tuxnes.SlackBuild index 3f866ab77f12..2c619f426cab 100644 --- a/games/tuxnes/tuxnes.SlackBuild +++ b/games/tuxnes/tuxnes.SlackBuild @@ -9,12 +9,10 @@ VERSION=0.75 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/games/ufoai/ufoai.SlackBuild b/games/ufoai/ufoai.SlackBuild index 901b5abacb6c..a01688203224 100644 --- a/games/ufoai/ufoai.SlackBuild +++ b/games/ufoai/ufoai.SlackBuild @@ -86,7 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-ufo \ --enable-ufoded \ --enable-ufoslicer \ - $radiant + $radiant make make lang @@ -104,7 +104,7 @@ if [ "$radiant" = "--enable-uforadiant" ]; then BINARIES="radiant/uforadiant" fi -# ...then the binaries +# ...then the binaries BINARIES="$BINARIES ufo ufoded ufo2map ufomodel memory ufoslicer" install -m 0755 $BINARIES $PKG/usr/bin/ diff --git a/games/vectoroids/vectoroids.SlackBuild b/games/vectoroids/vectoroids.SlackBuild index 527b62f619a8..2d778a266168 100644 --- a/games/vectoroids/vectoroids.SlackBuild +++ b/games/vectoroids/vectoroids.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-1.1.0} 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/games/worldofgoo/worldofgoo.SlackBuild b/games/worldofgoo/worldofgoo.SlackBuild index 7a816b6e1084..1ab49cb48187 100644 --- a/games/worldofgoo/worldofgoo.SlackBuild +++ b/games/worldofgoo/worldofgoo.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for World of Goo (demo). - + # Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.41} 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/games/worldofpadman/worldofpadman.SlackBuild b/games/worldofpadman/worldofpadman.SlackBuild index bc8326844182..e310ee5d007a 100644 --- a/games/worldofpadman/worldofpadman.SlackBuild +++ b/games/worldofpadman/worldofpadman.SlackBuild @@ -44,7 +44,7 @@ OUTPUT=${OUTPUT:-/tmp} # No flags/configure needed as it is just a binary repackaging. -set -e # Exit on most errors. +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/xcowsay/xcowsay.SlackBuild b/games/xcowsay/xcowsay.SlackBuild index e33a59658277..2ce7d0bf51fb 100644 --- a/games/xcowsay/xcowsay.SlackBuild +++ b/games/xcowsay/xcowsay.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-1.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 diff --git a/games/xskat/xskat.SlackBuild b/games/xskat/xskat.SlackBuild index 732b446be726..ece00b59f0c2 100644 --- a/games/xskat/xskat.SlackBuild +++ b/games/xskat/xskat.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xskat -# Written by Jan Herrygers - janherrygers at dommel dot be +# Written by Jan Herrygers - janherrygers at dommel dot be # Slackbuild for xskat version 4.0 21/08/2008 # Copyright 2008 Jan Herrygers @@ -57,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/games/z26/z26.SlackBuild b/games/z26/z26.SlackBuild index 81c6746ed9d2..e45e5197b90b 100644 --- a/games/z26/z26.SlackBuild +++ b/games/z26/z26.SlackBuild @@ -20,12 +20,10 @@ TAG=${TAG:-_SBo} SNAPVER=${SNAPVER:-${PRGNAM}_snapshot-20040523} TARBALL=${TARBALL:-${PRGNAM}v213.tar.gz} -# 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/games/zsnes/zsnes.SlackBuild b/games/zsnes/zsnes.SlackBuild index 089a46a2d7a1..9a2a1a2925a3 100644 --- a/games/zsnes/zsnes.SlackBuild +++ b/games/zsnes/zsnes.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} ZSNESSRC="$(echo $VERSION | tr -d .)src" ZSNESDIR="_$(echo $VERSION | tr . _)" -# 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/graphics/FreeCAD/FreeCAD.SlackBuild b/graphics/FreeCAD/FreeCAD.SlackBuild index 2cfa7a1a0b8f..786d06737154 100644 --- a/graphics/FreeCAD/FreeCAD.SlackBuild +++ b/graphics/FreeCAD/FreeCAD.SlackBuild @@ -84,7 +84,7 @@ do done # these patch contain some code taken from upstream -# thanks to cbuehler +# thanks to cbuehler patch -p1 -i $CWD/freecad-0.13.diff mkdir build diff --git a/graphics/GPS/GPS.SlackBuild b/graphics/GPS/GPS.SlackBuild index f45c7671af96..6dd9e48536ca 100644 --- a/graphics/GPS/GPS.SlackBuild +++ b/graphics/GPS/GPS.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for GIMP Paint Studio -# Written by klaatu +# Written by klaatu # klaatu at the domain of member.fsf.org PRGNAM=GPS diff --git a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild index 73df8491ac5b..ebc38be4d5d9 100644 --- a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild +++ b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/HotShots/HotShots.SlackBuild b/graphics/HotShots/HotShots.SlackBuild index fa9fce281915..c79e9beded7f 100644 --- a/graphics/HotShots/HotShots.SlackBuild +++ b/graphics/HotShots/HotShots.SlackBuild @@ -84,7 +84,7 @@ sed -i "s!/usr/include/qxt/!/usr/include/!g" CMakeLists.txt -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release . - make + make make install DESTDIR=$PKG cd .. diff --git a/graphics/dcraw/dcraw.SlackBuild b/graphics/dcraw/dcraw.SlackBuild index 037853ed9c86..7939322e5784 100644 --- a/graphics/dcraw/dcraw.SlackBuild +++ b/graphics/dcraw/dcraw.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for dcraw # Home Page http://cybercom.net/~dcoffin/dcraw -# 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. @@ -34,12 +34,10 @@ VERSION=${VERSION:-9.19} 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 @@ -81,7 +79,7 @@ fi # builds with support for jpeg, png, lcms and tiff and optionally, jasper DCRAW_BUILD_FLAGS="-lm -ljpeg -llcms -lpng -ltiff $JASPER_BUILD_FLAG" -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/dia/dia.SlackBuild b/graphics/dia/dia.SlackBuild index 24b8b00626c3..43eeaeadce56 100644 --- a/graphics/dia/dia.SlackBuild +++ b/graphics/dia/dia.SlackBuild @@ -62,7 +62,7 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux - + make make install DESTDIR=$PKG diff --git a/graphics/discwrapper/discwrapper.SlackBuild b/graphics/discwrapper/discwrapper.SlackBuild index d763dd9ecbcf..2dba9ff9d955 100644 --- a/graphics/discwrapper/discwrapper.SlackBuild +++ b/graphics/discwrapper/discwrapper.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.2.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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/djview4/djview4.SlackBuild b/graphics/djview4/djview4.SlackBuild index 67538569d02d..4d05b0ba64a7 100644 --- a/graphics/djview4/djview4.SlackBuild +++ b/graphics/djview4/djview4.SlackBuild @@ -72,7 +72,7 @@ find . \ if [ "$QTDIR" == "/opt/kde3/lib/qt3" ]; then QTDIR=$QT4DIR -fi +fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/graphics/entangle/entangle.SlackBuild b/graphics/entangle/entangle.SlackBuild index 349fbe46562e..adf57a49be51 100644 --- a/graphics/entangle/entangle.SlackBuild +++ b/graphics/entangle/entangle.SlackBuild @@ -54,11 +54,11 @@ else LIBDIRSUFFIX="" fi -set -e +set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $TMP/$PRGNAM-$VERSION tar -zxvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION @@ -71,7 +71,7 @@ find . \ -exec chmod 644 {} \; DOCS="AUTHORS COPYING ChangeLog NEWS README" - + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/graphics/exiftags/exiftags.SlackBuild b/graphics/exiftags/exiftags.SlackBuild index 4d833ef7b43a..2818b8e7642f 100644 --- a/graphics/exiftags/exiftags.SlackBuild +++ b/graphics/exiftags/exiftags.SlackBuild @@ -10,12 +10,10 @@ VERSION=${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 @@ -58,7 +56,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ make -# Copying executables and manuals to the correct location +# Copying executables and manuals to the correct location mkdir -p $PKG/usr/bin cp -a exifcom exiftags exiftime $PKG/usr/bin mkdir -p $PKG/usr/man/man1 diff --git a/graphics/fig2sxd/fig2sxd.SlackBuild b/graphics/fig2sxd/fig2sxd.SlackBuild index 240726bce02f..8b33e2b96d61 100644 --- a/graphics/fig2sxd/fig2sxd.SlackBuild +++ b/graphics/fig2sxd/fig2sxd.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.21} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild index e50c46259277..7cee34daa42f 100644 --- a/graphics/fontforge/fontforge.SlackBuild +++ b/graphics/fontforge/fontforge.SlackBuild @@ -34,12 +34,10 @@ TARVERS=$(printf $VERSION | tr _ -) ENABLE_BCINT=${ENABLE_BCINT:-yes} FREETYPE=${FREETYPE:-"2.4.10"} -# 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/graphics/fontmatrix/fontmatrix.SlackBuild b/graphics/fontmatrix/fontmatrix.SlackBuild index a0378087f5ac..b334a2a3d34a 100644 --- a/graphics/fontmatrix/fontmatrix.SlackBuild +++ b/graphics/fontmatrix/fontmatrix.SlackBuild @@ -2,19 +2,17 @@ # Slackware build script for fontmatrix # Written by Larry Hajali -# Maintained by Klaatu <klaatu@member.fsf.org> +# Maintained by Klaatu <klaatu@member.fsf.org> PRGNAM=fontmatrix VERSION=${VERSION:-r1220} 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/graphics/fotoxx/fotoxx.SlackBuild b/graphics/fotoxx/fotoxx.SlackBuild index bced42c79f59..c9668035705a 100644 --- a/graphics/fotoxx/fotoxx.SlackBuild +++ b/graphics/fotoxx/fotoxx.SlackBuild @@ -56,7 +56,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION diff --git a/graphics/frescobaldi/frescobaldi.SlackBuild b/graphics/frescobaldi/frescobaldi.SlackBuild index f37e17c93540..817119b7a2e5 100644 --- a/graphics/frescobaldi/frescobaldi.SlackBuild +++ b/graphics/frescobaldi/frescobaldi.SlackBuild @@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/graphics/fyre/fyre.SlackBuild b/graphics/fyre/fyre.SlackBuild index 898b75ad658f..a424e6399e71 100644 --- a/graphics/fyre/fyre.SlackBuild +++ b/graphics/fyre/fyre.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=fyre +PRGNAM=fyre VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild index 2008c4c008e7..43e85e1029e3 100644 --- a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild +++ b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild @@ -18,7 +18,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/graphics/gimp-fourier-plugin/gimp-fourier-plugin.SlackBuild b/graphics/gimp-fourier-plugin/gimp-fourier-plugin.SlackBuild index 3ee9a53a7d37..086d1f56c08a 100644 --- a/graphics/gimp-fourier-plugin/gimp-fourier-plugin.SlackBuild +++ b/graphics/gimp-fourier-plugin/gimp-fourier-plugin.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for a Fourier plugin for the GIMP. - + # Copyright 2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # @@ -70,7 +70,7 @@ chmod -R u+w,go+r-w,a-s . make mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins -install -m 0755 fourier $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins +install -m 0755 fourier $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild b/graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild index 15c974db129d..dc00b08ef471 100644 --- a/graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild +++ b/graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # SlackBuild script for gimp-registry-plugin. - + # Takes a series of plugins (mostly from the Debian gimp-registry-plugin list) # plus a couple of extras and extracts them into the relevant gimp directories. @@ -77,7 +77,7 @@ unzip $CWD/GREYCstoration-2.9.zip cp $TMP/GREYCstoration-2.9/GREYCstoration_gimp_pc_linux${LIBDIRSUFFIX} . ) -# Add ellipsis to the Vignette script name for better consistency with other +# Add ellipsis to the Vignette script name for better consistency with other # filters in Filters > Light and Shadow. sed -i '178s|Vignette|Vignette...|' $PKG/usr/share/gimp/2.0/scripts/vignette_0.scm diff --git a/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild index cf5fbb420807..d72ee0528793 100644 --- a/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild +++ b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild @@ -18,7 +18,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/graphics/gliv/gliv.SlackBuild b/graphics/gliv/gliv.SlackBuild index 69356ce50748..470b9ff93d67 100644 --- a/graphics/gliv/gliv.SlackBuild +++ b/graphics/gliv/gliv.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-1.9.7} 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 @@ -37,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/goocanvas/goocanvas.SlackBuild b/graphics/goocanvas/goocanvas.SlackBuild index 5e23edddea62..c1a28c61dd6a 100644 --- a/graphics/goocanvas/goocanvas.SlackBuild +++ b/graphics/goocanvas/goocanvas.SlackBuild @@ -53,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -67,7 +67,7 @@ find . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -78,7 +78,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --disable-static \ --enable-shared \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG diff --git a/graphics/gource/gource.SlackBuild b/graphics/gource/gource.SlackBuild index 5f5773a0200a..2a1ab08158cd 100644 --- a/graphics/gource/gource.SlackBuild +++ b/graphics/gource/gource.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.40} 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 @@ -60,7 +58,7 @@ fi DOCS="COPYING ChangeLog INSTALL README THANKS" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/gpaint/gpaint.SlackBuild b/graphics/gpaint/gpaint.SlackBuild index 76c486b6c27e..10329ed87f40 100644 --- a/graphics/gpaint/gpaint.SlackBuild +++ b/graphics/gpaint/gpaint.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=gpaint +PRGNAM=gpaint VERSION=${VERSION:-0.3.3} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -97,7 +97,7 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -install -D -m644 $CWD/$PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1 +install -D -m644 $CWD/$PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/graphics/gtkam/gtkam.SlackBuild b/graphics/gtkam/gtkam.SlackBuild index 8c41c56cc9a2..31f4cb5d1825 100644 --- a/graphics/gtkam/gtkam.SlackBuild +++ b/graphics/gtkam/gtkam.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware Build Script for gtkam +# Slackware Build Script for gtkam -# (C) 2009 Michael Wagner <slackware.wagnerm@arcor.de> +# (C) 2009 Michael Wagner <slackware.wagnerm@arcor.de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -58,10 +58,10 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -88,7 +88,7 @@ make make install-strip DESTDIR=$PKG # Get rid of unnecessary stuff -rm -rf $PKG/usr/share/{gnome,omf} +rm -rf $PKG/usr/share/{gnome,omf} gzip -9 $PKG/usr/man/man?/$PRGNAM.? diff --git a/graphics/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild index d21a0c499485..6a686562e67b 100644 --- a/graphics/hugin/hugin.SlackBuild +++ b/graphics/hugin/hugin.SlackBuild @@ -4,7 +4,7 @@ # # Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. -# Modified 2011 for version 2011.0.0 by titopoquito +# Modified 2011 for version 2011.0.0 by titopoquito # Modified 2012 for version 2011.4.0 by titopoquito # Modified 2013 for version 2012.0.0 by titopoquito # (titopoquito@gmail.com) diff --git a/graphics/jUploadr/jUploadr.SlackBuild b/graphics/jUploadr/jUploadr.SlackBuild index 74b61e58dc30..13d625c4c50d 100644 --- a/graphics/jUploadr/jUploadr.SlackBuild +++ b/graphics/jUploadr/jUploadr.SlackBuild @@ -12,7 +12,7 @@ TAG=${TAG:-_SBo} ARCH=i386 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/graphics/jpeg2ps/jpeg2ps.SlackBuild b/graphics/jpeg2ps/jpeg2ps.SlackBuild index 39f198599ddb..9297022699ee 100644 --- a/graphics/jpeg2ps/jpeg2ps.SlackBuild +++ b/graphics/jpeg2ps/jpeg2ps.SlackBuild @@ -5,24 +5,22 @@ # Copyright 2009 Georgy Shepelev (gshep) <shepelev.georgy@googlemail.com> # This software is free. You are granted the right to use, copy, modify and # ditribute it without any restrictions. -# +# # The author accepts no responsibility for damages resulting from the use of # this software and makes no warranty, either express or implied, including but # not limited to, any implied warranty of merchantability or fitness for a # particular purpose. This software is provided as is, and you assume all risks -# when using it. +# when using it. PRGNAM=jpeg2ps VERSION=${VERSION:-1.9} 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 @@ -32,14 +30,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" diff --git a/graphics/kphotoalbum/kphotoalbum.SlackBuild b/graphics/kphotoalbum/kphotoalbum.SlackBuild index 27618395c4f5..519f2f69a464 100644 --- a/graphics/kphotoalbum/kphotoalbum.SlackBuild +++ b/graphics/kphotoalbum/kphotoalbum.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-4.4} 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 @@ -41,7 +39,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/luxblend25/luxblend25.SlackBuild b/graphics/luxblend25/luxblend25.SlackBuild index 63145050eb0b..f4eab8469003 100644 --- a/graphics/luxblend25/luxblend25.SlackBuild +++ b/graphics/luxblend25/luxblend25.SlackBuild @@ -21,7 +21,7 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + PRGNAM=luxblend25 VERSION=${VERSION:-1.1} @@ -30,7 +30,7 @@ TAG=${TAG:-_SBo} SRCVERSION=luxblend25-3a928b723b29 blender_version() { - + BLENDER_HEADER=`/opt/blender/blender --version 2>&1 | head -n 1` BLENDER_IMPL=`echo ${BLENDER_HEADER} | cut -f1 -d' '` if [ "$BLENDER_IMPL" = "Blender" ] ; then @@ -42,12 +42,10 @@ blender_version BLENDER_PLUGIN_DIR=/opt/blender/$BLENDER_VERSION/scripts/addons -# 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 @@ -71,7 +69,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/luxrender/luxrender.SlackBuild b/graphics/luxrender/luxrender.SlackBuild index e670f3ace2d0..ab6d84f228e5 100644 --- a/graphics/luxrender/luxrender.SlackBuild +++ b/graphics/luxrender/luxrender.SlackBuild @@ -29,12 +29,10 @@ TAG=${TAG:-_SBo} SRCVERSION=lux-4b4289cda943 LUXRAYSRCVERSION=luxrays-589aa5dac899 -# 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 @@ -101,7 +99,7 @@ cd - cmake ./ \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=Release # compile luxrays make luxrays @@ -149,10 +147,10 @@ cmake ./ # compile luxrender make luxrender -make install DESTDIR=$PKG +make install DESTDIR=$PKG # /usr/local? no, thanks -cp -r $PKG/usr/local/* $PKG/usr +cp -r $PKG/usr/local/* $PKG/usr rm -rf $PKG/usr/local # copy pylux.so diff --git a/graphics/makehuman/makehuman.SlackBuild b/graphics/makehuman/makehuman.SlackBuild index fd22ebc2b0c2..45f06c683988 100644 --- a/graphics/makehuman/makehuman.SlackBuild +++ b/graphics/makehuman/makehuman.SlackBuild @@ -21,18 +21,16 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + PRGNAM=makehuman VERSION=${VERSION:-1.0a7} 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/graphics/mcomix/mcomix.SlackBuild b/graphics/mcomix/mcomix.SlackBuild index e045a2a048d5..ab9141a2c19c 100644 --- a/graphics/mcomix/mcomix.SlackBuild +++ b/graphics/mcomix/mcomix.SlackBuild @@ -20,7 +20,6 @@ VERSION=${VERSION:-0.99} 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 ;; @@ -48,7 +47,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/metapixel/metapixel.SlackBuild b/graphics/metapixel/metapixel.SlackBuild index 3af18d2b8eb5..4eaa077ac6b5 100644 --- a/graphics/metapixel/metapixel.SlackBuild +++ b/graphics/metapixel/metapixel.SlackBuild @@ -4,23 +4,21 @@ # Written by otzy_007 oz@oprod.net -PRGNAM=metapixel -VERSION=${VERSION:-1.0.2} +PRGNAM=metapixel +VERSION=${VERSION:-1.0.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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/mypaint/mypaint.SlackBuild b/graphics/mypaint/mypaint.SlackBuild index 579d0ccb4239..00dc4429345e 100644 --- a/graphics/mypaint/mypaint.SlackBuild +++ b/graphics/mypaint/mypaint.SlackBuild @@ -43,7 +43,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild index 2ac80845c1ee..c940871d04e4 100644 --- a/graphics/nomacs/nomacs.SlackBuild +++ b/graphics/nomacs/nomacs.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="Readme/COPYRIGHT Readme/LICENSE* Readme/README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -81,7 +81,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/graphics/ocropus/ocropus.SlackBuild b/graphics/ocropus/ocropus.SlackBuild index b3aa2b7e00b2..5dbab7a666fa 100644 --- a/graphics/ocropus/ocropus.SlackBuild +++ b/graphics/ocropus/ocropus.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for OCROpus. - + # Copyright 2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # diff --git a/graphics/openclipart/openclipart.SlackBuild b/graphics/openclipart/openclipart.SlackBuild index 479f11917fb7..deb573dc44b2 100644 --- a/graphics/openclipart/openclipart.SlackBuild +++ b/graphics/openclipart/openclipart.SlackBuild @@ -38,7 +38,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/photivo/photivo.SlackBuild b/graphics/photivo/photivo.SlackBuild index 7935fb977804..3b20f08de8a3 100644 --- a/graphics/photivo/photivo.SlackBuild +++ b/graphics/photivo/photivo.SlackBuild @@ -21,7 +21,7 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + PRGNAM=photivo VERSION=${VERSION:-20131103} BUILD=${BUILD:-1} diff --git a/graphics/plotutils/plotutils.SlackBuild b/graphics/plotutils/plotutils.SlackBuild index ec3a71506210..1f94723b1511 100644 --- a/graphics/plotutils/plotutils.SlackBuild +++ b/graphics/plotutils/plotutils.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-2.6} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -67,7 +65,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-static=no \ --enable-shared=yes \ --enable-libplotter \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG diff --git a/graphics/qiv/qiv.SlackBuild b/graphics/qiv/qiv.SlackBuild index edb742d19e7a..92566e4d46ab 100644 --- a/graphics/qiv/qiv.SlackBuild +++ b/graphics/qiv/qiv.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-2.2.4} 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/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild index 9eb2a184dc0a..3bd73aa1d4b3 100644 --- a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild +++ b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild @@ -68,7 +68,7 @@ find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/graphics/resynthesizer/resynthesizer.SlackBuild b/graphics/resynthesizer/resynthesizer.SlackBuild index 2ff0bdba91f8..9e9c7618b6a5 100644 --- a/graphics/resynthesizer/resynthesizer.SlackBuild +++ b/graphics/resynthesizer/resynthesizer.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for the resynthesizer GIMP plug-in. -# +# # Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.16} 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/graphics/screengrab/screengrab.SlackBuild b/graphics/screengrab/screengrab.SlackBuild index 2863016694a6..c52bacc33f1c 100644 --- a/graphics/screengrab/screengrab.SlackBuild +++ b/graphics/screengrab/screengrab.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/scrot/scrot.SlackBuild b/graphics/scrot/scrot.SlackBuild index c30c35cc9e4a..01b96f92f3fa 100644 --- a/graphics/scrot/scrot.SlackBuild +++ b/graphics/scrot/scrot.SlackBuild @@ -11,12 +11,10 @@ VERSION=0.8 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/graphics/svp/svp.SlackBuild b/graphics/svp/svp.SlackBuild index 911a62df1bc0..dcf08fb18eb1 100644 --- a/graphics/svp/svp.SlackBuild +++ b/graphics/svp/svp.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.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 @@ -32,7 +30,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild index 5f1423c7ae2c..90ba6f357786 100644 --- a/graphics/tesseract/tesseract.SlackBuild +++ b/graphics/tesseract/tesseract.SlackBuild @@ -28,7 +28,7 @@ # Updated 28/05/2009 for Slackware64. # Updated 08/09/2010 Fixed language packs logic (Thanks to Ed Rozenberg) # Thanks to S+*n_Pe*rm*n for a bug report from OCRopus. -# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org> +# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org> PRGNAM=tesseract VERSION=${VERSION:-3.02.02} diff --git a/graphics/tgif-QPL/tgif-QPL.SlackBuild b/graphics/tgif-QPL/tgif-QPL.SlackBuild index 728f7d9738b3..e382f44ffc89 100644 --- a/graphics/tgif-QPL/tgif-QPL.SlackBuild +++ b/graphics/tgif-QPL/tgif-QPL.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-4.2.5} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild index 2964ce96e4f9..13d82795e35d 100644 --- a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild +++ b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild @@ -16,7 +16,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild index 9cdf160e3b1c..029fe36b0b77 100644 --- a/graphics/tuxpaint/tuxpaint.SlackBuild +++ b/graphics/tuxpaint/tuxpaint.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.9.21} 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 @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/vuescan/vuescan.SlackBuild b/graphics/vuescan/vuescan.SlackBuild index 7696ffc1bbb0..121f48cbb94c 100644 --- a/graphics/vuescan/vuescan.SlackBuild +++ b/graphics/vuescan/vuescan.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for vuescan +# Slackware build script for vuescan # Copyright 2013 Heiko Rosemann, Germany # All rights reserved. @@ -27,11 +27,10 @@ VERSION=${VERSION:-9.2.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on # and choose source file accordingly if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) + i?86) ARCH=i486 SOURCEFILE=vuex3292.tgz ;; x86_64) @@ -47,7 +46,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/graphics/whyteboard/whyteboard.SlackBuild b/graphics/whyteboard/whyteboard.SlackBuild index 356e16a8756d..6546649f3c4b 100644 --- a/graphics/whyteboard/whyteboard.SlackBuild +++ b/graphics/whyteboard/whyteboard.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for Whyteboard # -# Copyright 2009 Jose Maria Marin Carceles +# Copyright 2009 Jose Maria Marin Carceles # # # Redistribution and use of this script, with or without modification, is diff --git a/graphics/xdot/xdot.SlackBuild b/graphics/xdot/xdot.SlackBuild index 73cc5931aded..304a6390ec0b 100644 --- a/graphics/xdot/xdot.SlackBuild +++ b/graphics/xdot/xdot.SlackBuild @@ -27,12 +27,10 @@ VERSION=20090403 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 @@ -48,7 +46,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION diff --git a/graphics/xpe/xpe.SlackBuild b/graphics/xpe/xpe.SlackBuild index deb3b5e0b3e2..573e866a221b 100644 --- a/graphics/xpe/xpe.SlackBuild +++ b/graphics/xpe/xpe.SlackBuild @@ -11,18 +11,16 @@ VERSION=0.9.5b BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# The tarballs come with the name "xpe_project" to distinguish them from +# The tarballs come with the name "xpe_project" to distinguish them from # the "xpe_daily" svn snapshots SRCPRGNAM=xpe_project # The Source tarball has a different version numbering SRCVERSION="v$(echo $VERSION | tr . _)" -# 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/graphics/xzgv/xzgv.SlackBuild b/graphics/xzgv/xzgv.SlackBuild index 193509ccdcba..6a9b45e66599 100644 --- a/graphics/xzgv/xzgv.SlackBuild +++ b/graphics/xzgv/xzgv.SlackBuild @@ -25,18 +25,16 @@ # # markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 # 2010 June 1 - initial release - + PRGNAM=xzgv VERSION=${VERSION:-0.9.1} 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 @@ -59,7 +57,7 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e diff --git a/graphics/yafaray/yafaray.SlackBuild b/graphics/yafaray/yafaray.SlackBuild index f30efa50356c..d96c6c0f0092 100644 --- a/graphics/yafaray/yafaray.SlackBuild +++ b/graphics/yafaray/yafaray.SlackBuild @@ -34,12 +34,10 @@ VERSION=${VERSION:-0.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/graphics/zbar/zbar.SlackBuild b/graphics/zbar/zbar.SlackBuild index 781d84935b33..571285bfca9e 100644 --- a/graphics/zbar/zbar.SlackBuild +++ b/graphics/zbar/zbar.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-0.10} 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/graphics/zgv/zgv.SlackBuild b/graphics/zgv/zgv.SlackBuild index 90fe1f06f49a..688fb96fdbcc 100644 --- a/graphics/zgv/zgv.SlackBuild +++ b/graphics/zgv/zgv.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh - -# Slackware build script for zgv + +# Slackware build script for zgv # Modified by Luis Henrique <lmello.009@gmail.com> # (C) 2007 Michael Wagner <lapinours@web.de> @@ -28,12 +28,10 @@ VERSION=5.9 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 @@ -76,7 +74,7 @@ find . \ # Apply patches for i in $CWD/patches/*; do - patch -p0 < $i + patch -p0 < $i done make SLKCFLAGS="$SLKCFLAGS" diff --git a/ham/cwstation/cwstation.SlackBuild b/ham/cwstation/cwstation.SlackBuild index be54003c312d..9b99d7cdf31e 100644 --- a/ham/cwstation/cwstation.SlackBuild +++ b/ham/cwstation/cwstation.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/ham/qrq/qrq.SlackBuild b/ham/qrq/qrq.SlackBuild index effe1b46a430..70c928393fe0 100644 --- a/ham/qrq/qrq.SlackBuild +++ b/ham/qrq/qrq.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.3.0 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/haskell/hscolour/hscolour.SlackBuild b/haskell/hscolour/hscolour.SlackBuild index ce47d4226751..d941780b0faf 100644 --- a/haskell/hscolour/hscolour.SlackBuild +++ b/haskell/hscolour/hscolour.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.20.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 diff --git a/libraries/BeautifulSoup/BeautifulSoup.SlackBuild b/libraries/BeautifulSoup/BeautifulSoup.SlackBuild index c9a847b0426d..8f631d30ebbf 100644 --- a/libraries/BeautifulSoup/BeautifulSoup.SlackBuild +++ b/libraries/BeautifulSoup/BeautifulSoup.SlackBuild @@ -46,7 +46,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION diff --git a/libraries/CEGUI/CEGUI.SlackBuild b/libraries/CEGUI/CEGUI.SlackBuild index e9454cab13f1..e3b174e97bca 100644 --- a/libraries/CEGUI/CEGUI.SlackBuild +++ b/libraries/CEGUI/CEGUI.SlackBuild @@ -62,7 +62,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/libraries/CGAL/CGAL.SlackBuild b/libraries/CGAL/CGAL.SlackBuild index 1c28eb243314..94c3c5abf378 100644 --- a/libraries/CGAL/CGAL.SlackBuild +++ b/libraries/CGAL/CGAL.SlackBuild @@ -76,7 +76,7 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild b/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild index 8d7e373b5549..1e75a7af22d7 100644 --- a/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild +++ b/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - + # Slackware build script for Crypt-SSLeay # Modified by SlackBuilds.org --dsomero # @@ -28,12 +28,10 @@ VERSION=0.64 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/libraries/DevIL/DevIL.SlackBuild b/libraries/DevIL/DevIL.SlackBuild index bcd254b1ce16..42f8a8040c7b 100644 --- a/libraries/DevIL/DevIL.SlackBuild +++ b/libraries/DevIL/DevIL.SlackBuild @@ -10,12 +10,10 @@ PKG_VERSION=${VERSION}_rc2 BUILD=${BUILD:-3} 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 @@ -41,9 +39,9 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$(echo $PKG_VERSION | tr _ -).tar.gz cd $PRGNAM-$VERSION @@ -63,7 +61,7 @@ patch -p1 < $CWD/patches/devil-1.6.8-libpng14.patch # Thanks to David Somero for the heads up on this. patch -p1 < $CWD/patches/ILvoid_fix_1.diff patch -p1 < $CWD/patches/ILvoid_fix_2.diff -# There is a space in the filename's path, so we have to cd into +# There is a space in the filename's path, so we have to cd into # the offending directory before patching. ( cd cpp\ wrapper patch < $CWD/patches/ILvoid_fix_3.diff diff --git a/libraries/GLee/GLee.SlackBuild b/libraries/GLee/GLee.SlackBuild index 8823736c3c0e..b7308870c633 100644 --- a/libraries/GLee/GLee.SlackBuild +++ b/libraries/GLee/GLee.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-5.4.0} 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/GeoIP-Python/GeoIP-Python.SlackBuild b/libraries/GeoIP-Python/GeoIP-Python.SlackBuild index e6b38ad18e33..c9dfe4b0e605 100644 --- a/libraries/GeoIP-Python/GeoIP-Python.SlackBuild +++ b/libraries/GeoIP-Python/GeoIP-Python.SlackBuild @@ -35,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/Geraldo/Geraldo.SlackBuild b/libraries/Geraldo/Geraldo.SlackBuild index abe4d5b95ea5..c09ba5378226 100644 --- a/libraries/Geraldo/Geraldo.SlackBuild +++ b/libraries/Geraldo/Geraldo.SlackBuild @@ -38,7 +38,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/Impacket/Impacket.SlackBuild b/libraries/Impacket/Impacket.SlackBuild index 8536d3fda364..240f71f347d9 100644 --- a/libraries/Impacket/Impacket.SlackBuild +++ b/libraries/Impacket/Impacket.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.9.6.0 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 @@ -48,7 +46,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION diff --git a/libraries/ORBit2/ORBit2.SlackBuild b/libraries/ORBit2/ORBit2.SlackBuild index af18df497b71..8c7ed3e29720 100644 --- a/libraries/ORBit2/ORBit2.SlackBuild +++ b/libraries/ORBit2/ORBit2.SlackBuild @@ -81,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux # Ref: https://bugzilla.gnome.org/show_bug.cgi?id=696900 -sed 's/-DG_DISABLE_DEPRECATED//' -i linc2/src/Makefile +sed 's/-DG_DISABLE_DEPRECATED//' -i linc2/src/Makefile make make install-strip DESTDIR=$PKG diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild index 29297d8776ad..c83d99da126f 100644 --- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild +++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-3.0.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/libraries/PDFlib-Lite/PDFlib-Lite.SlackBuild b/libraries/PDFlib-Lite/PDFlib-Lite.SlackBuild index 0c8e9f34a506..252ffcc0eb3e 100644 --- a/libraries/PDFlib-Lite/PDFlib-Lite.SlackBuild +++ b/libraries/PDFlib-Lite/PDFlib-Lite.SlackBuild @@ -1,11 +1,11 @@ #!/bin/sh # Slackware build script for PDFlib-Lite -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. PRGNAM=PDFlib-Lite diff --git a/libraries/PyQwt/PyQwt.SlackBuild b/libraries/PyQwt/PyQwt.SlackBuild index a2d94fb33dab..03fae1c1aa75 100644 --- a/libraries/PyQwt/PyQwt.SlackBuild +++ b/libraries/PyQwt/PyQwt.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-5.2.0} 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/libraries/PyXML/PyXML.SlackBuild b/libraries/PyXML/PyXML.SlackBuild index 0911fafa20a5..c2aa7e3417dc 100644 --- a/libraries/PyXML/PyXML.SlackBuild +++ b/libraries/PyXML/PyXML.SlackBuild @@ -32,12 +32,10 @@ VERSION=0.8.4 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/libraries/PyYAML/PyYAML.SlackBuild b/libraries/PyYAML/PyYAML.SlackBuild index ff8146424df2..45d2dc2ea7d6 100644 --- a/libraries/PyYAML/PyYAML.SlackBuild +++ b/libraries/PyYAML/PyYAML.SlackBuild @@ -53,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/QuantLib-Python/QuantLib-Python.SlackBuild b/libraries/QuantLib-Python/QuantLib-Python.SlackBuild index f8b26a422595..285e3fb780bc 100644 --- a/libraries/QuantLib-Python/QuantLib-Python.SlackBuild +++ b/libraries/QuantLib-Python/QuantLib-Python.SlackBuild @@ -11,12 +11,10 @@ TAG=${TAG:-_SBo} SRCNAM=QuantLib-SWIG -# 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/libraries/QuantLib/QuantLib.SlackBuild b/libraries/QuantLib/QuantLib.SlackBuild index 79e3fbcef74b..0c6f355e685c 100644 --- a/libraries/QuantLib/QuantLib.SlackBuild +++ b/libraries/QuantLib/QuantLib.SlackBuild @@ -7,12 +7,10 @@ VERSION=${VERSION:-1.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/libraries/SDL_sound/SDL_sound.SlackBuild b/libraries/SDL_sound/SDL_sound.SlackBuild index 914e12d21c72..7db488343674 100644 --- a/libraries/SDL_sound/SDL_sound.SlackBuild +++ b/libraries/SDL_sound/SDL_sound.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.0.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 diff --git a/libraries/SimGear/SimGear.SlackBuild b/libraries/SimGear/SimGear.SlackBuild index 340dabf6d70f..ad20cfa9c937 100644 --- a/libraries/SimGear/SimGear.SlackBuild +++ b/libraries/SimGear/SimGear.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-2.12.0} 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/libraries/agg/agg.SlackBuild b/libraries/agg/agg.SlackBuild index e79addc30582..83e6941204c4 100644 --- a/libraries/agg/agg.SlackBuild +++ b/libraries/agg/agg.SlackBuild @@ -40,7 +40,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/alglib/alglib.SlackBuild b/libraries/alglib/alglib.SlackBuild index 8a6a8d419cf0..739e8fb11514 100644 --- a/libraries/alglib/alglib.SlackBuild +++ b/libraries/alglib/alglib.SlackBuild @@ -26,10 +26,10 @@ # http://aur.archlinux.org/packages/al/alglib/PKGBUILD # PKGBUILD contributor is Carlo Casta. Thank you! -PRGNAM=alglib +PRGNAM=alglib VERSION=${VERSION:-2.6.0} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/libraries/ant-contrib/ant-contrib.SlackBuild b/libraries/ant-contrib/ant-contrib.SlackBuild index 0dc6fb33183f..96561bc78782 100644 --- a/libraries/ant-contrib/ant-contrib.SlackBuild +++ b/libraries/ant-contrib/ant-contrib.SlackBuild @@ -10,12 +10,10 @@ TAG=${TAG:-_SBo} ANT_HOME=${ANT_HOME:-/usr/share/ant} -# 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/libraries/argtable/argtable.SlackBuild b/libraries/argtable/argtable.SlackBuild index 2d4e242ab81d..93827f30424d 100644 --- a/libraries/argtable/argtable.SlackBuild +++ b/libraries/argtable/argtable.SlackBuild @@ -28,12 +28,10 @@ SRCVER=2-9 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 @@ -57,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/atlas/atlas.SlackBuild b/libraries/atlas/atlas.SlackBuild index 21ff510379dc..d0126d7712fd 100644 --- a/libraries/atlas/atlas.SlackBuild +++ b/libraries/atlas/atlas.SlackBuild @@ -62,13 +62,13 @@ fi # MAX_MALLOC=${MAX_MALLOC:-268435456} -# If you don't want to use architectural defaults set the following to +# If you don't want to use architectural defaults set the following to # something like "no". USE_ARCH_DEFAULTS=${USE_ARCH_DEFAULTS:-yes} -# The path to a reference BLAS library. By default it is assumed that you -# have installed the netlib BLAS reference using the appropriate slackbuild -# from slackbuilds.org. If this is not the case, you have to run this script +# The path to a reference BLAS library. By default it is assumed that you +# have installed the netlib BLAS reference using the appropriate slackbuild +# from slackbuilds.org. If this is not the case, you have to run this script # with another value for REF_BLAS. REF_BLAS=${REF_BLAS:-/usr/lib${LIBDIRSUFFIX}/libblas.a} @@ -108,7 +108,7 @@ BLDdir=BuildDir # Get the CPU frequency for good timing. CPU_FREQ="$(cat /proc/cpuinfo |grep "cpu MHz"| head -n 1| cut -d ":" -s -f2| tr -d [:blank:])" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/audiere/audiere.SlackBuild b/libraries/audiere/audiere.SlackBuild index 7237ace1bd77..5b76cae81e16 100644 --- a/libraries/audiere/audiere.SlackBuild +++ b/libraries/audiere/audiere.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.9.4} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -53,8 +51,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -patch -p1 < $CWD/patches/audiere-1.9.4-gcc44.patch -patch -p1 < $CWD/patches/audiere-1.9.4-flac.patch +patch -p1 < $CWD/patches/audiere-1.9.4-gcc44.patch +patch -p1 < $CWD/patches/audiere-1.9.4-flac.patch patch -p1 < $CWD/patches/audiere-1.9.4-speex.patch sh bootstrap @@ -71,7 +69,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -# Not build examples +# Not build examples sed -i s/"SUBDIRS = doc src examples test"/"SUBDIRS = doc src test"/ Makefile make make install DESTDIR=$PKG diff --git a/libraries/blas/blas.SlackBuild b/libraries/blas/blas.SlackBuild index d9fb4f8e2015..6c900e471b09 100644 --- a/libraries/blas/blas.SlackBuild +++ b/libraries/blas/blas.SlackBuild @@ -26,7 +26,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -44,7 +44,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/cairomm/cairomm.SlackBuild b/libraries/cairomm/cairomm.SlackBuild index 096c1ab509dc..05e134840f66 100644 --- a/libraries/cairomm/cairomm.SlackBuild +++ b/libraries/cairomm/cairomm.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.10.0} 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/libraries/cbase/cbase.SlackBuild b/libraries/cbase/cbase.SlackBuild index 135f6cc872fe..3e8bf47c740e 100644 --- a/libraries/cbase/cbase.SlackBuild +++ b/libraries/cbase/cbase.SlackBuild @@ -14,12 +14,10 @@ VERSION=${VERSION:-1.3.5} 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 @@ -43,7 +41,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/chromaprint/chromaprint.SlackBuild b/libraries/chromaprint/chromaprint.SlackBuild index 4243805fb948..48c1485ec1dc 100644 --- a/libraries/chromaprint/chromaprint.SlackBuild +++ b/libraries/chromaprint/chromaprint.SlackBuild @@ -64,7 +64,7 @@ fi DOCS="CHANGES.txt COPYING.txt NEWS.txt README.txt" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -90,7 +90,7 @@ cd build -DWITH_FFTW3="$fftw3" \ -DBUILD_TOOLS="$tools" \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/libraries/configobj/configobj.SlackBuild b/libraries/configobj/configobj.SlackBuild index 2ff397a03d6d..17c244d19d84 100644 --- a/libraries/configobj/configobj.SlackBuild +++ b/libraries/configobj/configobj.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-4.7.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 @@ -24,7 +22,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild index dbf713911711..b58c133e5aa6 100644 --- a/libraries/cryptopp/cryptopp.SlackBuild +++ b/libraries/cryptopp/cryptopp.SlackBuild @@ -14,12 +14,10 @@ VERSION=${VERSION:-5.6.1} 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/libraries/ctemplate/ctemplate.SlackBuild b/libraries/ctemplate/ctemplate.SlackBuild index 860ec93d5e52..15c3b167f467 100644 --- a/libraries/ctemplate/ctemplate.SlackBuild +++ b/libraries/ctemplate/ctemplate.SlackBuild @@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -80,7 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --build=$ARCH-slackware-linux -make install-strip docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG +make install-strip docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/darcsver/darcsver.SlackBuild b/libraries/darcsver/darcsver.SlackBuild index f75a6ba34647..dff30736b062 100644 --- a/libraries/darcsver/darcsver.SlackBuild +++ b/libraries/darcsver/darcsver.SlackBuild @@ -31,12 +31,10 @@ VERSION=${VERSION:-1.7.4} 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/libraries/equinox/equinox.SlackBuild b/libraries/equinox/equinox.SlackBuild index 04988490cba2..8d6292d434d6 100644 --- a/libraries/equinox/equinox.SlackBuild +++ b/libraries/equinox/equinox.SlackBuild @@ -53,7 +53,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/libraries/exempi/exempi.SlackBuild b/libraries/exempi/exempi.SlackBuild index a623a8108006..0e63e2a737df 100644 --- a/libraries/exempi/exempi.SlackBuild +++ b/libraries/exempi/exempi.SlackBuild @@ -55,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild index a0e106305b03..b0958493ecb3 100644 --- a/libraries/fltk/fltk.SlackBuild +++ b/libraries/fltk/fltk.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.1.10 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 @@ -77,7 +75,7 @@ find -L . \ patch -p1 -i $CWD/fltk-1.1.10-pkgconfig_xft.patch patch -p1 -i $CWD/fltk-1.1.x-r5750-undefined.patch -# Fix linking when --libdir=/usr/lib64 +# Fix linking when --libdir=/usr/lib64 sed -i \ -e '/RANLIB/s:$(libdir)/\(.*LIBNAME)\):$(libdir)/`basename \1`:g' \ src/Makefile || exit @@ -97,7 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-threads \ --enable-xinerama \ --enable-xft \ - --enable-xdbe + --enable-xdbe make make install DESTDIR=$PKG diff --git a/libraries/fltk13/fltk13.SlackBuild b/libraries/fltk13/fltk13.SlackBuild index 13e042b6431e..3a262e339ac8 100644 --- a/libraries/fltk13/fltk13.SlackBuild +++ b/libraries/fltk13/fltk13.SlackBuild @@ -74,7 +74,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix linking when --libdir=/usr/lib64 +# Fix linking when --libdir=/usr/lib64 sed -i \ -e '/RANLIB/s:$(libdir)/\(.*LIBNAME)\):$(libdir)/`basename \1`:g' \ src/Makefile || exit diff --git a/libraries/fmodapi/fmodapi.SlackBuild b/libraries/fmodapi/fmodapi.SlackBuild index d53f09884425..ef0d8e294528 100644 --- a/libraries/fmodapi/fmodapi.SlackBuild +++ b/libraries/fmodapi/fmodapi.SlackBuild @@ -10,12 +10,10 @@ SRCVER=$( echo $VERSION | sed 's/\.//g' ) 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 @@ -36,7 +34,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -57,7 +55,7 @@ mkdir -p $PKG/usr/include/fmodex ( cd api/lib cp -a libfmodex*.so* $PKG/usr/lib${LIBDIRSUFFIX} ) - + ( cd api/inc cp -a * $PKG/usr/include/fmodex ) diff --git a/libraries/fox-toolkit/fox-toolkit.SlackBuild b/libraries/fox-toolkit/fox-toolkit.SlackBuild index 0339f56ad07a..3f2838baccb7 100644 --- a/libraries/fox-toolkit/fox-toolkit.SlackBuild +++ b/libraries/fox-toolkit/fox-toolkit.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for fox-toolkit -# Copyright 2006-2013 Robby Workman, Northport, AL, USA +# Copyright 2006-2013 Robby Workman, Northport, AL, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.6.49} 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 @@ -58,7 +56,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf fox-$VERSION diff --git a/libraries/fpconst/fpconst.SlackBuild b/libraries/fpconst/fpconst.SlackBuild index 20c5c6d15f3e..e3801d15b0c3 100644 --- a/libraries/fpconst/fpconst.SlackBuild +++ b/libraries/fpconst/fpconst.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.7.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 diff --git a/libraries/freealut/freealut.SlackBuild b/libraries/freealut/freealut.SlackBuild index a84bd57b999a..b1a91e3322d5 100644 --- a/libraries/freealut/freealut.SlackBuild +++ b/libraries/freealut/freealut.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.1.0 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/libraries/frei0r/frei0r.SlackBuild b/libraries/frei0r/frei0r.SlackBuild index ae6e370803d1..6164a717791f 100644 --- a/libraries/frei0r/frei0r.SlackBuild +++ b/libraries/frei0r/frei0r.SlackBuild @@ -34,12 +34,10 @@ VERSION=${VERSION:-1.4} 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 @@ -63,7 +61,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -88,7 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux - + make make install DESTDIR=$PKG diff --git a/libraries/ftgl/ftgl.SlackBuild b/libraries/ftgl/ftgl.SlackBuild index ee47752ef385..0a528f5fd501 100644 --- a/libraries/ftgl/ftgl.SlackBuild +++ b/libraries/ftgl/ftgl.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.1.3_rc5} BUILD=${BUILD:-3} 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/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild b/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild index a4344f7f2eb1..b8e08f9c7c80 100644 --- a/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild +++ b/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.22.0} 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/libraries/ggz-base-libs/ggz-base-libs.SlackBuild b/libraries/ggz-base-libs/ggz-base-libs.SlackBuild index f237f4933dfa..6678b3c725aa 100644 --- a/libraries/ggz-base-libs/ggz-base-libs.SlackBuild +++ b/libraries/ggz-base-libs/ggz-base-libs.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.99.5 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/libraries/glfw/glfw.SlackBuild b/libraries/glfw/glfw.SlackBuild index ed48d9fc8615..8324654b0e36 100644 --- a/libraries/glfw/glfw.SlackBuild +++ b/libraries/glfw/glfw.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/glibmm/glibmm.SlackBuild b/libraries/glibmm/glibmm.SlackBuild index f6a7b488a90a..2ccbb9e0e5ca 100644 --- a/libraries/glibmm/glibmm.SlackBuild +++ b/libraries/glibmm/glibmm.SlackBuild @@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/gnet/gnet.SlackBuild b/libraries/gnet/gnet.SlackBuild index decc520af40a..610a2e345ae8 100644 --- a/libraries/gnet/gnet.SlackBuild +++ b/libraries/gnet/gnet.SlackBuild @@ -16,12 +16,10 @@ VERSION=2.0.8 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 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/gnome-sharp/gnome-sharp.SlackBuild b/libraries/gnome-sharp/gnome-sharp.SlackBuild index ebfe6bf68c53..ae7a136aceb6 100644 --- a/libraries/gnome-sharp/gnome-sharp.SlackBuild +++ b/libraries/gnome-sharp/gnome-sharp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Gnome# -# Written by André Barboza <bmg.andre@gmail.com> +# Written by André Barboza <bmg.andre@gmail.com> # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/gsm/gsm.SlackBuild b/libraries/gsm/gsm.SlackBuild index 01d252f07b55..f52846a6f642 100644 --- a/libraries/gsm/gsm.SlackBuild +++ b/libraries/gsm/gsm.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.0.13} 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 @@ -77,7 +75,7 @@ patch -p1 < $CWD/patches/gsm-1.0.13-shared.patch patch -p1 < $CWD/patches/gsm-1.0.12-memcpy.patch patch -p1 < $CWD/patches/gsm-1.0.12-64bit.patch -mkdir -p $PKG/usr/bin +mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/lib$LIBDIRSUFFIX mkdir -p $PKG/usr/include/{gsm,libgsm} mkdir -p $PKG/usr/man/man{1,3} diff --git a/libraries/gsnmp/gsnmp.SlackBuild b/libraries/gsnmp/gsnmp.SlackBuild index 551fe9771c82..5842892ec256 100644 --- a/libraries/gsnmp/gsnmp.SlackBuild +++ b/libraries/gsnmp/gsnmp.SlackBuild @@ -10,12 +10,10 @@ VERSION=0.2.0 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 # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/gst1-libav/gst1-libav.SlackBuild b/libraries/gst1-libav/gst1-libav.SlackBuild index 9916646abb31..546c1a5c0f0c 100644 --- a/libraries/gst1-libav/gst1-libav.SlackBuild +++ b/libraries/gst1-libav/gst1-libav.SlackBuild @@ -58,7 +58,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$SRCNAM-$VERSION cd $TMP diff --git a/libraries/gstreamermm/gstreamermm.SlackBuild b/libraries/gstreamermm/gstreamermm.SlackBuild index 41e9ff9a138d..44334d5b1b3e 100644 --- a/libraries/gstreamermm/gstreamermm.SlackBuild +++ b/libraries/gstreamermm/gstreamermm.SlackBuild @@ -56,7 +56,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP diff --git a/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild b/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild index 43858753bd7e..fe67135cdad8 100644 --- a/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild +++ b/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild @@ -81,7 +81,7 @@ else DO_ANIM="dis" fi -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch @@ -96,14 +96,14 @@ CFLAGS="$SLKCFLAGS" \ --${DO_ANIM}able-animation \ --build=$ARCH-slackware-linux -make install-strip DESTDIR=$PKG +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/share/themes tar xjf $TMP/Aurora.tar.bz2 -C $PKG/usr/share/themes mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild b/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild index 5664e5852f09..42d03a9455b1 100644 --- a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild +++ b/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild @@ -30,12 +30,10 @@ VERSION=${VERSION:-1.1} 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 @@ -75,7 +73,7 @@ find . \ -exec chmod 644 {} \; # Patch the source so it won't break while building -patch -p4 < $CWD/include.patch +patch -p4 < $CWD/include.patch # Fix for glib>=2.31 sed -i "s|/glist||" src/qt_theme_draw.c @@ -86,7 +84,7 @@ cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} . - make + make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/libraries/gtkglarea/gtkglarea.SlackBuild b/libraries/gtkglarea/gtkglarea.SlackBuild index 3736604be558..d9159351329f 100644 --- a/libraries/gtkglarea/gtkglarea.SlackBuild +++ b/libraries/gtkglarea/gtkglarea.SlackBuild @@ -8,12 +8,10 @@ VERSION="1.99.0" 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/libraries/gtkimageview/gtkimageview.SlackBuild b/libraries/gtkimageview/gtkimageview.SlackBuild index 1a285c6b3768..aaab6857b5ff 100644 --- a/libraries/gtkimageview/gtkimageview.SlackBuild +++ b/libraries/gtkimageview/gtkimageview.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.6.4} 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/libraries/gtkmm-utils/gtkmm-utils.SlackBuild b/libraries/gtkmm-utils/gtkmm-utils.SlackBuild index 97669cba30c1..d0af007f024a 100644 --- a/libraries/gtkmm-utils/gtkmm-utils.SlackBuild +++ b/libraries/gtkmm-utils/gtkmm-utils.SlackBuild @@ -27,17 +27,15 @@ VERSION=${VERSION:-0.4.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 -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/gtkmm/gtkmm.SlackBuild b/libraries/gtkmm/gtkmm.SlackBuild index dbb1ee8b9f09..ca4ebfeacc89 100644 --- a/libraries/gtkmm/gtkmm.SlackBuild +++ b/libraries/gtkmm/gtkmm.SlackBuild @@ -29,17 +29,15 @@ VERSION=${VERSION:-2.24.4} 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 -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/gtkmm3/gtkmm3.SlackBuild b/libraries/gtkmm3/gtkmm3.SlackBuild index 36173737dd9c..fe87e82d7ab8 100644 --- a/libraries/gtkmm3/gtkmm3.SlackBuild +++ b/libraries/gtkmm3/gtkmm3.SlackBuild @@ -31,17 +31,15 @@ VERSION=${VERSION:-3.8.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 -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/guichan/guichan.SlackBuild b/libraries/guichan/guichan.SlackBuild index 6f9448d243dd..208b9c44f07e 100644 --- a/libraries/guichan/guichan.SlackBuild +++ b/libraries/guichan/guichan.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.8.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/libraries/id3lib/id3lib.SlackBuild b/libraries/id3lib/id3lib.SlackBuild index 811fbfe1e20c..f11dde28f0c7 100644 --- a/libraries/id3lib/id3lib.SlackBuild +++ b/libraries/id3lib/id3lib.SlackBuild @@ -21,7 +21,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Heavily based on original slackbuild by AlienBOB. +# Heavily based on original slackbuild by AlienBOB. # Modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=id3lib @@ -29,12 +29,10 @@ VERSION=3.8.3 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/libraries/io_lib/io_lib.SlackBuild b/libraries/io_lib/io_lib.SlackBuild index d71da918cd94..4b3e9a8a6b44 100644 --- a/libraries/io_lib/io_lib.SlackBuild +++ b/libraries/io_lib/io_lib.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=io_lib +PRGNAM=io_lib VERSION=${VERSION:-1.13.0} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/libraries/itcl/itcl.SlackBuild b/libraries/itcl/itcl.SlackBuild index acbcae9d396d..caf925cde82c 100644 --- a/libraries/itcl/itcl.SlackBuild +++ b/libraries/itcl/itcl.SlackBuild @@ -38,7 +38,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -47,7 +47,7 @@ rm -rf $PRGNAM-$VERSION /tmp/tcl$TCL tar xvf $CWD/$PRGNAM$VERSION.tar.gz mv $PRGNAM$VERSION $PRGNAM-$VERSION -# Since itcl expects tcl to be in /tmp (Slackware default in set by +# Since itcl expects tcl to be in /tmp (Slackware default in set by # /usr/lib${LIBDIRSUFFIX}/tclConfig.sh (TCL_SRC_DIR). tar -C /tmp -xvf $CWD/tcl$TCL-src.tar.xz @@ -79,12 +79,12 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ # There's nothing in $PKG/usr/bin rmdir $PKG/usr/bin -# Add manpages that are part of the source tarball, but that upstream +# Add manpages that are part of the source tarball, but that upstream # doesn't include for some reason. mkdir -p $PKG/usr/man/man3 -for manpage in $TMP/$PRGNAM-$VERSION/doc/*.3 ; do +for manpage in $TMP/$PRGNAM-$VERSION/doc/*.3 ; do gzip -9 -c $manpage > $PKG/usr/man/man3/$( basename $manpage ).gz; done - + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ license.terms \ diff --git a/libraries/iulib/iulib.SlackBuild b/libraries/iulib/iulib.SlackBuild index 9de6f3b4be35..c52bc9277de8 100644 --- a/libraries/iulib/iulib.SlackBuild +++ b/libraries/iulib/iulib.SlackBuild @@ -58,7 +58,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM diff --git a/libraries/jbigkit/jbigkit.SlackBuild b/libraries/jbigkit/jbigkit.SlackBuild index 356781a5127e..e83ab279d080 100644 --- a/libraries/jbigkit/jbigkit.SlackBuild +++ b/libraries/jbigkit/jbigkit.SlackBuild @@ -8,12 +8,10 @@ VERSION=2.0 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 @@ -50,7 +48,7 @@ chmod -R u+w,go+r-w,a-s . # Build the shared library first cd libjbig - make libjbig.a CFLAGS="$SLKCFLAGS" + make libjbig.a CFLAGS="$SLKCFLAGS" gcc -shared -o libjbig.so.$VERSION -Wl,-soname=libjbig.so.$VERSION \ $(ar t libjbig.a) ln -snf libjbig.so.$VERSION libjbig.so diff --git a/libraries/lablgtk/lablgtk.SlackBuild b/libraries/lablgtk/lablgtk.SlackBuild index 25e5409bcb4d..f83a6c152563 100644 --- a/libraries/lablgtk/lablgtk.SlackBuild +++ b/libraries/lablgtk/lablgtk.SlackBuild @@ -27,12 +27,10 @@ VERSION=2.14.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/libraries/lame/lame.SlackBuild b/libraries/lame/lame.SlackBuild index b4b32cdf1f6e..6003dc0f9ae2 100644 --- a/libraries/lame/lame.SlackBuild +++ b/libraries/lame/lame.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-3.99.5} 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 @@ -57,11 +55,11 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors. +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION diff --git a/libraries/lapack-atlas/lapack-atlas.SlackBuild b/libraries/lapack-atlas/lapack-atlas.SlackBuild index 4659a7f7e6d3..67fcc9df0119 100644 --- a/libraries/lapack-atlas/lapack-atlas.SlackBuild +++ b/libraries/lapack-atlas/lapack-atlas.SlackBuild @@ -40,7 +40,7 @@ elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" fi -set -e # Exit on most errors +set -e # This is the system destination directory. When installing the # package produced by this script, LAPACK's files will be written to @@ -84,13 +84,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Within Makefile it is asumed that lapack_testing.py is executable. +# Within Makefile it is asumed that lapack_testing.py is executable. # This is not the case, thus if TEST_LAPACK is enabled, make fails. chmod 755 ./lapack_testing.py -# If you say "no" here, the script will NOT try to link LAPACK against -# the multi-threaded ATLAS libraries. If you leave it to "yes" and the -# multi-threaded ATLAS libraries are not available, the script will default +# If you say "no" here, the script will NOT try to link LAPACK against +# the multi-threaded ATLAS libraries. If you leave it to "yes" and the +# multi-threaded ATLAS libraries are not available, the script will default # to linking against the single threaded ones and raise a warning. USE_ATLAS_PT_LIBS="${USE_ATLAS_PT_LIBS:-yes}" USE_ATLAS_PT_LIBS=$(echo "$USE_ATLAS_PT_LIBS"|cut -b 1|tr a-z A-Z) # Make Y or N out of yes, Yes, No, no, etc. @@ -100,7 +100,7 @@ TEST_LAPACK="${TEST_LAPACK:-no}" # Make Y or N out of yes, Yes, No, no, etc. TEST_LAPACK=$(echo "$TEST_LAPACK"|cut -b 1|tr a-z A-Z) -# Search for the latest installed atlas package +# Search for the latest installed atlas package # (not necessarily the one with the latest version). # For this to work the system clock should also work properly. # NOTE: The echo statement below is for getting around "set -e" this time. @@ -111,8 +111,8 @@ ATLAS_PKG="$(ls -1 -dc /var/log/packages/atlas* 2>/dev/null | \ [ ! "$ATLAS_PKG" ] && \ echo "ERROR: Couldn't find the ATLAS package." && exit 1 -# Pick up the SETTINGS file containing the appropriate flags, use again the -# echo trick against "set -e". You may also provide your own path to a file +# Pick up the SETTINGS file containing the appropriate flags, use again the +# echo trick against "set -e". You may also provide your own path to a file # containing apropriate settings, see the README for details ATLAS_SETTINGS_FILE=${ATLAS_SETTINGS_FILE:-"/$(grep SETTINGS "$ATLAS_PKG" || echo -n)"} @@ -137,7 +137,7 @@ echo "ERROR: No location available for the file with ATLAS settings." && exit 1 # Otherwise, please read LAPACK's make.inc for more informations. LAPACK_TIMER="${LAPACK_TIMER:-INT_ETIME}" -# Looking for the libraries provided by ATLAS. If one asks for threaded +# Looking for the libraries provided by ATLAS. If one asks for threaded # libraries and these are available we will try to link against them. if [ "$USE_ATLAS_PT_LIBS" = "Y" ]; then # Set proper library names for the threaded ATLAS libs. @@ -145,9 +145,9 @@ if [ "$USE_ATLAS_PT_LIBS" = "Y" ]; then ATLAS_CBLASLIB="libptcblas.a" # Find out the full paths to the ATLAS libraries ATLAS_BLASLIB_P="/$(grep "$ATLAS_BLASLIB" "$ATLAS_PKG" || echo -n)" - # We need this to finally link against the mixed LAPACK library, resulting + # We need this to finally link against the mixed LAPACK library, resulting # from the full LAPACK and the optimized LAPACK routines provided by ATLAS. - ATLAS_CBLASLIB_P="/$(grep "$ATLAS_CBLASLIB" "$ATLAS_PKG" || echo -n)" + ATLAS_CBLASLIB_P="/$(grep "$ATLAS_CBLASLIB" "$ATLAS_PKG" || echo -n)" if [ "${ATLAS_BLASLIB_P}1" = "/1" -o "${ATLAS_CBLASLIB_P}1" = "/1" ]; then # Oops! The threaded libraries are not available! echo "" @@ -178,7 +178,7 @@ ATLAS_LAPACK="/$(grep liblapack.a "$ATLAS_PKG" || echo -n)" { echo "ERROR: ATLAS libraries missing from the Slackware ATLAS package log." && exit 1; } # Check that the library files are there. -# NOTE: After the installation of this package, the incomplete LAPACK library +# NOTE: After the installation of this package, the incomplete LAPACK library # installed by ATLAS gets substituted by the complete one provided by us [ -f "$ATLAS_BLASLIB" -a -r "$ATLAS_BLASLIB" ] || \ { echo "ERROR: $ATLAS_BLASLIB is not a regular file or is not readable by us." && exit 1; } @@ -221,7 +221,7 @@ rm -rf merging_dir if [ "$TEST_LAPACK" = "Y" ]; then # We want to test LAPACK, thus we have to build tmglib and then run the tests make OPTS="$LAPACK_OPTS" NOOPT="$LAPACK_NOOPT" tmglib - + # Update make.inc taking into account that the LAPACK library has # been merged with the optimized LAPACK routines provided by ATLAS. ATLAS_LIBS="${ATLAS_BLASLIB} ${ATLAS_CBLASLIB} ${ATLAS_EXTRA_LIB}" @@ -243,7 +243,7 @@ if [ "$TEST_LAPACK" = "Y" ]; then TEST_OUTPUT="TEST.RESULTS.tgz" tar czf "$TEST_OUTPUT" TESTING/*.out fi - + #LAPACK only. ( mkdir "shared_$SRCNAM" cd "shared_$SRCNAM" diff --git a/libraries/lapack/lapack.SlackBuild b/libraries/lapack/lapack.SlackBuild index 1ee2e1cf700d..55ea30ccfe98 100644 --- a/libraries/lapack/lapack.SlackBuild +++ b/libraries/lapack/lapack.SlackBuild @@ -41,7 +41,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/lensfun/lensfun.SlackBuild b/libraries/lensfun/lensfun.SlackBuild index 398fc3530a28..dfeecc4e2530 100644 --- a/libraries/lensfun/lensfun.SlackBuild +++ b/libraries/lensfun/lensfun.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # -# Slackware build script of lensfun +# Slackware build script of lensfun # Copyright 2009 Ricardson Williams <ricardsonwilliams at yahoo.com.br> # All rights reserved. @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.2.8} 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 @@ -71,7 +69,7 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - || exit 1 + || exit 1 make install DESTDIR=$PKG || exit 1 diff --git a/libraries/leptonica/leptonica.SlackBuild b/libraries/leptonica/leptonica.SlackBuild index d0f889106cef..d356b3d48ce4 100644 --- a/libraries/leptonica/leptonica.SlackBuild +++ b/libraries/leptonica/leptonica.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.69} 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/libraries/lgi/lgi.SlackBuild b/libraries/lgi/lgi.SlackBuild index 0795b2d3df1c..b007d4ade747 100644 --- a/libraries/lgi/lgi.SlackBuild +++ b/libraries/lgi/lgi.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for lgi +# Slackware build script for lgi # Copyright 2013 Heiko Rosemann Germany # All rights reserved. @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.7.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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libAfterImage/libAfterImage.SlackBuild b/libraries/libAfterImage/libAfterImage.SlackBuild index 47e67a04090a..f06986a2ac26 100644 --- a/libraries/libAfterImage/libAfterImage.SlackBuild +++ b/libraries/libAfterImage/libAfterImage.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libAfterImage -# Written by Larry Hajali +# Written by Larry Hajali # Now maintained by David Woodfall <dave@dawoodfall.net> PRGNAM=libAfterImage diff --git a/libraries/libalkimia/libalkimia.SlackBuild b/libraries/libalkimia/libalkimia.SlackBuild index 1bcd2ce18b3e..1b044637072b 100644 --- a/libraries/libalkimia/libalkimia.SlackBuild +++ b/libraries/libalkimia/libalkimia.SlackBuild @@ -80,8 +80,8 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. - make VERBOSE=1 - make install VERBOSE=1 DESTDIR=$PKG + make VERBOSE=1 + make install VERBOSE=1 DESTDIR=$PKG cd - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/libraries/libaosd/libaosd.SlackBuild b/libraries/libaosd/libaosd.SlackBuild index e9a92ac5f015..522e26ca7ab7 100644 --- a/libraries/libaosd/libaosd.SlackBuild +++ b/libraries/libaosd/libaosd.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.2.7} 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/libraries/libcacard/libcacard.SlackBuild b/libraries/libcacard/libcacard.SlackBuild index a9819d79c54a..41d1d4f350dd 100644 --- a/libraries/libcacard/libcacard.SlackBuild +++ b/libraries/libcacard/libcacard.SlackBuild @@ -37,7 +37,7 @@ fi DOCS="AUTHORS COPYING ChangeLog NEWS README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libcap-ng/libcap-ng.SlackBuild b/libraries/libcap-ng/libcap-ng.SlackBuild index f961a6600771..4ee42237bdb7 100644 --- a/libraries/libcap-ng/libcap-ng.SlackBuild +++ b/libraries/libcap-ng/libcap-ng.SlackBuild @@ -42,7 +42,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -76,7 +76,7 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux # This only works if our kernel-headers match the kernel, which is a horrible assumption -# make check +# make check make make install-strip DESTDIR=$PKG diff --git a/libraries/libchewing/libchewing.SlackBuild b/libraries/libchewing/libchewing.SlackBuild index adb75d2a1240..8e763d62163b 100644 --- a/libraries/libchewing/libchewing.SlackBuild +++ b/libraries/libchewing/libchewing.SlackBuild @@ -31,7 +31,6 @@ 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 @@ -55,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libcli/libcli.SlackBuild b/libraries/libcli/libcli.SlackBuild index 5a11da77926a..d754fc9d7ac6 100644 --- a/libraries/libcli/libcli.SlackBuild +++ b/libraries/libcli/libcli.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.9.4 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/libraries/libconfig/libconfig.SlackBuild b/libraries/libconfig/libconfig.SlackBuild index 18768d31d392..0f646d6ce77e 100644 --- a/libraries/libconfig/libconfig.SlackBuild +++ b/libraries/libconfig/libconfig.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.4.9} 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/libraries/libcryptui/libcryptui.SlackBuild b/libraries/libcryptui/libcryptui.SlackBuild index e39279030211..427b26890901 100644 --- a/libraries/libcryptui/libcryptui.SlackBuild +++ b/libraries/libcryptui/libcryptui.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="AUTHORS COPYING* ChangeLog HACKING MAINTAINERS NEWS README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libcsv/libcsv.SlackBuild b/libraries/libcsv/libcsv.SlackBuild index e9b43a4d460d..2e6fdf07b71a 100644 --- a/libraries/libcsv/libcsv.SlackBuild +++ b/libraries/libcsv/libcsv.SlackBuild @@ -25,11 +25,9 @@ VERSION=${VERSION:-"3.0.0"} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine architecture for build & packaging: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi diff --git a/libraries/libcue/libcue.SlackBuild b/libraries/libcue/libcue.SlackBuild index 112f55ff5cda..7f446bf3e7ee 100644 --- a/libraries/libcue/libcue.SlackBuild +++ b/libraries/libcue/libcue.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.3.0 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/libraries/libdbi-drivers/libdbi-drivers.SlackBuild b/libraries/libdbi-drivers/libdbi-drivers.SlackBuild index de596cefcfac..8188bdd132b7 100644 --- a/libraries/libdbi-drivers/libdbi-drivers.SlackBuild +++ b/libraries/libdbi-drivers/libdbi-drivers.SlackBuild @@ -11,12 +11,10 @@ TAG=${TAG:-_SBo} SRCVERSION=$(echo $VERSION | tr _ -) -# 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/libraries/libdca/libdca.SlackBuild b/libraries/libdca/libdca.SlackBuild index fbf8767293f2..5be86e94d6f9 100644 --- a/libraries/libdca/libdca.SlackBuild +++ b/libraries/libdca/libdca.SlackBuild @@ -29,12 +29,10 @@ VERSION=0.0.5 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/libraries/libdmtx/libdmtx.SlackBuild b/libraries/libdmtx/libdmtx.SlackBuild index dc4a848ea6fe..6eba3c9192cd 100644 --- a/libraries/libdmtx/libdmtx.SlackBuild +++ b/libraries/libdmtx/libdmtx.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.7.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 @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libdockapp/libdockapp.SlackBuild b/libraries/libdockapp/libdockapp.SlackBuild index a1a8e99cd0b8..e7a6ca05f4b9 100644 --- a/libraries/libdockapp/libdockapp.SlackBuild +++ b/libraries/libdockapp/libdockapp.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.6.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 @@ -55,7 +53,7 @@ find . \ -exec chmod 644 {} \; # Fixup the SHAREDIR in examples/Makefile.in -patch -p1 < $CWD/Fixup-examples-sharedir.patch +patch -p1 < $CWD/Fixup-examples-sharedir.patch CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -67,7 +65,7 @@ CFLAGS="$SLKCFLAGS" \ --disable-debug \ --build=$ARCH-slackware-linux -make XFONTDIR="\$(DESTDIR)/usr/share/fonts" +make XFONTDIR="\$(DESTDIR)/usr/share/fonts" make install DESTDIR=$PKG XFONTDIR="\$(DESTDIR)/usr/share/fonts" find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/libraries/libdvbpsi/libdvbpsi.SlackBuild b/libraries/libdvbpsi/libdvbpsi.SlackBuild index f284ebac21b2..c106800237e6 100644 --- a/libraries/libdvbpsi/libdvbpsi.SlackBuild +++ b/libraries/libdvbpsi/libdvbpsi.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.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/libraries/libdvdcss/libdvdcss.SlackBuild b/libraries/libdvdcss/libdvdcss.SlackBuild index ad0e80d4b64a..f4abe51af183 100644 --- a/libraries/libdvdcss/libdvdcss.SlackBuild +++ b/libraries/libdvdcss/libdvdcss.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.2.13 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/libraries/libdynamite/libdynamite.SlackBuild b/libraries/libdynamite/libdynamite.SlackBuild index f78bbe38dcf1..9dfd6e8c9136 100644 --- a/libraries/libdynamite/libdynamite.SlackBuild +++ b/libraries/libdynamite/libdynamite.SlackBuild @@ -7,12 +7,10 @@ VERSION=${VERSION:-0.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/libraries/libebml/libebml.SlackBuild b/libraries/libebml/libebml.SlackBuild index bf69b6405a8c..4fb59c546c59 100644 --- a/libraries/libebml/libebml.SlackBuild +++ b/libraries/libebml/libebml.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh # Slackware build script for libebml diff --git a/libraries/libee/libee.SlackBuild b/libraries/libee/libee.SlackBuild index 1a936c100a39..3d10314bcb84 100644 --- a/libraries/libee/libee.SlackBuild +++ b/libraries/libee/libee.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libesmtp/libesmtp.SlackBuild b/libraries/libesmtp/libesmtp.SlackBuild index 3195e9f40c2c..24c2641ac209 100644 --- a/libraries/libesmtp/libesmtp.SlackBuild +++ b/libraries/libesmtp/libesmtp.SlackBuild @@ -11,12 +11,10 @@ VERSION=1.0.4 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/libraries/libestr/libestr.SlackBuild b/libraries/libestr/libestr.SlackBuild index 5c4e73160b02..52899fc65527 100644 --- a/libraries/libestr/libestr.SlackBuild +++ b/libraries/libestr/libestr.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -79,7 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ - --disable-static + --disable-static make make install DESTDIR=$PKG diff --git a/libraries/libev/libev.SlackBuild b/libraries/libev/libev.SlackBuild index bcbe0c28ecd3..dfbc286ae5b7 100644 --- a/libraries/libev/libev.SlackBuild +++ b/libraries/libev/libev.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-4.11} 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/libraries/libexif-gtk/libexif-gtk.SlackBuild b/libraries/libexif-gtk/libexif-gtk.SlackBuild index fbe65573cc0c..dc75891055c0 100644 --- a/libraries/libexif-gtk/libexif-gtk.SlackBuild +++ b/libraries/libexif-gtk/libexif-gtk.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh - -# Slackware Build Script for libexif-gtk + +# Slackware Build Script for libexif-gtk # (C) 2007 Michael Wagner <lapinours@web.de> # All rights reserved. @@ -21,18 +21,16 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + PRGNAM=libexif-gtk VERSION=0.3.5 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 @@ -62,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 cd $PRGNAM-$VERSION || exit 1 chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -79,7 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --program-prefix="" \ || exit 1 - + make || exit 1 make install-strip DESTDIR=$PKG || exit 1 diff --git a/libraries/libflashsupport/libflashsupport.SlackBuild b/libraries/libflashsupport/libflashsupport.SlackBuild index c2ee9e89c707..16863d2f7ee7 100644 --- a/libraries/libflashsupport/libflashsupport.SlackBuild +++ b/libraries/libflashsupport/libflashsupport.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-20080328} 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/libraries/libfprint/libfprint.SlackBuild b/libraries/libfprint/libfprint.SlackBuild index 11990e9c02bc..4dc4847e6a45 100644 --- a/libraries/libfprint/libfprint.SlackBuild +++ b/libraries/libfprint/libfprint.SlackBuild @@ -11,12 +11,10 @@ VERSION=0.0.6 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/libraries/libg15/libg15.SlackBuild b/libraries/libg15/libg15.SlackBuild index c6813d9db5e6..575754fc65a2 100644 --- a/libraries/libg15/libg15.SlackBuild +++ b/libraries/libg15/libg15.SlackBuild @@ -31,12 +31,10 @@ TAG=${TAG:-_SBo} DOCS="README AUTHORS ChangeLog NEWS COPYING" -# 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/libraries/libg15render/libg15render.SlackBuild b/libraries/libg15render/libg15render.SlackBuild index 5b7c9ef23094..b816adf82e84 100644 --- a/libraries/libg15render/libg15render.SlackBuild +++ b/libraries/libg15render/libg15render.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-1.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/libraries/libgig/libgig.SlackBuild b/libraries/libgig/libgig.SlackBuild index cdf720818576..b94d57efd347 100644 --- a/libraries/libgig/libgig.SlackBuild +++ b/libraries/libgig/libgig.SlackBuild @@ -7,18 +7,16 @@ VERSION=${VERSION:-3.3.0} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/libgksu/libgksu.SlackBuild b/libraries/libgksu/libgksu.SlackBuild index cb1190b5f728..f6fe58725ab0 100644 --- a/libraries/libgksu/libgksu.SlackBuild +++ b/libraries/libgksu/libgksu.SlackBuild @@ -95,7 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-shared \ --disable-static \ --build=$ARCH-slackware-linux - + make make install DESTDIR=$PKG @@ -110,7 +110,7 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( cd $PKG/usr/doc/$PRGNAM-$VERSION +( cd $PKG/usr/doc/$PRGNAM-$VERSION ln -s /usr/share/gtk-doc/html/libgksu html ) diff --git a/libraries/libglademm/libglademm.SlackBuild b/libraries/libglademm/libglademm.SlackBuild index aa39ce2312b4..747ec79ae5d4 100644 --- a/libraries/libglademm/libglademm.SlackBuild +++ b/libraries/libglademm/libglademm.SlackBuild @@ -27,12 +27,10 @@ VERSION=2.6.7 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/libraries/libglpng/libglpng.SlackBuild b/libraries/libglpng/libglpng.SlackBuild index d8cc560c5f69..f59e7a8aeff2 100644 --- a/libraries/libglpng/libglpng.SlackBuild +++ b/libraries/libglpng/libglpng.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.45 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 @@ -74,7 +72,7 @@ make install DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG/usr # The Makefile doesn't make this easy :/ if [ "$ARCH" = "x86_64" ]; then - mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} + mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} fi strip --strip-unneeded $PKG/usr/lib${LIBDIRSUFFIX}/* 2> /dev/null || true diff --git a/libraries/libgnomecanvas/libgnomecanvas.SlackBuild b/libraries/libgnomecanvas/libgnomecanvas.SlackBuild index db44da0daefd..e9f2254aa361 100644 --- a/libraries/libgnomecanvas/libgnomecanvas.SlackBuild +++ b/libraries/libgnomecanvas/libgnomecanvas.SlackBuild @@ -14,12 +14,10 @@ VERSION=${VERSION:-2.30.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 diff --git a/libraries/libgnomecups/libgnomecups.SlackBuild b/libraries/libgnomecups/libgnomecups.SlackBuild index 6cf321fb74ce..582ef9ee7cc4 100644 --- a/libraries/libgnomecups/libgnomecups.SlackBuild +++ b/libraries/libgnomecups/libgnomecups.SlackBuild @@ -93,7 +93,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-static=no \ --build=$ARCH-slackware-linux \ --host=$ARCH-slackware-linux - + make make install DESTDIR=$PKG diff --git a/libraries/libgnomeprint/libgnomeprint.SlackBuild b/libraries/libgnomeprint/libgnomeprint.SlackBuild index ef30588c020a..6c4971439aa5 100644 --- a/libraries/libgnomeprint/libgnomeprint.SlackBuild +++ b/libraries/libgnomeprint/libgnomeprint.SlackBuild @@ -81,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-static=no \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG diff --git a/libraries/libgringotts/libgringotts.SlackBuild b/libraries/libgringotts/libgringotts.SlackBuild index a351dd664a1d..9d38f5801735 100644 --- a/libraries/libgringotts/libgringotts.SlackBuild +++ b/libraries/libgringotts/libgringotts.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.2.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/libraries/libgtop/libgtop.SlackBuild b/libraries/libgtop/libgtop.SlackBuild index 2b1df48e350c..a0fa9e88cfac 100644 --- a/libraries/libgtop/libgtop.SlackBuild +++ b/libraries/libgtop/libgtop.SlackBuild @@ -83,7 +83,7 @@ CXXFLAGS="$SLKCFLAGS" \ --with-x \ --disable-hacker-mode \ --build=$ARCH-slackware-linux - + make make install DESTDIR=$PKG @@ -100,7 +100,7 @@ cp -a \ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild ( cd $PKG/usr/doc/$PRGNAM-$VERSION - ln -s /usr/share/gtk-doc/html/libgtop html + ln -s /usr/share/gtk-doc/html/libgtop html ) mkdir -p $PKG/install diff --git a/libraries/libhid/libhid.SlackBuild b/libraries/libhid/libhid.SlackBuild index 76051ad9d60c..077a203741a8 100644 --- a/libraries/libhid/libhid.SlackBuild +++ b/libraries/libhid/libhid.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.2.16} 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/libraries/libiec61883/libiec61883.SlackBuild b/libraries/libiec61883/libiec61883.SlackBuild index ff81009d471c..b0cabec69361 100644 --- a/libraries/libiec61883/libiec61883.SlackBuild +++ b/libraries/libiec61883/libiec61883.SlackBuild @@ -30,12 +30,10 @@ VERSION=1.2.0 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/libraries/libinstpatch/libinstpatch.SlackBuild b/libraries/libinstpatch/libinstpatch.SlackBuild index 7bd16d51dc86..344ae6298d1f 100644 --- a/libraries/libinstpatch/libinstpatch.SlackBuild +++ b/libraries/libinstpatch/libinstpatch.SlackBuild @@ -14,7 +14,7 @@ if [ -z "$ARCH" ]; then esac fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/libiptcdata/libiptcdata.SlackBuild b/libraries/libiptcdata/libiptcdata.SlackBuild index 56b13ae49ccb..1c92eec61ae8 100644 --- a/libraries/libiptcdata/libiptcdata.SlackBuild +++ b/libraries/libiptcdata/libiptcdata.SlackBuild @@ -29,12 +29,10 @@ VERSION=1.0.4 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/libraries/libisoburn/libisoburn.SlackBuild b/libraries/libisoburn/libisoburn.SlackBuild index 34fa40250377..ff7c46b3f3fb 100644 --- a/libraries/libisoburn/libisoburn.SlackBuild +++ b/libraries/libisoburn/libisoburn.SlackBuild @@ -12,12 +12,10 @@ VERSION=${VERSION:-1.3.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/libraries/libixp/libixp.SlackBuild b/libraries/libixp/libixp.SlackBuild index 03b929218672..cb77b1c53f4b 100644 --- a/libraries/libixp/libixp.SlackBuild +++ b/libraries/libixp/libixp.SlackBuild @@ -26,12 +26,10 @@ VERSION=0.5 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/libraries/libkate/libkate.SlackBuild b/libraries/libkate/libkate.SlackBuild index c7755f867b02..bbb10c25f0c5 100644 --- a/libraries/libkate/libkate.SlackBuild +++ b/libraries/libkate/libkate.SlackBuild @@ -57,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/liblscp/liblscp.SlackBuild b/libraries/liblscp/liblscp.SlackBuild index 8251492d033a..2951ee0e9e9d 100644 --- a/libraries/liblscp/liblscp.SlackBuild +++ b/libraries/liblscp/liblscp.SlackBuild @@ -7,18 +7,16 @@ VERSION=${VERSION:-0.5.6} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/libmimedir/libmimedir.SlackBuild b/libraries/libmimedir/libmimedir.SlackBuild index 7c5168faae98..f49ca231428f 100644 --- a/libraries/libmimedir/libmimedir.SlackBuild +++ b/libraries/libmimedir/libmimedir.SlackBuild @@ -2,23 +2,21 @@ # Slackware build script for libmimedir # Written by redtricycle (redtricycle@gmail.com) -PRGNAM=libmimedir +PRGNAM=libmimedir VERSION=${VERSION:-0.5.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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -36,7 +34,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libmimic/libmimic.SlackBuild b/libraries/libmimic/libmimic.SlackBuild index 6a6dc5faf254..53eb568ba8bb 100644 --- a/libraries/libmimic/libmimic.SlackBuild +++ b/libraries/libmimic/libmimic.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.0.4} 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/libraries/libmp4v2/libmp4v2.SlackBuild b/libraries/libmp4v2/libmp4v2.SlackBuild index 0d849396e2ae..643dbfed82f5 100644 --- a/libraries/libmp4v2/libmp4v2.SlackBuild +++ b/libraries/libmp4v2/libmp4v2.SlackBuild @@ -4,7 +4,7 @@ # Copyright (c) 2007 Alex Lysenka <me@alkos333.net> # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: @@ -39,12 +39,10 @@ VERSION=2.0.0 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/libraries/libmpd/libmpd.SlackBuild b/libraries/libmpd/libmpd.SlackBuild index 7eb6e49697a0..cd8597ad6b1c 100644 --- a/libraries/libmpd/libmpd.SlackBuild +++ b/libraries/libmpd/libmpd.SlackBuild @@ -10,12 +10,10 @@ VERSION=0.20.0 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/libraries/libmpdclient/libmpdclient.SlackBuild b/libraries/libmpdclient/libmpdclient.SlackBuild index d59d3aa2475e..b040ae689392 100644 --- a/libraries/libmpdclient/libmpdclient.SlackBuild +++ b/libraries/libmpdclient/libmpdclient.SlackBuild @@ -8,12 +8,10 @@ VERSION=2.7 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/libraries/libmspack/libmspack.SlackBuild b/libraries/libmspack/libmspack.SlackBuild index 752d3bce7ba4..16e2e0e70bff 100644 --- a/libraries/libmspack/libmspack.SlackBuild +++ b/libraries/libmspack/libmspack.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.4alpha 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 @@ -80,7 +78,7 @@ CFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING.LIB INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION/html diff --git a/libraries/libmusicbrainz/libmusicbrainz.SlackBuild b/libraries/libmusicbrainz/libmusicbrainz.SlackBuild index 029186d14f85..105a71e2f49b 100644 --- a/libraries/libmusicbrainz/libmusicbrainz.SlackBuild +++ b/libraries/libmusicbrainz/libmusicbrainz.SlackBuild @@ -7,18 +7,16 @@ VERSION=${VERSION:-2.1.5} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/libmygpo-qt/libmygpo-qt.SlackBuild b/libraries/libmygpo-qt/libmygpo-qt.SlackBuild index 3973488332b7..60f189e8fd06 100644 --- a/libraries/libmygpo-qt/libmygpo-qt.SlackBuild +++ b/libraries/libmygpo-qt/libmygpo-qt.SlackBuild @@ -76,7 +76,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/libraries/libnids/libnids.SlackBuild b/libraries/libnids/libnids.SlackBuild index 26b9b4282f0c..ef1595c6f417 100644 --- a/libraries/libnids/libnids.SlackBuild +++ b/libraries/libnids/libnids.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.24} 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/libraries/libnxml/libnxml.SlackBuild b/libraries/libnxml/libnxml.SlackBuild index 41ed54d302f9..e4666c1401af 100644 --- a/libraries/libnxml/libnxml.SlackBuild +++ b/libraries/libnxml/libnxml.SlackBuild @@ -8,12 +8,10 @@ VERSION=0.18.3 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 @@ -37,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libofa/libofa.SlackBuild b/libraries/libofa/libofa.SlackBuild index 8a28d04d4aba..6f2ef0d969f7 100644 --- a/libraries/libofa/libofa.SlackBuild +++ b/libraries/libofa/libofa.SlackBuild @@ -7,18 +7,16 @@ VERSION=${VERSION:-0.9.3} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/liboop/liboop.SlackBuild b/libraries/liboop/liboop.SlackBuild index 5d241bfeac5b..d0e05ba88254 100644 --- a/libraries/liboop/liboop.SlackBuild +++ b/libraries/liboop/liboop.SlackBuild @@ -14,12 +14,10 @@ VERSION=${VERSION:-1.0} 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 @@ -43,7 +41,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libopenraw/libopenraw.SlackBuild b/libraries/libopenraw/libopenraw.SlackBuild index e05360cdf266..db3d6732e05c 100644 --- a/libraries/libopenraw/libopenraw.SlackBuild +++ b/libraries/libopenraw/libopenraw.SlackBuild @@ -68,7 +68,7 @@ find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/libraries/liborigin/liborigin.SlackBuild b/libraries/liborigin/liborigin.SlackBuild index 248a0dac9fbc..58315561685f 100644 --- a/libraries/liborigin/liborigin.SlackBuild +++ b/libraries/liborigin/liborigin.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -60,8 +60,8 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release \ - -DBoost_LIBRARY_DIRS=/usr/lib64 - make + -DBoost_LIBRARY_DIRS=/usr/lib64 + make make install DESTDIR=$PKG cd .. diff --git a/libraries/libowfat/libowfat.SlackBuild b/libraries/libowfat/libowfat.SlackBuild index 498bac8fbc34..2effdd02058f 100644 --- a/libraries/libowfat/libowfat.SlackBuild +++ b/libraries/libowfat/libowfat.SlackBuild @@ -26,7 +26,7 @@ # markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 # 2010 June 25 - initial release - + PRGNAM=libowfat VERSION=${VERSION:-0.28} BUILD=${BUILD:-1} diff --git a/libraries/libpaper/libpaper.SlackBuild b/libraries/libpaper/libpaper.SlackBuild index d0de134cf71b..b63418efc32c 100644 --- a/libraries/libpaper/libpaper.SlackBuild +++ b/libraries/libpaper/libpaper.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.1.24+nmu2} 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/libraries/libpar2/libpar2.SlackBuild b/libraries/libpar2/libpar2.SlackBuild index 49b6b7d29d84..a52565d2b3ef 100644 --- a/libraries/libpar2/libpar2.SlackBuild +++ b/libraries/libpar2/libpar2.SlackBuild @@ -24,12 +24,10 @@ VERSION=0.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/libraries/libpgf/libpgf.SlackBuild b/libraries/libpgf/libpgf.SlackBuild index 384223c6a456..41f0ae22bc9c 100644 --- a/libraries/libpgf/libpgf.SlackBuild +++ b/libraries/libpgf/libpgf.SlackBuild @@ -29,12 +29,10 @@ VERSION=6.12.24 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) export ARCH=i486 ;; arm*) export ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; esac fi diff --git a/libraries/libpseudo/libpseudo.SlackBuild b/libraries/libpseudo/libpseudo.SlackBuild index 45bc4b289363..9d572ffe7476 100644 --- a/libraries/libpseudo/libpseudo.SlackBuild +++ b/libraries/libpseudo/libpseudo.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.1.0 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/libraries/libpst/libpst.SlackBuild b/libraries/libpst/libpst.SlackBuild index 4565db702c9a..e4fd9f9946bf 100644 --- a/libraries/libpst/libpst.SlackBuild +++ b/libraries/libpst/libpst.SlackBuild @@ -95,7 +95,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -# Package documentation has aready been copied +# Package documentation has aready been copied # into $PKG/usr/doc/$PRGNAM-$VERSION by "make install" cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/libqinfinity/libqinfinity.SlackBuild b/libraries/libqinfinity/libqinfinity.SlackBuild index 5a4e61374c5c..734cc2613047 100644 --- a/libraries/libqinfinity/libqinfinity.SlackBuild +++ b/libraries/libqinfinity/libqinfinity.SlackBuild @@ -62,7 +62,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/libraries/libqxt/libqxt.SlackBuild b/libraries/libqxt/libqxt.SlackBuild index 26fd9693ffd0..b5dcb17c2cda 100644 --- a/libraries/libqxt/libqxt.SlackBuild +++ b/libraries/libqxt/libqxt.SlackBuild @@ -24,7 +24,7 @@ # Modified by the SlackBuilds.org project -PRGNAM=libqxt +PRGNAM=libqxt VERSION=${VERSION:-0.6.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/librapi2/librapi2.SlackBuild b/libraries/librapi2/librapi2.SlackBuild index c2c5b491f78c..70d452240970 100644 --- a/libraries/librapi2/librapi2.SlackBuild +++ b/libraries/librapi2/librapi2.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.13.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 @@ -37,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/librcd/librcd.SlackBuild b/libraries/librcd/librcd.SlackBuild index d4dde8861472..8d99e76c910c 100644 --- a/libraries/librcd/librcd.SlackBuild +++ b/libraries/librcd/librcd.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.1.11} 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/libraries/librelp/librelp.SlackBuild b/libraries/librelp/librelp.SlackBuild index ef84944e567a..d78cca999a61 100644 --- a/libraries/librelp/librelp.SlackBuild +++ b/libraries/librelp/librelp.SlackBuild @@ -82,7 +82,7 @@ make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html cp -a \ AUTHORS COPYING ChangeLog INSTALL NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION cp -a doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/librra/librra.SlackBuild b/libraries/librra/librra.SlackBuild index 181f77397ef9..5fab7c86f227 100644 --- a/libraries/librra/librra.SlackBuild +++ b/libraries/librra/librra.SlackBuild @@ -2,23 +2,21 @@ # Slackware build script for librra # Written by Lionel Young (redtricycle@gmail.com) -PRGNAM=librra +PRGNAM=librra VERSION=${VERSION:-0.13} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -36,7 +34,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/librsync/librsync.SlackBuild b/libraries/librsync/librsync.SlackBuild index e7da10e0ac1b..58b3af79fc84 100644 --- a/libraries/librsync/librsync.SlackBuild +++ b/libraries/librsync/librsync.SlackBuild @@ -12,12 +12,10 @@ VERSION=0.9.7 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 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION diff --git a/libraries/librtfcomp/librtfcomp.SlackBuild b/libraries/librtfcomp/librtfcomp.SlackBuild index aa76e96341dc..ac3e4311fbc4 100644 --- a/libraries/librtfcomp/librtfcomp.SlackBuild +++ b/libraries/librtfcomp/librtfcomp.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/libshout/libshout.SlackBuild b/libraries/libshout/libshout.SlackBuild index 2a15e07024d0..a24d218dc87b 100644 --- a/libraries/libshout/libshout.SlackBuild +++ b/libraries/libshout/libshout.SlackBuild @@ -5,17 +5,15 @@ # Written by Rodney Cobb (rdc@ktabic.co.uk) # Modified by Robby Workman <rworkman@slackbuilds.org> -PRGNAM=libshout +PRGNAM=libshout VERSION=${VERSION:-2.2.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 @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libsigc++/libsigc++.SlackBuild b/libraries/libsigc++/libsigc++.SlackBuild index c63890e3add0..6c52f4e91807 100644 --- a/libraries/libsigc++/libsigc++.SlackBuild +++ b/libraries/libsigc++/libsigc++.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for libsigc++ +# Slackware build script for libsigc++ # Copyright (C) 2006 paul wisehart wise@lupulin.net # All rights reserved. @@ -30,17 +30,15 @@ VERSION=2.2.11 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 -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/libsmbios/libsmbios.SlackBuild b/libraries/libsmbios/libsmbios.SlackBuild index c501a105c3ea..198b1c496b8e 100644 --- a/libraries/libsmbios/libsmbios.SlackBuild +++ b/libraries/libsmbios/libsmbios.SlackBuild @@ -5,12 +5,10 @@ VERSION=2.2.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 diff --git a/libraries/libsmi/libsmi.SlackBuild b/libraries/libsmi/libsmi.SlackBuild index fecfbbf9a8ce..f5ff887b72a9 100644 --- a/libraries/libsmi/libsmi.SlackBuild +++ b/libraries/libsmi/libsmi.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.4.8} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libsynce/libsynce.SlackBuild b/libraries/libsynce/libsynce.SlackBuild index d42fc221e074..c116fac11cb8 100644 --- a/libraries/libsynce/libsynce.SlackBuild +++ b/libraries/libsynce/libsynce.SlackBuild @@ -2,23 +2,21 @@ # Slackware build script for libsynce # Written by redtricycle (redtricycle@gmail.com) -PRGNAM=libsynce +PRGNAM=libsynce VERSION=${VERSION:-0.13} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -36,7 +34,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libtar/libtar.SlackBuild b/libraries/libtar/libtar.SlackBuild index 1028d9e29972..0927a9fe8ac8 100644 --- a/libraries/libtar/libtar.SlackBuild +++ b/libraries/libtar/libtar.SlackBuild @@ -31,12 +31,10 @@ VERSION=${VERSION:-1.2.11} 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/libraries/libtirpc/libtirpc.SlackBuild b/libraries/libtirpc/libtirpc.SlackBuild index 5eb99dbbb73a..269587229308 100644 --- a/libraries/libtirpc/libtirpc.SlackBuild +++ b/libraries/libtirpc/libtirpc.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO VERSION" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/libtunepimp/libtunepimp.SlackBuild b/libraries/libtunepimp/libtunepimp.SlackBuild index 0e502af12f29..60c198d0789a 100644 --- a/libraries/libtunepimp/libtunepimp.SlackBuild +++ b/libraries/libtunepimp/libtunepimp.SlackBuild @@ -7,19 +7,17 @@ VERSION=${VERSION:-0.5.3} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/libunique/libunique.SlackBuild b/libraries/libunique/libunique.SlackBuild index 6b6fa94ea86f..2c868e011f14 100644 --- a/libraries/libunique/libunique.SlackBuild +++ b/libraries/libunique/libunique.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.1.6} BUILD=${BUILD:-4} 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/libraries/libunique3/libunique3.SlackBuild b/libraries/libunique3/libunique3.SlackBuild index 63b7ceefec40..c14977c4d7c6 100644 --- a/libraries/libunique3/libunique3.SlackBuild +++ b/libraries/libunique3/libunique3.SlackBuild @@ -30,12 +30,10 @@ VERSION=${VERSION:-3.0.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/libraries/libunwind/libunwind.SlackBuild b/libraries/libunwind/libunwind.SlackBuild index dbedbe8e9deb..353c4cd7f109 100644 --- a/libraries/libunwind/libunwind.SlackBuild +++ b/libraries/libunwind/libunwind.SlackBuild @@ -22,8 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=libunwind -VERSION=${VERSION:-1.1} +PRGNAM=libunwind +VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/libupnp/libupnp.SlackBuild b/libraries/libupnp/libupnp.SlackBuild index b370122acdbb..b2b3d5861121 100644 --- a/libraries/libupnp/libupnp.SlackBuild +++ b/libraries/libupnp/libupnp.SlackBuild @@ -57,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/libraries/libvidcap/libvidcap.SlackBuild b/libraries/libvidcap/libvidcap.SlackBuild index bfe0dafdf081..b10b894dfc78 100644 --- a/libraries/libvidcap/libvidcap.SlackBuild +++ b/libraries/libvidcap/libvidcap.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-0.2.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/libraries/libviper/libviper.SlackBuild b/libraries/libviper/libviper.SlackBuild index 0e92b97299fc..37eb44f81077 100644 --- a/libraries/libviper/libviper.SlackBuild +++ b/libraries/libviper/libviper.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.4.2.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/libraries/libvmime/libvmime.SlackBuild b/libraries/libvmime/libvmime.SlackBuild index 5d897a14ab1e..c5577831a56f 100644 --- a/libraries/libvmime/libvmime.SlackBuild +++ b/libraries/libvmime/libvmime.SlackBuild @@ -85,7 +85,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/libwhisker2/libwhisker2.SlackBuild b/libraries/libwhisker2/libwhisker2.SlackBuild index e321f7fcb1b6..5f756650220e 100644 --- a/libraries/libwhisker2/libwhisker2.SlackBuild +++ b/libraries/libwhisker2/libwhisker2.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - + # Slackware build script for libwhisker2 # # Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> @@ -27,12 +27,10 @@ VERSION=2.5 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/libraries/lksctp-tools/lksctp-tools.SlackBuild b/libraries/lksctp-tools/lksctp-tools.SlackBuild index 34b080ad7168..8da57bc8ab9a 100644 --- a/libraries/lksctp-tools/lksctp-tools.SlackBuild +++ b/libraries/lksctp-tools/lksctp-tools.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-1.0.15} 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 @@ -37,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/logilab-astng/logilab-astng.SlackBuild b/libraries/logilab-astng/logilab-astng.SlackBuild index 1277c5914c2e..4dc70a96d9e0 100644 --- a/libraries/logilab-astng/logilab-astng.SlackBuild +++ b/libraries/logilab-astng/logilab-astng.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.24.0} 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/libraries/logilab-common/logilab-common.SlackBuild b/libraries/logilab-common/logilab-common.SlackBuild index 5e3c249b14a5..55d73def1827 100644 --- a/libraries/logilab-common/logilab-common.SlackBuild +++ b/libraries/logilab-common/logilab-common.SlackBuild @@ -13,7 +13,6 @@ 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/libraries/lua-filesystem/lua-filesystem.SlackBuild b/libraries/lua-filesystem/lua-filesystem.SlackBuild index f06a648767d8..6ca6154a9b05 100644 --- a/libraries/lua-filesystem/lua-filesystem.SlackBuild +++ b/libraries/lua-filesystem/lua-filesystem.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/mini18n/mini18n.SlackBuild b/libraries/mini18n/mini18n.SlackBuild index 147e2cdad6f4..8d127bd8fdef 100644 --- a/libraries/mini18n/mini18n.SlackBuild +++ b/libraries/mini18n/mini18n.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.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/libraries/motif/motif.SlackBuild b/libraries/motif/motif.SlackBuild index 9831628d3cee..845c7374733d 100644 --- a/libraries/motif/motif.SlackBuild +++ b/libraries/motif/motif.SlackBuild @@ -10,12 +10,10 @@ VERSION=2.3.4 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/libraries/mygpoclient/mygpoclient.SlackBuild b/libraries/mygpoclient/mygpoclient.SlackBuild index 9471cefa5b29..db67c6202cc7 100644 --- a/libraries/mygpoclient/mygpoclient.SlackBuild +++ b/libraries/mygpoclient/mygpoclient.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.6} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/mysql++/mysql++.SlackBuild b/libraries/mysql++/mysql++.SlackBuild index 1766755422ca..ef7ae8524e0a 100644 --- a/libraries/mysql++/mysql++.SlackBuild +++ b/libraries/mysql++/mysql++.SlackBuild @@ -26,22 +26,20 @@ PRGNAM=mysql++ VERSION=3.1.0 BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +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 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" diff --git a/libraries/opal/opal.SlackBuild b/libraries/opal/opal.SlackBuild index 757560a5f964..1c127a87ae65 100644 --- a/libraries/opal/opal.SlackBuild +++ b/libraries/opal/opal.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Opal -# Copyright 2008-2009 Mauro Giachero +# Copyright 2008-2009 Mauro Giachero # Copyright 2011 David Woodfall # All rights reserved. # diff --git a/libraries/openmotif/openmotif.SlackBuild b/libraries/openmotif/openmotif.SlackBuild index 233ada2b0aec..d7ce6644fd94 100644 --- a/libraries/openmotif/openmotif.SlackBuild +++ b/libraries/openmotif/openmotif.SlackBuild @@ -10,12 +10,10 @@ VERSION=2.3.0 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/libraries/p4api/p4api.SlackBuild b/libraries/p4api/p4api.SlackBuild index d98090d0cc40..2ec4f2240f3e 100644 --- a/libraries/p4api/p4api.SlackBuild +++ b/libraries/p4api/p4api.SlackBuild @@ -12,7 +12,6 @@ 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/libraries/pangomm/pangomm.SlackBuild b/libraries/pangomm/pangomm.SlackBuild index cad51d3317e8..4fe06830922a 100644 --- a/libraries/pangomm/pangomm.SlackBuild +++ b/libraries/pangomm/pangomm.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.34.0} 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/libraries/pgtcl-ng/pgtcl-ng.SlackBuild b/libraries/pgtcl-ng/pgtcl-ng.SlackBuild index a3c2ca623a41..5eaf7f36e28d 100644 --- a/libraries/pgtcl-ng/pgtcl-ng.SlackBuild +++ b/libraries/pgtcl-ng/pgtcl-ng.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pgtcl-ng -# Copyright 2011 Richard Ellis, Arlington, Virginia, USA +# Copyright 2011 Richard Ellis, Arlington, Virginia, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ # Version 1 - June 12, 2009 # Updated for Slackware 13.37 and pgtcl-ng 2.0.0 Dec 18, 2011 -PRGNAM=pgtcl-ng +PRGNAM=pgtcl-ng VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/pidgin-mra/pidgin-mra.SlackBuild b/libraries/pidgin-mra/pidgin-mra.SlackBuild index 3267020745cb..823a821dacb8 100644 --- a/libraries/pidgin-mra/pidgin-mra.SlackBuild +++ b/libraries/pidgin-mra/pidgin-mra.SlackBuild @@ -22,7 +22,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -51,7 +51,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -patch -p1 < $CWD/use_our_cflags.diff +patch -p1 < $CWD/use_our_cflags.diff make \ OPTS="$SLKCFLAGS" \ diff --git a/libraries/plib/plib.SlackBuild b/libraries/plib/plib.SlackBuild index baf21345bc24..68a8d65a7d7a 100644 --- a/libraries/plib/plib.SlackBuild +++ b/libraries/plib/plib.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.8.5} 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/libraries/pthsem/pthsem.SlackBuild b/libraries/pthsem/pthsem.SlackBuild index 8cd12a83f522..6d66d51ecc76 100644 --- a/libraries/pthsem/pthsem.SlackBuild +++ b/libraries/pthsem/pthsem.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-2.0.8} 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/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild b/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild index 2d12bfd4a766..f423d9febe59 100644 --- a/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild +++ b/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild @@ -8,12 +8,10 @@ VERSION=2.5.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 @@ -39,7 +37,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP diff --git a/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild b/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild index e384cf6da722..de76d952e4b0 100644 --- a/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild +++ b/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild @@ -29,7 +29,7 @@ PRGNAM=qt-assistant-compat VERSION=${VERSION:-4.6.3} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} SRCNAM=qt-assistant-qassistantclient-library-compat-src SRCDIR=qt-assistant-qassistantclient-library-compat-version diff --git a/libraries/qtermwidget/qtermwidget.SlackBuild b/libraries/qtermwidget/qtermwidget.SlackBuild index e3c20746481f..9d5b6e377d73 100644 --- a/libraries/qtermwidget/qtermwidget.SlackBuild +++ b/libraries/qtermwidget/qtermwidget.SlackBuild @@ -37,7 +37,7 @@ fi DOCS="AUTHORS COPYING Changelog README TODO" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -60,7 +60,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/libraries/quesoglc/quesoglc.SlackBuild b/libraries/quesoglc/quesoglc.SlackBuild index 31e785eb121c..27f3c7839691 100644 --- a/libraries/quesoglc/quesoglc.SlackBuild +++ b/libraries/quesoglc/quesoglc.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.7.2} 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/libraries/qwt/qwt.SlackBuild b/libraries/qwt/qwt.SlackBuild index 2dae61d879e7..3aad78b06b78 100644 --- a/libraries/qwt/qwt.SlackBuild +++ b/libraries/qwt/qwt.SlackBuild @@ -40,7 +40,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/raptor/raptor.SlackBuild b/libraries/raptor/raptor.SlackBuild index c2cac2b249b5..d656777b1b1b 100644 --- a/libraries/raptor/raptor.SlackBuild +++ b/libraries/raptor/raptor.SlackBuild @@ -58,7 +58,7 @@ fi DOCS="AUTHORS COPYING* INSTALL* LICENSE* NEWS* NOTICE README* RELEASE.html" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/rhino/rhino.SlackBuild b/libraries/rhino/rhino.SlackBuild index b8bfe1d0a7ae..2f2f2439b6de 100644 --- a/libraries/rhino/rhino.SlackBuild +++ b/libraries/rhino/rhino.SlackBuild @@ -8,12 +8,10 @@ VERSION=1_7R2 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/libraries/slib/slib.SlackBuild b/libraries/slib/slib.SlackBuild index 5517314afb92..58030d7aab44 100644 --- a/libraries/slib/slib.SlackBuild +++ b/libraries/slib/slib.SlackBuild @@ -96,7 +96,7 @@ mkdir -p $PKG/usr/share/guile/1.8/ ln -s ../../slib $PKG/usr/share/guile/1.8/ # somewhat perculiar quirk that only seems to be an issue on slackware -ln -s mklibcat.scm $PKG/usr/share/slib/mklibcat +ln -s mklibcat.scm $PKG/usr/share/slib/mklibcat # This will be invoked during postinstall to generate the guile catalog file mkdir -p $PKG/usr/libexec/slib @@ -113,6 +113,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh - + cd $PKG /sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/smartirc4net/smartirc4net.SlackBuild b/libraries/smartirc4net/smartirc4net.SlackBuild index 92c632e023fe..cfd512bf3bb9 100644 --- a/libraries/smartirc4net/smartirc4net.SlackBuild +++ b/libraries/smartirc4net/smartirc4net.SlackBuild @@ -13,7 +13,6 @@ 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/libraries/stk/stk.SlackBuild b/libraries/stk/stk.SlackBuild index 040da301dfea..ea63053471c9 100644 --- a/libraries/stk/stk.SlackBuild +++ b/libraries/stk/stk.SlackBuild @@ -85,7 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -# Compile only the library files (both static and dynamic) +# Compile only the library files (both static and dynamic) # Seems our flags are ignored sed -i "s|-O3|$SLKCFLAGS|" src/Makefile cd src diff --git a/libraries/tcllib/tcllib.SlackBuild b/libraries/tcllib/tcllib.SlackBuild index 842eaaccf4ec..612597621ec1 100644 --- a/libraries/tcllib/tcllib.SlackBuild +++ b/libraries/tcllib/tcllib.SlackBuild @@ -7,22 +7,20 @@ PRGNAM=tcllib VERSION=${VERSION:-1.14} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +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 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" diff --git a/libraries/tkimg/tkimg.SlackBuild b/libraries/tkimg/tkimg.SlackBuild index 85a93698f5fd..8ae96e0fa1ea 100644 --- a/libraries/tkimg/tkimg.SlackBuild +++ b/libraries/tkimg/tkimg.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for tkimg -# Copyright 2011 Richard Ellis, Arlington, Virginia, USA +# Copyright 2011 Richard Ellis, Arlington, Virginia, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/libraries/tls/tls.SlackBuild b/libraries/tls/tls.SlackBuild index 9fd17e02e39a..396d0f6b1f52 100644 --- a/libraries/tls/tls.SlackBuild +++ b/libraries/tls/tls.SlackBuild @@ -9,12 +9,10 @@ VERSION=1.6 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/libraries/tolua++/tolua++.SlackBuild b/libraries/tolua++/tolua++.SlackBuild index 489548e56955..c4d9e1255055 100644 --- a/libraries/tolua++/tolua++.SlackBuild +++ b/libraries/tolua++/tolua++.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.0.93} 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/libraries/tre/tre.SlackBuild b/libraries/tre/tre.SlackBuild index a9b57702fb46..754451db4568 100644 --- a/libraries/tre/tre.SlackBuild +++ b/libraries/tre/tre.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.8.0} 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/libraries/unixODBC/unixODBC.SlackBuild b/libraries/unixODBC/unixODBC.SlackBuild index 5f8ac712598c..c7b2940ba08b 100644 --- a/libraries/unixODBC/unixODBC.SlackBuild +++ b/libraries/unixODBC/unixODBC.SlackBuild @@ -32,12 +32,10 @@ VERSION=2.3.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/libraries/vigra/vigra.SlackBuild b/libraries/vigra/vigra.SlackBuild index 80dbbd5b5fb6..a3ef5be55f48 100644 --- a/libraries/vigra/vigra.SlackBuild +++ b/libraries/vigra/vigra.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for vigra # Home Page http://hci.iwr.uni-heidelberg.de/vigra/ -# Copyright (c) 2013, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2013, Nishant Limbachia, Hoffman Estates, IL, USA # (nishant _AT_ mnspace _DOT_ net) # All rights reserved. @@ -82,7 +82,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DDOCINSTALL=doc/$PRGNAM-$VERSION \ -DCMAKE_BUILD_TYPE=Release .. - make VERBOSE=1 + make VERBOSE=1 make install DESTDIR=$PKG cd .. diff --git a/libraries/webkitgtk3/webkitgtk3.SlackBuild b/libraries/webkitgtk3/webkitgtk3.SlackBuild index a3097b422785..c3f973e70afb 100644 --- a/libraries/webkitgtk3/webkitgtk3.SlackBuild +++ b/libraries/webkitgtk3/webkitgtk3.SlackBuild @@ -90,7 +90,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-geolocation=$GEOCLUE \ --build=$ARCH-slackware-linux -make clean +make clean make -j1 Programs_DumpRenderTree_LDFLAGS="-no-fast-install -no-install -lfontconfig" make install-strip DESTDIR=$PKG diff --git a/libraries/wv/wv.SlackBuild b/libraries/wv/wv.SlackBuild index 80c151fa9cef..cd332fbdc391 100644 --- a/libraries/wv/wv.SlackBuild +++ b/libraries/wv/wv.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.2.9 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/libraries/wxX11/wxX11.SlackBuild b/libraries/wxX11/wxX11.SlackBuild index 51576853fc51..60d2ac04dfc9 100644 --- a/libraries/wxX11/wxX11.SlackBuild +++ b/libraries/wxX11/wxX11.SlackBuild @@ -7,12 +7,10 @@ VERSION=2.8.7 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 @@ -36,7 +34,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/xalan-c/xalan-c.SlackBuild b/libraries/xalan-c/xalan-c.SlackBuild index b959c96aa446..4401f6a80e85 100644 --- a/libraries/xalan-c/xalan-c.SlackBuild +++ b/libraries/xalan-c/xalan-c.SlackBuild @@ -24,8 +24,8 @@ # Currently maintained by Robert Allen <slacker@slaphappygeeks.com> -# Note: This SVN snapshot of xalan-c is selected to build with xerces-c-3.x -# series without patching, so the source archive filename is hard-coded into +# Note: This SVN snapshot of xalan-c is selected to build with xerces-c-3.x +# series without patching, so the source archive filename is hard-coded into # the script. If you want to build with a different snapshot then you will # need to create your own archive an update the filename in the script. # diff --git a/libraries/xalan/xalan.SlackBuild b/libraries/xalan/xalan.SlackBuild index 3c4640aadf81..34b9b64621d4 100644 --- a/libraries/xalan/xalan.SlackBuild +++ b/libraries/xalan/xalan.SlackBuild @@ -11,12 +11,10 @@ TAG=${TAG:-_SBo} DVER=j_$(echo $VERSION | tr . _) ANTHOME=/usr/share/ant -# 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/libraries/xerces/xerces.SlackBuild b/libraries/xerces/xerces.SlackBuild index eee1deefe4c2..4eb584c710ef 100644 --- a/libraries/xerces/xerces.SlackBuild +++ b/libraries/xerces/xerces.SlackBuild @@ -32,12 +32,10 @@ TAG=${TAG:-_SBo} DVER=$(echo $VERSION | tr . _) ANTHOME=/usr/share/ant -# 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/libraries/xforms/xforms.SlackBuild b/libraries/xforms/xforms.SlackBuild index 8102386b0a28..2ecbb3630565 100644 --- a/libraries/xforms/xforms.SlackBuild +++ b/libraries/xforms/xforms.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.0.93sp1} 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 @@ -61,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/xlt/xlt.SlackBuild b/libraries/xlt/xlt.SlackBuild index 39ad065b5815..30a3aa1af329 100644 --- a/libraries/xlt/xlt.SlackBuild +++ b/libraries/xlt/xlt.SlackBuild @@ -14,12 +14,10 @@ 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/libraries/xmlgen/xmlgen.SlackBuild b/libraries/xmlgen/xmlgen.SlackBuild index 775a6decd478..a8151ac929a8 100644 --- a/libraries/xmlgen/xmlgen.SlackBuild +++ b/libraries/xmlgen/xmlgen.SlackBuild @@ -17,7 +17,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/libraries/xulrunner/xulrunner.SlackBuild b/libraries/xulrunner/xulrunner.SlackBuild index 36bbdd229e76..16aa827c8f47 100644 --- a/libraries/xulrunner/xulrunner.SlackBuild +++ b/libraries/xulrunner/xulrunner.SlackBuild @@ -107,7 +107,7 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-updater \ --build=$ARCH-slackware-linux \ --host=$ARCH-slackware-linux \ - --target=$ARCH-slackware-linux + --target=$ARCH-slackware-linux make make install DESTDIR=$PKG diff --git a/libraries/zbase32/zbase32.SlackBuild b/libraries/zbase32/zbase32.SlackBuild index 7126d6a5f951..88efa1681932 100644 --- a/libraries/zbase32/zbase32.SlackBuild +++ b/libraries/zbase32/zbase32.SlackBuild @@ -31,12 +31,10 @@ VERSION=${VERSION:-1.1.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 diff --git a/libraries/zita-resampler/zita-resampler.SlackBuild b/libraries/zita-resampler/zita-resampler.SlackBuild index cc2c4ad4ea4f..dc51059084b0 100644 --- a/libraries/zita-resampler/zita-resampler.SlackBuild +++ b/libraries/zita-resampler/zita-resampler.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/libraries/zsi/zsi.SlackBuild b/libraries/zsi/zsi.SlackBuild index a0e497d8ce6e..d770a66ef47f 100644 --- a/libraries/zsi/zsi.SlackBuild +++ b/libraries/zsi/zsi.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.1a1} 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/misc/bchunk/bchunk.SlackBuild b/misc/bchunk/bchunk.SlackBuild index d4d5a72ba21d..f0d8dd8bd236 100644 --- a/misc/bchunk/bchunk.SlackBuild +++ b/misc/bchunk/bchunk.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.2.0} 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 @@ -50,7 +48,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/misc/beep/beep.SlackBuild b/misc/beep/beep.SlackBuild index e00ca4136a42..e603915297c5 100644 --- a/misc/beep/beep.SlackBuild +++ b/misc/beep/beep.SlackBuild @@ -34,7 +34,7 @@ elif [ "$ARCH" = "x86_64" ]; then fi # See the manpage for more information on why, but you will need to install -# beep with the suid bit set in order to have full functionality in all +# beep with the suid bit set in order to have full functionality in all # instances. The default is NO, but it *should* be safe to change it to YES SET_SUID=NO diff --git a/misc/biosdisk/biosdisk.SlackBuild b/misc/biosdisk/biosdisk.SlackBuild index 33fca83d60ad..a67b008b8367 100644 --- a/misc/biosdisk/biosdisk.SlackBuild +++ b/misc/biosdisk/biosdisk.SlackBuild @@ -11,7 +11,7 @@ TAG=${TAG:-_SBo} SRC_VERSION=${VERSION}-2 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/bodr/bodr.SlackBuild b/misc/bodr/bodr.SlackBuild index db9c45ef0d4b..63cd3be5f9e9 100644 --- a/misc/bodr/bodr.SlackBuild +++ b/misc/bodr/bodr.SlackBuild @@ -22,17 +22,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=bodr -VERSION=${VERSION:-9} +PRGNAM=bodr +VERSION=${VERSION:-9} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} ARCH=noarch 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" @@ -71,7 +71,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION - + make make DESTDIR=$PKG install diff --git a/misc/boncuk/boncuk.SlackBuild b/misc/boncuk/boncuk.SlackBuild index c54bc2c6c479..63e849dc65ee 100644 --- a/misc/boncuk/boncuk.SlackBuild +++ b/misc/boncuk/boncuk.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for Boncuk +# Slackware build script for Boncuk -# Copyright 2009 Ozan Türkyılmaz ozan.turkyilmaz@gmail.com +# Copyright 2009 Ozan Türkyılmaz ozan.turkyilmaz@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=boncuk +PRGNAM=boncuk VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,7 +58,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -75,7 +75,7 @@ find . \ lrelease boncuk.pro qmake QMAKE_CXXFLAGS="$SLKCFLAGS -fpermissive" -make +make strip --strip-unneeded bin/boncuk mkdir -p $PKG/usr/bin diff --git a/misc/bsdsfv/bsdsfv.SlackBuild b/misc/bsdsfv/bsdsfv.SlackBuild index b55d3614ff67..2330f01f7d55 100644 --- a/misc/bsdsfv/bsdsfv.SlackBuild +++ b/misc/bsdsfv/bsdsfv.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.18 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/misc/ccze/ccze.SlackBuild b/misc/ccze/ccze.SlackBuild index 061d9c560011..67b02ac6c83b 100644 --- a/misc/ccze/ccze.SlackBuild +++ b/misc/ccze/ccze.SlackBuild @@ -9,12 +9,10 @@ VERSION=0.2.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/misc/chemical-mime-data/chemical-mime-data.SlackBuild b/misc/chemical-mime-data/chemical-mime-data.SlackBuild index 1a39a66e508d..3db57f91bff0 100644 --- a/misc/chemical-mime-data/chemical-mime-data.SlackBuild +++ b/misc/chemical-mime-data/chemical-mime-data.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=chemical-mime-data -VERSION=${VERSION:-0.1.94} +PRGNAM=chemical-mime-data +VERSION=${VERSION:-0.1.94} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,7 +38,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" @@ -79,7 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux - + make make DESTDIR=$PKG install diff --git a/misc/chm2pdf/chm2pdf.SlackBuild b/misc/chm2pdf/chm2pdf.SlackBuild index a5911eb4f42a..67ac50bdfc91 100644 --- a/misc/chm2pdf/chm2pdf.SlackBuild +++ b/misc/chm2pdf/chm2pdf.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for chm2pdf +# Slackware build script for chm2pdf # Written by João Felipe Santos (joao.eel@gmail.com) # Maintained by Ozan Türkyilmaz <ozan.turkyilmaz@gmail.com> @@ -26,7 +26,7 @@ # THE SOFTWARE. PRGNAM=chm2pdf -VERSION=${VERSION:-0.9.1} +VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-3} TAG=${TAG:-_SBo} diff --git a/misc/cksfv/cksfv.SlackBuild b/misc/cksfv/cksfv.SlackBuild index 0bbd51b8e2be..3df7e1a972d5 100644 --- a/misc/cksfv/cksfv.SlackBuild +++ b/misc/cksfv/cksfv.SlackBuild @@ -34,12 +34,10 @@ VERSION=1.3.14 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/misc/dbview/dbview.SlackBuild b/misc/dbview/dbview.SlackBuild index 7009c7947ce1..12a0412d5ae4 100644 --- a/misc/dbview/dbview.SlackBuild +++ b/misc/dbview/dbview.SlackBuild @@ -8,12 +8,10 @@ VERSION=1.0.4 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/misc/dcc/dcc.SlackBuild b/misc/dcc/dcc.SlackBuild index b4db377f6ebc..75b6d2131a47 100644 --- a/misc/dcc/dcc.SlackBuild +++ b/misc/dcc/dcc.SlackBuild @@ -25,14 +25,12 @@ PRGNAM=dcc VERSION=${VERSION:-1.3.152} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +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/misc/dmg2img/dmg2img.SlackBuild b/misc/dmg2img/dmg2img.SlackBuild index 54d0219742ed..ad2c2b530995 100644 --- a/misc/dmg2img/dmg2img.SlackBuild +++ b/misc/dmg2img/dmg2img.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/misc/flashrom/flashrom.SlackBuild b/misc/flashrom/flashrom.SlackBuild index 8b7a1d81160a..7f5666a71359 100644 --- a/misc/flashrom/flashrom.SlackBuild +++ b/misc/flashrom/flashrom.SlackBuild @@ -74,7 +74,7 @@ find . \ make \ PREFIX=/usr \ MANDIR=/usr/man \ - CFLAGS="$SLKCFLAGS -Wall -Wshadow" + CFLAGS="$SLKCFLAGS -Wall -Wshadow" make install \ PREFIX=/usr \ diff --git a/misc/fribid/fribid.SlackBuild b/misc/fribid/fribid.SlackBuild index ab8a6d1e5fe9..2eb855ffebbd 100644 --- a/misc/fribid/fribid.SlackBuild +++ b/misc/fribid/fribid.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} # Should we build PKCS#11 smartcard support YES RUNTIME or nothing. PKCS11=$(echo $PKCS11 | tr 'a-z' 'A-Z') -# 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/misc/funny-manpages/funny-manpages.SlackBuild b/misc/funny-manpages/funny-manpages.SlackBuild index 0554e89105a9..b46774aa3d78 100644 --- a/misc/funny-manpages/funny-manpages.SlackBuild +++ b/misc/funny-manpages/funny-manpages.SlackBuild @@ -63,7 +63,7 @@ for manpage in $(echo *fun); do install -m 0644 $manpage $PKG/usr/man/man$section/$manpage done -# Move date.1fun over to mansection 6. It is kinda screwing with upstream, +# Move date.1fun over to mansection 6. It is kinda screwing with upstream, # but right now causes a conflict with the systems date(1) ( cd $PKG/usr/man/man1 ln -sf grope.1fun egrope.1fun diff --git a/misc/g15composer/g15composer.SlackBuild b/misc/g15composer/g15composer.SlackBuild index 3ed9d854921c..e3211f311a51 100644 --- a/misc/g15composer/g15composer.SlackBuild +++ b/misc/g15composer/g15composer.SlackBuild @@ -31,12 +31,10 @@ TAG=${TAG:-_SBo} DOCS="README AUTHORS ChangeLog NEWS COPYING" -# 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/misc/gnome-mime-data/gnome-mime-data.SlackBuild b/misc/gnome-mime-data/gnome-mime-data.SlackBuild index bc3f81e63fd9..e5b8d7de30df 100644 --- a/misc/gnome-mime-data/gnome-mime-data.SlackBuild +++ b/misc/gnome-mime-data/gnome-mime-data.SlackBuild @@ -27,12 +27,10 @@ VERSION=2.18.0 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/misc/ibus-pinyin/ibus-pinyin.SlackBuild b/misc/ibus-pinyin/ibus-pinyin.SlackBuild index 4a8301812af7..3bba0bfa2944 100644 --- a/misc/ibus-pinyin/ibus-pinyin.SlackBuild +++ b/misc/ibus-pinyin/ibus-pinyin.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.3.10} 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/misc/ibus-skk/ibus-skk.SlackBuild b/misc/ibus-skk/ibus-skk.SlackBuild index 4a5986be9f0a..44384aab6d6b 100644 --- a/misc/ibus-skk/ibus-skk.SlackBuild +++ b/misc/ibus-skk/ibus-skk.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for ibus-skk +# Slackware build script for ibus-skk # Copyright (C) 2013, Jun SAITO <jsaito@xopowo.info> # All rights reserved. diff --git a/misc/kasumi/kasumi.SlackBuild b/misc/kasumi/kasumi.SlackBuild index 76466bebe6f2..39cdf87b6c5b 100644 --- a/misc/kasumi/kasumi.SlackBuild +++ b/misc/kasumi/kasumi.SlackBuild @@ -33,11 +33,11 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP diff --git a/misc/lbdb/lbdb.SlackBuild b/misc/lbdb/lbdb.SlackBuild index b7f09567a4c1..570eed4fe728 100644 --- a/misc/lbdb/lbdb.SlackBuild +++ b/misc/lbdb/lbdb.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.38} 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/misc/ltunify/ltunify.SlackBuild b/misc/ltunify/ltunify.SlackBuild index bfbe59d8167c..8db09512abe9 100644 --- a/misc/ltunify/ltunify.SlackBuild +++ b/misc/ltunify/ltunify.SlackBuild @@ -28,12 +28,10 @@ VERSION=0.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/misc/mdic/mdic.SlackBuild b/misc/mdic/mdic.SlackBuild index 0a1ef5654490..f8c45bf6fb47 100644 --- a/misc/mdic/mdic.SlackBuild +++ b/misc/mdic/mdic.SlackBuild @@ -3,7 +3,7 @@ #written by Mehdi Esmaeelpour ariarat@gmail.com www.slack-world.com PRGNAM=mdic -VERSION=${VERSION:-0.8.1} +VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} @@ -38,7 +38,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM cd $TMP @@ -65,7 +65,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mv $PKG/usr/share/man $PKG/usr rm -rf $PKG/usr/share/doc -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING changelog README AUTHORS TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/mdic.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/mdic.SlackBuild diff --git a/misc/megatunix/megatunix.SlackBuild b/misc/megatunix/megatunix.SlackBuild index 161ba696c82d..1f53ae3faf44 100644 --- a/misc/megatunix/megatunix.SlackBuild +++ b/misc/megatunix/megatunix.SlackBuild @@ -3,11 +3,11 @@ # Slackware build script for megatunix # Copyright (c) 2009 Allen Coleman (acoleman at tomjones.doesntexist.com) -# +# # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. -# +# # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR @@ -59,7 +59,7 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/misc/nixnote/nixnote.SlackBuild b/misc/nixnote/nixnote.SlackBuild index 3184fed8a4dd..91610a8354a4 100644 --- a/misc/nixnote/nixnote.SlackBuild +++ b/misc/nixnote/nixnote.SlackBuild @@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then +if [ "$ARCH" = "i486" ]; then SOURCEARCH="i386" elif [ "$ARCH" = "i686" ]; then SOURCEARCH="i386" diff --git a/misc/par2cmdline/par2cmdline.SlackBuild b/misc/par2cmdline/par2cmdline.SlackBuild index e514d1b67546..149d2fb1a056 100644 --- a/misc/par2cmdline/par2cmdline.SlackBuild +++ b/misc/par2cmdline/par2cmdline.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.4} 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/misc/pinfo/pinfo.SlackBuild b/misc/pinfo/pinfo.SlackBuild index 1e664c22e527..d7aa85ac07b0 100644 --- a/misc/pinfo/pinfo.SlackBuild +++ b/misc/pinfo/pinfo.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.6.9 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/misc/projectM/projectM.SlackBuild b/misc/projectM/projectM.SlackBuild index e3094a9833a5..da1530231c11 100644 --- a/misc/projectM/projectM.SlackBuild +++ b/misc/projectM/projectM.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -61,7 +61,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/misc/protobuf/protobuf.SlackBuild b/misc/protobuf/protobuf.SlackBuild index bdc2dc15baec..a4ec137dc220 100644 --- a/misc/protobuf/protobuf.SlackBuild +++ b/misc/protobuf/protobuf.SlackBuild @@ -64,10 +64,10 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG -# Install the python bindings +# Install the python bindings if [ "${PYTHON:-yes}" = "yes" ]; then cd python ; python setup.py install --root=$PKG ; cd .. fi diff --git a/misc/readesm/readesm.SlackBuild b/misc/readesm/readesm.SlackBuild index 52b2c4c4dbc5..bcb0f863b6dd 100644 --- a/misc/readesm/readesm.SlackBuild +++ b/misc/readesm/readesm.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for readesm +# Slackware build script for readesm # Copyright 2013 Vitor Borrego Corroios, Portugal # All rights reserved. @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -83,7 +83,7 @@ sed -i \ gui/mainWindow.cpp make clean -make +make make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/misc/recode/recode.SlackBuild b/misc/recode/recode.SlackBuild index 57b31023e90f..c767a112aea7 100644 --- a/misc/recode/recode.SlackBuild +++ b/misc/recode/recode.SlackBuild @@ -16,12 +16,10 @@ VERSION=3.6 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/misc/rsibreak/rsibreak.SlackBuild b/misc/rsibreak/rsibreak.SlackBuild index 4bc4af99a618..22e3899cc0ee 100644 --- a/misc/rsibreak/rsibreak.SlackBuild +++ b/misc/rsibreak/rsibreak.SlackBuild @@ -9,12 +9,10 @@ VERSION=0.11 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/misc/rsnapshot/rsnapshot.SlackBuild b/misc/rsnapshot/rsnapshot.SlackBuild index c04388c05909..bc40c86e5be8 100644 --- a/misc/rsnapshot/rsnapshot.SlackBuild +++ b/misc/rsnapshot/rsnapshot.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.3.1 BUILD=${BUILD:-3} 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION diff --git a/misc/siege/siege.SlackBuild b/misc/siege/siege.SlackBuild index 66660861337d..0033ccc6d651 100644 --- a/misc/siege/siege.SlackBuild +++ b/misc/siege/siege.SlackBuild @@ -40,7 +40,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/misc/ssss/ssss.SlackBuild b/misc/ssss/ssss.SlackBuild index 1460be2c292a..6b4b4cddb91f 100644 --- a/misc/ssss/ssss.SlackBuild +++ b/misc/ssss/ssss.SlackBuild @@ -56,7 +56,7 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e diff --git a/misc/tal/tal.SlackBuild b/misc/tal/tal.SlackBuild index 9c2f639df472..4c0d35f70712 100644 --- a/misc/tal/tal.SlackBuild +++ b/misc/tal/tal.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.9} 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 @@ -36,9 +34,9 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/misc/tamsyn-font/tamsyn-font.SlackBuild b/misc/tamsyn-font/tamsyn-font.SlackBuild index 73c814170120..3cf7eb533fa6 100644 --- a/misc/tamsyn-font/tamsyn-font.SlackBuild +++ b/misc/tamsyn-font/tamsyn-font.SlackBuild @@ -18,7 +18,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/misc/temper/temper.SlackBuild b/misc/temper/temper.SlackBuild index 05f20c05548a..9550863d8f89 100644 --- a/misc/temper/temper.SlackBuild +++ b/misc/temper/temper.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for temper. -# +# # Copyright 2011 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # diff --git a/misc/texscythe/texscythe.SlackBuild b/misc/texscythe/texscythe.SlackBuild index c9ffce26d588..57eda5799858 100644 --- a/misc/texscythe/texscythe.SlackBuild +++ b/misc/texscythe/texscythe.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/misc/txt2tags/txt2tags.SlackBuild b/misc/txt2tags/txt2tags.SlackBuild index 71b945782278..bd27fac45f8d 100644 --- a/misc/txt2tags/txt2tags.SlackBuild +++ b/misc/txt2tags/txt2tags.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware Build script for txt2tags +# Slackware Build script for txt2tags # Copyright (c) 2009, eviljames <storgeek [at] gmail [dot] com> # @@ -9,7 +9,7 @@ # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN @@ -23,12 +23,10 @@ VERSION=${VERSION:-r1172} 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 @@ -91,7 +89,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING ChangeLog README extras samples test \ doc/English/txt2tags-quickref.pdf doc/English/userguide.pdf \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/vdpauinfo/vdpauinfo.SlackBuild b/misc/vdpauinfo/vdpauinfo.SlackBuild index 36a29ccb4862..04f7f3c193db 100644 --- a/misc/vdpauinfo/vdpauinfo.SlackBuild +++ b/misc/vdpauinfo/vdpauinfo.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.0.6 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/misc/viking/viking.SlackBuild b/misc/viking/viking.SlackBuild index 86077e389f19..46b6f3b90e56 100644 --- a/misc/viking/viking.SlackBuild +++ b/misc/viking/viking.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for viking. - + # Copyright 2009-2011 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # diff --git a/misc/xapian-omega/xapian-omega.SlackBuild b/misc/xapian-omega/xapian-omega.SlackBuild index 55b255785581..481361174a17 100644 --- a/misc/xapian-omega/xapian-omega.SlackBuild +++ b/misc/xapian-omega/xapian-omega.SlackBuild @@ -98,7 +98,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; # Install (but don't clobber) a config file (and use our own config file) -rm -f $PKG/etc/omega.conf +rm -f $PKG/etc/omega.conf cat $CWD/xapian-omega.conf > $PKG/etc/xapian-omega.conf.new # Create the otherwise missing directories listed in /etc/xapian-omega.conf diff --git a/misc/xclip/xclip.SlackBuild b/misc/xclip/xclip.SlackBuild index 741ac2668f0b..a7641cadf436 100644 --- a/misc/xclip/xclip.SlackBuild +++ b/misc/xclip/xclip.SlackBuild @@ -1,22 +1,22 @@ #!/bin/sh # Slackware build script for xclip -# Copyright 2009 Grigorios Bouzakis <grbzks@xsmail.com> -# All rights reserved. -# -# Permission to use, copy, modify, and distribute this software for any purpose -# with or without fee is hereby granted, provided that the above copyright -# notice and this permission notice appear in all copies. -# -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS BE LIABLE FOR ANY -# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# Copyright 2009 Grigorios Bouzakis <grbzks@xsmail.com> +# All rights reserved. +# +# Permission to use, copy, modify, and distribute this software for any purpose +# with or without fee is hereby granted, provided that the above copyright +# notice and this permission notice appear in all copies. +# +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, +# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS BE LIABLE FOR ANY +# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xclip @@ -24,12 +24,10 @@ VERSION=${VERSION:-0.12} 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/misc/xdelta/xdelta.SlackBuild b/misc/xdelta/xdelta.SlackBuild index a23697837e14..cb55d95adaef 100644 --- a/misc/xdelta/xdelta.SlackBuild +++ b/misc/xdelta/xdelta.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.1.4} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild index 09e0d74482b4..d145d71ec356 100644 --- a/multimedia/HandBrake/HandBrake.SlackBuild +++ b/multimedia/HandBrake/HandBrake.SlackBuild @@ -56,7 +56,7 @@ cd build # Fix underlinking by configuring the gtk module first, then sed: make gtk.configure sed -i '/^LDFLAGS/s/$/ -ltheoraenc -ltheoradec/' gtk/src/Makefile - make + make make install DESTDIR=$PKG cd $TMP/$PRGNAM-$VERSION diff --git a/multimedia/JSampler/JSampler.SlackBuild b/multimedia/JSampler/JSampler.SlackBuild index 2617acf98e7d..e9e4a977aa6e 100644 --- a/multimedia/JSampler/JSampler.SlackBuild +++ b/multimedia/JSampler/JSampler.SlackBuild @@ -20,7 +20,6 @@ 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/multimedia/a2jmidid/a2jmidid.SlackBuild b/multimedia/a2jmidid/a2jmidid.SlackBuild index ec58fed866da..d8069b050505 100644 --- a/multimedia/a2jmidid/a2jmidid.SlackBuild +++ b/multimedia/a2jmidid/a2jmidid.SlackBuild @@ -14,7 +14,7 @@ if [ -z "$ARCH" ]; then esac fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild index 509ddf7c1cc6..49dea8ce4758 100644 --- a/multimedia/avidemux/avidemux.SlackBuild +++ b/multimedia/avidemux/avidemux.SlackBuild @@ -154,7 +154,7 @@ if [ -x $PKG/usr/bin/avidemux2_qt4 ]; then else install -m644 avidemux2.desktop $PKG/usr/share/applications/avidemux2.desktop fi -install -m644 avidemux_icon.png $PKG/usr/share/pixmaps/avidemux.png +install -m644 avidemux_icon.png $PKG/usr/share/pixmaps/avidemux.png install -m644 avidemux_icon.png \ ${PKG}/usr/share/icons/hicolor/64x64/apps/avidemux.png convert avidemux_icon.png -resize 16x16 \ diff --git a/multimedia/cfourcc/cfourcc.SlackBuild b/multimedia/cfourcc/cfourcc.SlackBuild index aece9b0a53e2..92fdd768bee6 100644 --- a/multimedia/cfourcc/cfourcc.SlackBuild +++ b/multimedia/cfourcc/cfourcc.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/clamz/clamz.SlackBuild b/multimedia/clamz/clamz.SlackBuild index c905bc167824..05ebf9392a68 100644 --- a/multimedia/clamz/clamz.SlackBuild +++ b/multimedia/clamz/clamz.SlackBuild @@ -4,10 +4,10 @@ # Written by Joseph Schofield rootoutcast@hushmail.com -PRGNAM=clamz +PRGNAM=clamz VERSION=${VERSION:-0.5} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -18,7 +18,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -64,7 +64,7 @@ CFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/*.? diff --git a/multimedia/cuetools/cuetools.SlackBuild b/multimedia/cuetools/cuetools.SlackBuild index 2f277380b379..299dbc171477 100644 --- a/multimedia/cuetools/cuetools.SlackBuild +++ b/multimedia/cuetools/cuetools.SlackBuild @@ -48,7 +48,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/dirac/dirac.SlackBuild b/multimedia/dirac/dirac.SlackBuild index e40e6c12fa88..95d5f973974a 100644 --- a/multimedia/dirac/dirac.SlackBuild +++ b/multimedia/dirac/dirac.SlackBuild @@ -29,12 +29,10 @@ VERSION=1.0.2 BUILD=${BUILD:-3} 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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/dvbsnoop/dvbsnoop.SlackBuild b/multimedia/dvbsnoop/dvbsnoop.SlackBuild index 423370a444f3..d62a57410e5f 100644 --- a/multimedia/dvbsnoop/dvbsnoop.SlackBuild +++ b/multimedia/dvbsnoop/dvbsnoop.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild b/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild index f44a359f8943..80c5258ad1f2 100644 --- a/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild +++ b/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild @@ -15,7 +15,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/dvdbackup/dvdbackup.SlackBuild b/multimedia/dvdbackup/dvdbackup.SlackBuild index a16aed3459fd..f21ef7e1708a 100644 --- a/multimedia/dvdbackup/dvdbackup.SlackBuild +++ b/multimedia/dvdbackup/dvdbackup.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.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/multimedia/dvdrip/dvdrip.SlackBuild b/multimedia/dvdrip/dvdrip.SlackBuild index d4ab7a4c2493..86d6f916746e 100644 --- a/multimedia/dvdrip/dvdrip.SlackBuild +++ b/multimedia/dvdrip/dvdrip.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/dvgrab/dvgrab.SlackBuild b/multimedia/dvgrab/dvgrab.SlackBuild index 75073af847a2..d3c4485c2534 100644 --- a/multimedia/dvgrab/dvgrab.SlackBuild +++ b/multimedia/dvgrab/dvgrab.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-3.5} 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/multimedia/emoc/emoc.SlackBuild b/multimedia/emoc/emoc.SlackBuild index 9ae4b9fb901e..73558ebb9d53 100644 --- a/multimedia/emoc/emoc.SlackBuild +++ b/multimedia/emoc/emoc.SlackBuild @@ -4,23 +4,21 @@ # Written by otzy_007 (oz@oprod.net) -PRGNAM=emoc +PRGNAM=emoc VERSION=${VERSION:-0.9.0} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/flowblade/flowblade.SlackBuild b/multimedia/flowblade/flowblade.SlackBuild index 5e3365916b0a..9d2d849f8c2f 100644 --- a/multimedia/flowblade/flowblade.SlackBuild +++ b/multimedia/flowblade/flowblade.SlackBuild @@ -42,7 +42,7 @@ fi PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')") -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/flvtool2/flvtool2.SlackBuild b/multimedia/flvtool2/flvtool2.SlackBuild index 98076091d09a..7425a26d4702 100644 --- a/multimedia/flvtool2/flvtool2.SlackBuild +++ b/multimedia/flvtool2/flvtool2.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2008-2009, Nishant Limbachia, Hoffman Est, 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=1.0.6 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 @@ -75,7 +73,7 @@ find . \ -exec chmod 644 {} \; ruby setup.rb config -ruby setup.rb setup +ruby setup.rb setup ruby setup.rb install --prefix=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/get_iplayer/get_iplayer.SlackBuild b/multimedia/get_iplayer/get_iplayer.SlackBuild index 6a03246fd2d0..6d043997fc32 100644 --- a/multimedia/get_iplayer/get_iplayer.SlackBuild +++ b/multimedia/get_iplayer/get_iplayer.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for get_iplayer. -# +# # Copyright 2011 Gregory J. L. Tourte <artourter@gmail.com> # Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. diff --git a/multimedia/gigedit/gigedit.SlackBuild b/multimedia/gigedit/gigedit.SlackBuild index 018b8feca05d..d93db8801455 100644 --- a/multimedia/gigedit/gigedit.SlackBuild +++ b/multimedia/gigedit/gigedit.SlackBuild @@ -8,18 +8,16 @@ VERSION=${VERSION:-0.2.0} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/gimp-gap/gimp-gap.SlackBuild b/multimedia/gimp-gap/gimp-gap.SlackBuild index 1eff866cd5da..35d613e2de50 100644 --- a/multimedia/gimp-gap/gimp-gap.SlackBuild +++ b/multimedia/gimp-gap/gimp-gap.SlackBuild @@ -102,7 +102,7 @@ CXXFLAGS="$SLKCFLAGS" \ LIBS="-lm" # Thanks to Heinz Wiesinger for the patch -# This patch should fix compilation if internal ffmpeg is used +# This patch should fix compilation if internal ffmpeg is used #patch -p0 -i $CWD/patch-ffmpeg-Makefile.diff # Parallel building seems broken diff --git a/multimedia/google-earth/google-earth.SlackBuild b/multimedia/google-earth/google-earth.SlackBuild index 9f38832b6a8d..294aab792bc9 100644 --- a/multimedia/google-earth/google-earth.SlackBuild +++ b/multimedia/google-earth/google-earth.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 2013 - A lot of thanks to Willy Sudiarto Raharjo for his input and help +# 2013 - A lot of thanks to Willy Sudiarto Raharjo for his input and help # with converting the script to work with googles .deb packages. # Thanks to rworkman for the additional code and script cleanups @@ -40,14 +40,14 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # No flags/configure needed as it is just a binary repackaging. -set -e # Exit on most errors. +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG ar p $CWD/google-earth-stable_current_i386.deb data.tar.lzma | lzma -d | tar xv cd $PKG -chown -R root:root . +chown -R root:root . # Fix Google braindeadness (and mine) find . -type d -exec chmod 0755 {} \; find . \ @@ -56,7 +56,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Sadly (by lack of politer word), Google has some inconsistent permissions +# Sadly (by lack of politer word), Google has some inconsistent permissions # for normal files; this should deal with them rather nicely. find . \( -name "*.png" -o -name "*.kml" -o -name "*.xml" \) -exec chmod 0644 {} \; @@ -79,7 +79,7 @@ mv $PKG/opt/google/earth/free/gpl.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Clean up cruft/unneeded directories.The cron job in /etc is for Debian/Ubuntu only: -rm -rf $PKG/etc +rm -rf $PKG/etc rm -rf $PKG/usr/share/{man,menu,gnome-control-center} mkdir -p $PKG/install diff --git a/multimedia/gpac/gpac.SlackBuild b/multimedia/gpac/gpac.SlackBuild index 72f1e35b909e..5ec9a4084b6b 100644 --- a/multimedia/gpac/gpac.SlackBuild +++ b/multimedia/gpac/gpac.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-svn_r4878} 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/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild b/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild index c2c8fc3c87d2..4e27abca6a78 100644 --- a/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild +++ b/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild @@ -55,7 +55,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP diff --git a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild index cf319172e72b..7443523ec8b7 100644 --- a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild +++ b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild b/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild index 30ab1efd5c57..80944156d2df 100644 --- a/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild +++ b/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild b/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild index d41410df134f..039f4defc757 100644 --- a/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild +++ b/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild @@ -8,18 +8,16 @@ VERSION=${VERSION:-0.3.8} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/iat/iat.SlackBuild b/multimedia/iat/iat.SlackBuild index af77e8e34793..fbcf228ee7dd 100644 --- a/multimedia/iat/iat.SlackBuild +++ b/multimedia/iat/iat.SlackBuild @@ -8,12 +8,10 @@ VERSION=0.1.7 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/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild b/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild index d20161dfdc54..07ef3764a5a5 100644 --- a/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild +++ b/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-0.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/multimedia/kmediafactory/kmediafactory.SlackBuild b/multimedia/kmediafactory/kmediafactory.SlackBuild index 0f35a1e14a67..60539d8c1704 100644 --- a/multimedia/kmediafactory/kmediafactory.SlackBuild +++ b/multimedia/kmediafactory/kmediafactory.SlackBuild @@ -27,7 +27,6 @@ VERSION=${VERSION:-r691} 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 ;; diff --git a/multimedia/linuxsampler/linuxsampler.SlackBuild b/multimedia/linuxsampler/linuxsampler.SlackBuild index e012d1c302ea..2e0dfd96ce60 100644 --- a/multimedia/linuxsampler/linuxsampler.SlackBuild +++ b/multimedia/linuxsampler/linuxsampler.SlackBuild @@ -8,18 +8,16 @@ VERSION=${VERSION:-1.0.0} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/lircaile/lircaile.SlackBuild b/multimedia/lircaile/lircaile.SlackBuild index 3d898656c797..825b54ae1718 100644 --- a/multimedia/lircaile/lircaile.SlackBuild +++ b/multimedia/lircaile/lircaile.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.3.0} 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/multimedia/lsdvd/lsdvd.SlackBuild b/multimedia/lsdvd/lsdvd.SlackBuild index 363fb023a203..f6c021d2ec57 100644 --- a/multimedia/lsdvd/lsdvd.SlackBuild +++ b/multimedia/lsdvd/lsdvd.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-0.16} 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/multimedia/mozplugger/mozplugger.SlackBuild b/multimedia/mozplugger/mozplugger.SlackBuild index c1a4caa94e43..a7d19f5e73b7 100644 --- a/multimedia/mozplugger/mozplugger.SlackBuild +++ b/multimedia/mozplugger/mozplugger.SlackBuild @@ -53,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/mplayer-codecs/mplayer-codecs.SlackBuild b/multimedia/mplayer-codecs/mplayer-codecs.SlackBuild index dd500f80132e..b6113ab1a61a 100644 --- a/multimedia/mplayer-codecs/mplayer-codecs.SlackBuild +++ b/multimedia/mplayer-codecs/mplayer-codecs.SlackBuild @@ -74,7 +74,7 @@ else mkdir -p $PKG/usr/lib/codecs tar xvf $CWD/all-$VERSION.tar.bz2 cp -a all-$VERSION/* $PKG/usr/lib/codecs -fi +fi find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/multimedia/nrg2iso/nrg2iso.SlackBuild b/multimedia/nrg2iso/nrg2iso.SlackBuild index 815b33c5e778..6d456170875a 100644 --- a/multimedia/nrg2iso/nrg2iso.SlackBuild +++ b/multimedia/nrg2iso/nrg2iso.SlackBuild @@ -34,12 +34,10 @@ VERSION=${VERSION:-0.4} 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/multimedia/oggvideotools/oggvideotools.SlackBuild b/multimedia/oggvideotools/oggvideotools.SlackBuild index 3fa9eb51d7a6..d284d00cae0d 100644 --- a/multimedia/oggvideotools/oggvideotools.SlackBuild +++ b/multimedia/oggvideotools/oggvideotools.SlackBuild @@ -85,7 +85,7 @@ cd build -DCMAKE_INSTALL_PREFIX:STRING="/usr" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" + -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" make make DESTDIR=$PKG install/strip cd - diff --git a/multimedia/parole/parole.SlackBuild b/multimedia/parole/parole.SlackBuild index 131ed951c565..deab9603af3a 100644 --- a/multimedia/parole/parole.SlackBuild +++ b/multimedia/parole/parole.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=parole +PRGNAM=parole VERSION=${VERSION:-0.3.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/multimedia/qsampler/qsampler.SlackBuild b/multimedia/qsampler/qsampler.SlackBuild index f42052d6b758..2f67df2ad595 100644 --- a/multimedia/qsampler/qsampler.SlackBuild +++ b/multimedia/qsampler/qsampler.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/schroedinger/schroedinger.SlackBuild b/multimedia/schroedinger/schroedinger.SlackBuild index dbb8663e5b11..c35adf5472de 100644 --- a/multimedia/schroedinger/schroedinger.SlackBuild +++ b/multimedia/schroedinger/schroedinger.SlackBuild @@ -30,12 +30,10 @@ VERSION=${VERSION:-1.0.11} 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 @@ -59,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/sinthgunt/sinthgunt.SlackBuild b/multimedia/sinthgunt/sinthgunt.SlackBuild index 01daa6f67fea..87ea61fa5fa5 100644 --- a/multimedia/sinthgunt/sinthgunt.SlackBuild +++ b/multimedia/sinthgunt/sinthgunt.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/smpeg/smpeg.SlackBuild b/multimedia/smpeg/smpeg.SlackBuild index 6b84f0843cd0..29b83239c101 100644 --- a/multimedia/smpeg/smpeg.SlackBuild +++ b/multimedia/smpeg/smpeg.SlackBuild @@ -27,12 +27,10 @@ VERSION=r389 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/multimedia/stills2dv/stills2dv.SlackBuild b/multimedia/stills2dv/stills2dv.SlackBuild index 685b23a1746d..66cfc420fed1 100644 --- a/multimedia/stills2dv/stills2dv.SlackBuild +++ b/multimedia/stills2dv/stills2dv.SlackBuild @@ -11,12 +11,10 @@ TAG=${TAG:-_SBo} SRCVER=$(printf $VERSION | tr _ -) -# 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/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild index 047c0120463c..8e9069f9e7b6 100644 --- a/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild +++ b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.5.3} BUILD=${BUILD:-3} 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/multimedia/subtitleeditor/subtitleeditor.SlackBuild b/multimedia/subtitleeditor/subtitleeditor.SlackBuild index 6332f99143aa..b6656258cbd5 100644 --- a/multimedia/subtitleeditor/subtitleeditor.SlackBuild +++ b/multimedia/subtitleeditor/subtitleeditor.SlackBuild @@ -56,7 +56,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP @@ -65,7 +65,7 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/multimedia/subtitleripper/subtitleripper.SlackBuild b/multimedia/subtitleripper/subtitleripper.SlackBuild index d91e88159cc3..3c4f487c5de5 100644 --- a/multimedia/subtitleripper/subtitleripper.SlackBuild +++ b/multimedia/subtitleripper/subtitleripper.SlackBuild @@ -30,12 +30,10 @@ SRCVER=$(printf $VERSION |sed 's/_/-/') 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 @@ -59,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/tvtime/tvtime.SlackBuild b/multimedia/tvtime/tvtime.SlackBuild index 7f0ba5a33872..2ec7a4f64b5a 100644 --- a/multimedia/tvtime/tvtime.SlackBuild +++ b/multimedia/tvtime/tvtime.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.0.2} BUILD=${BUILD:-4} 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 @@ -73,7 +71,7 @@ chmod -R u+w,go+r-w,a-s . # http://paketler.pardus.org.tr/2007/source/tvtime.html # http://bugs.gentoo.org/attachment.cgi?id=196423 for foo in $CWD/patches/* ; do - patch -p1 < $foo ; + patch -p1 < $foo ; done CFLAGS="$SLKCFLAGS" \ diff --git a/multimedia/vcdimager/vcdimager.SlackBuild b/multimedia/vcdimager/vcdimager.SlackBuild index 4e05933dfb88..94bcb2c3f59c 100644 --- a/multimedia/vcdimager/vcdimager.SlackBuild +++ b/multimedia/vcdimager/vcdimager.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware Build script for vcdimager +# Slackware Build script for vcdimager # Copyright (c) 2009, eviljames <storgeek [ at ] gmail [ dot ] com> # @@ -9,7 +9,7 @@ # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN @@ -21,12 +21,10 @@ VERSION=0.7.23 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/multimedia/videocut/videocut.SlackBuild b/multimedia/videocut/videocut.SlackBuild index 6bad5c10d091..5a95b9db7c62 100644 --- a/multimedia/videocut/videocut.SlackBuild +++ b/multimedia/videocut/videocut.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.2.0} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -66,7 +64,7 @@ make install INSTALL_ROOT=$PKG # Install the missing binary! mkdir -p $PKG/usr/bin -cp -a build/result/videocut $PKG/usr/bin +cp -a build/result/videocut $PKG/usr/bin strip --strip-unneeded $PKG/usr/bin/videocut # We don't need this directory or its contents diff --git a/multimedia/vkeybd/vkeybd.SlackBuild b/multimedia/vkeybd/vkeybd.SlackBuild index 3621d0bc3ec5..d368d1133f84 100644 --- a/multimedia/vkeybd/vkeybd.SlackBuild +++ b/multimedia/vkeybd/vkeybd.SlackBuild @@ -5,7 +5,7 @@ # Written by Luis Henrique <lmello.009@gmail.com> # Thanks to the Ubuntu community for some tips on the vkeybd keymap settings! -# Check https://help.ubuntu.com/community/HowToVirtualKeyboardKeymapping for +# Check https://help.ubuntu.com/community/HowToVirtualKeyboardKeymapping for # more information. PRGNAM=vkeybd diff --git a/multimedia/vobcopy/vobcopy.SlackBuild b/multimedia/vobcopy/vobcopy.SlackBuild index 76c00fa1272f..5cc5de2d3cd2 100644 --- a/multimedia/vobcopy/vobcopy.SlackBuild +++ b/multimedia/vobcopy/vobcopy.SlackBuild @@ -29,12 +29,10 @@ VERSION=1.2.0 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/multimedia/winff/winff.SlackBuild b/multimedia/winff/winff.SlackBuild index 91bdb315af28..2c8c7d03ce41 100644 --- a/multimedia/winff/winff.SlackBuild +++ b/multimedia/winff/winff.SlackBuild @@ -27,7 +27,6 @@ VERSION=${VERSION:-1.3.0} 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 ;; @@ -50,7 +49,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild b/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild index 1eab833be37d..9f581d5a3c60 100644 --- a/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild +++ b/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.3.14} 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 @@ -36,7 +34,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/xvid4conf/xvid4conf.SlackBuild b/multimedia/xvid4conf/xvid4conf.SlackBuild index 0cbca5df89ce..ad4d4a33a64d 100644 --- a/multimedia/xvid4conf/xvid4conf.SlackBuild +++ b/multimedia/xvid4conf/xvid4conf.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.12} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/APC/APC.SlackBuild b/network/APC/APC.SlackBuild index fce8e313656b..66a08cdb927d 100644 --- a/network/APC/APC.SlackBuild +++ b/network/APC/APC.SlackBuild @@ -82,7 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -INSTALL_ROOT=$PKG make install +INSTALL_ROOT=$PKG make install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/network/DenyHosts/DenyHosts.SlackBuild b/network/DenyHosts/DenyHosts.SlackBuild index 2e09a38dcf42..a291ba4e37f4 100644 --- a/network/DenyHosts/DenyHosts.SlackBuild +++ b/network/DenyHosts/DenyHosts.SlackBuild @@ -5,10 +5,10 @@ # http://slackbuilds.org/python-template.SlackBuild -PRGNAM=DenyHosts -VERSION=${VERSION:-2.6} +PRGNAM=DenyHosts +VERSION=${VERSION:-2.6} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -19,9 +19,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" @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/GhostInTheMail/GhostInTheMail.SlackBuild b/network/GhostInTheMail/GhostInTheMail.SlackBuild index 788af2382ec9..4cc139039f35 100644 --- a/network/GhostInTheMail/GhostInTheMail.SlackBuild +++ b/network/GhostInTheMail/GhostInTheMail.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.5} 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/network/QuiteRSS/QuiteRSS.SlackBuild b/network/QuiteRSS/QuiteRSS.SlackBuild index 99fd85aac858..87d019a39963 100644 --- a/network/QuiteRSS/QuiteRSS.SlackBuild +++ b/network/QuiteRSS/QuiteRSS.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/SocksiPy/SocksiPy.SlackBuild b/network/SocksiPy/SocksiPy.SlackBuild index c082f575323c..1d2c359050ba 100644 --- a/network/SocksiPy/SocksiPy.SlackBuild +++ b/network/SocksiPy/SocksiPy.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.0.0 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 @@ -46,7 +44,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION mkdir $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM.tar.gz -C $PRGNAM-$VERSION diff --git a/network/airpwn/airpwn.SlackBuild b/network/airpwn/airpwn.SlackBuild index a2ed6189cd63..0d02450ffd5c 100644 --- a/network/airpwn/airpwn.SlackBuild +++ b/network/airpwn/airpwn.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.4} 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 @@ -100,7 +98,7 @@ CPPFLAGS="-I${PKG}/usr/include" \ --build=$ARCH-slackware-linux # fix what libs we link to -sed -i 's/-lnet/-lnet -lssl -lexpat -lcrypto/' Makefile +sed -i 's/-lnet/-lnet -lssl -lexpat -lcrypto/' Makefile # build airpwn make diff --git a/network/ajaxplorer-sync/ajaxplorer-sync.SlackBuild b/network/ajaxplorer-sync/ajaxplorer-sync.SlackBuild index dc2360c8a8b0..d5d9f0978b4e 100644 --- a/network/ajaxplorer-sync/ajaxplorer-sync.SlackBuild +++ b/network/ajaxplorer-sync/ajaxplorer-sync.SlackBuild @@ -31,11 +31,9 @@ TAG=${TAG:-_SBo} SRCNAM=ajaxplorer_sync -# Automatically determine the architecture we're building on: 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 diff --git a/network/amap/amap.SlackBuild b/network/amap/amap.SlackBuild index 9cba1adcb237..f7873afbba83 100644 --- a/network/amap/amap.SlackBuild +++ b/network/amap/amap.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-5.4} 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/network/aria2/aria2.SlackBuild b/network/aria2/aria2.SlackBuild index cb5a3983bc7c..21fa8aaf6e7d 100644 --- a/network/aria2/aria2.SlackBuild +++ b/network/aria2/aria2.SlackBuild @@ -38,7 +38,7 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e diff --git a/network/arp-scan/arp-scan.SlackBuild b/network/arp-scan/arp-scan.SlackBuild index b318e3bcd4d4..851ba194890e 100644 --- a/network/arp-scan/arp-scan.SlackBuild +++ b/network/arp-scan/arp-scan.SlackBuild @@ -27,17 +27,15 @@ VERSION=${VERSION:-1.9} 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 -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/network/arpwatch/arpwatch.SlackBuild b/network/arpwatch/arpwatch.SlackBuild index e7d9a66ab764..840cba42ae1d 100644 --- a/network/arpwatch/arpwatch.SlackBuild +++ b/network/arpwatch/arpwatch.SlackBuild @@ -8,12 +8,10 @@ VERSION=2.1a15 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/network/cadaver/cadaver.SlackBuild b/network/cadaver/cadaver.SlackBuild index 900d6215b37c..44f4ff21bdbb 100644 --- a/network/cadaver/cadaver.SlackBuild +++ b/network/cadaver/cadaver.SlackBuild @@ -8,12 +8,10 @@ VERSION=0.23.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 diff --git a/network/cgterm/cgterm.SlackBuild b/network/cgterm/cgterm.SlackBuild index 8b10b03d34ef..6bfb48517870 100644 --- a/network/cgterm/cgterm.SlackBuild +++ b/network/cgterm/cgterm.SlackBuild @@ -28,12 +28,10 @@ VERSION=1.6 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/network/ckermit/ckermit.SlackBuild b/network/ckermit/ckermit.SlackBuild index 92e062ec1aa7..cfb5d43d7dbd 100644 --- a/network/ckermit/ckermit.SlackBuild +++ b/network/ckermit/ckermit.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-9.0.302} 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/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild b/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild index 4e151c156c07..2c1f1a706d40 100644 --- a/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild +++ b/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild @@ -39,7 +39,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e ### user and group for config file CONFIG_USER="root" diff --git a/network/clive/clive.SlackBuild b/network/clive/clive.SlackBuild index 0e9414a48491..5e895cb6d561 100644 --- a/network/clive/clive.SlackBuild +++ b/network/clive/clive.SlackBuild @@ -28,12 +28,10 @@ VERSION=1.0.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/network/cmdiag/cmdiag.SlackBuild b/network/cmdiag/cmdiag.SlackBuild index f13ab2f5c523..f817f6967100 100644 --- a/network/cmdiag/cmdiag.SlackBuild +++ b/network/cmdiag/cmdiag.SlackBuild @@ -36,7 +36,7 @@ else fi set -ue - + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP diff --git a/network/corkscrew/corkscrew.SlackBuild b/network/corkscrew/corkscrew.SlackBuild index de733992ae37..ac702807cb7e 100644 --- a/network/corkscrew/corkscrew.SlackBuild +++ b/network/corkscrew/corkscrew.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.0} 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/network/cowpatty/cowpatty.SlackBuild b/network/cowpatty/cowpatty.SlackBuild index a7ab733e9f27..b60afd70ccb6 100644 --- a/network/cowpatty/cowpatty.SlackBuild +++ b/network/cowpatty/cowpatty.SlackBuild @@ -49,7 +49,7 @@ find . \ # force the Makefile to use our SLKCFLAGS: sed -i 14s/"-g3 -ggdb"/"-g3 -ggdb ${SLKCFLAGS}"/ Makefile -make +make make strip make install BINDIR=/usr/bin DESTDIR=$PKG diff --git a/network/cryptcat-unix/cryptcat-unix.SlackBuild b/network/cryptcat-unix/cryptcat-unix.SlackBuild index 1cdf0ce38e40..23113f2bd1b0 100644 --- a/network/cryptcat-unix/cryptcat-unix.SlackBuild +++ b/network/cryptcat-unix/cryptcat-unix.SlackBuild @@ -13,12 +13,10 @@ PRGNAM=cryptcat-unix 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/network/csync/csync.SlackBuild b/network/csync/csync.SlackBuild index d65948b3870a..7f8dd18ee1fd 100644 --- a/network/csync/csync.SlackBuild +++ b/network/csync/csync.SlackBuild @@ -78,7 +78,7 @@ cd build -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ -DLIB_SUFFIX=64 \ -DSYSCONF_INSTALL_DIR=/etc \ - -DMAN_INSTALL_DIR=/usr/man + -DMAN_INSTALL_DIR=/usr/man make make install DESTDIR=$PKG cd .. diff --git a/network/deluge/deluge.SlackBuild b/network/deluge/deluge.SlackBuild index 335887d5edae..837189a79a60 100644 --- a/network/deluge/deluge.SlackBuild +++ b/network/deluge/deluge.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.3.6} 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/network/dnstracer/dnstracer.SlackBuild b/network/dnstracer/dnstracer.SlackBuild index 2965d1d0ec9c..ed5e7ed8af23 100644 --- a/network/dnstracer/dnstracer.SlackBuild +++ b/network/dnstracer/dnstracer.SlackBuild @@ -56,7 +56,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make CC="$(which gcc) $SLKCFLAGS" +make CC="$(which gcc) $SLKCFLAGS" mkdir -p $PKG/usr/{bin,man,doc} mkdir -p $PKG/usr/man/man8 diff --git a/network/docsis/docsis.SlackBuild b/network/docsis/docsis.SlackBuild index fd6040c80910..3ee0b6d490ca 100644 --- a/network/docsis/docsis.SlackBuild +++ b/network/docsis/docsis.SlackBuild @@ -36,7 +36,7 @@ else fi set -ue - + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP diff --git a/network/dropbear/dropbear.SlackBuild b/network/dropbear/dropbear.SlackBuild index bdc3f85d29c6..cdf9db6919c4 100644 --- a/network/dropbear/dropbear.SlackBuild +++ b/network/dropbear/dropbear.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2007-2008, Piter Punk, São Paulo, Brazil +# Copyright 2007-2008, Piter Punk, São Paulo, Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,12 +25,10 @@ VERSION=0.52 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/network/dsniff/dsniff.SlackBuild b/network/dsniff/dsniff.SlackBuild index 761e3b7370ac..7800b0030e2d 100644 --- a/network/dsniff/dsniff.SlackBuild +++ b/network/dsniff/dsniff.SlackBuild @@ -29,12 +29,10 @@ SRCVER=${SRCVER:-2.4} 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/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild index 9d45ccff78ae..1dc2cb36a23a 100644 --- a/network/elinks/elinks.SlackBuild +++ b/network/elinks/elinks.SlackBuild @@ -12,12 +12,10 @@ VERSION=0.11.5 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 @@ -47,7 +45,7 @@ cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 cd $PRGNAM-$VERSION || exit 1 -chown -R root:root . +chown -R root:root . chmod -R u+w,go+r-w,a-s . CFLAGS="$SLKCFLAGS" \ @@ -91,7 +89,7 @@ mv $PKG/usr/share/man $PKG/usr ( 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 -) +) cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/emacs-w3m/emacs-w3m.SlackBuild b/network/emacs-w3m/emacs-w3m.SlackBuild index 99ccfccebd4c..d3277679549d 100644 --- a/network/emacs-w3m/emacs-w3m.SlackBuild +++ b/network/emacs-w3m/emacs-w3m.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-cvs_1.4.400_0.20100725} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/emesene/emesene.SlackBuild b/network/emesene/emesene.SlackBuild index 3dfac70ed462..0c39a9dd0d4c 100644 --- a/network/emesene/emesene.SlackBuild +++ b/network/emesene/emesene.SlackBuild @@ -17,7 +17,7 @@ OUTPUT=${OUTPUT:-/tmp} # No flags/configure needed because it is writen in python programing language. ARCH=noarch -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/enet/enet.SlackBuild b/network/enet/enet.SlackBuild index a7ecd3f203f2..1547e631de80 100644 --- a/network/enet/enet.SlackBuild +++ b/network/enet/enet.SlackBuild @@ -9,18 +9,16 @@ VERSION=${VERSION:-1.2.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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/etherpad-lite/etherpad-lite.SlackBuild b/network/etherpad-lite/etherpad-lite.SlackBuild index 338cff1127c8..9b7331cdbbed 100644 --- a/network/etherpad-lite/etherpad-lite.SlackBuild +++ b/network/etherpad-lite/etherpad-lite.SlackBuild @@ -40,7 +40,7 @@ if ! grep -q "^$ETHERPAD_USER:" /etc/passwd; then elif ! grep -q "^$ETHERPAD_GROUP:" /etc/group; then bailout fi - + set -eu rm -rf $PKG diff --git a/network/ettercap/ettercap.SlackBuild b/network/ettercap/ettercap.SlackBuild index 5b01e0ada8d4..df103dc5f0d8 100644 --- a/network/ettercap/ettercap.SlackBuild +++ b/network/ettercap/ettercap.SlackBuild @@ -82,7 +82,7 @@ cd build -DENABLE_IPV6=$IPV6 \ -DENABLE_LUA=$LUA \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/network/flvstreamer/flvstreamer.SlackBuild b/network/flvstreamer/flvstreamer.SlackBuild index 65cd7bc40c3c..1b25a09fd92a 100644 --- a/network/flvstreamer/flvstreamer.SlackBuild +++ b/network/flvstreamer/flvstreamer.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for flvstreamer. -# +# # Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.1a} 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/network/fping/fping.SlackBuild b/network/fping/fping.SlackBuild index 229663f585b4..ea2e3a47c366 100644 --- a/network/fping/fping.SlackBuild +++ b/network/fping/fping.SlackBuild @@ -29,12 +29,10 @@ VERSION=2.4b2_to 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/network/fping6/fping6.SlackBuild b/network/fping6/fping6.SlackBuild index c4f98ee692f5..28cf3cac9be3 100644 --- a/network/fping6/fping6.SlackBuild +++ b/network/fping6/fping6.SlackBuild @@ -31,12 +31,10 @@ VERSION=2.4b2_to_ipv6 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/network/gmapcatcher/gmapcatcher.SlackBuild b/network/gmapcatcher/gmapcatcher.SlackBuild index 93ea35db7e32..df5ea2baf560 100644 --- a/network/gmapcatcher/gmapcatcher.SlackBuild +++ b/network/gmapcatcher/gmapcatcher.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/gns3/gns3.SlackBuild b/network/gns3/gns3.SlackBuild index 09a148550e76..1274b980c0ec 100644 --- a/network/gns3/gns3.SlackBuild +++ b/network/gns3/gns3.SlackBuild @@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/googlecl/googlecl.SlackBuild b/network/googlecl/googlecl.SlackBuild index e77b3877a92d..461f948cf282 100644 --- a/network/googlecl/googlecl.SlackBuild +++ b/network/googlecl/googlecl.SlackBuild @@ -22,7 +22,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/gq/gq.SlackBuild b/network/gq/gq.SlackBuild index 6cec583b2748..b06494a922a1 100644 --- a/network/gq/gq.SlackBuild +++ b/network/gq/gq.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2010 Chris Abela <chris.abela@maltats> +# Copyright 2010 Chris Abela <chris.abela@maltats> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/network/haproxy/haproxy.SlackBuild b/network/haproxy/haproxy.SlackBuild index 517af87d56a0..470661d5d274 100644 --- a/network/haproxy/haproxy.SlackBuild +++ b/network/haproxy/haproxy.SlackBuild @@ -32,12 +32,10 @@ VERSION=1.3.15.7 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/network/havp/havp.SlackBuild b/network/havp/havp.SlackBuild index b9df40ae60a2..a53d527b8a97 100644 --- a/network/havp/havp.SlackBuild +++ b/network/havp/havp.SlackBuild @@ -51,7 +51,7 @@ elif ! getent passwd havp 2>&1 > /dev/null; then bailout ; fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -72,7 +72,7 @@ patch -p1 < $CWD/patches/use_clamav_group_by_default.diff patch -p1 < $CWD/patches/put_templates_in_usrshare.diff patch -p1 < $CWD/patches/use_vartmphavp_for_tempdir.diff -CFLAGS="$SLKCFLAGS" +CFLAGS="$SLKCFLAGS" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ diff --git a/network/hipchat/hipchat.SlackBuild b/network/hipchat/hipchat.SlackBuild index fdbb8c26c4a6..d6f949ca1f64 100644 --- a/network/hipchat/hipchat.SlackBuild +++ b/network/hipchat/hipchat.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.95.444} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) export ARCH=i686 ;; arm*) export ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; esac fi @@ -25,7 +23,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/hostapd/hostapd.SlackBuild b/network/hostapd/hostapd.SlackBuild index 9f0b30c661ed..76696cf3e491 100644 --- a/network/hostapd/hostapd.SlackBuild +++ b/network/hostapd/hostapd.SlackBuild @@ -26,12 +26,10 @@ VERSION=${VERSION:-0.6.10} 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/network/hping3/hping3.SlackBuild b/network/hping3/hping3.SlackBuild index a80574dfec2f..73dd6887d3b7 100644 --- a/network/hping3/hping3.SlackBuild +++ b/network/hping3/hping3.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-20051105} 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/network/hylafax+/hylafax+.SlackBuild b/network/hylafax+/hylafax+.SlackBuild index 33269df293e2..76eee961a872 100644 --- a/network/hylafax+/hylafax+.SlackBuild +++ b/network/hylafax+/hylafax+.SlackBuild @@ -59,7 +59,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $SRCNAM-$VERSION tar -xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION @@ -70,7 +70,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Copy our source for the correct configuration +# Copy our source for the correct configuration sed "s|@LIBDIRSUFFIX@|${LIBDIRSUFFIX}|g" \ < $CWD/config.local.in \ > $TMP/$SRCNAM-$VERSION/config.local diff --git a/network/hylafax/hylafax.SlackBuild b/network/hylafax/hylafax.SlackBuild index 637fe2c262b3..545c4f91ba3d 100644 --- a/network/hylafax/hylafax.SlackBuild +++ b/network/hylafax/hylafax.SlackBuild @@ -31,12 +31,10 @@ VERSION=${VERSION:-6.0.5} 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 @@ -64,7 +62,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION @@ -75,7 +73,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Copy our source for the correct configuration +# Copy our source for the correct configuration sed "s|@LIBDIRSUFFIX@|${LIBDIRSUFFIX}|g" \ < $CWD/config.local.in \ > $TMP/$PRGNAM-$VERSION/config.local diff --git a/network/ifstatus/ifstatus.SlackBuild b/network/ifstatus/ifstatus.SlackBuild index b98895c50469..135ee6b9e86f 100644 --- a/network/ifstatus/ifstatus.SlackBuild +++ b/network/ifstatus/ifstatus.SlackBuild @@ -23,24 +23,22 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ifstatus -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +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 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" diff --git a/network/imapfilter/imapfilter.SlackBuild b/network/imapfilter/imapfilter.SlackBuild index a02900eb93dc..1cca53b9a35d 100644 --- a/network/imapfilter/imapfilter.SlackBuild +++ b/network/imapfilter/imapfilter.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-2.2.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/network/iperf/iperf.SlackBuild b/network/iperf/iperf.SlackBuild index 1438a3e80f88..36b64391c900 100644 --- a/network/iperf/iperf.SlackBuild +++ b/network/iperf/iperf.SlackBuild @@ -5,19 +5,17 @@ # Some parts learned or copied from: # http://slackbuilds.org/template.SlackBuild # and -# http://www.slackwiki.org/Writing_A_SlackBuild_Script +# http://www.slackwiki.org/Writing_A_SlackBuild_Script PRGNAM=iperf VERSION=${VERSION:-2.0.5} 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/network/ipv6calc/ipv6calc.SlackBuild b/network/ipv6calc/ipv6calc.SlackBuild index eb5abc6656db..c9ee6511e976 100644 --- a/network/ipv6calc/ipv6calc.SlackBuild +++ b/network/ipv6calc/ipv6calc.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/ipvsadm/ipvsadm.SlackBuild b/network/ipvsadm/ipvsadm.SlackBuild index f81e7eb25d34..6c50d87f2a73 100644 --- a/network/ipvsadm/ipvsadm.SlackBuild +++ b/network/ipvsadm/ipvsadm.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.25} 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/network/isync/isync.SlackBuild b/network/isync/isync.SlackBuild index 153a1944d895..30e00e9ab1cf 100644 --- a/network/isync/isync.SlackBuild +++ b/network/isync/isync.SlackBuild @@ -13,19 +13,19 @@ # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. -# * Neither the name of Tom Canich nor the names of other contributors -# may be used to endorse or promote products derived from this +# * Neither the name of Tom Canich nor the names of other contributors +# may be used to endorse or promote products derived from this # software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY Tom Canich ''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 DISCLAIMED. -# IN NO EVENT SHALL Tom Canich BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL Tom Canich BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @@ -34,12 +34,10 @@ VERSION=${VERSION:-1.0.4} 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 @@ -63,7 +61,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/jabberd2/jabberd2.SlackBuild b/network/jabberd2/jabberd2.SlackBuild index 937d4127a3d3..d5102d033823 100644 --- a/network/jabberd2/jabberd2.SlackBuild +++ b/network/jabberd2/jabberd2.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=jabberd2 VERSION=${VERSION:-2.2.17} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/network/jboss-as/jboss-as.SlackBuild b/network/jboss-as/jboss-as.SlackBuild index c2b7e78c1000..fa1d5b66a570 100644 --- a/network/jboss-as/jboss-as.SlackBuild +++ b/network/jboss-as/jboss-as.SlackBuild @@ -44,7 +44,7 @@ if [ "$(grep ^jboss /etc/passwd)" = "" -o "$(grep ^jboss /etc/group)" = "" ] ; t fi rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz @@ -58,7 +58,7 @@ chown -R root:root . mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mv docs/* $PKG/usr/doc/$PRGNAM-$VERSION mv *.txt $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf docs +rm -rf docs cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # directory server: jboss/standalone/* -> /var/lib/jboss/standalone/* @@ -66,38 +66,38 @@ cd $PKG mkdir -p $PKG/var/lib/$PRGNAM mv $PKG/usr/share/$PRGNAM/standalone $PKG/var/lib/$PRGNAM cd $PKG/usr/share/$PRGNAM -ln -sf ../../../var/lib/$PRGNAM/standalone +ln -sf ../../../var/lib/$PRGNAM/standalone mv $PKG/usr/share/$PRGNAM/domain $PKG/var/lib/$PRGNAM cd $PKG/usr/share/$PRGNAM -ln -sf ../../../var/lib/$PRGNAM/domain +ln -sf ../../../var/lib/$PRGNAM/domain mkdir -p $PKG/etc/$PRGNAM/{standalone,domain} mv $PKG/var/lib/$PRGNAM/standalone/configuration $PKG/etc/$PRGNAM/standalone/ mv $PKG/var/lib/$PRGNAM/domain/configuration $PKG/etc/$PRGNAM/domain/ cd $PKG/var/lib/$PRGNAM/standalone -ln -sf ../../../../etc/$PRGNAM/standalone/configuration configuration +ln -sf ../../../../etc/$PRGNAM/standalone/configuration configuration cd $PKG/var/lib/$PRGNAM/domain -ln -sf ../../../../etc/$PRGNAM/domain/configuration configuration +ln -sf ../../../../etc/$PRGNAM/domain/configuration configuration mkdir -p $PKG/var/{log,tmp}/$PRGNAM/standalone cd $PKG/var/lib/$PRGNAM/standalone -ln -sf ../../../log/$PRGNAM/standalone log -ln -sf ../../../tmp/$PRGNAM/standalone tmp +ln -sf ../../../log/$PRGNAM/standalone log +ln -sf ../../../tmp/$PRGNAM/standalone tmp mv $PKG/usr/share/$PRGNAM/bin/standalone.conf $PKG/etc/$PRGNAM/standalone/ mv $PKG/usr/share/$PRGNAM/bin/domain.conf $PKG/etc/$PRGNAM/domain/ cd $PKG/usr/share/$PRGNAM/bin -ln -sf ../../../../etc/$PRGNAM/standalone/standalone.conf -ln -sf ../../../../etc/$PRGNAM/domain/domain.conf +ln -sf ../../../../etc/$PRGNAM/standalone/standalone.conf +ln -sf ../../../../etc/$PRGNAM/domain/domain.conf # the xml history need some special treatment mkdir -p $PKG/var/lib/$PRGNAM/standalone/standalone_xml_history mkdir -p $PKG/var/lib/$PRGNAM/domain/domain_xml_history mkdir -p $PKG/var/lib/$PRGNAM/domain/host_xml_history cd $PKG/etc/$PRGNAM/standalone/configuration -ln -sf ../../../../var/lib/$PRGNAM/standalone/standalone_xml_history +ln -sf ../../../../var/lib/$PRGNAM/standalone/standalone_xml_history cd $PKG/etc/$PRGNAM/domain/configuration -ln -sf ../../../../var/lib/$PRGNAM/domain/domain_xml_history -ln -sf ../../../../var/lib/$PRGNAM/domain/host_xml_history - +ln -sf ../../../../var/lib/$PRGNAM/domain/domain_xml_history +ln -sf ../../../../var/lib/$PRGNAM/domain/host_xml_history + # Add /etc/rc.d/rc.jboss.new mkdir -p $PKG/etc/rc.d cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new @@ -120,11 +120,11 @@ chmod 0755 $PKG/usr/share/$PRGNAM/bin/*.sh mkdir -p $PKG/usr/bin cd $PKG/usr/bin -ln -sf ../share/$PRGNAM/bin/domain.sh -ln -sf ../share/$PRGNAM/bin/standalone.sh -ln -sf ../share/$PRGNAM/bin/jboss-admin.sh -ln -sf ../share/$PRGNAM/bin/wsprovide.sh -ln -sf ../share/$PRGNAM/bin/wsconsume.sh +ln -sf ../share/$PRGNAM/bin/domain.sh +ln -sf ../share/$PRGNAM/bin/standalone.sh +ln -sf ../share/$PRGNAM/bin/jboss-admin.sh +ln -sf ../share/$PRGNAM/bin/wsprovide.sh +ln -sf ../share/$PRGNAM/bin/wsconsume.sh mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/network/jigdo/jigdo.SlackBuild b/network/jigdo/jigdo.SlackBuild index 2edf75b2bfe5..3d79eb78828f 100644 --- a/network/jigdo/jigdo.SlackBuild +++ b/network/jigdo/jigdo.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="README THANKS changelog doc/TechDetails.txt doc/Hacking.txt" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/kadu/kadu.SlackBuild b/network/kadu/kadu.SlackBuild index 0518f62b7ec6..83402980ec33 100644 --- a/network/kadu/kadu.SlackBuild +++ b/network/kadu/kadu.SlackBuild @@ -39,7 +39,7 @@ fi set -e rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 diff --git a/network/kde-networkmanagement-openconnect/kde-networkmanagement-openconnect.SlackBuild b/network/kde-networkmanagement-openconnect/kde-networkmanagement-openconnect.SlackBuild index f7656df3512e..dcce21ec804a 100644 --- a/network/kde-networkmanagement-openconnect/kde-networkmanagement-openconnect.SlackBuild +++ b/network/kde-networkmanagement-openconnect/kde-networkmanagement-openconnect.SlackBuild @@ -97,7 +97,7 @@ mkdir -p $PKG/usr/share/kde4/services/ cp -a vpnplugins/openconnect/networkmanagement_openconnectui.desktop \ $PKG/usr/share/kde4/services/ -# These seem to have been built for networkmanagement_openconnectui.so to +# These seem to have been built for networkmanagement_openconnectui.so to # link, but they're identical to what the stock networkmanagement package # contains, so we don't need to include them here. # mv build/lib/* $PKG/usr/lib${LIBDIRSUFFIX} diff --git a/network/kmess/kmess.SlackBuild b/network/kmess/kmess.SlackBuild index 6bd0bca3d295..4c200bd26d7d 100644 --- a/network/kmess/kmess.SlackBuild +++ b/network/kmess/kmess.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.0.6.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 @@ -78,7 +76,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/network/knock/knock.SlackBuild b/network/knock/knock.SlackBuild index 56458597985e..c26ea265ff11 100644 --- a/network/knock/knock.SlackBuild +++ b/network/knock/knock.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.5} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/kobby/kobby.SlackBuild b/network/kobby/kobby.SlackBuild index 0322b489dd70..61da499d21f9 100644 --- a/network/kobby/kobby.SlackBuild +++ b/network/kobby/kobby.SlackBuild @@ -61,7 +61,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/network/konversation/konversation.SlackBuild b/network/konversation/konversation.SlackBuild index 224b61faafe0..971b73d252f7 100644 --- a/network/konversation/konversation.SlackBuild +++ b/network/konversation/konversation.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-1.4} 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 @@ -60,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/network/krb5/krb5.SlackBuild b/network/krb5/krb5.SlackBuild index ebd0b96b5511..78b705362fd2 100644 --- a/network/krb5/krb5.SlackBuild +++ b/network/krb5/krb5.SlackBuild @@ -6,13 +6,13 @@ # All rights reserved. # # Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions +# modification, are permitted provided that the following conditions # are met: # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials # provided with the distribution. # * Neither the name of Tom Canich nor the names of other contributors # may be used to endorse or promote products derived from this @@ -20,14 +20,14 @@ # # THIS SOFTWARE IS PROVIDED BY Tom Canich ''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 DISCLAIMED. IN NO EVENT SHALL Tom Canich BE LIABLE FOR +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Tom Canich BE LIABLE FOR # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER -# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=krb5 @@ -35,12 +35,10 @@ VERSION=${VERSION:-1.9.4} 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/network/ldapvi/ldapvi.SlackBuild b/network/ldapvi/ldapvi.SlackBuild index b03df1abe228..4c30fee73d48 100644 --- a/network/ldapvi/ldapvi.SlackBuild +++ b/network/ldapvi/ldapvi.SlackBuild @@ -11,23 +11,23 @@ # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials provided # with the distribution. -# * Neither the name of Tom Canich nor the names of other -# contributors may be used to endorse or promote products derived +# * Neither the name of Tom Canich nor the names of other +# contributors may be used to endorse or promote products derived # from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY Tom Canich ''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 DISCLAIMED. IN NO EVENT SHALL Tom Canich BE LIABLE FOR +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Tom Canich BE LIABLE FOR # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER -# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ldapvi diff --git a/network/leafnode/leafnode.SlackBuild b/network/leafnode/leafnode.SlackBuild index 722fa127ac61..1fab96425992 100644 --- a/network/leafnode/leafnode.SlackBuild +++ b/network/leafnode/leafnode.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=leafnode +PRGNAM=leafnode VERSION=2.0.0.alpha20110807a BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -81,8 +81,8 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-spooldir=/var/spool/news \ --build=$ARCH-slackware-linux -make -make install DESTDIR=$PKG +make +make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/network/libdnet/libdnet.SlackBuild b/network/libdnet/libdnet.SlackBuild index 58ddcfea6ff4..be495d75e1a0 100644 --- a/network/libdnet/libdnet.SlackBuild +++ b/network/libdnet/libdnet.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.11} 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/network/lighttpd/lighttpd.SlackBuild b/network/lighttpd/lighttpd.SlackBuild index 7ebcec09838d..72145fb4b615 100644 --- a/network/lighttpd/lighttpd.SlackBuild +++ b/network/lighttpd/lighttpd.SlackBuild @@ -73,7 +73,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/lighttpd2/lighttpd2.SlackBuild b/network/lighttpd2/lighttpd2.SlackBuild index 358a7881abb9..a198a2547246 100644 --- a/network/lighttpd2/lighttpd2.SlackBuild +++ b/network/lighttpd2/lighttpd2.SlackBuild @@ -75,7 +75,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/limnoria/limnoria.SlackBuild b/network/limnoria/limnoria.SlackBuild index ca7923b54e17..f4ac2f7f8f36 100644 --- a/network/limnoria/limnoria.SlackBuild +++ b/network/limnoria/limnoria.SlackBuild @@ -53,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/macchanger/macchanger.SlackBuild b/network/macchanger/macchanger.SlackBuild index c5741d94b7f6..32f030c41761 100644 --- a/network/macchanger/macchanger.SlackBuild +++ b/network/macchanger/macchanger.SlackBuild @@ -8,17 +8,15 @@ ################################################################### -PRGNAM=macchanger +PRGNAM=macchanger VERSION=1.5.0 BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +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/network/maildrop/maildrop.SlackBuild b/network/maildrop/maildrop.SlackBuild index cc9844bdbe89..ea3310f02363 100644 --- a/network/maildrop/maildrop.SlackBuild +++ b/network/maildrop/maildrop.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-2.4.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 diff --git a/network/mailman/mailman.SlackBuild b/network/mailman/mailman.SlackBuild index 51a7243c14ea..812739160a8f 100644 --- a/network/mailman/mailman.SlackBuild +++ b/network/mailman/mailman.SlackBuild @@ -19,12 +19,10 @@ CGI_GID=${CGI_GID:-apache} MAILMAN_UID=${MAILMAN_UID:-204} MAILMAN_GID=${MAILMAN_GID:-204} -# 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 @@ -57,7 +55,7 @@ else fi # By default mailman will be installed to /opt, but -# the lists archives and databases directory can be +# the lists archives and databases directory can be # changed to /var/mailman: PREFIX=/opt/mailman VAR_PREFIX=${VAR_PREFIX:-/opt/mailman/var/mailman} @@ -68,7 +66,7 @@ mkdir -p $PKG install -d $PKG/$PREFIX -g mailman -o root -m 2775 install -d $PKG/$VAR_PREFIX -g mailman -o root -m 2775 -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/mbpurple/mbpurple.SlackBuild b/network/mbpurple/mbpurple.SlackBuild index 6c20c44880ea..fad717476a7f 100644 --- a/network/mbpurple/mbpurple.SlackBuild +++ b/network/mbpurple/mbpurple.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.3.0} 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/network/metasploit/metasploit.SlackBuild b/network/metasploit/metasploit.SlackBuild index 3a7d6458fd67..5146da7cd94b 100644 --- a/network/metasploit/metasploit.SlackBuild +++ b/network/metasploit/metasploit.SlackBuild @@ -31,12 +31,10 @@ VERSION=${VERSION:-4.7.0} 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 @@ -120,8 +118,8 @@ chown root:root $PKG/etc/rc.d/rc.$INITSCRIPT.new chmod 755 $PKG/etc/rc.d/rc.$INITSCRIPT.new # Default installation makes pro stuff, starting METASPLOIT_SCRIPT, PROSVC_SCRIPT and WORKER_SCRIPT. Disable this... # We want only to start framework's PostgreSQL -chmod -x $PKG/$INSTDIR/apps/pro/ui/scripts/ctl.sh -chmod -x $PKG/$INSTDIR/apps/pro/engine/scripts/ctl.sh +chmod -x $PKG/$INSTDIR/apps/pro/ui/scripts/ctl.sh +chmod -x $PKG/$INSTDIR/apps/pro/engine/scripts/ctl.sh chmod -x $PKG/$INSTDIR/apps/pro/ui/scripts/worker_ctl.sh # Install /usr/bin links diff --git a/network/mitter/mitter.SlackBuild b/network/mitter/mitter.SlackBuild index c3928951f560..30f2338b11c8 100644 --- a/network/mitter/mitter.SlackBuild +++ b/network/mitter/mitter.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.4.5} 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/network/mldonkey/mldonkey.SlackBuild b/network/mldonkey/mldonkey.SlackBuild index 203a32ef9735..a830bda67236 100644 --- a/network/mldonkey/mldonkey.SlackBuild +++ b/network/mldonkey/mldonkey.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for mldonkey +# Slackware build script for mldonkey -# This script is originally written by Antonio Hernández Blas and is +# This script is originally written by Antonio Hernández Blas and is # currently maintained by Grissiom. # Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com> diff --git a/network/mod_auth_kerb/mod_auth_kerb.SlackBuild b/network/mod_auth_kerb/mod_auth_kerb.SlackBuild index 075285c0f092..ea119ab50935 100644 --- a/network/mod_auth_kerb/mod_auth_kerb.SlackBuild +++ b/network/mod_auth_kerb/mod_auth_kerb.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/mod_chroot/mod_chroot.SlackBuild b/network/mod_chroot/mod_chroot.SlackBuild index 8dcb70914eb8..b67e612f6687 100644 --- a/network/mod_chroot/mod_chroot.SlackBuild +++ b/network/mod_chroot/mod_chroot.SlackBuild @@ -62,7 +62,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ apxs -ca mod_chroot.c -# Copy into place, and strip +# Copy into place, and strip install --mode=755 --strip .libs/mod_chroot.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules # Create initial environment diff --git a/network/mod_evasive/mod_evasive.SlackBuild b/network/mod_evasive/mod_evasive.SlackBuild index d00f39360e68..61e05caa1d27 100644 --- a/network/mod_evasive/mod_evasive.SlackBuild +++ b/network/mod_evasive/mod_evasive.SlackBuild @@ -13,12 +13,10 @@ VERSION=1.10.1 BUILD=${BUILD:-3} 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/network/mod_fcgid/mod_fcgid.SlackBuild b/network/mod_fcgid/mod_fcgid.SlackBuild index 6bb649c71e9f..e4ac55dd6750 100644 --- a/network/mod_fcgid/mod_fcgid.SlackBuild +++ b/network/mod_fcgid/mod_fcgid.SlackBuild @@ -29,12 +29,10 @@ VERSION=2.3.9 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/network/mod_geoip2/mod_geoip2.SlackBuild b/network/mod_geoip2/mod_geoip2.SlackBuild index 038b1d4cab07..7d72831e9e46 100644 --- a/network/mod_geoip2/mod_geoip2.SlackBuild +++ b/network/mod_geoip2/mod_geoip2.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.2.7} 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/network/mod_ruid2/mod_ruid2.SlackBuild b/network/mod_ruid2/mod_ruid2.SlackBuild index 7f2c1a761953..070b8408fb14 100644 --- a/network/mod_ruid2/mod_ruid2.SlackBuild +++ b/network/mod_ruid2/mod_ruid2.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.9.7} 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/network/mod_wsgi/mod_wsgi.SlackBuild b/network/mod_wsgi/mod_wsgi.SlackBuild index 5dd52484b19a..4d4c4f8e6583 100644 --- a/network/mod_wsgi/mod_wsgi.SlackBuild +++ b/network/mod_wsgi/mod_wsgi.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh ## Slackware build script for mod_wsgi -## +## ## Copyright 2008 Adis Nezirovic <adis _at_ linux.org.ba> ## Licensed under GNU GPL v2 @@ -25,7 +25,7 @@ OUTPUT=${OUTPUT:-/tmp} # CFLAGS are automatically picked from Python if [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" + LIBDIRSUFFIX="64" else LIBDIRSUFFIX="" fi @@ -34,7 +34,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION diff --git a/network/movgrab/movgrab.SlackBuild b/network/movgrab/movgrab.SlackBuild index d906b0471b57..6464951262e0 100644 --- a/network/movgrab/movgrab.SlackBuild +++ b/network/movgrab/movgrab.SlackBuild @@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/network/msn-proxy/msn-proxy.SlackBuild b/network/msn-proxy/msn-proxy.SlackBuild index f22e3a6d1464..73e5f29d55ae 100644 --- a/network/msn-proxy/msn-proxy.SlackBuild +++ b/network/msn-proxy/msn-proxy.SlackBuild @@ -12,12 +12,10 @@ TAG=${TAG:-_SBo} DOCROOT=${DOCROOT:-var/www/htdocs} -# 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/network/museek+/museek+.SlackBuild b/network/museek+/museek+.SlackBuild index a3e0afa595d6..558c65fe4f5b 100644 --- a/network/museek+/museek+.SlackBuild +++ b/network/museek+/museek+.SlackBuild @@ -9,12 +9,10 @@ VERSION=0.2 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/network/mysecureshell/mysecureshell.SlackBuild b/network/mysecureshell/mysecureshell.SlackBuild index 85d80a63685d..30a74ec75911 100644 --- a/network/mysecureshell/mysecureshell.SlackBuild +++ b/network/mysecureshell/mysecureshell.SlackBuild @@ -12,12 +12,10 @@ TAG=${TAG:-_SBo} ## The source has an underscore SRCNAME=$PRGNAM\_$VERSION -# 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/network/naim/naim.SlackBuild b/network/naim/naim.SlackBuild index 394a14b2270e..15a9f637508b 100644 --- a/network/naim/naim.SlackBuild +++ b/network/naim/naim.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.11.8.3.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 @@ -69,7 +67,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/usr/doc/$PRGNAM-$VERSION cp -a \ diff --git a/network/nbtscan/nbtscan.SlackBuild b/network/nbtscan/nbtscan.SlackBuild index 58673fab5ad6..a339ecbc502b 100644 --- a/network/nbtscan/nbtscan.SlackBuild +++ b/network/nbtscan/nbtscan.SlackBuild @@ -21,18 +21,16 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + PRGNAM=nbtscan VERSION=${VERSION:-1.0.35} 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/network/netstat-nat/netstat-nat.SlackBuild b/network/netstat-nat/netstat-nat.SlackBuild index ef4d42d9994c..e17517186491 100644 --- a/network/netstat-nat/netstat-nat.SlackBuild +++ b/network/netstat-nat/netstat-nat.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for netstat-nat +# Slackware build script for netstat-nat # Copyright 2006 Ricardson Williams <ricardsonwilliams at yahoo.com.br> # All rights reserved. @@ -27,12 +27,10 @@ VERSION=1.4.9 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/network/netsurf/netsurf.SlackBuild b/network/netsurf/netsurf.SlackBuild index 363f8cdba5c7..44c0744ebc4d 100644 --- a/network/netsurf/netsurf.SlackBuild +++ b/network/netsurf/netsurf.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-3.0} 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/ngircd/ngircd.SlackBuild b/network/ngircd/ngircd.SlackBuild index 032c4f1e4fa6..530e04a09e79 100644 --- a/network/ngircd/ngircd.SlackBuild +++ b/network/ngircd/ngircd.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/ngrep/ngrep.SlackBuild b/network/ngrep/ngrep.SlackBuild index fb7bac73debd..23a1684ebed0 100644 --- a/network/ngrep/ngrep.SlackBuild +++ b/network/ngrep/ngrep.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.45} 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/network/nikto/nikto.SlackBuild b/network/nikto/nikto.SlackBuild index 6e66cb1cc1fc..dbafff9c9ac0 100644 --- a/network/nikto/nikto.SlackBuild +++ b/network/nikto/nikto.SlackBuild @@ -54,7 +54,7 @@ else fi # Most of the packaging techniques for this strange program comes from Debian -# rules file; next time you'll be at the pub with your friendly debianist, +# rules file; next time you'll be at the pub with your friendly debianist, # buy him a beer ;-) set -e diff --git a/network/nload/nload.SlackBuild b/network/nload/nload.SlackBuild index 0781190b0d3d..83aea00e5d3e 100644 --- a/network/nload/nload.SlackBuild +++ b/network/nload/nload.SlackBuild @@ -10,18 +10,16 @@ VERSION=0.7.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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/noip2/noip2.SlackBuild b/network/noip2/noip2.SlackBuild index 6088add98575..6762421047c2 100644 --- a/network/noip2/noip2.SlackBuild +++ b/network/noip2/noip2.SlackBuild @@ -30,12 +30,10 @@ VERSION=2.1.9 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/network/nrpe/nrpe.SlackBuild b/network/nrpe/nrpe.SlackBuild index 3ee5640c006f..182a3df0232c 100644 --- a/network/nrpe/nrpe.SlackBuild +++ b/network/nrpe/nrpe.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-2.12} 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/network/nss-mdns/nss-mdns.SlackBuild b/network/nss-mdns/nss-mdns.SlackBuild index f87775b83fde..b3da80172e79 100644 --- a/network/nss-mdns/nss-mdns.SlackBuild +++ b/network/nss-mdns/nss-mdns.SlackBuild @@ -9,12 +9,10 @@ VERSION=0.10 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -70,7 +68,7 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/etc +mkdir -p $PKG/etc cat $CWD/mdns.allow > $PKG/etc/mdns.allow.new cat $CWD/nsswitch.conf-mdns > $PKG/etc/nsswitch.conf-mdns.new diff --git a/network/ntpclient/ntpclient.SlackBuild b/network/ntpclient/ntpclient.SlackBuild index 8291d9d8a0c7..8b900451a939 100644 --- a/network/ntpclient/ntpclient.SlackBuild +++ b/network/ntpclient/ntpclient.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-2007_365} 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/network/offlineimap/offlineimap.SlackBuild b/network/offlineimap/offlineimap.SlackBuild index 98c7a3eb17a9..81f55cb24b7f 100644 --- a/network/offlineimap/offlineimap.SlackBuild +++ b/network/offlineimap/offlineimap.SlackBuild @@ -43,7 +43,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e # In case the source was fetched with wget or some other downloader: [ -e v${VERSION} ] && mv v${VERSION} $SRCNAM.tar.gz diff --git a/network/opendchub/opendchub.SlackBuild b/network/opendchub/opendchub.SlackBuild index 8895cb009af7..5a36f0d5fda2 100644 --- a/network/opendchub/opendchub.SlackBuild +++ b/network/opendchub/opendchub.SlackBuild @@ -24,12 +24,10 @@ VERSION=0.7.15 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 @@ -90,7 +88,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL README NEWS Documentation/* \ $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/network/packit/packit.SlackBuild b/network/packit/packit.SlackBuild index a3fabc66d904..047da7ca1e1c 100644 --- a/network/packit/packit.SlackBuild +++ b/network/packit/packit.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.0} 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/network/pdnsd/pdnsd.SlackBuild b/network/pdnsd/pdnsd.SlackBuild index 9e6259ac18e4..daaa3d9aba61 100644 --- a/network/pdnsd/pdnsd.SlackBuild +++ b/network/pdnsd/pdnsd.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.2.7} BUILD=${BUILD:-3} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/pebrot/pebrot.SlackBuild b/network/pebrot/pebrot.SlackBuild index bd1666540972..b1379ad78e16 100644 --- a/network/pebrot/pebrot.SlackBuild +++ b/network/pebrot/pebrot.SlackBuild @@ -29,12 +29,10 @@ VERSION=0.8.8 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/network/periscope/periscope.SlackBuild b/network/periscope/periscope.SlackBuild index 8e23304e3710..ad82a5de81e0 100644 --- a/network/periscope/periscope.SlackBuild +++ b/network/periscope/periscope.SlackBuild @@ -47,7 +47,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION # Source tarball *WITHOUT* main directory O_O mkdir $PRGNAM-$VERSION diff --git a/network/pflogsumm/pflogsumm.SlackBuild b/network/pflogsumm/pflogsumm.SlackBuild index 3217ffbd6b7b..811304d09816 100644 --- a/network/pflogsumm/pflogsumm.SlackBuild +++ b/network/pflogsumm/pflogsumm.SlackBuild @@ -7,10 +7,10 @@ # (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 diff --git a/network/pgl/pgl.SlackBuild b/network/pgl/pgl.SlackBuild index 2fa6b194c6dd..c4f9a633d746 100644 --- a/network/pgl/pgl.SlackBuild +++ b/network/pgl/pgl.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-2.2.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/network/pidgin-gfire/pidgin-gfire.SlackBuild b/network/pidgin-gfire/pidgin-gfire.SlackBuild index e27a550d6577..6bc40c3e277a 100644 --- a/network/pidgin-gfire/pidgin-gfire.SlackBuild +++ b/network/pidgin-gfire/pidgin-gfire.SlackBuild @@ -56,7 +56,7 @@ fi DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/pidgin-knotify/pidgin-knotify.SlackBuild b/network/pidgin-knotify/pidgin-knotify.SlackBuild index c1377fa78633..8c709b5c06ca 100644 --- a/network/pidgin-knotify/pidgin-knotify.SlackBuild +++ b/network/pidgin-knotify/pidgin-knotify.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/pidgin-musictracker/pidgin-musictracker.SlackBuild b/network/pidgin-musictracker/pidgin-musictracker.SlackBuild index e97d0651b740..d4ad53d355df 100644 --- a/network/pidgin-musictracker/pidgin-musictracker.SlackBuild +++ b/network/pidgin-musictracker/pidgin-musictracker.SlackBuild @@ -26,12 +26,10 @@ VERSION=${VERSION:-0.4.22} 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 @@ -57,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/pidgin-sound/pidgin-sound.SlackBuild b/network/pidgin-sound/pidgin-sound.SlackBuild index b6dae4e88e48..5658d6d5a9f1 100644 --- a/network/pidgin-sound/pidgin-sound.SlackBuild +++ b/network/pidgin-sound/pidgin-sound.SlackBuild @@ -38,7 +38,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/pidgin-visnotes/pidgin-visnotes.SlackBuild b/network/pidgin-visnotes/pidgin-visnotes.SlackBuild index 1aff51e8b168..df462b97b081 100644 --- a/network/pidgin-visnotes/pidgin-visnotes.SlackBuild +++ b/network/pidgin-visnotes/pidgin-visnotes.SlackBuild @@ -5,24 +5,22 @@ # Written by otzy_007 (oz@oprod.net) PRGNAM=pidgin-visnotes -VERSION=${VERSION:-0.2} +VERSION=${VERSION:-0.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 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" @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/pidginTeX/pidginTeX.SlackBuild b/network/pidginTeX/pidginTeX.SlackBuild index ba638615a4a2..fd2bbbc40913 100644 --- a/network/pidginTeX/pidginTeX.SlackBuild +++ b/network/pidginTeX/pidginTeX.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.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/network/plowshare/plowshare.SlackBuild b/network/plowshare/plowshare.SlackBuild index b2e41c3763fd..f9e7886ef2e9 100644 --- a/network/plowshare/plowshare.SlackBuild +++ b/network/plowshare/plowshare.SlackBuild @@ -15,7 +15,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/policyd/policyd.SlackBuild b/network/policyd/policyd.SlackBuild index 286bb1020628..3ab1f7e68979 100644 --- a/network/policyd/policyd.SlackBuild +++ b/network/policyd/policyd.SlackBuild @@ -5,10 +5,10 @@ # Copyright (c) 2008-2009, Nishant Limbachia (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=1.82 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/network/postfix/postfix.SlackBuild b/network/postfix/postfix.SlackBuild index 7e27650bb60c..632935733613 100644 --- a/network/postfix/postfix.SlackBuild +++ b/network/postfix/postfix.SlackBuild @@ -57,7 +57,7 @@ fi # Build with dovecot sasl by default, cyrus/dovecot are supported SASL=${SASL:-dovecot} case "$SASL" in - dovecot) SASLARGS='-DDEF_SERVER_SASL_TYPE=\"dovecot\"' + dovecot) SASLARGS='-DDEF_SERVER_SASL_TYPE=\"dovecot\"' SASLLIBS="" ;; cyrus) SASLARGS='-DUSE_CYRUS_SASL -I/usr/include/sasl' SASLLIBS="-L/usr/lib${LIBDIRSUFFIX}/sasl2 -lsasl2" ;; @@ -195,9 +195,9 @@ cd $PKG/etc/postfix # Since we gzip the manpages, let's fix the postfix-files to reflect that # so it won't throw errors during post-install ( cd $PKG/usr/libexec/postfix -grep manpage postfix-files | while read line; -do MANPAGE="$(echo "$line" | cut -d: -f1)" - sed -i s#"$MANPAGE"#"$MANPAGE.gz"# postfix-files ; +grep manpage postfix-files | while read line; +do MANPAGE="$(echo "$line" | cut -d: -f1)" + sed -i s#"$MANPAGE"#"$MANPAGE.gz"# postfix-files ; done ) diff --git a/network/postgrey/postgrey.SlackBuild b/network/postgrey/postgrey.SlackBuild index 046c60b70e4d..e7ef1e8f75fc 100644 --- a/network/postgrey/postgrey.SlackBuild +++ b/network/postgrey/postgrey.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.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 @@ -64,7 +62,7 @@ else fi do_exit() { - echo ; echo "You must have the ${POSTGREYUSR} user and ${POSTGREYGRP} group + echo ; echo "You must have the ${POSTGREYUSR} user and ${POSTGREYGRP} group in" echo "order to build postgrey. Sample lines to do so are below:" echo "# groupadd -g ${POSTGREYGID} ${POSTGREYGRP}" diff --git a/network/pound/pound.SlackBuild b/network/pound/pound.SlackBuild index fd7cd0669dce..175e9954a308 100644 --- a/network/pound/pound.SlackBuild +++ b/network/pound/pound.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for Pound +# Slackware build script for Pound # Copyright 2008 Thales A. Tsailas (ttsailas@enforcingit.com) # All rights reserved. @@ -27,12 +27,10 @@ VERSION=2.6 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 @@ -101,7 +99,7 @@ find $PKG/usr/sbin -type f -exec chmod 0755 {} \; for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done ) -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README GPL.txt FAQ CHANGELOG $CWD/README.SLACKWARE \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -110,7 +108,7 @@ chown root:root $PKG/usr/doc/$PRGNAM-$VERSION/* mkdir -p $PKG/var/log/pound touch $PKG/var/log/pound/{access,error}.log chown -R $POUNDUSER:$POUNDGROUP $PKG/var/log/pound - + mkdir -p $PKG/etc/{logrotate.d,pound,rc.d} cat $CWD/pound.logrotate > $PKG/etc/logrotate.d/pound.new cat $CWD/pound.cfg.new > $PKG/etc/pound/pound.cfg.new diff --git a/network/pptp/pptp.SlackBuild b/network/pptp/pptp.SlackBuild index 907e57d5b4e0..6062eac61335 100644 --- a/network/pptp/pptp.SlackBuild +++ b/network/pptp/pptp.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.8.0} 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 @@ -73,7 +71,7 @@ find . \ -exec chmod 644 {} \; make IP=/sbin/ip OPTIMIZE="$SLKCFLAGS" -make install MANDIR=$PKG/usr/man/man8 DESTDIR=$PKG +make install MANDIR=$PKG/usr/man/man8 DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/network/pptpd/pptpd.SlackBuild b/network/pptpd/pptpd.SlackBuild index fc582a24361f..ea386825f1c2 100644 --- a/network/pptpd/pptpd.SlackBuild +++ b/network/pptpd/pptpd.SlackBuild @@ -93,7 +93,7 @@ CFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/network/privoxy/privoxy.SlackBuild b/network/privoxy/privoxy.SlackBuild index 48b42c4279cf..ea4fb2208d65 100644 --- a/network/privoxy/privoxy.SlackBuild +++ b/network/privoxy/privoxy.SlackBuild @@ -128,7 +128,7 @@ sed -i \ -e "s,%CONF_DEST%,/etc/$PRGNAM," \ -e "s/%USER%/$PRIVOXY_USER/" \ -e "s/%GROUP%/$PRIVOXY_GROUP/" \ - $PKG/etc/rc.d/rc.$PRGNAM.new + $PKG/etc/rc.d/rc.$PRGNAM.new # Make .new files so we don't clobber the existing configuration. for i in config match-all.action trust user.action user.filter; do @@ -140,7 +140,7 @@ done # Don't clobber the logfile either. mv $PKG/var/log/privoxy/logfile $PKG/var/log/privoxy/logfile.new - + # Remove empty directories that are part of Slackware base. rmdir $PKG/usr/share rmdir $PKG/var/run diff --git a/network/proxychains/proxychains.SlackBuild b/network/proxychains/proxychains.SlackBuild index e3feb825a649..61e3aa69cd18 100644 --- a/network/proxychains/proxychains.SlackBuild +++ b/network/proxychains/proxychains.SlackBuild @@ -7,22 +7,20 @@ PRGNAM=proxychains VERSION=${VERSION:-4.2.0} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} DOCS="AUTHORS ChangeLog COPYING README TODO" @@ -41,7 +39,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -64,7 +62,7 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --host=$ARCH-slackware-linux make make install DESTDIR=$PKG diff --git a/network/proxymini/proxymini.SlackBuild b/network/proxymini/proxymini.SlackBuild index 56de36ea1d2a..a520b709abef 100644 --- a/network/proxymini/proxymini.SlackBuild +++ b/network/proxymini/proxymini.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.2.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/network/proxytunnel/proxytunnel.SlackBuild b/network/proxytunnel/proxytunnel.SlackBuild index d796ae32c163..29e1d823ac53 100644 --- a/network/proxytunnel/proxytunnel.SlackBuild +++ b/network/proxytunnel/proxytunnel.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.9.0} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/putty/putty.SlackBuild b/network/putty/putty.SlackBuild index 3babb340409d..744e814a2e5c 100644 --- a/network/putty/putty.SlackBuild +++ b/network/putty/putty.SlackBuild @@ -4,7 +4,7 @@ # Written by <youngmug@animeneko.net> -# Modified by Michael Wagner <lapinours@web.de> +# Modified by Michael Wagner <lapinours@web.de> # as putty now uses autoconf. # Maintained by Binh Nguyen <binhvng@gmail.com> diff --git a/network/pyzor/pyzor.SlackBuild b/network/pyzor/pyzor.SlackBuild index a962a9ec6f60..bb7a57b3dda1 100644 --- a/network/pyzor/pyzor.SlackBuild +++ b/network/pyzor/pyzor.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.5.0} BUILD=${BUILD:-3} 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/network/r2e/r2e.SlackBuild b/network/r2e/r2e.SlackBuild index 5722d2d0ecdb..009871b90f1b 100644 --- a/network/r2e/r2e.SlackBuild +++ b/network/r2e/r2e.SlackBuild @@ -12,24 +12,24 @@ # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials # provided with the distribution. -# * Neither the name of Tom Canich nor the names of other -# contributors may be used to endorse or promote products -# derived from this software without specific prior written +# * Neither the name of Tom Canich nor the names of other +# contributors may be used to endorse or promote products +# derived from this software without specific prior written # permission. # # THIS SOFTWARE IS PROVIDED BY Tom Canich ''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 DISCLAIMED. IN NO EVENT SHALL Tom Canich BE LIABLE FOR +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Tom Canich BE LIABLE FOR # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER -# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Modified by Robby Workman <rworkman@slackbuilds.org> @@ -39,12 +39,10 @@ VERSION=2.66 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/network/radvd/radvd.SlackBuild b/network/radvd/radvd.SlackBuild index ed6703345020..09865bc00315 100644 --- a/network/radvd/radvd.SlackBuild +++ b/network/radvd/radvd.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.9.3 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 @@ -54,11 +52,11 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION @@ -91,11 +89,11 @@ mv $PKG/usr/share/man $PKG/usr/man find . -type f -exec gzip -9 {} \; ) -mkdir -p $PKG/etc/rc.d +mkdir -p $PKG/etc/rc.d install -D -m 0644 $CWD/rc.radvd.new $PKG/etc/rc.d/rc.radvd.new mv $TMP/$PRGNAM-$VERSION/radvd.conf.example $PKG/etc/radvd.conf.new -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGES COPYRIGHT INTRO.html README TODO VERSION \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/rekonq/rekonq.SlackBuild b/network/rekonq/rekonq.SlackBuild index 70cd57daad3e..a7910b098e2c 100644 --- a/network/rekonq/rekonq.SlackBuild +++ b/network/rekonq/rekonq.SlackBuild @@ -59,7 +59,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release - make + make make install DESTDIR=$PKG cd .. diff --git a/network/rhapsody/rhapsody.SlackBuild b/network/rhapsody/rhapsody.SlackBuild index f219ecf68949..dcf346f39d22 100644 --- a/network/rhapsody/rhapsody.SlackBuild +++ b/network/rhapsody/rhapsody.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-0.28b} 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/network/rssh/rssh.SlackBuild b/network/rssh/rssh.SlackBuild index caea632977ee..465cb93e0b8c 100644 --- a/network/rssh/rssh.SlackBuild +++ b/network/rssh/rssh.SlackBuild @@ -36,7 +36,7 @@ else fi set -e - + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP diff --git a/network/scapy/scapy.SlackBuild b/network/scapy/scapy.SlackBuild index 7b7f2b0d7940..1c04fcbf8c89 100644 --- a/network/scapy/scapy.SlackBuild +++ b/network/scapy/scapy.SlackBuild @@ -22,17 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=${PRGNAM:-scapy} -VERSION=${VERSION:-2.0.1} +PRGNAM=${PRGNAM:-scapy} +VERSION=${VERSION:-2.0.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 @@ -42,7 +40,7 @@ TMP=${TMP:-/tmp/SBo} OUTPUT=${OUTPUT:-/tmp} PKG=$TMP/package-$PRGNAM -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/shorewall/shorewall.SlackBuild b/network/shorewall/shorewall.SlackBuild index 73ec186f89ae..b968cfabbc6e 100644 --- a/network/shorewall/shorewall.SlackBuild +++ b/network/shorewall/shorewall.SlackBuild @@ -36,7 +36,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/shorewall6/shorewall6.SlackBuild b/network/shorewall6/shorewall6.SlackBuild index 633b04d64b14..829e23acddd5 100644 --- a/network/shorewall6/shorewall6.SlackBuild +++ b/network/shorewall6/shorewall6.SlackBuild @@ -36,7 +36,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/sic/sic.SlackBuild b/network/sic/sic.SlackBuild index 1e15a7d2d556..39081f38a222 100644 --- a/network/sic/sic.SlackBuild +++ b/network/sic/sic.SlackBuild @@ -19,7 +19,7 @@ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sic VERSION=${VERSION:-1.1} diff --git a/network/sparkleshare/sparkleshare.SlackBuild b/network/sparkleshare/sparkleshare.SlackBuild index 877f0978298b..bf813681624f 100644 --- a/network/sparkleshare/sparkleshare.SlackBuild +++ b/network/sparkleshare/sparkleshare.SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # Slackware build script for SparkleShare. - + # Copyright 2012 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # diff --git a/network/spice-gtk/spice-gtk.SlackBuild b/network/spice-gtk/spice-gtk.SlackBuild index b2537ea6d35e..dc9ef7a83814 100644 --- a/network/spice-gtk/spice-gtk.SlackBuild +++ b/network/spice-gtk/spice-gtk.SlackBuild @@ -59,7 +59,7 @@ if [ "$GTK" = "2" ]; then gtkver="2"; else gtkver="3"; fi DOCS="AUTHORS COPYING NEWS README THANKS TODO" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/spice/spice.SlackBuild b/network/spice/spice.SlackBuild index 92eb832c994c..c3d26a883613 100644 --- a/network/spice/spice.SlackBuild +++ b/network/spice/spice.SlackBuild @@ -62,7 +62,7 @@ else with_cacard="--disable-smartcard" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/sqlninja/sqlninja.SlackBuild b/network/sqlninja/sqlninja.SlackBuild index 8127ff70d8f6..16deb1007b34 100644 --- a/network/sqlninja/sqlninja.SlackBuild +++ b/network/sqlninja/sqlninja.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.2.5 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/network/squid/squid.SlackBuild b/network/squid/squid.SlackBuild index a85e8b66807a..ab060796da0a 100644 --- a/network/squid/squid.SlackBuild +++ b/network/squid/squid.SlackBuild @@ -102,7 +102,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ CONTRIBUTORS COPYING COPYRIGHT CREDITS ChangeLog INSTALL \ QUICKSTART README RELEASENOTES.html SPONSORS $CWD/README.SBo \ @@ -110,7 +110,7 @@ cp -a \ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild chown root:root $PKG/usr/doc/$PRGNAM-$VERSION/* -mkdir -p $PKG/etc/{logrotate.d,rc.d} +mkdir -p $PKG/etc/{logrotate.d,rc.d} cat $CWD/rc.squid > $PKG/etc/rc.d/rc.squid.new sed -e "s,@USER@,$SQUIDUSER," -e "s,@GROUP@,$SQUIDGROUP," $CWD/squid.logrotate \ @@ -118,7 +118,7 @@ sed -e "s,@USER@,$SQUIDUSER," -e "s,@GROUP@,$SQUIDGROUP," $CWD/squid.logrotate \ mv $PKG/etc/squid/mime.conf $PKG/etc/squid/mime.conf.new mv $PKG/etc/squid/cachemgr.conf $PKG/etc/squid/cachemgr.conf.new -rm $PKG/etc/squid/squid.conf +rm $PKG/etc/squid/squid.conf cat $CWD/squid.conf > $PKG/etc/squid/squid.conf.new cat $CWD/squid.conf.documented > $PKG/etc/squid/squid.conf.documented diff --git a/network/sshblock/sshblock.SlackBuild b/network/sshblock/sshblock.SlackBuild index 8f62e06d5f21..a45b7e6816dd 100644 --- a/network/sshblock/sshblock.SlackBuild +++ b/network/sshblock/sshblock.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/sslscan/sslscan.SlackBuild b/network/sslscan/sslscan.SlackBuild index f8428746f421..a8d3a1a110cf 100644 --- a/network/sslscan/sslscan.SlackBuild +++ b/network/sslscan/sslscan.SlackBuild @@ -25,18 +25,16 @@ # # markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 # 2010 June 16 - initial release - + PRGNAM=sslscan VERSION=${VERSION:-1.8.2} 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 @@ -59,7 +57,7 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e diff --git a/network/sslstrip/sslstrip.SlackBuild b/network/sslstrip/sslstrip.SlackBuild index 315b8f7b2208..81035847880a 100644 --- a/network/sslstrip/sslstrip.SlackBuild +++ b/network/sslstrip/sslstrip.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/strongswan/strongswan.SlackBuild b/network/strongswan/strongswan.SlackBuild index 546e0ec68999..8744ab3ce9fe 100644 --- a/network/strongswan/strongswan.SlackBuild +++ b/network/strongswan/strongswan.SlackBuild @@ -27,12 +27,10 @@ VERSION=4.3.5 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -70,7 +68,7 @@ find . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/network/sylpheed/sylpheed.SlackBuild b/network/sylpheed/sylpheed.SlackBuild index 407fde03acc5..b31ddc492373 100644 --- a/network/sylpheed/sylpheed.SlackBuild +++ b/network/sylpheed/sylpheed.SlackBuild @@ -26,16 +26,14 @@ # Modified by the SlackBuilds.org project PRGNAM=sylpheed -VERSION=${VERSION:-3.2.0} +VERSION=${VERSION:-3.2.0} 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 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="ABOUT-NLS AUTHORS COPYING COPYING.LIB +DOCS="ABOUT-NLS AUTHORS COPYING COPYING.LIB INSTALL LICENSE README TODO" set -e @@ -88,10 +86,10 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux \ --host=$ARCH-slackware-linux -make -make install-strip DESTDIR=$PKG +make +make install-strip DESTDIR=$PKG -# Install desktop file and icon (we'll use the largest icon available by +# Install desktop file and icon (we'll use the largest icon available by # default - that way, it will scale down just fine for users who need a # smaller one, but smaller ones don't always scale larger so well) mkdir -p $PKG/usr/share/{applications,pixmaps} diff --git a/network/t50/t50.SlackBuild b/network/t50/t50.SlackBuild index 834c6138fab4..ca1824aed4bf 100644 --- a/network/t50/t50.SlackBuild +++ b/network/t50/t50.SlackBuild @@ -29,12 +29,10 @@ TAG=${TAG:-_SBo} SRCVERS=$(echo $VERSION | tr _ -) -# 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 fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP diff --git a/network/tcptunnel/tcptunnel.SlackBuild b/network/tcptunnel/tcptunnel.SlackBuild index 99364b3cacc5..67aac038596c 100644 --- a/network/tcptunnel/tcptunnel.SlackBuild +++ b/network/tcptunnel/tcptunnel.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.7} 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild index d59844714da4..c30d68e53955 100644 --- a/network/teamviewer/teamviewer.SlackBuild +++ b/network/teamviewer/teamviewer.SlackBuild @@ -23,7 +23,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by Willy Sudiarto Raharjo +# Modified by Willy Sudiarto Raharjo # Changelog # January 9, Upgraded to 8.0.16675, added rc.teamviewerd to provide teamviewer daemon # January 12, Rebuilt to create symlink in /usr/bin, thanks to Ponce diff --git a/network/thrift/thrift.SlackBuild b/network/thrift/thrift.SlackBuild index acd3657a8d8b..4cc7367ccdde 100644 --- a/network/thrift/thrift.SlackBuild +++ b/network/thrift/thrift.SlackBuild @@ -3,11 +3,11 @@ # Slackware build script for Apache Thrift # Copyright (c) 2010-2011, Fred Emmott <mail@fredemmott.co.uk> -# +# # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. -# +# # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR @@ -48,7 +48,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/thttpd/thttpd.SlackBuild b/network/thttpd/thttpd.SlackBuild index 784b7b141a85..54cbf98b1c7c 100644 --- a/network/thttpd/thttpd.SlackBuild +++ b/network/thttpd/thttpd.SlackBuild @@ -121,7 +121,7 @@ sed -i '/WEBGROUP =/ s/www/'$PRGNAM'/' Makefile* extras/Makefile* cgi-src/Makefi ## Use this line ONLY if you are going to build thttpd as a normal user. ##sed -i '/WEBGROUP =/ s/www/'$(/bin/id -ng)'/' Makefile* extras/Makefile* cgi-src/Makefile* -# Disable the use of bin as owner user and group. +# Disable the use of bin as owner user and group. sed -i 's/-o bin -g bin//' Makefile* extras/Makefile* cgi-src/Makefile* # Create required directories diff --git a/network/tinyproxy/tinyproxy.SlackBuild b/network/tinyproxy/tinyproxy.SlackBuild index b71d8159e516..3744ab553369 100644 --- a/network/tinyproxy/tinyproxy.SlackBuild +++ b/network/tinyproxy/tinyproxy.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.8.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 diff --git a/network/tor/tor.SlackBuild b/network/tor/tor.SlackBuild index 9fd2b73e3fa8..7967be938e02 100644 --- a/network/tor/tor.SlackBuild +++ b/network/tor/tor.SlackBuild @@ -33,12 +33,10 @@ TOR_UID=${TOR_UID:-220} TOR_GROUP=${TOR_GROUP:-tor} TOR_GID=${TOR_GID:-220} -# 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/network/tramp/tramp.SlackBuild b/network/tramp/tramp.SlackBuild index 98268ad69a3a..d88224d28193 100644 --- a/network/tramp/tramp.SlackBuild +++ b/network/tramp/tramp.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.2.7} 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild b/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild index 7aaa297e199e..d5cbbdaf34a5 100644 --- a/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild +++ b/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild @@ -1,10 +1,10 @@ #!/bin/sh -# Slackware build script for transmission-remote-gtk +# Slackware build script for transmission-remote-gtk # Copyright 2012-2013 Chris Walker Copperas Cove, TX # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: diff --git a/network/ttcp/ttcp.SlackBuild b/network/ttcp/ttcp.SlackBuild index 77f7a22605d2..a9f58e75e72c 100644 --- a/network/ttcp/ttcp.SlackBuild +++ b/network/ttcp/ttcp.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.12} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/ttdnsd/ttdnsd.SlackBuild b/network/ttdnsd/ttdnsd.SlackBuild index 7acd376f4967..9e29da2326f7 100644 --- a/network/ttdnsd/ttdnsd.SlackBuild +++ b/network/ttdnsd/ttdnsd.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.7} 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/network/tunctl/tunctl.SlackBuild b/network/tunctl/tunctl.SlackBuild index 4d830244cb40..840cd4f79d78 100644 --- a/network/tunctl/tunctl.SlackBuild +++ b/network/tunctl/tunctl.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.5} 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 @@ -53,7 +51,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -make CFLAGS="$SLKCFLAGS" +make CFLAGS="$SLKCFLAGS" make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/network/twitter-cmdline/twitter-cmdline.SlackBuild b/network/twitter-cmdline/twitter-cmdline.SlackBuild index 5445d86e0a20..bdd8ca9d84c6 100644 --- a/network/twitter-cmdline/twitter-cmdline.SlackBuild +++ b/network/twitter-cmdline/twitter-cmdline.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - + # Slackware build script for twitter-cmdline. # # Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> @@ -28,12 +28,10 @@ VERSION=1.03 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/network/ucspi-ssl/ucspi-ssl.SlackBuild b/network/ucspi-ssl/ucspi-ssl.SlackBuild index ed51be7c37a5..0956a938e6bc 100644 --- a/network/ucspi-ssl/ucspi-ssl.SlackBuild +++ b/network/ucspi-ssl/ucspi-ssl.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.70} 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/network/ucspi-tcp/ucspi-tcp.SlackBuild b/network/ucspi-tcp/ucspi-tcp.SlackBuild index 21312cee1328..e7645baa045d 100644 --- a/network/ucspi-tcp/ucspi-tcp.SlackBuild +++ b/network/ucspi-tcp/ucspi-tcp.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.88} 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 @@ -49,7 +47,7 @@ find . \ -exec chmod 644 {} \; echo gcc $SLKCFLAGS > conf-cc -echo $PKG/usr > conf-home +echo $PKG/usr > conf-home patch -p1 < $CWD/patches/ucspi-tcp-0.88.errno.patch patch -p1 < $CWD/patches/ucspi-tcp-0.88.nobase.patch diff --git a/network/urlgrabber/urlgrabber.SlackBuild b/network/urlgrabber/urlgrabber.SlackBuild index a3f30459a4ba..1f25cad7f03c 100644 --- a/network/urlgrabber/urlgrabber.SlackBuild +++ b/network/urlgrabber/urlgrabber.SlackBuild @@ -29,12 +29,10 @@ VERSION=3.10 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 @@ -78,7 +76,7 @@ cp -a ChangeLog LICENSE README TODO \ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # there are doc files on /usr/share (duplicated on /usr/doc) -rm -r $PKG/usr/share/doc +rm -r $PKG/usr/share/doc rmdir $PKG/usr/share || true # if there is anything else on /usr/share, leave it alone mkdir -p $PKG/install diff --git a/network/varnish/varnish.SlackBuild b/network/varnish/varnish.SlackBuild index 9610c6738e82..f0bf00cfa721 100644 --- a/network/varnish/varnish.SlackBuild +++ b/network/varnish/varnish.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/verlihub/verlihub.SlackBuild b/network/verlihub/verlihub.SlackBuild index 7bc3f6acbf78..5bac3fbca7ca 100644 --- a/network/verlihub/verlihub.SlackBuild +++ b/network/verlihub/verlihub.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} # Temporary package version, for source to unpack successfuly TMPVER=${TMPVER:-0.9.8e-r2} -# 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/network/vnstat/vnstat.SlackBuild b/network/vnstat/vnstat.SlackBuild index f6ee928fa6cc..c1711658f2c3 100644 --- a/network/vnstat/vnstat.SlackBuild +++ b/network/vnstat/vnstat.SlackBuild @@ -55,7 +55,7 @@ find . \ set -e -# vnstat doesn't have a proper configure. So we set the locations in the +# vnstat doesn't have a proper configure. So we set the locations in the # Makefiles properly by the way of sed-fu sed -i 's#MAN = $(DESTDIR)/usr/share/man#MAN = $(DESTDIR)/usr/man#' \ $TMP/$PRGNAM-$VERSION/Makefile diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild index f99eca7df5eb..b44c9bc1025f 100644 --- a/network/vpnc/vpnc.SlackBuild +++ b/network/vpnc/vpnc.SlackBuild @@ -38,12 +38,10 @@ VERSION=0.5.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 diff --git a/network/wol/wol.SlackBuild b/network/wol/wol.SlackBuild index 5c323901c55e..7b502f2761d5 100644 --- a/network/wol/wol.SlackBuild +++ b/network/wol/wol.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.7.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/network/wput/wput.SlackBuild b/network/wput/wput.SlackBuild index 71fe8a0f018b..a3998b87125e 100644 --- a/network/wput/wput.SlackBuild +++ b/network/wput/wput.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.6.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 @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG/usr/{bin,man/man1} $OUTPUT @@ -63,7 +61,7 @@ CXXFLAGS="$SLKCFLAGS" \ --host=$ARCH-slackware-linux # Maximum compression for the man file: -sed -i 's/gzip/gzip -9/' doc/Makefile +sed -i 's/gzip/gzip -9/' doc/Makefile # Unable to set --datadir for configure script: sed -i 's/^datadir *= $(prefix)\/share/datadir = $(prefix)/' Makefile diff --git a/network/wvdial/wvdial.SlackBuild b/network/wvdial/wvdial.SlackBuild index 23d90563663c..a3d4d9611dbb 100644 --- a/network/wvdial/wvdial.SlackBuild +++ b/network/wvdial/wvdial.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -53,7 +53,7 @@ find . \ -exec chmod 644 {} \; ./configure -make -j1 CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" +make -j1 CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make prefix=$PKG/usr PPPDIR=$PKG/etc/ppp/peers MANDIR=$PKG/usr/man install cat $CWD/wvdial.conf > $PKG/etc/wvdial.conf.new diff --git a/network/xinetd/xinetd.SlackBuild b/network/xinetd/xinetd.SlackBuild index 7abc64fce73a..e2fa004e976b 100644 --- a/network/xinetd/xinetd.SlackBuild +++ b/network/xinetd/xinetd.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -91,7 +91,7 @@ make install DESTDIR=$PKG # Install config files mkdir -p $PKG/etc/xinetd.d/ cat contrib/xinetd.conf > $PKG/etc/xinetd.conf.new -for file in contrib/xinetd.d/* ; do +for file in contrib/xinetd.d/* ; do cat $file > $PKG/etc/xinetd.d/$(basename $file).new ; done diff --git a/network/xl2tpd/xl2tpd.SlackBuild b/network/xl2tpd/xl2tpd.SlackBuild index c3f84672c93e..ea6583de6fdc 100644 --- a/network/xl2tpd/xl2tpd.SlackBuild +++ b/network/xl2tpd/xl2tpd.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.3.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 @@ -64,7 +62,7 @@ sed -i \ # build the program make -make install DESTDIR=$PKG +make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/network/xnetload/xnetload.SlackBuild b/network/xnetload/xnetload.SlackBuild index c7ac98c379ff..5059f928db5e 100644 --- a/network/xnetload/xnetload.SlackBuild +++ b/network/xnetload/xnetload.SlackBuild @@ -56,7 +56,7 @@ find . \ make mkdir -p $PKG/usr/bin $PKG/usr/man/man1 -make install BINDIR=$PKG/usr/bin MANDIR=$PKG/usr/man/man1 +make install BINDIR=$PKG/usr/bin MANDIR=$PKG/usr/man/man1 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/network/xombrero/xombrero.SlackBuild b/network/xombrero/xombrero.SlackBuild index d06cfd7279dc..40f57575ba5c 100644 --- a/network/xombrero/xombrero.SlackBuild +++ b/network/xombrero/xombrero.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild index 817efb2d3313..4cc26b7e2c3e 100644 --- a/network/youtube-dl/youtube-dl.SlackBuild +++ b/network/youtube-dl/youtube-dl.SlackBuild @@ -35,7 +35,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/network/zabbix_agentd/zabbix_agentd.SlackBuild b/network/zabbix_agentd/zabbix_agentd.SlackBuild index 1a579d9fd53b..8ec9ed79fd50 100644 --- a/network/zabbix_agentd/zabbix_agentd.SlackBuild +++ b/network/zabbix_agentd/zabbix_agentd.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.0.8} 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/network/zabbix_proxy/zabbix_proxy.SlackBuild b/network/zabbix_proxy/zabbix_proxy.SlackBuild index 17b5c0de0ae3..0c8fea1df632 100644 --- a/network/zabbix_proxy/zabbix_proxy.SlackBuild +++ b/network/zabbix_proxy/zabbix_proxy.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.0.8} 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/network/zabbix_server/zabbix_server.SlackBuild b/network/zabbix_server/zabbix_server.SlackBuild index 60d0bcd4a427..c477511a45cd 100644 --- a/network/zabbix_server/zabbix_server.SlackBuild +++ b/network/zabbix_server/zabbix_server.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.0.8} 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/network/znc/znc.SlackBuild b/network/znc/znc.SlackBuild index c2992f4fbe70..46ee836bcfcb 100644 --- a/network/znc/znc.SlackBuild +++ b/network/znc/znc.SlackBuild @@ -72,7 +72,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION @@ -150,7 +150,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/etc/znc chown -R $ZNC_USER $PKG/etc/znc -# Install an init script +# Install an init script mkdir -p $PKG/etc/rc.d sed -e "s/@ZNC_USER@/$ZNC_USER/g" -e "s/@VERSION@/$VERSION/g" $CWD/rc.znc \ > $PKG/etc/rc.d/rc.znc.new diff --git a/office/abook/abook.SlackBuild b/office/abook/abook.SlackBuild index 4489c3f55aae..4ead0ac8ae93 100644 --- a/office/abook/abook.SlackBuild +++ b/office/abook/abook.SlackBuild @@ -29,12 +29,10 @@ VERSION=0.5.6 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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -# Exit on most errors. + set -e @@ -83,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --mandir=/usr/man \ --localstatedir=/var \ - + make make install-strip DESTDIR=$PKG diff --git a/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild b/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild index 14a1ce7c486d..828cb15b2de3 100644 --- a/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild +++ b/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild @@ -33,7 +33,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/office/adobe-reader/adobe-reader.SlackBuild b/office/adobe-reader/adobe-reader.SlackBuild index 2923496c55a9..30b78dc45b9e 100644 --- a/office/adobe-reader/adobe-reader.SlackBuild +++ b/office/adobe-reader/adobe-reader.SlackBuild @@ -94,7 +94,7 @@ cd $PKG/usr/man/man1 ln -sf ../../../opt/Adobe/Reader9/Resource/Shell/acroread.1.gz . cd - -# Fix bug in bash completion script by redefining "_filedir" function +# Fix bug in bash completion script by redefining "_filedir" function # to "_acroread_filedir" as suggested on the adobe forum: # http://forums.adobe.com/thread/745833 sed -i 's/_filedir/_acroread_filedir/g' $PKG/opt/Adobe/Reader9/Resource/Shell/acroread_tab diff --git a/office/aigaion/aigaion.SlackBuild b/office/aigaion/aigaion.SlackBuild index d8b8e2dd1db1..e5909cd2cae2 100644 --- a/office/aigaion/aigaion.SlackBuild +++ b/office/aigaion/aigaion.SlackBuild @@ -21,7 +21,7 @@ PHPUSER=${PHPUSER:-root} PHPGROUP=${PHPGROUP:-apache} CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -41,7 +41,7 @@ set -e rm -rf $PKG $TMP/$PRGNAM${MAJORVERSION} mkdir -p $TMP $PKG/$DOCROOT $OUTPUT cd $TMP -unzip $CWD/$PRGNAM$VERSION.zip +unzip $CWD/$PRGNAM$VERSION.zip cd $PRGNAM${MAJORVERSION} chown -R root:root . diff --git a/office/aiksaurus/aiksaurus.SlackBuild b/office/aiksaurus/aiksaurus.SlackBuild index da817cc28dec..b1922c837e75 100644 --- a/office/aiksaurus/aiksaurus.SlackBuild +++ b/office/aiksaurus/aiksaurus.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.2.1} 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 @@ -54,7 +52,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG/usr/share/icons/gaiksaurus $OUTPUT $PKG/usr/share/applications diff --git a/office/akonadi-googledata/akonadi-googledata.SlackBuild b/office/akonadi-googledata/akonadi-googledata.SlackBuild index 11d197fd361d..5fee0daa5d94 100644 --- a/office/akonadi-googledata/akonadi-googledata.SlackBuild +++ b/office/akonadi-googledata/akonadi-googledata.SlackBuild @@ -83,7 +83,7 @@ cd build make make install DESTDIR=$PKG cd - - + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/office/antiword/antiword.SlackBuild b/office/antiword/antiword.SlackBuild index 0733d899862c..6241af3df003 100644 --- a/office/antiword/antiword.SlackBuild +++ b/office/antiword/antiword.SlackBuild @@ -28,12 +28,10 @@ VERSION=0.37 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/office/apvlv/apvlv.SlackBuild b/office/apvlv/apvlv.SlackBuild index 6c6835fb1e4f..4572e60a36c3 100644 --- a/office/apvlv/apvlv.SlackBuild +++ b/office/apvlv/apvlv.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/office/auctex/auctex.SlackBuild b/office/auctex/auctex.SlackBuild index 0db8835e3868..9c5514caabaa 100644 --- a/office/auctex/auctex.SlackBuild +++ b/office/auctex/auctex.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-11.86} 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/office/bookbinder/bookbinder.SlackBuild b/office/bookbinder/bookbinder.SlackBuild index f36c8adc6d4a..ef76d6ba2376 100644 --- a/office/bookbinder/bookbinder.SlackBuild +++ b/office/bookbinder/bookbinder.SlackBuild @@ -12,7 +12,7 @@ TAG=${TAG:-_SBo} ARCH=noarch CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/office/broffice.org/broffice.org.SlackBuild b/office/broffice.org/broffice.org.SlackBuild index 43f688441ab8..fc528db45896 100644 --- a/office/broffice.org/broffice.org.SlackBuild +++ b/office/broffice.org/broffice.org.SlackBuild @@ -27,12 +27,10 @@ VERSION=3.2.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 @@ -68,7 +66,7 @@ else PKGARCH="i586" fi -# Ignore this - it's just to get the toplevel directory name of the +# Ignore this - it's just to get the toplevel directory name of the # extracted tarball archive if [ $WJRE != no ]; then SOURCEDIR=$(tar tzf $CWD/BrOOo_${VERSION}_Linux_${SRCARCH}_install-rpm-wJRE_${OOLANG}.tar.gz 2>/dev/null | head -n 1 | tr -d \/) @@ -116,17 +114,17 @@ rm -f $PKG/usr/share/applications/broffice.org3-startcenter.desktop # Create symlinks in /usr/bin to actual binaries cd $PKG/usr/bin for FILE in \ - sbase scalc sdraw simpress smath soffice spadmin swriter unopkg ; do + sbase scalc sdraw simpress smath soffice spadmin swriter unopkg ; do rm -f $FILE ln -sf ../../opt/broffice.org3/program/$FILE $FILE ; - done + done cd - # Remove DejaVu and Liberation fonts - these are included in other packages rm -f opt/openoffice.org/basis3.2/share/fonts/truetype/[DL]*.ttf # Fix Exec commands in the desktop files -# See http://bugzilla.xfce.org/show_bug.cgi?id=2430 +# See http://bugzilla.xfce.org/show_bug.cgi?id=2430 cd $PKG/opt/broffice.org3/share/xdg/ for APP in base calc draw impress math writer; do sed -i 's%Exec=broffice.org3 -%Exec=s%' $APP.desktop ; diff --git a/office/calcurse/calcurse.SlackBuild b/office/calcurse/calcurse.SlackBuild index fa65b77a5fed..514c330661e3 100644 --- a/office/calcurse/calcurse.SlackBuild +++ b/office/calcurse/calcurse.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/office/catdoc/catdoc.SlackBuild b/office/catdoc/catdoc.SlackBuild index 50412277e462..6ef8d10e029c 100644 --- a/office/catdoc/catdoc.SlackBuild +++ b/office/catdoc/catdoc.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.94.2} 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/office/devtodo/devtodo.SlackBuild b/office/devtodo/devtodo.SlackBuild index d852bf85cdd8..7df49e5e140d 100644 --- a/office/devtodo/devtodo.SlackBuild +++ b/office/devtodo/devtodo.SlackBuild @@ -4,14 +4,14 @@ # Copyright (c) 2007, Written by: Michiel van Wessem <michiel@slackbuilds.org> # # 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 # notice, this list of conditions and the following disclaimer. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -24,17 +24,15 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=devtodo +PRGNAM=devtodo VERSION=${VERSION:-0.1.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 @@ -58,13 +56,13 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $TMP/$PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION find . \ diff --git a/office/dictd/dictd.SlackBuild b/office/dictd/dictd.SlackBuild index 57e7f54ed522..aad5b8220735 100644 --- a/office/dictd/dictd.SlackBuild +++ b/office/dictd/dictd.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-1.12.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/office/focuswriter/focuswriter.SlackBuild b/office/focuswriter/focuswriter.SlackBuild index 4df485d0eb50..7a1aa81b2a99 100644 --- a/office/focuswriter/focuswriter.SlackBuild +++ b/office/focuswriter/focuswriter.SlackBuild @@ -4,8 +4,8 @@ # Written by Giuseppe Scalzi <snakeeater89[at]gmail[dot]com> -PRGNAM=focuswriter -VERSION=${VERSION:-1.4.0} +PRGNAM=focuswriter +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -18,9 +18,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" @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/office/ganttproject/ganttproject.SlackBuild b/office/ganttproject/ganttproject.SlackBuild index 2bddee0c64d6..ede68a786cbb 100644 --- a/office/ganttproject/ganttproject.SlackBuild +++ b/office/ganttproject/ganttproject.SlackBuild @@ -35,7 +35,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p \ diff --git a/office/hevea/hevea.SlackBuild b/office/hevea/hevea.SlackBuild index 3d127a4b7ee3..d5d8a804a263 100644 --- a/office/hevea/hevea.SlackBuild +++ b/office/hevea/hevea.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-2.00} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -61,7 +59,7 @@ sed -i -e "\ Makefile make -DESTDIR=$PKG make install +DESTDIR=$PKG make install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/office/juffed/juffed.SlackBuild b/office/juffed/juffed.SlackBuild index 0106e3632464..75640eb9ce85 100644 --- a/office/juffed/juffed.SlackBuild +++ b/office/juffed/juffed.SlackBuild @@ -37,7 +37,7 @@ fi DOCS="COPYING ChangeLog README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/office/kbgoffice/kbgoffice.SlackBuild b/office/kbgoffice/kbgoffice.SlackBuild index ef76bd45122c..54c49bde1078 100644 --- a/office/kbgoffice/kbgoffice.SlackBuild +++ b/office/kbgoffice/kbgoffice.SlackBuild @@ -56,7 +56,7 @@ cd src sed "s:/usr/local:/usr:" -i.orig $PRGNAM.pro sed "s:/usr/local:/usr:" -i.orig main.cpp qmake -config release - CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make + CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make make INSTALL_ROOT=$PKG install cd .. diff --git a/office/kchmviewer/kchmviewer.SlackBuild b/office/kchmviewer/kchmviewer.SlackBuild index 4038cc23e2d7..1a33557fdfb3 100644 --- a/office/kchmviewer/kchmviewer.SlackBuild +++ b/office/kchmviewer/kchmviewer.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh -# +# # SlackBuild script for KchmViewer. # Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. @@ -24,7 +24,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kchmviewer -VERSION=${VERSION:-6.0} +VERSION=${VERSION:-6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/office/keepassx/keepassx.SlackBuild b/office/keepassx/keepassx.SlackBuild index 313c7943fafd..cc70e08f171f 100644 --- a/office/keepassx/keepassx.SlackBuild +++ b/office/keepassx/keepassx.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.4.3 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/office/keepnote/keepnote.SlackBuild b/office/keepnote/keepnote.SlackBuild index 4b6adccefbd1..28b2ab30dcb5 100644 --- a/office/keepnote/keepnote.SlackBuild +++ b/office/keepnote/keepnote.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for keepnote # Home Page http://rasm.ods.org/keepnote/ -# (C) 2010 mcc <mccnews@free.fr> +# (C) 2010 mcc <mccnews@free.fr> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + PRGNAM=keepnote VERSION=${VERSION:-0.6.2} BUILD=${BUILD:-1} diff --git a/office/lout/lout.SlackBuild b/office/lout/lout.SlackBuild index 173cf82e1f63..bcd88aa52729 100644 --- a/office/lout/lout.SlackBuild +++ b/office/lout/lout.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-3.40} 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 @@ -57,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/office/mairix/mairix.SlackBuild b/office/mairix/mairix.SlackBuild index 138a332cbf8c..86875d1147c4 100644 --- a/office/mairix/mairix.SlackBuild +++ b/office/mairix/mairix.SlackBuild @@ -3,9 +3,9 @@ # Slackware build script for mairix # Written by Jostein Berntsen <jbernts@broadpark.no> - -PRGNAM=mairix + +PRGNAM=mairix VERSION=${VERSION:-0.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -57,8 +57,8 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr -make -make install DESTDIR=$PKG +make +make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/office/mdbtools/mdbtools.SlackBuild b/office/mdbtools/mdbtools.SlackBuild index 852bcc487aac..ccc73d7422e8 100644 --- a/office/mdbtools/mdbtools.SlackBuild +++ b/office/mdbtools/mdbtools.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.5} 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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/office/notmuch/notmuch.SlackBuild b/office/notmuch/notmuch.SlackBuild index b57ef9621ac8..c44082f32b5e 100644 --- a/office/notmuch/notmuch.SlackBuild +++ b/office/notmuch/notmuch.SlackBuild @@ -4,7 +4,7 @@ # Written by Jostein Berntsen <jbernts@broadpark.no> -PRGNAM=notmuch +PRGNAM=notmuch VERSION=${VERSION:-0.15.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -18,7 +18,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -60,8 +60,8 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --build=$ARCH-slackware-linux -make -make install DESTDIR=$PKG +make +make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/office/odt2txt/odt2txt.SlackBuild b/office/odt2txt/odt2txt.SlackBuild index 74d9df07db6d..5781d903f5cc 100644 --- a/office/odt2txt/odt2txt.SlackBuild +++ b/office/odt2txt/odt2txt.SlackBuild @@ -8,12 +8,10 @@ VERSION=0.4 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 @@ -50,7 +48,7 @@ chmod -R u+w,go+r-w,a-s . CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -make +make make install DESTDIR=$PKG/usr/ diff --git a/office/openoffice.org/openoffice.org.SlackBuild b/office/openoffice.org/openoffice.org.SlackBuild index 41363c084d85..ddf488f3ed77 100644 --- a/office/openoffice.org/openoffice.org.SlackBuild +++ b/office/openoffice.org/openoffice.org.SlackBuild @@ -34,7 +34,6 @@ TAG=${TAG:-_SBo} SRCVERSION=$VERSION SRCSHORT=$(echo $VERSION | cut -f1-2 -d.) #"3.3" -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; diff --git a/office/org-mode/org-mode.SlackBuild b/office/org-mode/org-mode.SlackBuild index 0121cc754d7f..429af118d1d5 100644 --- a/office/org-mode/org-mode.SlackBuild +++ b/office/org-mode/org-mode.SlackBuild @@ -35,8 +35,8 @@ patch Makefile $CWD/Makefile.patch DESTDIR=/usr make all html mv doc/{org,org-$pkgver} DESTDIR=$PKG/usr make install -DESTDIR=$PKG/usr make install-info -#DESTDIR=$PKG/usr PKG=$PKG make install-info +DESTDIR=$PKG/usr make install-info +#DESTDIR=$PKG/usr PKG=$PKG make install-info find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/office/osmo/osmo.SlackBuild b/office/osmo/osmo.SlackBuild index 39bf6dd922bc..bde52d7b1764 100644 --- a/office/osmo/osmo.SlackBuild +++ b/office/osmo/osmo.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-r928} 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/office/pdfshuffler/pdfshuffler.SlackBuild b/office/pdfshuffler/pdfshuffler.SlackBuild index 18e45b42bd65..681280cc0c59 100644 --- a/office/pdfshuffler/pdfshuffler.SlackBuild +++ b/office/pdfshuffler/pdfshuffler.SlackBuild @@ -46,7 +46,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION diff --git a/office/ps2eps/ps2eps.SlackBuild b/office/ps2eps/ps2eps.SlackBuild index 95f96882ae61..dc6bf95c61fc 100644 --- a/office/ps2eps/ps2eps.SlackBuild +++ b/office/ps2eps/ps2eps.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.64} 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/office/pstoedit/pstoedit.SlackBuild b/office/pstoedit/pstoedit.SlackBuild index 8d05eec01ead..9a5c35aa8324 100644 --- a/office/pstoedit/pstoedit.SlackBuild +++ b/office/pstoedit/pstoedit.SlackBuild @@ -27,12 +27,10 @@ VERSION=3.50 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/office/pstotext/pstotext.SlackBuild b/office/pstotext/pstotext.SlackBuild index 44b8a919dc8b..bb7162b97ceb 100644 --- a/office/pstotext/pstotext.SlackBuild +++ b/office/pstotext/pstotext.SlackBuild @@ -11,12 +11,10 @@ VERSION=1.9 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/office/qamus/qamus.SlackBuild b/office/qamus/qamus.SlackBuild index a5b60c889bdf..66abbd0bf2a0 100644 --- a/office/qamus/qamus.SlackBuild +++ b/office/qamus/qamus.SlackBuild @@ -54,7 +54,7 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod 644 * -qmake $QMAKEARGS +qmake $QMAKEARGS #use our CFLAGS sed -i "/C[X]*FLAGS/s|\ =\ |\ +=\ |" Makefile.Release diff --git a/office/qpdfview/qpdfview.SlackBuild b/office/qpdfview/qpdfview.SlackBuild index 7fe2d7296a97..33e4a6183670 100644 --- a/office/qpdfview/qpdfview.SlackBuild +++ b/office/qpdfview/qpdfview.SlackBuild @@ -21,19 +21,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Updated by Donald Cooley +# Updated by Donald Cooley PRGNAM=qpdfview VERSION=${VERSION:-0.4.6} 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 @@ -73,7 +71,7 @@ find . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - + #Configure qpdfview. Installation paths are correctly set in qpdfview.pri qmake QMAKE_CFLAGS="$SLKCFLAGS" QMAKE_CXXFLAGS="$SLKCFLAGS" qpdfview.pro diff --git a/office/rastertospp/rastertospp.SlackBuild b/office/rastertospp/rastertospp.SlackBuild index 6adf09c60adc..6d3269135f4f 100644 --- a/office/rastertospp/rastertospp.SlackBuild +++ b/office/rastertospp/rastertospp.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for rastertospp -# +# # Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.1} 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/office/tellico/tellico.SlackBuild b/office/tellico/tellico.SlackBuild index 6bf3cc8ec0c7..7a3f196de168 100644 --- a/office/tellico/tellico.SlackBuild +++ b/office/tellico/tellico.SlackBuild @@ -81,10 +81,10 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DENABLE_WEBCAM=true \ - -DCMAKE_BUILD_TYPE=Release .. + -DCMAKE_BUILD_TYPE=Release .. - make VERBOSE=1 - make install VERBOSE=1 DESTDIR=$PKG + make VERBOSE=1 + make install VERBOSE=1 DESTDIR=$PKG cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/office/texlive/texlive.SlackBuild b/office/texlive/texlive.SlackBuild index c566daff0df2..1c3f327a715c 100644 --- a/office/texlive/texlive.SlackBuild +++ b/office/texlive/texlive.SlackBuild @@ -164,7 +164,7 @@ find . \ # Fix up some paths patch -p1 < $CWD/patches/texmf-fixup_texmf-local_tree_in_texmf_cnf.diff -# Thanks to David Woodfall for this patch +# Thanks to David Woodfall for this patch patch -p1 < $CWD/patches/texcount-scalar-fixup.diff # Move manual pages to the correct place diff --git a/office/texmacs/texmacs.SlackBuild b/office/texmacs/texmacs.SlackBuild index a3184ce8b857..ae2a5290925f 100644 --- a/office/texmacs/texmacs.SlackBuild +++ b/office/texmacs/texmacs.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for Texmacs +# Slackware build script for Texmacs # Copyright 2013 Zhu Qun-Ying # All rights reserved. @@ -29,12 +29,10 @@ TAG=${TAG:-_SBo} SRCNAM=TeXmacs -# 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/office/texworks/texworks.SlackBuild b/office/texworks/texworks.SlackBuild index 4cb937444a6d..550727303f7d 100644 --- a/office/texworks/texworks.SlackBuild +++ b/office/texworks/texworks.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-0.4.4} 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 @@ -59,7 +57,7 @@ qmake -unix PREFIX=/usr \ QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \ QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" -make || exit 1 +make || exit 1 mkdir -pv $PKG/usr/bin mkdir -pv $PKG/usr/share/pixmaps diff --git a/office/traduisons/traduisons.SlackBuild b/office/traduisons/traduisons.SlackBuild index e7986e8ea9b8..7543230968c8 100644 --- a/office/traduisons/traduisons.SlackBuild +++ b/office/traduisons/traduisons.SlackBuild @@ -22,7 +22,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/office/treesheets/treesheets.SlackBuild b/office/treesheets/treesheets.SlackBuild index c990c1c3357f..ee9635ae1ecd 100644 --- a/office/treesheets/treesheets.SlackBuild +++ b/office/treesheets/treesheets.SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # Slackware build script for TreeSheets -# Builds a Slackware package from the TreeSheets binary tarball. +# Builds a Slackware package from the TreeSheets binary tarball. # # Written by Luke Williams ( xocel@iquidus.org ) # license: WTFPL <http://sam.zoy.org/wtfpl/COPYING> diff --git a/office/wink/wink.SlackBuild b/office/wink/wink.SlackBuild index d8d2175b8663..87f45548cec0 100644 --- a/office/wink/wink.SlackBuild +++ b/office/wink/wink.SlackBuild @@ -4,12 +4,10 @@ VERSION=${VERSION:-1.5} 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/office/wordgrinder/wordgrinder.SlackBuild b/office/wordgrinder/wordgrinder.SlackBuild index 302ce6370f92..484caece6049 100644 --- a/office/wordgrinder/wordgrinder.SlackBuild +++ b/office/wordgrinder/wordgrinder.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="COPYING README.Unix README.wg" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/perl/Net-SSLeay/Net-SSLeay.SlackBuild b/perl/Net-SSLeay/Net-SSLeay.SlackBuild index 493e459fc4ad..56c1a2fc2c5f 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 93dce7682e36..45cf8aac214a 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 362071f798f5..34ae9b707835 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 3fa099d71418..255fe37bc73c 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 7d193ed74c1d..2ad2eb21c890 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 d64a549618a3..f8f4d2087efd 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 4991bd8bb464..93d0a3b1f587 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 7c76d23a5a61..87cc02730a0e 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 fec943ed724d..810e27935f48 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 ba2d8a50cf78..ebdf6256f2d2 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 ac611454e65e..bbac50b45ae6 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 c184f32d3edc..0ba55b66890c 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 1c379aa34530..00bbfa8c2f6e 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 f4021cf85c57..7e5fe0367588 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 fb3d685520c0..e1a919b3a05a 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 dd6433b2e5f2..835ae7fb9ed6 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 6768fa235e4f..0abcf75ef2c3 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 1e6a065f7e76..e58dd159b1c2 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 f51663c040be..e8bed0755d23 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 b48bdefc8ec1..1e0cd019fc3c 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 aa04b4f3925f..d39884282428 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 20afe56822d4..b930d942d91c 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 ad4a37db21cf..06bf5234e833 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 a14ff27abb1e..886112bde474 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 edba5cb96a53..5f5a1e813c6e 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 5128eca5ecd5..ae467326c5b0 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 a7dd5e10fe93..985ec1963228 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 9838c9683c70..e6543bcbbb4a 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 87a7702cddc1..c0339d821b58 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 70c6090d566f..b28452c86236 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 ac7fdcc5bc1b..ebb414865b9d 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 8f080ce199ba..1ad21a3ebc39 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 dec717662d6e..579c1aeedbbc 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 f93ec7637529..3ddfe6fa0b9c 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 7bb46532fb7d..0af92993b9c7 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 5a20ed6b1585..bc5954c356a7 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 f0e7bc84b0b1..dd0995916029 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 c3c2d783d41b..fbed516465b4 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 19596b8e6daf..4a3f50fab433 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 26d700fd46e9..c9f41e88816d 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 7cf32c516905..664b435fbb65 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 1c739409d7d9..1adb43d29679 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 fb26332dc23b..017304007cd5 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 641c72d39c79..1b237be85e8e 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 06143ff2199c..7caca5783703 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 a4f472cc9169..d727606af042 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 b1a383cc0273..a6049d556f4c 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 27d57d0d8bc9..2011a9099037 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 c53b87d67deb..0106d4b9315e 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 a1b791206eb4..7f993f3d52ab 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 0c65fdf9bcdd..e73539441b49 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 5aa8bff31fe0..a5cf99dbdd7f 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 9fa962b9b3ed..c19c117c671e 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 f2a08a33a24f..1a87b93efac7 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 eea4d268e9e3..4fc0d1222105 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 38224f38f687..27fb0f1699ef 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 02c16e96b4f0..9a7a90cf8a5e 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 75b853285947..021b99c77529 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 5600e90a1149..09ceb52dd7ea 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 d879c668cee6..fdae1f676825 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 6f650e4aedc8..fdb6e24c8637 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 df68ef3419f2..9d45f52c1adc 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 bd2cbb32fef7..34bc2c57ee22 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 ce7657629d6b..3b67209f0a8d 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 87106779001f..54a0a056191b 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 e2daff0b89e5..30c6cacdb2d3 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 a72551df5e2c..8a906756edd8 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 0eaf8309582c..4fdc7b405e30 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 b9ac12c02552..e9b75f7bb991 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 6aed2636bce7..a6b3a84b028a 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 55d2cffd2813..378563aa45bd 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 68a522df8989..2f4bd330ee53 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 6248007310bc..4f5ed4706c96 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 ceb6388bdd6a..c4cdc0ddde94 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 3d312985ba27..ff3fa8b621e1 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 ccaed37bb352..b7c3ea065d04 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 2c1db09b92da..11c88b54d08b 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 897d06a6e9e1..f53b0b7041b2 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 d9ff253a007b..5ac3ab351a32 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 d6b49c266200..d064143f3cbf 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 a769869190dd..0e655a9643b0 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 e75032b2d8e8..9196c4896d7c 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 96ea21ab000c..d18ff601b04f 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 00ff93911eba..efba3adcfa21 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 1eba50f3320c..646a9294d737 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 485e9fa03dc1..8d7e4c51a155 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 7e3f387172a1..12ab46702eb2 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 18190efa7c4a..72b7b1561f1a 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 c753616c6614..a0fff43aee00 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 49d1b342ceec..da81b0fb6df6 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 46a37b6f6b55..be63580e5373 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 fb0a7a42c54f..ad02f543235e 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 b4266ea9d2e9..c5e7b0e3d0dd 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 6597f28c08f3..c9828b67660d 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 961ded1a9ce8..8352968b6a30 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 11dbd8753b35..67547e69fc41 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 a62002b08fe8..549e994b8d83 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 208e330cc942..aef22ed95855 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 6fb043826b71..afb91e22c38f 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 1a1fc746470a..963c07b847ba 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 461d00aea8e2..82f45e7bc650 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 6c1d0e3e507d..a0063e6394db 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 72317f8fc029..0ef4b69cc473 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 884e7f6886bf..803d6512b799 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 6c96c43cf7df..ccb5ac5e18e9 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 4f885952b840..8badecf5c8a9 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 f1da5d1c1a9b..6a63140efad2 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 9736559deac0..3ab06e112aea 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 096b7b8b8635..8829f1885e97 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 b3ed88704c51..b3afb40d5f26 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 da1dccc400b8..0d28201a3a93 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 03975196b559..1ee4687a45d8 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 d0e45f68077b..e2b0b7c349d8 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 bb22e9e41e35..ba6ad3a0701e 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 484cbf714be4..10a72b56c4a6 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 95f7b5da4e11..dc3b4b7f0782 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 3118e9988b0a..c506603d849c 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 be2f11284816..d363523030cb 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> diff --git a/python/PyAudio/PyAudio.SlackBuild b/python/PyAudio/PyAudio.SlackBuild index 263c5e59c4d2..7e0fc183c9cd 100644 --- a/python/PyAudio/PyAudio.SlackBuild +++ b/python/PyAudio/PyAudio.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/SOAPpy/SOAPpy.SlackBuild b/python/SOAPpy/SOAPpy.SlackBuild index 08215d32d7d0..c707f69b238e 100644 --- a/python/SOAPpy/SOAPpy.SlackBuild +++ b/python/SOAPpy/SOAPpy.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.11.6 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 @@ -48,7 +46,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION diff --git a/python/babel/babel.SlackBuild b/python/babel/babel.SlackBuild index 89698f1109b7..8d6d6f161150 100644 --- a/python/babel/babel.SlackBuild +++ b/python/babel/babel.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/cddb-py/cddb-py.SlackBuild b/python/cddb-py/cddb-py.SlackBuild index 8d3ce53a9aec..0b828e4a3be2 100644 --- a/python/cddb-py/cddb-py.SlackBuild +++ b/python/cddb-py/cddb-py.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-1.4} 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/python/easygui/easygui.SlackBuild b/python/easygui/easygui.SlackBuild index 25dfad377aac..672523370564 100644 --- a/python/easygui/easygui.SlackBuild +++ b/python/easygui/easygui.SlackBuild @@ -57,7 +57,7 @@ fi PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')") DOCFILES="cookbook faq epydoc pydoc tutorial" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/ecdsa/ecdsa.SlackBuild b/python/ecdsa/ecdsa.SlackBuild index 6c09ed797939..c491094a67fd 100644 --- a/python/ecdsa/ecdsa.SlackBuild +++ b/python/ecdsa/ecdsa.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/geopy/geopy.SlackBuild b/python/geopy/geopy.SlackBuild index 8994185daaa2..49462204a4fb 100644 --- a/python/geopy/geopy.SlackBuild +++ b/python/geopy/geopy.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# SlackBuild for geopy python library +# SlackBuild for geopy python library # Written by Dominik Drobek <dominik.drobek (at) o2.pl> # Currently maintained by Francisco Sokol <chico.sokol@gmail.com> @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/google-api-python-client/google-api-python-client.SlackBuild b/python/google-api-python-client/google-api-python-client.SlackBuild index a2ed0ba3f5fb..1f129b3217a3 100644 --- a/python/google-api-python-client/google-api-python-client.SlackBuild +++ b/python/google-api-python-client/google-api-python-client.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=google-api-python-client +PRGNAM=google-api-python-client VERSION=${VERSION:-1.0beta2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/httplib2/httplib2.SlackBuild b/python/httplib2/httplib2.SlackBuild index c08ec84928df..c4fc145f2056 100644 --- a/python/httplib2/httplib2.SlackBuild +++ b/python/httplib2/httplib2.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="CHANGELOG README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/ipaddr-py/ipaddr-py.SlackBuild b/python/ipaddr-py/ipaddr-py.SlackBuild index f12fdf30d849..3d41c762425a 100644 --- a/python/ipaddr-py/ipaddr-py.SlackBuild +++ b/python/ipaddr-py/ipaddr-py.SlackBuild @@ -29,12 +29,10 @@ TAG=${TAG:-_SBo} SRCNAM=ipaddr -# 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/python/json-py/json-py.SlackBuild b/python/json-py/json-py.SlackBuild index 85e22f62ff44..1842af4ab88b 100644 --- a/python/json-py/json-py.SlackBuild +++ b/python/json-py/json-py.SlackBuild @@ -27,12 +27,10 @@ VERSION=3.4 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 @@ -50,7 +48,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION mkdir $PRGNAM-$VERSION cd $PRGNAM-$VERSION diff --git a/python/p4python/p4python.SlackBuild b/python/p4python/p4python.SlackBuild index dfb79e9f4d46..cbf626b64789 100644 --- a/python/p4python/p4python.SlackBuild +++ b/python/p4python/p4python.SlackBuild @@ -35,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/pyPdf/pyPdf.SlackBuild b/python/pyPdf/pyPdf.SlackBuild index 5589036d2c5f..8eaa10df5394 100644 --- a/python/pyPdf/pyPdf.SlackBuild +++ b/python/pyPdf/pyPdf.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.13 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/python/pychm/pychm.SlackBuild b/python/pychm/pychm.SlackBuild index b275ddcf3163..f060be74874c 100644 --- a/python/pychm/pychm.SlackBuild +++ b/python/pychm/pychm.SlackBuild @@ -26,16 +26,14 @@ # THE SOFTWARE. PRGNAM=pychm -VERSION=${VERSION:-0.8.4} +VERSION=${VERSION:-0.8.4} 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/python/pydblite/pydblite.SlackBuild b/python/pydblite/pydblite.SlackBuild index 7686037e453b..804796b27296 100644 --- a/python/pydblite/pydblite.SlackBuild +++ b/python/pydblite/pydblite.SlackBuild @@ -45,7 +45,7 @@ DOCFILES="PKG-INFO README.txt LICENCE.txt doc/*" # SLKCFLAGS are not used -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/pygame/pygame.SlackBuild b/python/pygame/pygame.SlackBuild index e0242ddbe6b5..715d7fbd3425 100644 --- a/python/pygame/pygame.SlackBuild +++ b/python/pygame/pygame.SlackBuild @@ -8,12 +8,10 @@ VERSION=1.7.1 BUILD=${BUILD:-3} 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 @@ -28,7 +26,7 @@ SRCVERSION=${VERSION}release rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP || exit 1 -rm -rf $NAME-$SRCVERSION +rm -rf $NAME-$SRCVERSION tar xvf $CWD/$NAME-$SRCVERSION.tar.?z* || exit 1 cd $NAME-$SRCVERSION || exit 1 chown -R root:root . diff --git a/python/pygobject3/pygobject3.SlackBuild b/python/pygobject3/pygobject3.SlackBuild index efa50a9784d7..fc359c5ad3f0 100644 --- a/python/pygobject3/pygobject3.SlackBuild +++ b/python/pygobject3/pygobject3.SlackBuild @@ -59,7 +59,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.xz cd $SRCNAM-$VERSION @@ -88,8 +88,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ INSTALL AUTHORS COPYING* NEWS README* \ $PKG/usr/doc/$PRGNAM-$VERSION -( cd $PKG/usr/doc/$PRGNAM-$VERSION - ln -s ../../share/gtk-doc/html/pygobject html +( cd $PKG/usr/doc/$PRGNAM-$VERSION + ln -s ../../share/gtk-doc/html/pygobject html ) mkdir -p $PKG/install diff --git a/python/pygoocanvas/pygoocanvas.SlackBuild b/python/pygoocanvas/pygoocanvas.SlackBuild index 7ce1ce0dc41a..2d03a1e4fff9 100644 --- a/python/pygoocanvas/pygoocanvas.SlackBuild +++ b/python/pygoocanvas/pygoocanvas.SlackBuild @@ -31,12 +31,10 @@ VERSION=0.14.1 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 @@ -60,7 +58,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -74,7 +72,7 @@ find . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/python/pylirc/pylirc.SlackBuild b/python/pylirc/pylirc.SlackBuild index d5e98c03d76c..a74a99f716a8 100644 --- a/python/pylirc/pylirc.SlackBuild +++ b/python/pylirc/pylirc.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.0.5} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/pyorbit/pyorbit.SlackBuild b/python/pyorbit/pyorbit.SlackBuild index dc2270709ec3..1a75f4287715 100644 --- a/python/pyorbit/pyorbit.SlackBuild +++ b/python/pyorbit/pyorbit.SlackBuild @@ -27,12 +27,10 @@ VERSION=2.24.0 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/python/pyserial/pyserial.SlackBuild b/python/pyserial/pyserial.SlackBuild index f03cd72e7e21..afa50abb69b4 100644 --- a/python/pyserial/pyserial.SlackBuild +++ b/python/pyserial/pyserial.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for pyserial # Written by Grissiom <chaos.proton@gmail.com> -# Updated to 2.5_rc2 by Dustin Schnee <schnee72{at}gmail{dot}com> +# Updated to 2.5_rc2 by Dustin Schnee <schnee72{at}gmail{dot}com> PRGNAM=pyserial VERSION=${VERSION:-2.6} diff --git a/python/pysmssend/pysmssend.SlackBuild b/python/pysmssend/pysmssend.SlackBuild index c8c931f79fcb..525df20dbfe8 100644 --- a/python/pysmssend/pysmssend.SlackBuild +++ b/python/pysmssend/pysmssend.SlackBuild @@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/python/python-authres/python-authres.SlackBuild b/python/python-authres/python-authres.SlackBuild index b2cbfe8be77b..e3b0f3b98527 100644 --- a/python/python-authres/python-authres.SlackBuild +++ b/python/python-authres/python-authres.SlackBuild @@ -29,12 +29,10 @@ TAG=${TAG:-_SBo} SRCNAM=authres -# 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/python/python-bigfloat/python-bigfloat.SlackBuild b/python/python-bigfloat/python-bigfloat.SlackBuild index d509011a3eeb..27872756d8c7 100644 --- a/python/python-bigfloat/python-bigfloat.SlackBuild +++ b/python/python-bigfloat/python-bigfloat.SlackBuild @@ -38,7 +38,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-cheetah/python-cheetah.SlackBuild b/python/python-cheetah/python-cheetah.SlackBuild index ca07caa90794..455e3b29cec5 100644 --- a/python/python-cheetah/python-cheetah.SlackBuild +++ b/python/python-cheetah/python-cheetah.SlackBuild @@ -38,7 +38,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-cluster/python-cluster.SlackBuild b/python/python-cluster/python-cluster.SlackBuild index fa065d91bcdb..4ab1cac5b9dd 100644 --- a/python/python-cluster/python-cluster.SlackBuild +++ b/python/python-cluster/python-cluster.SlackBuild @@ -28,12 +28,10 @@ VERSION=1.1.1b3 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 @@ -49,7 +47,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $SRCNAM-$VERSION tar -xzvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION diff --git a/python/python-cmdln/python-cmdln.SlackBuild b/python/python-cmdln/python-cmdln.SlackBuild index 851cc23d7b40..2bb1435e5195 100644 --- a/python/python-cmdln/python-cmdln.SlackBuild +++ b/python/python-cmdln/python-cmdln.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-demjson/python-demjson.SlackBuild b/python/python-demjson/python-demjson.SlackBuild index afc81180f7ac..99707be1f2fe 100644 --- a/python/python-demjson/python-demjson.SlackBuild +++ b/python/python-demjson/python-demjson.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-elementtree/python-elementtree.SlackBuild b/python/python-elementtree/python-elementtree.SlackBuild index fead173deba0..7e20af998408 100644 --- a/python/python-elementtree/python-elementtree.SlackBuild +++ b/python/python-elementtree/python-elementtree.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-lastfm/python-lastfm.SlackBuild b/python/python-lastfm/python-lastfm.SlackBuild index 9a8fde69f527..b01b82682f65 100644 --- a/python/python-lastfm/python-lastfm.SlackBuild +++ b/python/python-lastfm/python-lastfm.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-0.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/python/python-magick/python-magick.SlackBuild b/python/python-magick/python-magick.SlackBuild index 5ad3eab51563..82504889af36 100644 --- a/python/python-magick/python-magick.SlackBuild +++ b/python/python-magick/python-magick.SlackBuild @@ -56,7 +56,7 @@ fi DOCS="ChangeLog LICENSE README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-morbid/python-morbid.SlackBuild b/python/python-morbid/python-morbid.SlackBuild index 1733508866e4..d39ac4025583 100644 --- a/python/python-morbid/python-morbid.SlackBuild +++ b/python/python-morbid/python-morbid.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-orbited/python-orbited.SlackBuild b/python/python-orbited/python-orbited.SlackBuild index e9c87d15ea0e..36b88ae96338 100644 --- a/python/python-orbited/python-orbited.SlackBuild +++ b/python/python-orbited/python-orbited.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-stomper/python-stomper.SlackBuild b/python/python-stomper/python-stomper.SlackBuild index ee28ec7082a0..7e42606742d2 100644 --- a/python/python-stomper/python-stomper.SlackBuild +++ b/python/python-stomper/python-stomper.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-transaction/python-transaction.SlackBuild b/python/python-transaction/python-transaction.SlackBuild index d3c6b7a2d6e1..d1290b13f43b 100644 --- a/python/python-transaction/python-transaction.SlackBuild +++ b/python/python-transaction/python-transaction.SlackBuild @@ -12,12 +12,10 @@ VERSION=${VERSION:-1.0.0} 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/python/python-twisted-web2/python-twisted-web2.SlackBuild b/python/python-twisted-web2/python-twisted-web2.SlackBuild index 4d66a780c29c..c2347449f910 100644 --- a/python/python-twisted-web2/python-twisted-web2.SlackBuild +++ b/python/python-twisted-web2/python-twisted-web2.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-8.1.0} 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/python/python-twitter/python-twitter.SlackBuild b/python/python-twitter/python-twitter.SlackBuild index f6a6c30727e8..04e5b0aa5ed8 100644 --- a/python/python-twitter/python-twitter.SlackBuild +++ b/python/python-twitter/python-twitter.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.6} 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/python/python-urllib3/python-urllib3.SlackBuild b/python/python-urllib3/python-urllib3.SlackBuild index 896e8936ee74..5a4c22737d7c 100644 --- a/python/python-urllib3/python-urllib3.SlackBuild +++ b/python/python-urllib3/python-urllib3.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-uuid/python-uuid.SlackBuild b/python/python-uuid/python-uuid.SlackBuild index adc507ca1bd7..cf314e42f75a 100644 --- a/python/python-uuid/python-uuid.SlackBuild +++ b/python/python-uuid/python-uuid.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/python-xlib/python-xlib.SlackBuild b/python/python-xlib/python-xlib.SlackBuild index 866f54be3e5d..599cffff15cc 100644 --- a/python/python-xlib/python-xlib.SlackBuild +++ b/python/python-xlib/python-xlib.SlackBuild @@ -10,12 +10,10 @@ VERSION=0.14 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/python/python-xrandr/python-xrandr.SlackBuild b/python/python-xrandr/python-xrandr.SlackBuild index ee2f6052d550..b47961982e86 100644 --- a/python/python-xrandr/python-xrandr.SlackBuild +++ b/python/python-xrandr/python-xrandr.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/pyudev/pyudev.SlackBuild b/python/pyudev/pyudev.SlackBuild index e4c09833a1fd..5a8023e3be65 100644 --- a/python/pyudev/pyudev.SlackBuild +++ b/python/pyudev/pyudev.SlackBuild @@ -68,7 +68,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python setup.py install --root=$PKG +python setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION install -m 0644 *.txt *.rst COPYING $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/pyusb/pyusb.SlackBuild b/python/pyusb/pyusb.SlackBuild index c7b73e018bbd..3486a3d86e64 100644 --- a/python/pyusb/pyusb.SlackBuild +++ b/python/pyusb/pyusb.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.4.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/python/turses/turses.SlackBuild b/python/turses/turses.SlackBuild index efe23b2f39af..6e75bee43d09 100644 --- a/python/turses/turses.SlackBuild +++ b/python/turses/turses.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="AUTHORS HISTORY.rst LICENSE README.rst" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/tweepy/tweepy.SlackBuild b/python/tweepy/tweepy.SlackBuild index fb8e1a81b964..8c01329c3b06 100644 --- a/python/tweepy/tweepy.SlackBuild +++ b/python/tweepy/tweepy.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="CONTRIBUTORS LICENSE README.md" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/python/winpdb/winpdb.SlackBuild b/python/winpdb/winpdb.SlackBuild index 68e0327050e4..4078cbe894da 100644 --- a/python/winpdb/winpdb.SlackBuild +++ b/python/winpdb/winpdb.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/ruby/ruby-gtk2/ruby-gtk2.SlackBuild b/ruby/ruby-gtk2/ruby-gtk2.SlackBuild index e4f3fcf15917..366d2464a4ab 100644 --- a/ruby/ruby-gtk2/ruby-gtk2.SlackBuild +++ b/ruby/ruby-gtk2/ruby-gtk2.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.19.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 diff --git a/ruby/rubygems-update/rubygems-update.SlackBuild b/ruby/rubygems-update/rubygems-update.SlackBuild index 3805ab8953bc..b78be4a2f3ed 100644 --- a/ruby/rubygems-update/rubygems-update.SlackBuild +++ b/ruby/rubygems-update/rubygems-update.SlackBuild @@ -57,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/BasiliskII/BasiliskII.SlackBuild b/system/BasiliskII/BasiliskII.SlackBuild index cb2b03d0b3ad..44894d474167 100644 --- a/system/BasiliskII/BasiliskII.SlackBuild +++ b/system/BasiliskII/BasiliskII.SlackBuild @@ -37,7 +37,7 @@ fi DOCS="COPYING ChangeLog README TECH TODO" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -61,7 +61,7 @@ fi sed -i "s|net/if_tun\.h|linux/if_tun.h|" src/Unix/{ether_unix.cpp,configure.ac} cd src/Unix -NO_CONFIGURE=1 ./autogen.sh +NO_CONFIGURE=1 ./autogen.sh CPPFLAGS="-I/usr/include/readline" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild b/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild index bd171a6ce7f3..49137bd196aa 100644 --- a/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild +++ b/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild @@ -26,12 +26,10 @@ VERSION=${VERSION:-3.0.08} 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 @@ -57,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/ack/ack.SlackBuild b/system/ack/ack.SlackBuild index 7f6c62d562c0..b1f96b22540a 100644 --- a/system/ack/ack.SlackBuild +++ b/system/ack/ack.SlackBuild @@ -39,7 +39,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $PKG $OUTPUT diff --git a/system/acpi/acpi.SlackBuild b/system/acpi/acpi.SlackBuild index f70d74be733b..7baaca31a529 100644 --- a/system/acpi/acpi.SlackBuild +++ b/system/acpi/acpi.SlackBuild @@ -24,12 +24,10 @@ VERSION=${VERSION:-1.6} 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/system/acpitool/acpitool.SlackBuild b/system/acpitool/acpitool.SlackBuild index 3149e838b251..f8cd8ad4a86f 100644 --- a/system/acpitool/acpitool.SlackBuild +++ b/system/acpitool/acpitool.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.5.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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/aespipe/aespipe.SlackBuild b/system/aespipe/aespipe.SlackBuild index ed047862b477..48cbe5b867a7 100644 --- a/system/aespipe/aespipe.SlackBuild +++ b/system/aespipe/aespipe.SlackBuild @@ -25,18 +25,16 @@ # # markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 # 2010 May 25 - initial release - + PRGNAM=aespipe VERSION=${VERSION:-v2.4c} 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 @@ -62,7 +60,7 @@ else SLKCFLAGS="-O2" LIBDIRSUFFIX="" OPT="" -fi +fi set -e diff --git a/system/afuse/afuse.SlackBuild b/system/afuse/afuse.SlackBuild index d8ec1370ca89..8eba573eaa80 100644 --- a/system/afuse/afuse.SlackBuild +++ b/system/afuse/afuse.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.4} 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/system/aide/aide.SlackBuild b/system/aide/aide.SlackBuild index 327c6d71ff75..66a033ceb893 100644 --- a/system/aide/aide.SlackBuild +++ b/system/aide/aide.SlackBuild @@ -13,7 +13,6 @@ 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/system/amanda/amanda.SlackBuild b/system/amanda/amanda.SlackBuild index 6b511cf502b0..083bdb4dd3da 100644 --- a/system/amanda/amanda.SlackBuild +++ b/system/amanda/amanda.SlackBuild @@ -2,9 +2,9 @@ # Slackware build script for amanda -# Copyright (c) 2009 Chris Walker <kris240376@gmail.com> +# Copyright (c) 2009 Chris Walker <kris240376@gmail.com> # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: diff --git a/system/anacron/anacron.SlackBuild b/system/anacron/anacron.SlackBuild index 7409cd765b12..9388bc73386a 100644 --- a/system/anacron/anacron.SlackBuild +++ b/system/anacron/anacron.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Slackware build script for anacron -# (C) 2007 Michael Wagner <lapinours@web.de> +# (C) 2007 Michael Wagner <lapinours@web.de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,12 +27,10 @@ VERSION=2.3 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/system/andromeda/andromeda.SlackBuild b/system/andromeda/andromeda.SlackBuild index 7947b6be43df..4de82ce0738e 100644 --- a/system/andromeda/andromeda.SlackBuild +++ b/system/andromeda/andromeda.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="README.txt TODO.txt" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/apache-cassandra/apache-cassandra.SlackBuild b/system/apache-cassandra/apache-cassandra.SlackBuild index 7bd62079c59d..a84b41834ead 100644 --- a/system/apache-cassandra/apache-cassandra.SlackBuild +++ b/system/apache-cassandra/apache-cassandra.SlackBuild @@ -55,7 +55,7 @@ mkdir -p $PKG/opt/$PRGNAM mkdir -p $PKG/etc/$PRGNAM mkdir -p $PKG/var/log/cassandra mkdir -p $PKG/var/lib/cassandra -rm -f bin/*.bat +rm -f bin/*.bat ##### cp -rf conf/* interface $PKG/etc/$PRGNAM diff --git a/system/apcupsd/apcupsd.SlackBuild b/system/apcupsd/apcupsd.SlackBuild index 7d9975cbb435..01fddbfabc8d 100644 --- a/system/apcupsd/apcupsd.SlackBuild +++ b/system/apcupsd/apcupsd.SlackBuild @@ -59,7 +59,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION diff --git a/system/aterm/aterm.SlackBuild b/system/aterm/aterm.SlackBuild index 41a721a8265d..feb8ab8d9c65 100644 --- a/system/aterm/aterm.SlackBuild +++ b/system/aterm/aterm.SlackBuild @@ -29,12 +29,10 @@ VERSION=1.0.0 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 @@ -90,7 +88,7 @@ fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog INSTALL doc/* $PKG/usr/doc/$PRGNAM-$VERSION for i in Makefile Makefile.in aterm.1 ; - do rm $PKG/usr/doc/$PRGNAM-$VERSION/$i ; + do rm $PKG/usr/doc/$PRGNAM-$VERSION/$i ; done cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/system/atool/atool.SlackBuild b/system/atool/atool.SlackBuild index 9bde18acefdd..1049b0d34a15 100644 --- a/system/atool/atool.SlackBuild +++ b/system/atool/atool.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.37.0} 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/bochs/bochs.SlackBuild b/system/bochs/bochs.SlackBuild index 5efab62524a8..149a257acf69 100644 --- a/system/bochs/bochs.SlackBuild +++ b/system/bochs/bochs.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for Bochs +# Slackware build script for Bochs # Copyright 2012, Bojan Popovic, Belgrade, Serbia <bocke@slackware-srbija.org> # All rights reserved. # @@ -23,10 +23,10 @@ # Modified by the slackbuilds.org project -PRGNAM=bochs -VERSION=${VERSION:-2.6} +PRGNAM=bochs +VERSION=${VERSION:-2.6} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/system/bogofilter/bogofilter.SlackBuild b/system/bogofilter/bogofilter.SlackBuild index 7a2618c61c50..17b4a13d912a 100644 --- a/system/bogofilter/bogofilter.SlackBuild +++ b/system/bogofilter/bogofilter.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.2.4} 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/system/bonnie++/bonnie++.SlackBuild b/system/bonnie++/bonnie++.SlackBuild index cd1fcbfc31f1..bb6f67ddfeca 100644 --- a/system/bonnie++/bonnie++.SlackBuild +++ b/system/bonnie++/bonnie++.SlackBuild @@ -9,12 +9,10 @@ VERSION=1.03e 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/system/bootchart/bootchart.SlackBuild b/system/bootchart/bootchart.SlackBuild index 5a83e5b62c0d..aef03ededd80 100644 --- a/system/bootchart/bootchart.SlackBuild +++ b/system/bootchart/bootchart.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for bootchart +# Slackware build script for bootchart # Written by Marco Cecchetti (mrc.ildp@gmail.com) @@ -8,8 +8,8 @@ # Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com -PRGNAM=bootchart -VERSION=${VERSION:-0.9} +PRGNAM=bootchart +VERSION=${VERSION:-0.9} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} @@ -22,7 +22,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -32,7 +32,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/brasero/brasero.SlackBuild b/system/brasero/brasero.SlackBuild index 10cbdfd3dd3e..1338ada9e97e 100644 --- a/system/brasero/brasero.SlackBuild +++ b/system/brasero/brasero.SlackBuild @@ -42,7 +42,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -73,7 +73,7 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-scrollkeeper \ --disable-schemas-install \ --enable-nautilus=no \ - --enable-libburnia=$LIBBURNIA + --enable-libburnia=$LIBBURNIA make make install DESTDIR=$PKG diff --git a/system/cbmfs/cbmfs.SlackBuild b/system/cbmfs/cbmfs.SlackBuild index da09f8318ba9..241597396bdf 100644 --- a/system/cbmfs/cbmfs.SlackBuild +++ b/system/cbmfs/cbmfs.SlackBuild @@ -28,12 +28,10 @@ VERSION=1.0 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/system/ccd2iso/ccd2iso.SlackBuild b/system/ccd2iso/ccd2iso.SlackBuild index f80e7a8deace..49e3e5a27462 100644 --- a/system/ccd2iso/ccd2iso.SlackBuild +++ b/system/ccd2iso/ccd2iso.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.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 diff --git a/system/ccrypt/ccrypt.SlackBuild b/system/ccrypt/ccrypt.SlackBuild index 8c0e27c8fe8f..72309835e96a 100644 --- a/system/ccrypt/ccrypt.SlackBuild +++ b/system/ccrypt/ccrypt.SlackBuild @@ -57,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/chkrootkit/chkrootkit.SlackBuild b/system/chkrootkit/chkrootkit.SlackBuild index d58e6fd7f257..77a41f1904a6 100644 --- a/system/chkrootkit/chkrootkit.SlackBuild +++ b/system/chkrootkit/chkrootkit.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.49} 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 @@ -42,7 +40,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild index 48f52d0363a8..dabaa8ac4247 100644 --- a/system/clamav/clamav.SlackBuild +++ b/system/clamav/clamav.SlackBuild @@ -149,7 +149,7 @@ install -D -m 0755 $CWD/rc.clamav $PKG/etc/rc.d/rc.clamav.new install -D -m 0644 $CWD/logrotate.clamav $PKG/etc/logrotate.d/clamav.new # Create pid, socket, db, and log directories -# init script must still ensure that /var/run/clamav exists +# init script must still ensure that /var/run/clamav exists # and has proper ownership and permissions though mkdir -p $PKG/var/lib/clamav $PKG/var/log/clamav $PKG/var/run/clamav chmod 771 $PKG/var/lib/clamav $PKG/var/log/clamav $PKG/var/run/clamav diff --git a/system/clamsmtp/clamsmtp.SlackBuild b/system/clamsmtp/clamsmtp.SlackBuild index 63f5c1efeb82..977c3fe67152 100644 --- a/system/clamsmtp/clamsmtp.SlackBuild +++ b/system/clamsmtp/clamsmtp.SlackBuild @@ -29,12 +29,10 @@ VERSION=1.10 BUILD=${BUILD:-4} 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/system/clusterglue/clusterglue.SlackBuild b/system/clusterglue/clusterglue.SlackBuild index aff936f76f44..6f8d960c30e1 100644 --- a/system/clusterglue/clusterglue.SlackBuild +++ b/system/clusterglue/clusterglue.SlackBuild @@ -8,7 +8,7 @@ # Based on http://slackbuilds.org/template.SlackBuild # Modified by the SlackBuilds.org project - + PRGNAM=clusterglue VERSION=${VERSION:-5e06b2ddd24b} BUILD=${BUILD:-2} @@ -69,7 +69,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch @@ -92,7 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-bundled-ltdl \ --enable-libnet -make +make make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/system/clusterresourceagents/clusterresourceagents.SlackBuild b/system/clusterresourceagents/clusterresourceagents.SlackBuild index 71d7a55812e2..71cc6974c978 100644 --- a/system/clusterresourceagents/clusterresourceagents.SlackBuild +++ b/system/clusterresourceagents/clusterresourceagents.SlackBuild @@ -14,12 +14,10 @@ VERSION=${VERSION:-20120918_a796f39} 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 @@ -43,7 +41,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/coolkey/coolkey.SlackBuild b/system/coolkey/coolkey.SlackBuild index 0ddbe2d2dbdc..ad3ebc515401 100644 --- a/system/coolkey/coolkey.SlackBuild +++ b/system/coolkey/coolkey.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.1.0} 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/corosync/corosync.SlackBuild b/system/corosync/corosync.SlackBuild index e0d70c83299c..3b9b21e9112f 100644 --- a/system/corosync/corosync.SlackBuild +++ b/system/corosync/corosync.SlackBuild @@ -9,17 +9,15 @@ # Based on http://slackbuilds.org/template.SlackBuild # Modified by the SlackBuilds.org project -PRGNAM=corosync +PRGNAM=corosync VERSION=${VERSION:-1.2.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 @@ -43,7 +41,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/crashplan/crashplan.SlackBuild b/system/crashplan/crashplan.SlackBuild index 914e0797396e..749198de7325 100644 --- a/system/crashplan/crashplan.SlackBuild +++ b/system/crashplan/crashplan.SlackBuild @@ -5,12 +5,12 @@ # Written by Lionel Young <redtricycle@gmail.com> # Based on http://slackbuilds.org/template.SlackBuild -PRGNAM=crashplan +PRGNAM=crashplan VERSION=${VERSION:-3.5.3} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -SRCNAM=CrashPlan +SRCNAM=CrashPlan TARGETDIR=/opt/crashplan MANIFESTDIR=/var/crashplan # Directory to store backups to diff --git a/system/crikey/crikey.SlackBuild b/system/crikey/crikey.SlackBuild index a0c47208128c..be23326c23d4 100644 --- a/system/crikey/crikey.SlackBuild +++ b/system/crikey/crikey.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.8.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 diff --git a/system/cups-bjnp/cups-bjnp.SlackBuild b/system/cups-bjnp/cups-bjnp.SlackBuild index d31e3cad093e..2d10a0672441 100644 --- a/system/cups-bjnp/cups-bjnp.SlackBuild +++ b/system/cups-bjnp/cups-bjnp.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.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/system/cutecom/cutecom.SlackBuild b/system/cutecom/cutecom.SlackBuild index a2d304e26a4f..bb6f417cdbb4 100644 --- a/system/cutecom/cutecom.SlackBuild +++ b/system/cutecom/cutecom.SlackBuild @@ -61,7 +61,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/system/daa2iso/daa2iso.SlackBuild b/system/daa2iso/daa2iso.SlackBuild index bbf3359c2b6f..049300d33632 100644 --- a/system/daa2iso/daa2iso.SlackBuild +++ b/system/daa2iso/daa2iso.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.1.7e} 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/system/detox/detox.SlackBuild b/system/detox/detox.SlackBuild index 6386c2cd8fb2..63d7831e7178 100644 --- a/system/detox/detox.SlackBuild +++ b/system/detox/detox.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for detox. - + # Copyright 2011 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # diff --git a/system/dosbox/dosbox.SlackBuild b/system/dosbox/dosbox.SlackBuild index 976a0218a5ed..1b5ae9bb5ca4 100644 --- a/system/dosbox/dosbox.SlackBuild +++ b/system/dosbox/dosbox.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-0.74} 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 @@ -64,7 +62,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/system/dosemu/dosemu.SlackBuild b/system/dosemu/dosemu.SlackBuild index e93b921c0b9c..de2d660d742d 100644 --- a/system/dosemu/dosemu.SlackBuild +++ b/system/dosemu/dosemu.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-20130804_35054ba} 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 @@ -42,7 +40,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# This script builds dosemu without X support by default. +# This script builds dosemu without X support by default. # To enable X, run the build script as: WITH_X=yes ./dosemu.SlackBuild WITH_X=${WITH_X:-no} diff --git a/system/drbd-tools/drbd-tools.SlackBuild b/system/drbd-tools/drbd-tools.SlackBuild index fe8b0aaeec8d..d05559bb8526 100644 --- a/system/drbd-tools/drbd-tools.SlackBuild +++ b/system/drbd-tools/drbd-tools.SlackBuild @@ -13,12 +13,10 @@ TAG=${TAG:-_SBo} SRCNAM=drbd -# 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 @@ -42,7 +40,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/driconf/driconf.SlackBuild b/system/driconf/driconf.SlackBuild index 91daaf3393be..2aed8545dbc3 100644 --- a/system/driconf/driconf.SlackBuild +++ b/system/driconf/driconf.SlackBuild @@ -53,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/ecofont-ttf/ecofont-ttf.SlackBuild b/system/ecofont-ttf/ecofont-ttf.SlackBuild index bef0e17942ac..862497cbefc5 100644 --- a/system/ecofont-ttf/ecofont-ttf.SlackBuild +++ b/system/ecofont-ttf/ecofont-ttf.SlackBuild @@ -35,7 +35,7 @@ OUTPUT=${OUTPUT:-/tmp} SRC_PRGNAM=spranq_eco_sans_regular -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/eibd/eibd.SlackBuild b/system/eibd/eibd.SlackBuild index 69546270712b..369cad8aa4f7 100644 --- a/system/eibd/eibd.SlackBuild +++ b/system/eibd/eibd.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-0.0.4} 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/system/extundelete/extundelete.SlackBuild b/system/extundelete/extundelete.SlackBuild index 0c787896d214..2f6874564b3e 100644 --- a/system/extundelete/extundelete.SlackBuild +++ b/system/extundelete/extundelete.SlackBuild @@ -25,7 +25,7 @@ # # markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 # 2010 Oct 22 - initial release - + PRGNAM=extundelete VERSION=${VERSION:-0.2.0} BUILD=${BUILD:-2} @@ -56,7 +56,7 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e diff --git a/system/fakeroot/fakeroot.SlackBuild b/system/fakeroot/fakeroot.SlackBuild index 53750ca2e4c3..b5a81bcdd6bf 100644 --- a/system/fakeroot/fakeroot.SlackBuild +++ b/system/fakeroot/fakeroot.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.12.4 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 @@ -82,7 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -make +make make DESTDIR=$PKG install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ @@ -96,7 +94,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS BUGS COPYING DEBUG INSTALL README doc/README.* debian/changelog \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/fio/fio.SlackBuild b/system/fio/fio.SlackBuild index 026f8695eca4..7c409c893f39 100644 --- a/system/fio/fio.SlackBuild +++ b/system/fio/fio.SlackBuild @@ -69,7 +69,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -make install DESTDIR=$PKG prefix="/usr" +make install DESTDIR=$PKG prefix="/usr" find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/fish/fish.SlackBuild b/system/fish/fish.SlackBuild index 6fffe813f931..a3405e00c1b2 100644 --- a/system/fish/fish.SlackBuild +++ b/system/fish/fish.SlackBuild @@ -30,12 +30,10 @@ VERSION=1.23.1 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 @@ -81,7 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG # Let's not clobber the config diff --git a/system/flSynclient/flSynclient.SlackBuild b/system/flSynclient/flSynclient.SlackBuild index f3bfd6bbd183..134b8ff27f70 100644 --- a/system/flSynclient/flSynclient.SlackBuild +++ b/system/flSynclient/flSynclient.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.7} 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/system/freefont/freefont.SlackBuild b/system/freefont/freefont.SlackBuild index b2aa1e1bbf64..f48c4072bd8f 100644 --- a/system/freefont/freefont.SlackBuild +++ b/system/freefont/freefont.SlackBuild @@ -38,7 +38,7 @@ OUTPUT=${OUTPUT:-/tmp} DOCS="AUTHORS COPYING CREDITS ChangeLog INSTALL README" -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/fsarchiver/fsarchiver.SlackBuild b/system/fsarchiver/fsarchiver.SlackBuild index 1728844a665a..e0b8555ba012 100644 --- a/system/fsarchiver/fsarchiver.SlackBuild +++ b/system/fsarchiver/fsarchiver.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for fsarchiver # Home Page: http://www.fsarchiver.org/Main_Page -# Copyright (c) 2009-2013, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2009-2013, Nishant Limbachia, Hoffman Estates, IL, USA # (nishant _AT_ mnspace _DOT_ net) # All rights reserved. # @@ -57,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/fuseiso/fuseiso.SlackBuild b/system/fuseiso/fuseiso.SlackBuild index 8b29a62af267..3107eca1964e 100644 --- a/system/fuseiso/fuseiso.SlackBuild +++ b/system/fuseiso/fuseiso.SlackBuild @@ -27,12 +27,10 @@ VERSION=20070708 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/system/fxload/fxload.SlackBuild b/system/fxload/fxload.SlackBuild index 8da72dea6dae..17bdac967163 100644 --- a/system/fxload/fxload.SlackBuild +++ b/system/fxload/fxload.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2008_10_13} 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -72,7 +70,7 @@ find . \ -exec chmod 644 {} \; RPM_OPT_FLAGS="$SLKCFLAGS" make -make install prefix=$PKG +make install prefix=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/gconf-editor/gconf-editor.SlackBuild b/system/gconf-editor/gconf-editor.SlackBuild index f41690bbe4f1..e1c4f602f337 100644 --- a/system/gconf-editor/gconf-editor.SlackBuild +++ b/system/gconf-editor/gconf-editor.SlackBuild @@ -27,12 +27,10 @@ VERSION=2.24.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/system/gdm/gdm.SlackBuild b/system/gdm/gdm.SlackBuild index 7699068bd708..639ae0daad8c 100644 --- a/system/gdm/gdm.SlackBuild +++ b/system/gdm/gdm.SlackBuild @@ -60,7 +60,7 @@ find . \ # Don't automatically start ssh-agent -- this is the user's job patch -p1 < $CWD/patches/do_not_start_ssh-agent.diff -# Fix crypt() usage with glibc-2.17 and later +# Fix crypt() usage with glibc-2.17 and later patch -p1 < $CWD/patches/gdm-2.20.11-crypt.diff CFLAGS="$SLKCFLAGS" \ diff --git a/system/geoclue/geoclue.SlackBuild b/system/geoclue/geoclue.SlackBuild index 91fcf5a188e9..91c740425c7a 100644 --- a/system/geoclue/geoclue.SlackBuild +++ b/system/geoclue/geoclue.SlackBuild @@ -37,7 +37,7 @@ fi DOCS="AUTHORS ChangeLog COPYING NEWS README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/gkrellm-volume/gkrellm-volume.SlackBuild b/system/gkrellm-volume/gkrellm-volume.SlackBuild index 9bd61c5eaac6..eb6c748c38f2 100644 --- a/system/gkrellm-volume/gkrellm-volume.SlackBuild +++ b/system/gkrellm-volume/gkrellm-volume.SlackBuild @@ -22,17 +22,15 @@ VERSION=2.1.13 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 -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/system/gksu-polkit/gksu-polkit.SlackBuild b/system/gksu-polkit/gksu-polkit.SlackBuild index 53892904058e..9075e8b06e4e 100644 --- a/system/gksu-polkit/gksu-polkit.SlackBuild +++ b/system/gksu-polkit/gksu-polkit.SlackBuild @@ -37,7 +37,7 @@ fi DOCS="AUTHORS COPYING ChangeLog README THANKS TODO" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/glyptodon/glyptodon.SlackBuild b/system/glyptodon/glyptodon.SlackBuild index e3fa18d11713..ffd21163d7be 100644 --- a/system/glyptodon/glyptodon.SlackBuild +++ b/system/glyptodon/glyptodon.SlackBuild @@ -19,7 +19,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/gnomint/gnomint.SlackBuild b/system/gnomint/gnomint.SlackBuild index 5d1679156c51..50c143636976 100644 --- a/system/gnomint/gnomint.SlackBuild +++ b/system/gnomint/gnomint.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="AUTHORS BUGS COPYING ChangeLog INSTALL MAINTAINERS NEWS README TODO" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/gpsbabel/gpsbabel.SlackBuild b/system/gpsbabel/gpsbabel.SlackBuild index d31eca002c54..5f84b7dadc26 100644 --- a/system/gpsbabel/gpsbabel.SlackBuild +++ b/system/gpsbabel/gpsbabel.SlackBuild @@ -8,12 +8,10 @@ VERSION=1.3.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 diff --git a/system/graveman/graveman.SlackBuild b/system/graveman/graveman.SlackBuild index 910092e5fcc1..b802ebfdd4ac 100644 --- a/system/graveman/graveman.SlackBuild +++ b/system/graveman/graveman.SlackBuild @@ -34,12 +34,10 @@ SRCVER=0.3.12-5 # this is the developer's source version DOCS="AUTHORS COPYING ChangeLog NEWS README* THANKS TRANSLATE-HOWTO.fr" -# 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/system/gsmartcontrol/gsmartcontrol.SlackBuild b/system/gsmartcontrol/gsmartcontrol.SlackBuild index eb26c43f5af1..7ad16ae29265 100644 --- a/system/gsmartcontrol/gsmartcontrol.SlackBuild +++ b/system/gsmartcontrol/gsmartcontrol.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.8.6 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/system/gtk-vnc/gtk-vnc.SlackBuild b/system/gtk-vnc/gtk-vnc.SlackBuild index 45b70425abfa..1df599c6dfba 100644 --- a/system/gtk-vnc/gtk-vnc.SlackBuild +++ b/system/gtk-vnc/gtk-vnc.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.5.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 diff --git a/system/gtklp/gtklp.SlackBuild b/system/gtklp/gtklp.SlackBuild index 91c901858359..d3abffd0aa2f 100644 --- a/system/gtklp/gtklp.SlackBuild +++ b/system/gtklp/gtklp.SlackBuild @@ -30,7 +30,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/gxemul/gxemul.SlackBuild b/system/gxemul/gxemul.SlackBuild index 56c94a9f4613..28c29541dd3b 100644 --- a/system/gxemul/gxemul.SlackBuild +++ b/system/gxemul/gxemul.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.6.0} 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/system/hdapsd/hdapsd.SlackBuild b/system/hdapsd/hdapsd.SlackBuild index 34e5e6602e47..2015df183e60 100644 --- a/system/hdapsd/hdapsd.SlackBuild +++ b/system/hdapsd/hdapsd.SlackBuild @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/hddtemp/hddtemp.SlackBuild b/system/hddtemp/hddtemp.SlackBuild index e53cfdb78854..06ba51de7132 100644 --- a/system/hddtemp/hddtemp.SlackBuild +++ b/system/hddtemp/hddtemp.SlackBuild @@ -12,12 +12,10 @@ VERSION=$(echo $SRCVERSION | tr -d "-") 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 @@ -41,7 +39,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/hebe/hebe.SlackBuild b/system/hebe/hebe.SlackBuild index d2f3704532fa..9b68bd4bfdec 100644 --- a/system/hebe/hebe.SlackBuild +++ b/system/hebe/hebe.SlackBuild @@ -62,7 +62,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DHTML_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION/html \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/system/heirloom-doctools/heirloom-doctools.SlackBuild b/system/heirloom-doctools/heirloom-doctools.SlackBuild index fa887877e7bf..b394bc475882 100644 --- a/system/heirloom-doctools/heirloom-doctools.SlackBuild +++ b/system/heirloom-doctools/heirloom-doctools.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=heirloom-doctools -VERSION=${VERSION:-080407} +VERSION=${VERSION:-080407} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/heirloom-pax/heirloom-pax.SlackBuild b/system/heirloom-pax/heirloom-pax.SlackBuild index c04ecac43a5b..7f8dd3fc5575 100644 --- a/system/heirloom-pax/heirloom-pax.SlackBuild +++ b/system/heirloom-pax/heirloom-pax.SlackBuild @@ -52,8 +52,8 @@ find . \ -exec chmod 644 {} \; # Patch the paths in the man page to use /usr/lib/heirloom/bin, rather -# than /usr/5bin (where the upstream maintainer suggests). This is -# done to avoid littering the top level of /usr. +# than /usr/5bin (where the upstream maintainer suggests). This is +# done to avoid littering the top level of /usr. sed -i.original \ -e "s|/usr/5bin|/usr/lib$LIBDIRSUFFIX/heirloom/bin|" \ -e "s|/usr/posix2001/bin|/usr/lib$LIBDIRSUFFIX/heirloom/bin/posix2001|" cpio/pax.1 @@ -71,10 +71,10 @@ make -C libcommon make -C libuxre make -C cpio pax pax_su3 -# The install will be manual as it is easier than patching the +# The install will be manual as it is easier than patching the # "make install" target. ;) # -# Note: pax cannot go directly into /usr/bin because Heirloom Toolchest +# Note: pax cannot go directly into /usr/bin because Heirloom Toolchest # provides two pax versions and the user may have another pax # already installed. install -Dm755 cpio/pax $PKG/usr/lib$LIBDIRSUFFIX/heirloom/bin/pax diff --git a/system/hercules/hercules.SlackBuild b/system/hercules/hercules.SlackBuild index d0c17bea2468..d164c838039c 100644 --- a/system/hercules/hercules.SlackBuild +++ b/system/hercules/hercules.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-3.07} 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/system/hntool/hntool.SlackBuild b/system/hntool/hntool.SlackBuild index 22972b0170cc..257fc4341763 100644 --- a/system/hntool/hntool.SlackBuild +++ b/system/hntool/hntool.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/imwheel/imwheel.SlackBuild b/system/imwheel/imwheel.SlackBuild index ba502bb42dad..f52f94d4ef3b 100644 --- a/system/imwheel/imwheel.SlackBuild +++ b/system/imwheel/imwheel.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.0.0pre12} BUILD=${BUILD:-3} 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 @@ -88,7 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG ETCDIR=$PKG/etc/X11/imwheel find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/system/ipmitool/ipmitool.SlackBuild b/system/ipmitool/ipmitool.SlackBuild index c947f1495fb4..f6820cff7a81 100644 --- a/system/ipmitool/ipmitool.SlackBuild +++ b/system/ipmitool/ipmitool.SlackBuild @@ -15,12 +15,10 @@ VERSION=${VERSION:-1.8.13} 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/system/jenkins/jenkins.SlackBuild b/system/jenkins/jenkins.SlackBuild index d3a9e1fabb68..f074d53df77d 100644 --- a/system/jenkins/jenkins.SlackBuild +++ b/system/jenkins/jenkins.SlackBuild @@ -48,7 +48,7 @@ elif ! getent passwd jenkins 2>/dev/null 1>/dev/null ; then fi set -e - + rm -rf $PKG mkdir -p $PKG $OUTPUT cd $PKG diff --git a/system/john/john.SlackBuild b/system/john/john.SlackBuild index acbdc7df8485..84e621f6fb0a 100644 --- a/system/john/john.SlackBuild +++ b/system/john/john.SlackBuild @@ -51,7 +51,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -# Soft-link in tarball causes x bit to be set below; nuke it +# Soft-link in tarball causes x bit to be set below; nuke it rm -f $PRGNAM-$VERSION/README cd $PRGNAM-$VERSION diff --git a/system/ksplice/ksplice.SlackBuild b/system/ksplice/ksplice.SlackBuild index bf251c3a44f3..d23ffc9d957f 100644 --- a/system/ksplice/ksplice.SlackBuild +++ b/system/ksplice/ksplice.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.9.9} 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/system/ktsuss/ktsuss.SlackBuild b/system/ktsuss/ktsuss.SlackBuild index 47b516fc0c00..aecb10b46a00 100644 --- a/system/ktsuss/ktsuss.SlackBuild +++ b/system/ktsuss/ktsuss.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=ktsuss +PRGNAM=ktsuss VERSION=${VERSION:-2} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/system/kyotocabinet/kyotocabinet.SlackBuild b/system/kyotocabinet/kyotocabinet.SlackBuild index 91d7834bd9e9..1ef524c76c0f 100644 --- a/system/kyotocabinet/kyotocabinet.SlackBuild +++ b/system/kyotocabinet/kyotocabinet.SlackBuild @@ -54,7 +54,7 @@ fi DOCS="COPYING ChangeLog *EXCEPTION README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/lbzip2/lbzip2.SlackBuild b/system/lbzip2/lbzip2.SlackBuild index cb518cf3d064..93e89fe88135 100644 --- a/system/lbzip2/lbzip2.SlackBuild +++ b/system/lbzip2/lbzip2.SlackBuild @@ -27,12 +27,10 @@ VERSION=0.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/system/lilyterm/lilyterm.SlackBuild b/system/lilyterm/lilyterm.SlackBuild index d7ee9f3c8cae..eb114227a0d6 100644 --- a/system/lilyterm/lilyterm.SlackBuild +++ b/system/lilyterm/lilyterm.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.9.9.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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/lirc/lirc.SlackBuild b/system/lirc/lirc.SlackBuild index 07350db30384..fe649f6cb4e7 100644 --- a/system/lirc/lirc.SlackBuild +++ b/system/lirc/lirc.SlackBuild @@ -30,12 +30,10 @@ TAG=${TAG:-_SBo} KERNEL=${KERNEL:-$(uname -r)} PKG_VERS=${VERSION}_$(echo $KERNEL| tr - _) -# 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 @@ make make install DESTDIR=$PKG mkdir -p $PKG/usr/share/$PRGNAM -cp -a remotes $PKG/usr/share/$PRGNAM +cp -a remotes $PKG/usr/share/$PRGNAM mkdir -p $PKG/lib/udev/rules.d cat contrib/lirc.rules > $PKG/lib/udev/rules.d/96-lirc.rules diff --git a/system/logpp/logpp.SlackBuild b/system/logpp/logpp.SlackBuild index 2a1bbf9fbcc5..b46f34dfcee0 100644 --- a/system/logpp/logpp.SlackBuild +++ b/system/logpp/logpp.SlackBuild @@ -17,9 +17,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" @@ -35,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/lshw/lshw.SlackBuild b/system/lshw/lshw.SlackBuild index eedba1c3435a..40ae307b0cdb 100644 --- a/system/lshw/lshw.SlackBuild +++ b/system/lshw/lshw.SlackBuild @@ -52,7 +52,7 @@ sed -i "s%MANDIR=\$(PREFIX)/share/man%MANDIR=\$(PREFIX)/man%" src/Makefile RPM_OPT_FLAGS="$SLKCFLAGS" MANDIR="/usr/man" make RPM_OPT_FLAGS="$SLKCFLAGS" MANDIR="/usr/man" make gui make install DESTDIR=$PKG -make install-gui DESTDIR=$PKG +make install-gui DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/luckybackup/luckybackup.SlackBuild b/system/luckybackup/luckybackup.SlackBuild index 7ef749b697c0..22138cb47a9c 100644 --- a/system/luckybackup/luckybackup.SlackBuild +++ b/system/luckybackup/luckybackup.SlackBuild @@ -26,12 +26,10 @@ VERSION=${VERSION:-0.4.7} 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/system/lxdm/lxdm.SlackBuild b/system/lxdm/lxdm.SlackBuild index 3e25e024c33a..5cf8121dbcba 100644 --- a/system/lxdm/lxdm.SlackBuild +++ b/system/lxdm/lxdm.SlackBuild @@ -76,7 +76,7 @@ sed -i "s/@FULL_LIBEXECDIR@/\/usr\/libexec/" data/lxdm.conf.in # Patch the Xsession file to source /etc/profile and xprofile on session start patch -p1 < $CWD/patches/source_profile_in_Xsession.diff -# Remove the SuSe section from Xsession file, since it causes Slackware +# Remove the SuSe section from Xsession file, since it causes Slackware # to always launch whatever WM/DE that /etc/X11/xinit/xinitrc symlink is # pointing to, regardless of what the user wants... patch -p1 < $CWD/patches/remove_suse_from_Xsession.diff @@ -93,7 +93,7 @@ patch -p1 < $CWD/patches/lxdm-0.3.0-without_pam.diff # both KDM and GDM set DESKTOP_SESSION regardless of whether PAM is used, # this seems the path of least resistance. This patch *should* be easy # to maintain ; let's hope I don't eat those words. --rworkman -patch -p1 < $CWD/patches/lxdm-set_DESKTOP_SESSION_in_env.diff +patch -p1 < $CWD/patches/lxdm-set_DESKTOP_SESSION_in_env.diff sh autogen.sh || true diff --git a/system/lxsplit/lxsplit.SlackBuild b/system/lxsplit/lxsplit.SlackBuild index 48132a5b8605..170ecc3f3e19 100644 --- a/system/lxsplit/lxsplit.SlackBuild +++ b/system/lxsplit/lxsplit.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-0.2.4} 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 @@ -35,7 +33,7 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e diff --git a/system/mcrypt/mcrypt.SlackBuild b/system/mcrypt/mcrypt.SlackBuild index 399bbcafd8b0..9fd45cd63e04 100644 --- a/system/mcrypt/mcrypt.SlackBuild +++ b/system/mcrypt/mcrypt.SlackBuild @@ -29,12 +29,10 @@ VERSION=2.6.8 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/system/memuse/memuse.SlackBuild b/system/memuse/memuse.SlackBuild index 14d741a0c114..a8ee93df5699 100644 --- a/system/memuse/memuse.SlackBuild +++ b/system/memuse/memuse.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/microcode_ctl/microcode_ctl.SlackBuild b/system/microcode_ctl/microcode_ctl.SlackBuild index 6dc321753031..54ba03cbd369 100644 --- a/system/microcode_ctl/microcode_ctl.SlackBuild +++ b/system/microcode_ctl/microcode_ctl.SlackBuild @@ -8,12 +8,10 @@ VERSION=1.17 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 @@ -23,7 +21,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/midisport-firmware/midisport-firmware.SlackBuild b/system/midisport-firmware/midisport-firmware.SlackBuild index bfbd7044e415..2f9b8e92f1f4 100644 --- a/system/midisport-firmware/midisport-firmware.SlackBuild +++ b/system/midisport-firmware/midisport-firmware.SlackBuild @@ -16,7 +16,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/mtftar/mtftar.SlackBuild b/system/mtftar/mtftar.SlackBuild index 312a21e3d7aa..a39b26fa40d2 100644 --- a/system/mtftar/mtftar.SlackBuild +++ b/system/mtftar/mtftar.SlackBuild @@ -12,12 +12,10 @@ VERSION=${VERSION:-20070205} 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/system/mucommander/mucommander.SlackBuild b/system/mucommander/mucommander.SlackBuild index 283d4825b5bf..0d22964e4fc8 100644 --- a/system/mucommander/mucommander.SlackBuild +++ b/system/mucommander/mucommander.SlackBuild @@ -17,7 +17,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/nagios-plugins/nagios-plugins.SlackBuild b/system/nagios-plugins/nagios-plugins.SlackBuild index 18a094823a82..43d414894225 100644 --- a/system/nagios-plugins/nagios-plugins.SlackBuild +++ b/system/nagios-plugins/nagios-plugins.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e # Bail out if user or group isn't valid on your system # For slackbuilds.org, assigned nagios uid/gid are 213/213 diff --git a/system/numlockx/numlockx.SlackBuild b/system/numlockx/numlockx.SlackBuild index 2287ffa7481c..c5f9d2d058e4 100644 --- a/system/numlockx/numlockx.SlackBuild +++ b/system/numlockx/numlockx.SlackBuild @@ -43,7 +43,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/nut/nut.SlackBuild b/system/nut/nut.SlackBuild index 5e9bc9324804..61045b39c65c 100644 --- a/system/nut/nut.SlackBuild +++ b/system/nut/nut.SlackBuild @@ -47,7 +47,6 @@ 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/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild index edc471e98cb2..aeda51be44d0 100644 --- a/system/nvidia-driver/nvidia-driver.SlackBuild +++ b/system/nvidia-driver/nvidia-driver.SlackBuild @@ -29,7 +29,7 @@ # 1.1 10-APR-2011 updated to new version, testing 13.37rc4.6692 # 1.2 27-MAY-2011 new version, allow multilib option, minor edits # 1.2.1 20-JUNE-2011 minor edits, thanks to Robby and Roberto -# 1.5 01-JULY-2011 new version, single driver download, add switch to select +# 1.5 01-JULY-2011 new version, single driver download, add switch to select # pure x86_64 or x86_64 with 32-bit compatibility. # 1.6 27-AUG-2011 version bump, minor edits # 1.7 21-OCT-2011 version bump @@ -269,8 +269,8 @@ if [ "${OPTAPPS}" = "yes" ]; then fi # Bash script to cleanly install (in doinst.sh) and uninstall the nvidia files -# so we don't stomp on the overlapping xorg files. -# Note: switching "on the fly" is no longer supported. +# so we don't stomp on the overlapping xorg files. +# Note: switching "on the fly" is no longer supported. install -m 0755 $CWD/nvidia-switch $PKG/usr/sbin/ sed -i s/PKGVERSION/$VERSION/g $PKG/usr/sbin/nvidia-switch sed -i s/LIBDIRSUFFIX/$LIBDIRSUFFIX/g $PKG/usr/sbin/nvidia-switch @@ -289,7 +289,7 @@ sed -i "s|__PIXMAP_PATH__|/usr/share/pixmaps|" \ $PKG/usr/share/applications/nvidia-settings.desktop sed -i "s|__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__|Application;Settings;|" \ $PKG/usr/share/applications/nvidia-settings.desktop - + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cd $TMP/$SRCNAM diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild index 489402db4cda..608e69bc04a3 100644 --- a/system/nvidia-kernel/nvidia-kernel.SlackBuild +++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild @@ -95,7 +95,7 @@ make SYSSRC=$KERNELPATH module || exit 1 mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video install -m 0664 nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/ -# Make sure the X is specified to automagically load the +# Make sure the X is specified to automagically load the # correct driver, since I always forget. You can remove # this file if you have an equivilent entry in /etc/X11/xorg.d diff --git a/system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild b/system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild index 1c54c67605b6..34605cdf18c5 100644 --- a/system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild +++ b/system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild @@ -31,7 +31,7 @@ # 1.1 10-APR-2011 updated to new version, testing 13.37rc4.6692 # 1.2 27-MAY-2011 new version, allow multilib option, minor edits # 1.2.1 20-JUNE-2011 minor edits, thanks to Robby and Roberto -# 1.5 01-JULY-2011 new version, single driver download, add switch to select +# 1.5 01-JULY-2011 new version, single driver download, add switch to select # pure x86_64 or x86_64 with 32-bit compatibility. # 1.6 27-AUG-2011 version bump, minor edits # 1.7 21-OCT-2011 version bump @@ -198,8 +198,8 @@ cd $TMP/nvidia-xconfig-$VERSION cd - # Bash script to cleanly install (in doinst.sh) and uninstall the nvidia files -# so we don't stomp on the overlapping xorg files. -# Note: switching "on the fly" no longer supported. +# so we don't stomp on the overlapping xorg files. +# Note: switching "on the fly" no longer supported. install -m 0755 $CWD/nvidia-switch $PKG/usr/sbin/ sed -i s/PKGVERSION/$VERSION/g $PKG/usr/sbin/nvidia-switch sed -i s/LIBDIRSUFFIX/$LIBDIRSUFFIX/g $PKG/usr/sbin/nvidia-switch diff --git a/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild b/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild index a0d63bc428d6..d0d86af1fa41 100644 --- a/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild +++ b/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild @@ -97,8 +97,8 @@ make SYSSRC=$KERNELPATH module || exit 1 mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video install -m 0664 nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/ -# Make sure the X is specified to automagically load the -# correct driver, since I always forget. +# Make sure the X is specified to automagically load the +# correct driver, since I always forget. mkdir -p $PKG/usr/share/X11/xorg.conf.d/ cat $CWD/10-nvidia.conf > $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf diff --git a/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild b/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild index bf80710c749e..2fcb26a5e883 100644 --- a/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild +++ b/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild @@ -77,7 +77,7 @@ chmod -R u+w,go+r-w,a-s . cd usr/src/nv/ || exit 1 -# backported patches courtesy of https://aur.archlinux.org/packages/nvidia-96xx/ +# backported patches courtesy of https://aur.archlinux.org/packages/nvidia-96xx/ patch -p1 -i $CWD/patches/173.14.36-37.patch || exit 1 patch -p1 -i $CWD/patches/173.14.37-38.patch || exit 1 diff --git a/system/pacemaker/pacemaker.SlackBuild b/system/pacemaker/pacemaker.SlackBuild index 2dae52ccf9ed..2bb6fc68217f 100644 --- a/system/pacemaker/pacemaker.SlackBuild +++ b/system/pacemaker/pacemaker.SlackBuild @@ -14,12 +14,10 @@ VERSION=${VERSION:-b9b672590e79} 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/system/pax/pax.SlackBuild b/system/pax/pax.SlackBuild index 8a6285ffe9fb..fafe9b1edb57 100644 --- a/system/pax/pax.SlackBuild +++ b/system/pax/pax.SlackBuild @@ -5,7 +5,7 @@ # Distributed under the terms of the GNU General Public License, Version 2 # ----------------------------------------------------------------------------- # -# Slackware SlackBuild script +# Slackware SlackBuild script # =========================== # By: Eric Hameleers <alien@slackware.com> # For: pax @@ -20,7 +20,7 @@ # * modified to more resemble SlackBuilds.org conventions # 3.4-1: 20/Dec/2005 by Eric Hameleers <alien@slackware.com> # * Initial build. -# +# # ----------------------------------------------------------------------------- PRGNAM=pax @@ -28,12 +28,10 @@ VERSION=${VERSION:-3.4} 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/system/pev/pev.SlackBuild b/system/pev/pev.SlackBuild index b0ba71e9fab3..01f57c4ee485 100644 --- a/system/pev/pev.SlackBuild +++ b/system/pev/pev.SlackBuild @@ -59,7 +59,7 @@ strip --strip-unneeded $PKG/usr/bin/pev mkdir -p $PKG/usr/man/man1 gzip -9c pev.1 > $PKG/usr/man/man1/pev.1.gz -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README CHANGELOG VERSION AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/system/picocom/picocom.SlackBuild b/system/picocom/picocom.SlackBuild index 71e3d900cb7a..3a07de8f6cd1 100644 --- a/system/picocom/picocom.SlackBuild +++ b/system/picocom/picocom.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.4} 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/system/pigz/pigz.SlackBuild b/system/pigz/pigz.SlackBuild index fe5defe4030f..f7e352af5c13 100644 --- a/system/pigz/pigz.SlackBuild +++ b/system/pigz/pigz.SlackBuild @@ -40,7 +40,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/pipemeter/pipemeter.SlackBuild b/system/pipemeter/pipemeter.SlackBuild index d9e339fe121b..f9634c206079 100644 --- a/system/pipemeter/pipemeter.SlackBuild +++ b/system/pipemeter/pipemeter.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-1.1.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 diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild index c9ee6389f5de..3ec47a9f54da 100644 --- a/system/plan9port/plan9port.SlackBuild +++ b/system/plan9port/plan9port.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for plan9port +# Slackware build script for plan9port # Copyright (c) 2012,2013 Ruben Schuller <ruben@orgizm.net> # diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild index bd32ff4e2be6..8345f37b849a 100644 --- a/system/postgresql/postgresql.SlackBuild +++ b/system/postgresql/postgresql.SlackBuild @@ -103,7 +103,7 @@ make install-docs DESTDIR=$PKG # create symlinks to shared library for other programs to link against ( cd $PKG/usr/lib${LIBDIRSUFFIX} - for i in $(ls $PRGNAM/$PG_VERSION/lib/libpq.so*) ; do ln -sf $i ; done + for i in $(ls $PRGNAM/$PG_VERSION/lib/libpq.so*) ; do ln -sf $i ; done ) # Some interesting additional modules: @@ -114,7 +114,7 @@ make install-docs DESTDIR=$PKG # hstore, ltree, xml2 - useful extensions for developers # pg_archivecleanup, pg_standby - high availability helpers # pg_upgrade, pg_upgrade_support - online upgrade between postgresql versions -# postgres_fdw - foreign-data wrapper for access to external PostgreSQL servers +# postgres_fdw - foreign-data wrapper for access to external PostgreSQL servers # file_fdw - foreign-data wrapper for access to data files on filesystem PG_EXTENSIONS=${PG_EXTENSIONS:-"adminpack pgcrypto hstore ltree xml2 pg_archivecleanup pg_standby pg_upgrade pg_upgrade_support postgres_fdw file_fdw"} @@ -154,7 +154,7 @@ mkdir -p $PKG/etc/rc.d sed -e "s%@PG_VERSION@%$PG_VERSION%" \ -e "s%@PG_PORT@%$PG_PORT%" \ -e "s%@LIBDIRSUFFIX@%$LIBDIRSUFFIX%" \ - $CWD/rc.$PRGNAM.new > $PKG/etc/rc.d/rc.$PRGNAM.new + $CWD/rc.$PRGNAM.new > $PKG/etc/rc.d/rc.$PRGNAM.new chmod 0755 $PKG/etc/rc.d/rc.$PRGNAM.new # Install logrotate script @@ -173,7 +173,7 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc sed -e "s%@PG_VERSION@%$PG_VERSION%" \ -e "s%@LIBDIRSUFFIX@%$LIBDIRSUFFIX%" \ - $CWD/doinst.sh > $PKG/install/doinst.sh + $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/powernowd/powernowd.SlackBuild b/system/powernowd/powernowd.SlackBuild index c49aee2be8c1..8d3ca87a7873 100644 --- a/system/powernowd/powernowd.SlackBuild +++ b/system/powernowd/powernowd.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.00} 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/system/prelink/prelink.SlackBuild b/system/prelink/prelink.SlackBuild index 3a2b0f236948..aed5ccd7bdfe 100644 --- a/system/prelink/prelink.SlackBuild +++ b/system/prelink/prelink.SlackBuild @@ -49,7 +49,7 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" -else +else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi @@ -82,7 +82,7 @@ CXXFLAGS="$SLKFLAGS" \ --build=$ARCH-slackware-linux make -make -C doc +make -C doc make install-strip DESTDIR=$PKG find $PKG/usr/man -type f -exec gzip -9 {} \; diff --git a/system/preload/preload.SlackBuild b/system/preload/preload.SlackBuild index f6e5016f6ad6..7913add62fd8 100644 --- a/system/preload/preload.SlackBuild +++ b/system/preload/preload.SlackBuild @@ -108,7 +108,7 @@ rm -rf $PKG/etc/sysconfig $PKG/etc/rc.d/init.d cp -a \ AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION/$DOC + $PKG/usr/doc/$PRGNAM-$VERSION/$DOC cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/pv/pv.SlackBuild b/system/pv/pv.SlackBuild index e9b393df78b3..0d69e502e5f9 100644 --- a/system/pv/pv.SlackBuild +++ b/system/pv/pv.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.1.4} 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 @@ -52,7 +50,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/pwgen/pwgen.SlackBuild b/system/pwgen/pwgen.SlackBuild index db144550c98c..a2e600dd9a70 100644 --- a/system/pwgen/pwgen.SlackBuild +++ b/system/pwgen/pwgen.SlackBuild @@ -4,16 +4,16 @@ # Copyright (c) 2007, Timothy Pollard # 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 notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -34,12 +34,10 @@ VERSION=2.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/system/pwsafe/pwsafe.SlackBuild b/system/pwsafe/pwsafe.SlackBuild index f52cbffd57d9..6f6511e9ea8c 100644 --- a/system/pwsafe/pwsafe.SlackBuild +++ b/system/pwsafe/pwsafe.SlackBuild @@ -9,12 +9,10 @@ VERSION=0.2.0 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/system/qingy/qingy.SlackBuild b/system/qingy/qingy.SlackBuild index cd0dc662ee88..e86076464a5f 100644 --- a/system/qingy/qingy.SlackBuild +++ b/system/qingy/qingy.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/qingy_0.3_themepack/qingy_0.3_themepack.SlackBuild b/system/qingy_0.3_themepack/qingy_0.3_themepack.SlackBuild index 66d18523d116..0fae8c12af80 100644 --- a/system/qingy_0.3_themepack/qingy_0.3_themepack.SlackBuild +++ b/system/qingy_0.3_themepack/qingy_0.3_themepack.SlackBuild @@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/qps/qps.SlackBuild b/system/qps/qps.SlackBuild index caf5062ca466..9eef74154034 100644 --- a/system/qps/qps.SlackBuild +++ b/system/qps/qps.SlackBuild @@ -37,7 +37,7 @@ fi DOCS="CHANGES COPYING README_INSTALL" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/qterminal/qterminal.SlackBuild b/system/qterminal/qterminal.SlackBuild index cab898f8fa47..2c45078efaa7 100644 --- a/system/qterminal/qterminal.SlackBuild +++ b/system/qterminal/qterminal.SlackBuild @@ -37,7 +37,7 @@ fi DOCS="AUTHORS COPYING NEWS README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/qtfm/qtfm.SlackBuild b/system/qtfm/qtfm.SlackBuild index 4101886d0c91..04e401577fd3 100644 --- a/system/qtfm/qtfm.SlackBuild +++ b/system/qtfm/qtfm.SlackBuild @@ -23,9 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qtfm -VERSION=${VERSION:-5.5} +VERSION=${VERSION:-5.5} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,9 +36,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" @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/qtgzmanager/qtgzmanager.SlackBuild b/system/qtgzmanager/qtgzmanager.SlackBuild index e984c9af9f0e..719aa626adf3 100644 --- a/system/qtgzmanager/qtgzmanager.SlackBuild +++ b/system/qtgzmanager/qtgzmanager.SlackBuild @@ -4,10 +4,10 @@ # Written by Alexandre Albuquerque Arnt <aaarnt@gmail.com> # Based on http://slackbuilds.org/template.SlackBuild -PRGNAM=qtgzmanager +PRGNAM=qtgzmanager VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -18,9 +18,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" @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/qxkb/qxkb.SlackBuild b/system/qxkb/qxkb.SlackBuild index 53cf5838df02..97fd1b79a0ad 100644 --- a/system/qxkb/qxkb.SlackBuild +++ b/system/qxkb/qxkb.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="COPYING README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/rdiff-backup/rdiff-backup.SlackBuild b/system/rdiff-backup/rdiff-backup.SlackBuild index 2151f73c175d..ccdebd964af5 100644 --- a/system/rdiff-backup/rdiff-backup.SlackBuild +++ b/system/rdiff-backup/rdiff-backup.SlackBuild @@ -28,12 +28,10 @@ VERSION=1.2.8 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} rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 cd $PRGNAM-$VERSION || exit 1 diff --git a/system/recorder/recorder.SlackBuild b/system/recorder/recorder.SlackBuild index 17b2a686ec98..77304048da06 100644 --- a/system/recorder/recorder.SlackBuild +++ b/system/recorder/recorder.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.4.5 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/system/regionset/regionset.SlackBuild b/system/regionset/regionset.SlackBuild index 3eca92a38d74..14885d6d7fce 100644 --- a/system/regionset/regionset.SlackBuild +++ b/system/regionset/regionset.SlackBuild @@ -20,19 +20,17 @@ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=regionset VERSION=${VERSION:-0.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 @@ -53,7 +51,7 @@ elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/rkhunter/rkhunter.SlackBuild b/system/rkhunter/rkhunter.SlackBuild index cf1de2d0d159..c9bc274ce888 100644 --- a/system/rkhunter/rkhunter.SlackBuild +++ b/system/rkhunter/rkhunter.SlackBuild @@ -37,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/runit/runit.SlackBuild b/system/runit/runit.SlackBuild index d6838e5c9e9a..f9b83ed6fd7d 100644 --- a/system/runit/runit.SlackBuild +++ b/system/runit/runit.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-2.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/system/safecopy/safecopy.SlackBuild b/system/safecopy/safecopy.SlackBuild index ee152ebd6ff6..da12405f952c 100644 --- a/system/safecopy/safecopy.SlackBuild +++ b/system/safecopy/safecopy.SlackBuild @@ -30,12 +30,10 @@ VERSION=${VERSION:-1.7} 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 @@ -59,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/sakura/sakura.SlackBuild b/system/sakura/sakura.SlackBuild index c0c188d3e35f..e877054d705e 100644 --- a/system/sakura/sakura.SlackBuild +++ b/system/sakura/sakura.SlackBuild @@ -38,7 +38,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION @@ -55,7 +55,7 @@ cmake \ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \ -DCMAKE_BUILD_TYPE=Release make -make install DESTDIR=$PKG +make install DESTDIR=$PKG strip --strip-unneeded $PKG/usr/bin/sakura mv $PKG/usr/share/{man,doc} $PKG/usr diff --git a/system/scalpel/scalpel.SlackBuild b/system/scalpel/scalpel.SlackBuild index 4ec0dc7a2364..72b73337681d 100644 --- a/system/scalpel/scalpel.SlackBuild +++ b/system/scalpel/scalpel.SlackBuild @@ -80,4 +80,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
\ No newline at end of file +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/schedtool/schedtool.SlackBuild b/system/schedtool/schedtool.SlackBuild index da240e5b06d7..96e1eff5405e 100644 --- a/system/schedtool/schedtool.SlackBuild +++ b/system/schedtool/schedtool.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-1.3.0} 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/system/seahorse/seahorse.SlackBuild b/system/seahorse/seahorse.SlackBuild index ef355ee62757..52e4cc6e9a5e 100644 --- a/system/seahorse/seahorse.SlackBuild +++ b/system/seahorse/seahorse.SlackBuild @@ -10,12 +10,10 @@ VERSION=${VERSION:-3.8.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/system/ser2net/ser2net.SlackBuild b/system/ser2net/ser2net.SlackBuild index c8473221916e..1d09aa056339 100644 --- a/system/ser2net/ser2net.SlackBuild +++ b/system/ser2net/ser2net.SlackBuild @@ -9,12 +9,10 @@ VERSION=2.7 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/system/set_rlimits/set_rlimits.SlackBuild b/system/set_rlimits/set_rlimits.SlackBuild index 8eed8736812d..a63d64cd9ae8 100644 --- a/system/set_rlimits/set_rlimits.SlackBuild +++ b/system/set_rlimits/set_rlimits.SlackBuild @@ -10,17 +10,15 @@ VERSION=1.3.0 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 -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PKGNAME OUTPUT=${OUTPUT:-/tmp} @@ -43,7 +41,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PKGNAME-$VERSION tar xvf $CWD/$PKGNAME-$VERSION.tgz cd $PKGNAME-$VERSION @@ -57,7 +55,7 @@ make clean # oops :-) make EXTRA_CFLAGS="$SLKCFLAGS" PREFIX=/usr make install PREFIX=/usr DESTDIR=$PKG -mv $PKG/etc/set_rlimits.conf $PKG/etc/set_rlimits.conf.new +mv $PKG/etc/set_rlimits.conf $PKG/etc/set_rlimits.conf.new find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/slackyd/slackyd.SlackBuild b/system/slackyd/slackyd.SlackBuild index 92761bad7746..914d84f97379 100644 --- a/system/slackyd/slackyd.SlackBuild +++ b/system/slackyd/slackyd.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="AUTHORS BUGS CHANGELOG INSTALL THANKS" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/slim/slim.SlackBuild b/system/slim/slim.SlackBuild index c637d8e96335..f1d8ffc0007a 100644 --- a/system/slim/slim.SlackBuild +++ b/system/slim/slim.SlackBuild @@ -86,7 +86,7 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/system/splix/splix.SlackBuild b/system/splix/splix.SlackBuild index 02263cf4d2ab..3fff4e4147c8 100644 --- a/system/splix/splix.SlackBuild +++ b/system/splix/splix.SlackBuild @@ -9,12 +9,10 @@ VERSION=2.0.0 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/system/sqlite2/sqlite2.SlackBuild b/system/sqlite2/sqlite2.SlackBuild index 7b53f21ca0cb..5634d53523fb 100644 --- a/system/sqlite2/sqlite2.SlackBuild +++ b/system/sqlite2/sqlite2.SlackBuild @@ -16,12 +16,10 @@ SRCNAM=sqlite SRCVERSION=$(printf "$VERSION" | cut -d _ -f 1) PATCHLEVEL=$(printf "$VERSION" | cut -d _ -f 2) -# 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/system/srm/srm.SlackBuild b/system/srm/srm.SlackBuild index a393010966e0..4105cd0e797c 100644 --- a/system/srm/srm.SlackBuild +++ b/system/srm/srm.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-1.2.10} 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/system/statifier/statifier.SlackBuild b/system/statifier/statifier.SlackBuild index 36225ed780c3..a9f24db9662c 100644 --- a/system/statifier/statifier.SlackBuild +++ b/system/statifier/statifier.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-1.7.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/system/stress/stress.SlackBuild b/system/stress/stress.SlackBuild index 627f70bd1897..b01c24cbc2aa 100644 --- a/system/stress/stress.SlackBuild +++ b/system/stress/stress.SlackBuild @@ -83,7 +83,7 @@ make || exit 1 make install DESTDIR=$PKG || exit 1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/system/sudosh2/sudosh2.SlackBuild b/system/sudosh2/sudosh2.SlackBuild index e37cf4f41f53..afc5eb0ecd34 100644 --- a/system/sudosh2/sudosh2.SlackBuild +++ b/system/sudosh2/sudosh2.SlackBuild @@ -88,7 +88,7 @@ CXXFLAGS="$SLKCFLAGS" \ $do_record make -# make install will install sudosh.conf in the build system, use +# make install will install sudosh.conf in the build system, use # make install-am to avoid this and manualy install the conf file. make install-am DESTDIR=$PKG install -m 0644 -D $TMP/$PRGNAM-$VERSION/src/sudosh.conf $PKG/etc/sudosh.conf.new diff --git a/system/swatch/swatch.SlackBuild b/system/swatch/swatch.SlackBuild index 88a2b41a66d4..3b52c2f46ebf 100644 --- a/system/swatch/swatch.SlackBuild +++ b/system/swatch/swatch.SlackBuild @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/swun/swun.SlackBuild b/system/swun/swun.SlackBuild index 87a82e8189dc..b0736ed1b6ff 100644 --- a/system/swun/swun.SlackBuild +++ b/system/swun/swun.SlackBuild @@ -55,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -77,7 +77,7 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. diff --git a/system/tarsnap/tarsnap.SlackBuild b/system/tarsnap/tarsnap.SlackBuild index 912c58875d82..6c30132cd165 100644 --- a/system/tarsnap/tarsnap.SlackBuild +++ b/system/tarsnap/tarsnap.SlackBuild @@ -2,9 +2,9 @@ # Slackware build script for tarsnap -# Written by Justin H Haynes <justin@justinhaynes.com> -# as a series of careful modifications to the excellent -# http://slackbuilds.org/template.SlackBuild +# Written by Justin H Haynes <justin@justinhaynes.com> +# as a series of careful modifications to the excellent +# http://slackbuilds.org/template.SlackBuild # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -24,12 +24,10 @@ VERSION=${VERSION:-1.0.26} 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,11 +37,11 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# Normally we'd have this if block here for setting ARCH and +# Normally we'd have this if block here for setting ARCH and # feeding same to the configure script, but the tarsnap configure script -# figures out the architecture itself. +# figures out the architecture itself. -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/tokyocabinet/tokyocabinet.SlackBuild b/system/tokyocabinet/tokyocabinet.SlackBuild index f2524ff7fbb3..4448db0b4549 100644 --- a/system/tokyocabinet/tokyocabinet.SlackBuild +++ b/system/tokyocabinet/tokyocabinet.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-1.4.43} 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/system/tokyotyrant/tokyotyrant.SlackBuild b/system/tokyotyrant/tokyotyrant.SlackBuild index 5371a02bb4ee..cba2290d2d41 100644 --- a/system/tokyotyrant/tokyotyrant.SlackBuild +++ b/system/tokyotyrant/tokyotyrant.SlackBuild @@ -8,12 +8,10 @@ VERSION=${VERSION:-1.1.40} 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/system/twin/twin.SlackBuild b/system/twin/twin.SlackBuild index d054fcb1a1bb..46d4707fe140 100644 --- a/system/twin/twin.SlackBuild +++ b/system/twin/twin.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-0.6.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 @@ -59,10 +57,10 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -86,7 +84,7 @@ mv $PKG/usr/share/man $PKG/usr/ ( cd $PKG/usr/man || exit 1 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/usr/doc/$PRGNAM-$VERSION ( cd $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/udevil/udevil.SlackBuild b/system/udevil/udevil.SlackBuild index ebf96e87ee98..6ab0f6040b46 100644 --- a/system/udevil/udevil.SlackBuild +++ b/system/udevil/udevil.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="AUTHORS COPYING ChangeLog NEWS README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/ufiformat/ufiformat.SlackBuild b/system/ufiformat/ufiformat.SlackBuild index d542279d6b00..b420246509f7 100644 --- a/system/ufiformat/ufiformat.SlackBuild +++ b/system/ufiformat/ufiformat.SlackBuild @@ -8,12 +8,10 @@ VERSION=0.9.6 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/system/uif2iso/uif2iso.SlackBuild b/system/uif2iso/uif2iso.SlackBuild index 0c4b3132cd76..f1ba67b6556d 100644 --- a/system/uif2iso/uif2iso.SlackBuild +++ b/system/uif2iso/uif2iso.SlackBuild @@ -31,12 +31,10 @@ VERSION=${VERSION:-0.1.7c} 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 @@ -46,7 +44,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/unetbootin/unetbootin.SlackBuild b/system/unetbootin/unetbootin.SlackBuild index 1fad4b939dad..17139f209248 100644 --- a/system/unetbootin/unetbootin.SlackBuild +++ b/system/unetbootin/unetbootin.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for unetbootin # Written by Jens Weber <jens@tuxane.com> # v565: (jw) initial version 01/06/2012 -# v575: (jw) updated version +# v575: (jw) updated version # v581: (jw) update to version 581 11 Dec 2012 # v583: (jw) version bump to v583 22 Feb 2013 diff --git a/system/unison/unison.SlackBuild b/system/unison/unison.SlackBuild index b4cdac7a8954..758232da6efa 100644 --- a/system/unison/unison.SlackBuild +++ b/system/unison/unison.SlackBuild @@ -54,7 +54,7 @@ chmod -R u+w,go+r-w,a-s . # no need to set CFLAGS # FLAVOR lets the user enable their choice of interfaces. Defaults to gtk2 -# If you want to enable specifically for gtk2 or text simply pass this +# If you want to enable specifically for gtk2 or text simply pass this # variable to the script: $ FLAVOR=text ./unison.SlackBuild FLAVOR=${FLAVOR:-gtk2} @@ -64,7 +64,7 @@ if [ "$FLAVOR" = "gtk2" -o "$FLAVOR" = "GTK2" -o "$FLAVOR" = "GTK" -o "$FLAVOR" elif [ "$FLAVOR" = "text" -o "$FLAVOR" = "TEXT" -o "$FLAVOR" = "TXT" -o "$FLAVOR" = "txt" ]; then FLAVOR=text fi - + make UISTYLE=$FLAVOR DEBUGGING=false THREADS=true NATIVE=true mkdir -p $PKG/usr/bin install -m 0755 $PRGNAM $PKG/usr/bin diff --git a/system/unp/unp.SlackBuild b/system/unp/unp.SlackBuild index 5dbea10e90f7..cf4f7ba9af54 100644 --- a/system/unp/unp.SlackBuild +++ b/system/unp/unp.SlackBuild @@ -12,7 +12,7 @@ TAG=${TAG:-_SBo} ARCH=noarch CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/system/unrtf/unrtf.SlackBuild b/system/unrtf/unrtf.SlackBuild index 08efddbf4925..36f4cca0b7bc 100644 --- a/system/unrtf/unrtf.SlackBuild +++ b/system/unrtf/unrtf.SlackBuild @@ -55,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -70,7 +70,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# some source files have hard coded links to /usr/local - without this the +# some source files have hard coded links to /usr/local - without this the # compiled unrtf binary complains about missing /usr/local/lib/unrtf/html.conf sed -i "s,/usr/local/lib,/usr/lib$LIBDIRSUFFIX," src/* diff --git a/system/usbmon/usbmon.SlackBuild b/system/usbmon/usbmon.SlackBuild index 754fc9b6a899..a355aa604b6f 100644 --- a/system/usbmon/usbmon.SlackBuild +++ b/system/usbmon/usbmon.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-6} 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/system/vice/vice.SlackBuild b/system/vice/vice.SlackBuild index b2f41c527405..268197928f8a 100644 --- a/system/vice/vice.SlackBuild +++ b/system/vice/vice.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-2.3.22} 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 @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/virt-manager/virt-manager.SlackBuild b/system/virt-manager/virt-manager.SlackBuild index 06af0d9f8000..d91a362dfc39 100644 --- a/system/virt-manager/virt-manager.SlackBuild +++ b/system/virt-manager/virt-manager.SlackBuild @@ -6,10 +6,10 @@ # Modified by Zoran Stojakovic # Lots of mods by rworkman for 0.10.x -PRGNAM=virt-manager +PRGNAM=virt-manager VERSION=${VERSION:-0.10.0} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/system/wacomtablet/wacomtablet.SlackBuild b/system/wacomtablet/wacomtablet.SlackBuild index a7443afa1b09..c9668c1ffda2 100644 --- a/system/wacomtablet/wacomtablet.SlackBuild +++ b/system/wacomtablet/wacomtablet.SlackBuild @@ -29,7 +29,6 @@ TAG=${TAG:-_SBo} SRCVERSION=$(printf $VERSION | tr _ -) -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; diff --git a/system/wdfs/wdfs.SlackBuild b/system/wdfs/wdfs.SlackBuild index 053af5d275ac..e17a0724bec9 100644 --- a/system/wdfs/wdfs.SlackBuild +++ b/system/wdfs/wdfs.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/system/webmin/webmin.SlackBuild b/system/webmin/webmin.SlackBuild index 076112ee03fa..83c894e5a9d2 100644 --- a/system/webmin/webmin.SlackBuild +++ b/system/webmin/webmin.SlackBuild @@ -60,7 +60,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -rm -f mount/{freebsd,openbsd,macos}-mounts* +rm -f mount/{freebsd,openbsd,macos}-mounts* ( find . -name '*.cgi' ; find . -name '*.pl' ) | perl perlpath.pl /usr/bin/perl - @@ -90,10 +90,10 @@ noperlpath=1 nopostinstall=1 export config_dir var_dir perl autoos port login crypt host ssl atboot \ - nostart nochown autothird nouninstall noperlpath nopostinstall + nostart nochown autothird nouninstall noperlpath nopostinstall cd $PKG/usr/libexec/webmin - ./setup.sh 2>&1 + ./setup.sh 2>&1 cd - # Fixup the package files to use their real locations @@ -109,7 +109,7 @@ cp -a LICENCE* README ${CWD}/webmin.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* -mkdir -p $PKG/install +mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh @@ -127,7 +127,7 @@ get_config_files() { } # Finish the doinst.sh by adding the .new file handler. -if [ -e $PKG/etc ]; then +if [ -e $PKG/etc ]; then get_config_files $PKG/etc fi diff --git a/system/wiimms-wbfs-tool/wiimms-wbfs-tool.SlackBuild b/system/wiimms-wbfs-tool/wiimms-wbfs-tool.SlackBuild index 4cbb8a62582d..b9136c64e1ba 100644 --- a/system/wiimms-wbfs-tool/wiimms-wbfs-tool.SlackBuild +++ b/system/wiimms-wbfs-tool/wiimms-wbfs-tool.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.25a} 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/system/winetricks/winetricks.SlackBuild b/system/winetricks/winetricks.SlackBuild index 6a3ef11b6d91..6473196515c3 100644 --- a/system/winetricks/winetricks.SlackBuild +++ b/system/winetricks/winetricks.SlackBuild @@ -34,7 +34,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $PKG $OUTPUT diff --git a/system/xar/xar.SlackBuild b/system/xar/xar.SlackBuild index 6bb35db676c9..8c28708d247c 100644 --- a/system/xar/xar.SlackBuild +++ b/system/xar/xar.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.5.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/system/xarchiver/xarchiver.SlackBuild b/system/xarchiver/xarchiver.SlackBuild index a4d655a46479..bc31069cdfd4 100644 --- a/system/xarchiver/xarchiver.SlackBuild +++ b/system/xarchiver/xarchiver.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.5.2} BUILD=${BUILD:-3} 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/system/xcdroast/xcdroast.SlackBuild b/system/xcdroast/xcdroast.SlackBuild index ef95924b0976..679787c602d8 100644 --- a/system/xcdroast/xcdroast.SlackBuild +++ b/system/xcdroast/xcdroast.SlackBuild @@ -5,17 +5,15 @@ # Written by Georgios Efstathiou gefst@yahoo.com # Heavily based on original slackware script. -PRGNAM=xcdroast +PRGNAM=xcdroast VERSION=0.98alpha16 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 @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -71,7 +69,7 @@ make XCDRLIB_PREFIX=/usr/lib${LIBDIRSUFFIX}/$PRGNAM install DESTDIR=$PKG mkdir -p $PKG/usr/share/{applications,pixmaps} cat $CWD/xcdroast.desktop > $PKG/usr/share/applications/xcdroast.desktop ( cd $PKG/usr/share/pixmaps - ln -s ../../lib${LIBDIRSUFFIX}/xcdroast/icons/xcdricon.png xcdroast.png + ln -s ../../lib${LIBDIRSUFFIX}/xcdroast/icons/xcdricon.png xcdroast.png ) find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/system/xchm/xchm.SlackBuild b/system/xchm/xchm.SlackBuild index 14f0943b9e51..a803f8f2950e 100644 --- a/system/xchm/xchm.SlackBuild +++ b/system/xchm/xchm.SlackBuild @@ -58,8 +58,8 @@ CXXFLAGS=$SLKCFLAGS \ --build=$ARCH-slackware-linux \ --host=$ARCH-slackware-linux -make -make install DESTDIR=$PKG +make +make install DESTDIR=$PKG strip --strip-unneeded $PKG/usr/bin/$PRGNAM 2> /dev/null mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/xfburn/xfburn.SlackBuild b/system/xfburn/xfburn.SlackBuild index 6c7fced65720..baa72cdbeb6d 100644 --- a/system/xfburn/xfburn.SlackBuild +++ b/system/xfburn/xfburn.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-0.4.3} 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/system/xfe/xfe.SlackBuild b/system/xfe/xfe.SlackBuild index 926352a806b6..2f1cdf32ed75 100644 --- a/system/xfe/xfe.SlackBuild +++ b/system/xfe/xfe.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.35} 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/system/xosd/xosd.SlackBuild b/system/xosd/xosd.SlackBuild index decd7ad63d3e..dcb3e8da2cca 100644 --- a/system/xosd/xosd.SlackBuild +++ b/system/xosd/xosd.SlackBuild @@ -10,17 +10,15 @@ VERSION=${VERSION:-r634} 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 -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/system/yeahconsole/yeahconsole.SlackBuild b/system/yeahconsole/yeahconsole.SlackBuild index eda4434a3f06..6c1eecf0c873 100644 --- a/system/yeahconsole/yeahconsole.SlackBuild +++ b/system/yeahconsole/yeahconsole.SlackBuild @@ -3,23 +3,23 @@ # Slackware build script for yeahconsole # Copyright 2009 Pablo Santamaria (pablosantamaria at gmail.com) -# All rights reserved. -# +# All rights reserved. +# # Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''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 DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=yeahconsole @@ -27,20 +27,18 @@ VERSION=${VERSION:-0.3.4} 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 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 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT |