diff options
1359 files changed, 1792 insertions, 3167 deletions
diff --git a/academic/GMT/GMT.SlackBuild b/academic/GMT/GMT.SlackBuild index 4d43b6d7b1..964cad3b83 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 fcb2a6006e..95a966856e 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 635300ae6b..9d3638b1e6 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 fa3ab82636..38828ed7ac 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 7993fc7e59..97c13cd2eb 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 24ebdf4da9..588ea1115e 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 48ee14e6ed..b672401581 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 c976fdc587..3b22253fb5 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 550a119ecd..6be4cfd608 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 0575f2da13..f7a19c8f1e 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 72eedc70ce..f6211bf2f1 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 32d7e7d6a9..4d6d54d23e 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 98397daeb9..c69e98809e 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 0a18de25cf..5920236077 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 22497b80b2..c2aac9a9a4 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 387f33596e..402573c482 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 e3f560ee39..a44a88b234 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 bdef830583..96f5dcc401 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 4505745095..e809c01291 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 fe4011d7d8..d5faa1a56a 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 ff637ef4ef..43a383096f 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 0a1988c316..803f980c3e 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 4fcf436874..da04dcc62e 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 8f91d2afa2..585e57d229 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 228be41394..a86b66b820 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 e844f8cba4..7bb22c9993 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 c477836766..3dc04ef779 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 e18111cbd1..feb1302a60 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 87c2f2c2df..070eaf88ff 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 ca3d5e741b..2ecdfd1148 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 4aa98db8fd..6a302ccf14 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 971f9861b7..e828347cb8 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 2625664801..04b4eda933 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 a7d8dd96c7..27cec22fb9 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 83e77da598..0eb469e483 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 5fcd4ee9cc..98cffae3d0 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 234f1ba9fb..0dc40057ab 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 101b9b7bf3..71ee508844 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 6fe0021b7c..66402404c9 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 cabb1dba3e..10f82fb1f2 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 1fa3936512..624d1a7300 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 1b25bcdb9d..7b892909db 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 d1338bc6c5..9f9e7c0376 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 c31ab72bee..5c9732b5fc 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 b0b8fd12a3..292047eeb0 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 10d32e72bf..555f96954a 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 34a7b03ac0..d9db3dee22 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 624cc69c34..53eedfb640 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 7afa41f793..3864947349 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 dbc17725d1..07eb043405 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 8c06ffacf9..265750c453 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 b2872a2193..eafdf7fd91 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 d9aa663f8b..89ca8cf52c 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 b2feb6e348..690792a5cd 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 5370f4e391..76e4fef646 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 9b84365b61..f7419ac791 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 ddbb312c88..58f41b0633 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 0a700373ac..e1de0f13af 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 afe96d9c20..443940eb11 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 81e982c08c..73d1c4c6f6 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 e7948ba7e6..82458b6fb7 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 fc66530a24..ddac42a7c9 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 8bd3733646..2a6c4475f7 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 8d2deda08f..f5956a2713 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 3cef689478..16ef726029 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 ae8ea476af..0143dabf1c 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 c549d6ffcb..607a97fdc4 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 34b1ed1ecc..457f0e2346 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 7ad0b95533..59dfb137e4 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 9a0fa9f5cd..f47681338d 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 7e5a80dfa4..4dcca81654 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 ea5c0a7677..a08673de31 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 46dbd08cc7..c16e68e923 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 e287d81c6b..5f131d3f89 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 82c1caee4c..091ba6d6b0 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 eb3071a629..df216e06bb 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 3226187033..5025f66594 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 019f098fee..7738e03887 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 dabee6d2b3..9fe39062fa 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 ffc26fee8f..196d6acadb 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 815714a440..e5c9b9a101 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 cad3b9e99d..084aa1fc63 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 f1fd1bbcae..ae3e97609b 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 f914e032f3..78d6fac156 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 55fb18444d..d3e5be1120 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 3897dc0408..a84aca4667 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 65752dd7c1..b0307bf65c 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 14df739400..f2e6b92025 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 988f4d6415..f43c05c133 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 2de4d62f78..e051b8f3bd 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 f76a47f8e7..de19034519 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 fa1dbc0105..5e9d3cfceb 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 9926e2e1b7..13e09f2801 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 d8c4a5e766..cd8259cb95 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 01a3a4b3fe..0b8579e9a0 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 35d480289c..187ddf24d6 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 99e45da870..fc8d39893e 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 e39fe95dd9..3e40e398af 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 0b629625f9..f7ac4473ca 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 1e96aecc42..267b7b597c 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 6c2207c70e..ecd6b6f964 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 5846a92a5e..8a97b0e000 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 b3de0c065f..ba641f2458 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 142da5410a..4db55a23be 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 d3731cd2f3..e46a1cd1f3 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 c163dfa582..11daed4b68 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 f4b7b9e1a8..58fbd3abec 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 cf7192b2cc..1fcb51901e 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 d382e8393f..4ea0eddee9 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 5d3cad4f1f..84d7c181c5 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 175cfb189d..70a5aeee9b 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 21a572ebec..c38c1859c9 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 b63686f36f..1ead3d23f3 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 b132651b44..816c3b7424 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 b9b24ed6a0..4c787f585a 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 219346a4f8..96dc4e0f11 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 62e6591113..02a20b919a 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 46a48033cb..6bc908b8ec 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 5a1f848850..b5fe8f9441 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 25d0789e06..2bf0349ab8 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 7fdb2d0222..704457a82e 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 64794c3b94..ef640f2192 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 5d6acce494..db18af7c25 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 19ab773d93..e59b689de9 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 b25e0193dc..1e65122f8f 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 2ffe599401..68f5a2c343 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 f4641b842d..6f22ea20ca 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 acb039e9b2..f9b68f6e1c 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 efd963b51d..4336530f5d 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 34b877ad14..380448bde5 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 7e3d8f9cde..aa45905f10 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 88f90977ac..e4911bbb19 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 d05ee2a315..33881a47ff 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 f78eb5b0d7..4d377e4154 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 b9f4e7ba20..9761787814 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 7079023a3e..54c6fe4f68 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 c6f15f285c..a5d77ef4d2 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 5e31fa2bde..84cf10d971 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 9a9c9f73c6..70995a9b17 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 5cd2a5bbe2..2ffd34209e 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 542e0a4ce3..a7b1678fd3 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 ade1842e47..dc603075bb 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 7eaa4e58b7..99b0456b15 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 c430858add..cb2bc74be8 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 4ec3ec3a8a..6340f84782 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 e0e2a7e7c8..c0038766aa 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 0e3aa45432..6b2eb913e9 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 3ed9deef36..5d5e8c33e7 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 c4bff33ab9..7e641fc2ce 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 70639243b5..149ac629a3 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 6da4842991..ee01fa4b92 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 73262f18fc..98af663309 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 6e6f974380..ccd1f07500 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 aaec2a3859..bc58ffc6bf 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 262ccf2996..a3f4398e00 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 83c03679fb..892a44c105 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 8d7e0c740d..ad71b5d8e8 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 97cd3b5d3b..8acd6ad8bc 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 8a1ab0fc58..3e0db7d005 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 00c15c5b0b..eec5263567 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 b244ea3cf1..fb74a98baf 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 f88df3847e..0e71e76536 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 f72be9e402..e52266f31f 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 6080534ab1..a687810cfd 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 018b8e25f1..6a677fda4f 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 e29dae46c3..22331e01bf 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 85d6557a75..196f63aabf 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 65b702b9a0..1e0fad958c 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 4b7e7c5b43..5fe57b80d6 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 dfb1dc8de7..c025275c99 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 d39548f0f7..1c0a493cf3 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 ce0fbf5b21..31ebc9a8b5 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 ee48a40c18..2050c92b90 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 95eff4ec41..39c1aa0765 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 1266b17880..d3baff041a 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 998d412a27..e462ffbe8b 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 71faa56e8a..ef1ce56596 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 11b1a00774..2918b4aa70 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 20c60f0818..dd4deb525b 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 217f95e13b..41152bce04 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 13001c9764..544c107c92 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 f946ae862e..773227c121 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 6ac5e07940..7dca423655 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 6204a2d19b..86d8a72418 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 91901c21d3..b645a61c4b 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 f187558c1d..1582b6c1a1 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 5a124c9a98..e3147d7119 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 0902fd8519..70c83bd361 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 012c3ad138..13bb5c5a98 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 1f1e7e9d7d..ce9e915a32 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 370c5d64f8..e14c96710d 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 a7a7794022..d26411a1c7 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 cd311d6d7a..47228b6386 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 4fa784c39f..841da8c94e 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 73a9896511..5c9869fce3 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 ecf097c578..23dae17a61 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 755d3ceff0..63552d1401 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 a718e629e5..cbc2b0d0b0 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 7b5e7897dd..75ed219ef7 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 527ab6b15a..b84c7f7fff 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 58ef496d48..7aad2fbd01 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 e9426b5acc..feea72616a 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 290030fbdd..96df54dddf 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 f838a90b33..a09d116609 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 d3e6139933..1e1b15270f 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 9158a25d73..53bc7a1d8b 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 c54f27dd27..fbd23a34d5 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 68ef80096b..e011c645e4 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 91d69186a4..ec92390af1 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 50d540c7d0..f9f7d67963 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 1f250d6d96..9b15a4903c 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 54a4f9db66..225d667570 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 5e737ba98f..84b71014ae 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 a38fb0df44..e1eb03c976 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 ac8c5e4936..be3a95bda6 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 3dedf3dace..fb61de62ed 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 54211f842f..9eb9df1744 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 13b3dc757e..16ba172290 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 b6b0e17be9..57c1c7cebe 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 a1d9b95d06..726f7ce964 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 fd9dd541b1..ed5dab51f3 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 a09577a10f..cbbc6726ac 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 4d1df49cd3..8b1dabbc50 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 a2fe190402..3997553940 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 d77425bc15..d3d460bdd5 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 9146aab1e3..473b30e907 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 5068b5f6eb..abc5ec0ec6 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 b4ec9dca14..d50afd0d7b 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 ab994d50c6..4976ac29f6 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 6b128d4fad..08013bb80b 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 e71e4b9390..f18e40d2ae 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 be60e9b3cf..7e3d072e3c 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 76df13788b..0a22ec555d 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 59aa879f03..824ec352d7 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 396bd07234..ab022fde4e 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 210d4f19ad..c07c0e9dab 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 ee401ed1e7..724c65cff2 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 eafc7442d0..eb53ef56ea 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 e915a73537..1ea403f314 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 2e63da128e..eccfed6552 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 db6347ef78..dea28bf188 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 c7cab8f00f..64bab342c1 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 2fa7836c8b..19c3e4071d 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 c7d3cac73d..0bbb4a6f57 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 34514f970c..bc5a752cad 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 8cde71e234..e22a8321e2 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 08807b995a..a588634b68 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 b45210ad91..9e2d6985de 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 88b6eac58e..dba8550011 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 609da21d2f..3d0dbb77d4 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 a8906aaf1f..2f7428f071 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 e02ab073ad..3c0eaeeedc 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 0fedd5b35a..38adfcc384 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 93104e5901..25e248c456 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 77ef986a7a..1d47c518f6 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 66a098c81c..86e1ad7e69 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 02867bfe0a..8f66ebae2c 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 99f3e50bae..cd58f5f98a 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 2b14d5bd44..4d5e4b6186 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 b93bad67f0..de96dea660 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 af53a7f16f..92c53d875d 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 fe9cd9fd53..b1256f1214 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 580ed7b574..2f156267e6 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 3fde9fbdaf..dc5666d735 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 5f4b60c1cb..81cbc681ce 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 523a97cd76..2e341e7a5f 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 79f80729a1..a01024950a 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 953e4b7980..bb547e70cf 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 44fd44de98..a4d424ab20 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 cd532f7a5b..bc398f1e09 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 3828151a5c..6b27382098 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 27213f726c..7da697232f 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 34bf1ac49e..92d3c3f1c8 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 0b316632f5..e456c5146b 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 c1157fa82f..8b2a9a6819 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 867784050d..208e1cbb0c 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 218ff0ec51..d8c6e23c97 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 4484b688e8..626be5ba83 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 ce0c6192b0..825d30ca93 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 bbba73c858..03ccafdd32 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 fc97b28901..aa42b6177c 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 48ff3f0a01..d4cd7db7d0 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 502132a61a..f38845caf5 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 41769a1b08..376b982d68 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 f01d2ddc3b..2febbb0306 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 83b52734c2..70b0efe7b7 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 05cceab60e..f79db5c7d1 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 eea5370548..3eaabbfcb0 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 28a35880e6..7443ed48f9 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 9fbc98a963..5745d1ddaa 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 f429623846..78014080f7 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 c301e8c993..daa3421b00 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 b94bdefb55..16e2c8f058 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 50a7a82f95..cec53096b9 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 8c6ea34a8c..eeb0413d20 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 474b051cf0..0a0511ae6b 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 d0a9467594..6415f66cf6 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 b6f989be41..d489f00c74 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 0d0ff1a677..ad3b7c7397 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 fd242cc7dd..8640f5af5c 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 415c686ee3..5dd861be0b 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 49ec7609e0..b6254102b3 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 bcced58885..3bb9aaea1d 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 4ec556f6b6..768f1b2189 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 4a3a4682ee..54eb860e8e 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 6ef15172b5..391469e484 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 7cf5bbb870..0a9076c3f5 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 e9f07f2ccb..d884ac1014 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 48d6c3fbc1..bae11dcea4 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 b3ea4d17f5..fac3797a78 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 466a395771..8ba3264000 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 f668862657..359f4a5d46 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 77d9eac0ba..5155d1d07d 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 561c914fcc..600e1c7d03 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 8e4078c23d..de3491887a 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 12ea856ec6..886d2ad060 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 2104463513..72ddaeee73 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 ba63ecddc6..251cf664a0 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 564c0556e5..6fc51444a8 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 c5fa68a934..6e309fafde 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 f1258bd360..6bb5be6295 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 6ba1cf1952..9e2c3b60f5 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 f54e9c7de4..c3579510b3 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 2f1611bb69..d3fa38f264 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 4ef18ccd52..2c9aa7844f 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 4e606c93e9..4e5102d71b 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 2b035ca9d7..14286a414e 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 99ec99951a..14e71a90d6 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 7520118be8..daee7dfb63 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 ea34748103..d19a5abdb6 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 2b0f4224ef..4a66602331 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 25a4726986..86a5ff7e4c 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 287890e6bf..608fb052ad 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 7e6a884ce0..e3f77df1df 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 e61db85018..fb67eaa01c 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 c4ee246065..3c4826fcde 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 0842efc181..bc9368218a 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 c44662b0bf..75ba841280 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 d515912c5a..e9febb00c5 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 4b8b55311b..5587b7e653 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 38bd5fbac7..c19ec86eca 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 902cc29872..80e5630c84 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 cbe4b1e658..819b26439f 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 4d74200c10..73e6ca841a 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 c4469d40f5..203c509f69 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 4bdd590095..8897642fcd 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 09548b4096..5c7c0171e7 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 9536faef40..b40801e6b2 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 79444ce236..2c5d7e1037 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 4f62a73470..a7fd5092b6 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 6a488f119f..597d3a6904 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 caa33c456a..faddaf4a66 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 1fa2301ff1..6b14c8315d 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 68f63a9cb3..dfa7395d0d 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 256f1533e0..76b596c2c3 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 677d438b30..d65d1f8eb9 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 f4f2667300..66bd820b88 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 df7c95693c..5d28618c15 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 fd9e86c26f..89bd840a68 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 56a2cbb068..d15ad3212f 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 6d4c39efb9..c0264c4a10 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 1773ae74f2..9b6fccfe7f 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 009392234d..76d60e2189 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 f6d875d27b..d6c89aa78f 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 6b85070325..aeb2d15c27 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 8e9d3ea797..f2341e4562 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 c85cef6f87..feb6a36dfd 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 266770b91a..0c2700f0e5 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 c04f8d4b5f..309378f851 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 fc69ab256e..27557bce63 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 d2dfcd3306..4b08e58949 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 4e31177370..e5fa29c1b1 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 04097d36ba..747585ddde 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 3ffeed440b..03c46e1e74 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 469eac5805..d1f80cf8b7 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 e9d376e0ce..f6d3bb86fc 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 d064a24c04..f1d02218ef 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 d9774ece8a..fb7e86dc9b 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 0849ffccf8..32f52f0c88 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 5e5f02cd14..840e996474 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 79e60c14e4..c97d65057e 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 0a1f01bae1..5e26084173 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 64720bf2c5..13722f8e81 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 8d9f948dff..372579e517 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 1f4e8b810f..9986873f91 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 133ac74ff3..499c436c0e 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 bab8f8dade..3363c45661 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 141352c521..05d7e1cf3f 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 2309e6b945..73820644a0 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 b0c69256da..5e278ff56c 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 3e0af446a3..c465370f48 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 50c279cd42..d06934c89f 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 e42b3e4984..0abd371f2b 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 cb249b1fd3..1c543d91d7 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 b385c15d0a..71a6ce6418 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 67176221e9..8d14459dd0 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 db2c322f45..2832a5aeba 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 e3c6d49a04..905b29d13c 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 fba802c42d..8615d3a03d 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 059ff1c57b..6bd59b857e 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 ac0a05381d..2a6b621c32 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 9a188e8ed4..e7b8147101 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 7e8f4814e2..28b12f1478 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 e0ee9bae72..487945ef7e 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 ac82ea607c..a2b5bc64a1 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 8452700450..2aa2e4393d 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 f07b991c32..43c407d0e3 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 9dc01f917c..5c4c8e466d 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 e5905efcb9..60c7ac0713 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 9bb0bc2711..dc367edae8 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 841813cda5..5aae60fbf7 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 bbfe6b85a3..4d2e31555c 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 ad8bbb2ac0..147f97a6a3 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 725baa36a2..df0d1db140 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 987ca1c5bf..e5692e7bf6 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 9c4fd7920a..b6875c4d0a 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 46db75460e..26e88a5cd1 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 cfae353279..f651e1fb16 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 9cc59dd13e..1996b1c2aa 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 d02c12473c..0efbbabc21 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 1b41c46138..66b9c396ac 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 7f53378a65..0fd49accc3 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 bda5b7e6e8..5ff079094d 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 4dfee298a7..106d68071b 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 3776024ece..2f1ea1f168 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 3f866ab77f..2c619f426c 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 901b5abacb..a016882032 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 527b62f619..2d778a2661 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 7a816b6e10..1ab49cb481 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 bc83268441..e310ee5d00 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 e33a596582..2ce7d0bf51 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 732b446be7..ece00b59f0 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 81c6746ed9..e45e5197b9 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 089a46a2d7..9a2a1a2925 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 2cfa7a1a0b..786d067371 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 f45c7671af..6dd9e48536 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 73df8491ac..ebc38be4d5 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 fa9fce2819..c79e9beded 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 037853ed9c..7939322e57 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 24b8b00626..43eeaeadce 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 d763dd9ecb..2dba9ff9d9 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 67538569d0..4d05b0ba64 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 349fbe4656..adf57a49be 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 4d833ef7b4..2818b8e764 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 240726bce0..8b33e2b96d 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 e50c462592..7cee34daa4 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 a0378087f5..b334a2a3d3 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 bced42c79f..c966803570 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 f37e17c935..817119b7a2 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 898b75ad65..a424e6399e 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 2008c4c008..43e85e1029 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 3ee9a53a7d..086d1f56c0 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 15c974db12..dc00b08ef4 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 cf5fbb4208..d72ee05287 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 69356ce507..470b9ff93d 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 5e23edddea..c1a28c61dd 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 5f5773a020..2a1ab08158 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 76c486b6c2..10329ed87f 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 8c41c56cc9..31f4cb5d18 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 d21a0c4994..6a686562e6 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 74b61e58dc..13d625c4c5 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 39f198599d..9297022699 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 27618395c4..519f2f69a4 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 63145050eb..f4eab84690 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 e670f3ace2..ab6d84f228 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 fd22ebc2b0..45f06c6839 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 e045a2a048..ab9141a2c1 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 3af18d2b8e..4eaa077ac6 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 579d0ccb42..00dc442934 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 2ac80845c1..c940871d04 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 b3aa2b7e00..5dbab7a666 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 479f11917f..deb573dc44 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 7935fb9778..3b20f08de8 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 ec3a715062..1f94723b15 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 edb742d19e..92566e4d46 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 9eb2a184dc..3bd73aa1d4 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 2ff0bdba91..9e9c7618b6 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 2863016694..c52bacc33f 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 c30c35cc9e..01b96f92f3 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 911a62df1b..dcf08fb18e 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 5f1423c7ae..90ba6f3577 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 728f7d9738..e382f44ffc 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 2964ce96e4..13d82795e3 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 9cdf160e3b..029fe36b0b 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 7696ffc1bb..121f48cbb9 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 356e16a875..6546649f3c 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 73cc5931ad..304a6390ec 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 deb3b5e0b3..573e866a22 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 193509ccdc..6a9b45e665 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 f30efa5035..d96c6c0f00 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 781d84935b..571285bfca 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 90fe1f06f4..688fb96fdb 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 be54003c31..9b99d7cdf3 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 effe1b46a4..70c928393f 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 ce47d42267..d941780b0f 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 c9a847b042..8f631d30eb 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 e9454cab13..e3b174e97b 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 1c28eb2433..94c3c5abf3 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 8d7e373b55..1e75a7af22 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 bcd254b1ce..42f8a8040c 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 8823736c3c..b7308870c6 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 e6b38ad18e..c9dfe4b0e6 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 abe4d5b95e..c09ba53782 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 8536d3fda3..240f71f347 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 af18df497b..8c7ed3e297 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 29297d8776..c83d99da12 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 0c8e9f34a5..252ffcc0eb 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 a2d94fb33d..03fae1c1aa 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 0911fafa20..c2aa7e3417 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 ff8146424d..45d2dc2ea7 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 f8b26a4225..285e3fb780 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 79e3fbcef7..0c6f355e68 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 914e12d21c..7db4883436 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 340dabf6d7..ad20cfa9c9 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 e79addc305..83e6941204 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 8a6a8d419c..739e8fb115 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 0dc6fb3318..96561bc787 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 2d4e242ab8..93827f3042 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 21ff510379..d0126d7712 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 7237ace1bd..5b76cae81e 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 d9fb4f8e20..6c900e471b 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 096c1ab509..05e134840f 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 135f6cc872..3e8bf47c74 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 4243805fb9..48c1485ec1 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 2ff397a03d..17c244d19d 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 dbf7139117..b58c133e5a 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 860ec93d5e..15c3b167f4 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 f75a6ba346..dff30736b0 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 04988490cb..8d6292d434 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 a623a81080..0e63e2a737 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 a0e106305b..b0958493ec 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 13e042b643..3a262e339a 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 d53f098844..ef0d8e2945 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 0339f56ad0..3f2838bacc 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 20c5c6d15f..e3801d15b0 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 a84bd57b99..b1a91e3322 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 ae6e370803..6164a71779 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 ee47752ef3..0a528f5fd5 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 a4344f7f2e..b8e08f9c7c 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 f237f4933d..6678b3c725 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 ed48d9fc86..8324654b0e 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 f6a7b488a9..2ccbb9e0e5 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 decc520af4..610a2e345a 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 ebfe6bf68c..ae7a136ace 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 01d252f07b..f52846a6f6 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 551fe9771c..5842892ec2 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 9916646abb..546c1a5c0f 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 41e9ff9a13..44334d5b1b 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 43858753bd..fe67135cda 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 5664e5852f..42d03a9455 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 3736604be5..d915935132 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 1a285c6b37..aaab6857b5 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 97669cba30..d0af007f02 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 dbb1ee8b9f..ca4ebfeacc 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 36173737dd..fe87e82d7a 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 6f9448d243..208b9c44f0 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 811fbfe1e2..f11dde28f0 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 d71da918cd..4b3e9a8a6b 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 acbcae9d39..caf925cde8 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 9de6f3b4be..c52bc9277d 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 356781a512..e83ab279d0 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 25e5409bcb..f83a6c1525 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 b4b32cdf1f..6003dc0f9a 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 4659a7f7e6..67fcc9df01 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 1ee2e1cf70..55ea30ccfe 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 398fc3530a..dfeecc4e25 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 d0f889106c..d356b3d48c 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 0795b2d3df..b007d4ade7 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 47e67a0409..f06986a2ac 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 1bcd2ce18b..1b04463707 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 e9a92ac5f0..522e26ca7a 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 a9819d79c5..41d1d4f350 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 f961a66007..4ee42237bd 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 adb75d2a12..8e763d6216 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 5a11da7792..d754fc9d7a 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 18768d31d3..0f646d6ce7 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 e392790302..427b268909 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 e9b43a4d46..2e6fdf07b7 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 112f55ff5c..7f446bf3e7 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 de596cefcf..8188bdd132 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 fbf8767293..5be86e94d6 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 dc4a848ea6..6eba3c9192 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 a1a8e99cd0..e7a6ca05f4 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 f284ebac21..c106800237 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 ad0e80d4b6..f4abe51af1 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 f78bbe38dc..9dfd6e8c91 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 bf69b6405a..4fb59c546c 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 1a936c100a..3d10314bcb 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 3195e9f40c..24c2641ac2 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 5c4e73160b..52899fc655 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 bcbe0c28ec..dfbc286ae5 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 fbe65573cc..dc75891055 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 c2ee9e89c7..16863d2f7e 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 11990e9c02..4dc4847e6a 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 c6813d9db5..575754fc65 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 5b7c9ef230..b816adf82e 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 cdf7208185..b94d57efd3 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 cb1190b5f7..f6fe58725a 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 aa39ce2312..747ec79ae5 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 d8cc560c5f..f59e7a8aef 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 db44da0dae..e9f2254aa3 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 6cf321fb74..582ef9ee7c 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 ef30588c02..6c4971439a 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 a351dd664a..9d38f58017 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 2b1df48e35..a0fa9e88cf 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 76051ad9d6..077a203741 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 ff81009d47..b0cabec693 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 7bd16d51dc..344ae6298d 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 56b13ae49c..1c92eec61a 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 34fa402503..ff7c46b3f3 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 03b9292186..cb77b1c53f 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 c7755f867b..bbb10c25f0 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 8251492d03..2951ee0e9e 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 7c5168faae..f49ca23142 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 6a6dc5faf2..53eb568ba8 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 0d849396e2..643dbfed82 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 7eb6e49697..cd8597ad6b 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 d59d3aa247..b040ae6893 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 752d3bce7b..16e2e0e70b 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 029186d14f..105a71e2f4 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 3973488332..60f189e8fd 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 26b9b4282f..ef1595c6f4 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 41ed54d302..e4666c1401 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 8a28d04d4a..6f2ef0d969 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 5d241bfeac..d0e05ba882 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 e05360cdf2..db3d6732e0 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 248a0dac9f..5831556168 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 498bac8fbc..2effdd0205 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 d0de134cf7..b63418efc3 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 49b6b7d29d..a52565d2b3 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 384223c6a4..41f0ae22bc 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 45bc4b2893..9d572ffe74 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 4565db702c..e4fd9f9946 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 5a4e61374c..734cc26130 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 26fd9693ff..b5dcb17c2c 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 c2c5b491f7..70d4522409 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 d4dde88614..8d99e76c91 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 ef84944e56..d78cca999a 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 181f77397e..5fab7c86f2 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 e7da10e0ac..58b3af79fc 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 aa76e96341..ac3e4311fb 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 2a15e07024..a24d218dc8 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 c63890e3ad..6c52f4e918 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 c501a105c3..198b1c496b 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 fecfbbf9a8..f5ff887b72 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 d42fc221e0..c116fac11c 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 1028d9e299..0927a9fe8a 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 5eb99dbbb7..2695872293 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 0e502af12f..60c198d078 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 6b6fa94ea8..2c868e011f 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 63b7ceefec..c14977c4d7 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 dbedbe8e9d..353c4cd7f1 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 b370122acd..b2b3d58611 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 bfe0dafdf0..b10b894dfc 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 0e92b97299..37eb44f810 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 5d897a14ab..c5577831a5 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 e321f7fcb1..5f75665022 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 34b080ad71..8da57bc8ab 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 1277c5914c..4dc70a96d9 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 5e3c249b14..55d73def18 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 f06a648767..6ca6154a9b 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 147e2cdad6..8d127bd8fd 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 9831628d3c..845c737473 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 9471cefa5b..db67c6202c 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 1766755422..ef7ae8524e 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 757560a5f9..1c127a87ae 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 233ada2b0a..d7ce6644fd 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 d98090d0cc..2ec4f2240f 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 cad51d3317..4fe0683092 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 a3c2ca623a..5eaf7f36e2 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 3267020745..823a821dac 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 baf21345bc..68a8d65a7d 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 8cd12a83f5..6d66d51ecc 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 2d12bfd4a7..f423d9febe 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 e384cf6da7..de76d952e4 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 e3c2074648..9d5b6e377d 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 31e785eb12..27f3c78396 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 2dae61d879..3aad78b06b 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 c2cac2b249..d656777b1b 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 b8bfe1d0a7..2f2f2439b6 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 5517314afb..58030d7aab 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 92c632e023..cfd512bf3b 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 040da301df..ea63053471 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 842eaaccf4..612597621e 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 85a93698f5..8ae96e0fa1 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 9fd17e02e3..396d0f6b1f 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 489548e569..c4d9e12550 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 a9b57702fb..754451db45 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 5f8ac71259..c7b2940ba0 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 80dbbd5b5f..a3ef5be55f 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 a3097b4227..c3f973e70a 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 80c151fa9c..cd332fbdc3 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 51576853fc..60d2ac04df 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 b959c96aa4..4401f6a80e 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 3c4640aadf..34b9b64621 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 eee1deefe4..4eb584c710 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 8102386b0a..2ecbb36305 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 39ad065b58..30a3aa1af3 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 775a6decd4..a8151ac929 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 36bbdd229e..16aa827c8f 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 7126d6a5f9..88efa16819 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 cc2c4ad4ea..dc51059084 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 a0e497d8ce..d770a66ef4 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 d4d5a72ba2..f0d8dd8bd2 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 e00ca4136a..e603915297 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 33fca83d60..a67b008b83 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 db9c45ef0d..63cd3be5f9 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 c54bc2c6c4..63e849dc65 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 b55d3614ff..2330f01f7d 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 061d9c5600..67b02ac6c8 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 1a39a66e50..3db57f91bf 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 a5911eb4f4..67ac50bdfc 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 0bbd51b8e2..3df7e1a972 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 7009c7947c..12a0412d5a 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 b4db377f6e..75b6d2131a 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 54d0219742..ad2c2b5309 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 8b7a1d8116..7f5666a713 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 ab8a6d1e5f..2eb855ffeb 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 0554e89105..b46774aa3d 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 3ed9d85492..e3211f311a 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 bc3f81e63f..e5b8d7de30 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 4a8301812a..3bba0bfa29 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 4a5986be9f..44384aab6d 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 76466bebe6..39cdf87b6c 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 b7f09567a4..570eed4fe7 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 bfbe59d816..8db09512ab 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 0a1ef56544..f8c45bf6fb 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 161ba696c8..1f53ae3faf 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 3184fed8a4..91610a8354 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 e514d1b675..149d2fb1a0 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 1e664c22e5..d7aa85ac07 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 e3094a9833..da1530231c 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 bdc2dc15ba..a4ec137dc2 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 52b2c4c4db..bcb0f863b6 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 57b31023e9..c767a112ae 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 4bc4af99a6..22e3899cc0 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 c04388c059..bc40c86e5b 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 6666086133..0033ccc6d6 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 1460be2c29..6b4b4cddb9 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 9c2f639df4..4c0d35f707 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 73c8141701..3cf7eb533f 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 05f20c0554..9550863d8f 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 c9ffce26d5..57eda57998 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 71b9457822..bd27fac45f 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 36a29ccb48..04f7f3c193 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 86077e389f..46b6f3b90e 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 55b2557855..481361174a 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 741ac2668f..a7641cadf4 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 a23697837e..cb55d95ada 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 09e0d74482..d145d71ec3 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 2617acf98e..e9e4a977aa 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 ec58fed866..d8069b0505 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 509ddf7c1c..49dea8ce47 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 aece9b0a53..92fdd768be 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 c905bc1678..05ebf9392a 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 2f277380b3..299dbc1714 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 e40e6c12fa..95d5f97397 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 423370a444..d62a57410e 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 f44a359f89..80c5258ad1 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 a16aed3459..f21ef7e170 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 d4ab7a4c24..86d6f91674 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 75073af847..d3c4485c25 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 9ae4b9fb90..73558ebb9d 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 5e3365916b..9d2d849f8c 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 98076091d0..7425a26d47 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 6a03246fd2..6d043997fc 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 018b8feca0..d93db88014 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 1eff866cd5..35d613e2de 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 9f38832b6a..294aab792b 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 72f1e35b90..5ec9a4084b 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 c2c8fc3c87..4e27abca6a 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 cf319172e7..7443523ec8 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 30ab1efd5c..80944156d2 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 d41410df13..039f4defc7 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 af77e8e347..fbcf228ee7 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 d20161dfdc..07ef3764a5 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 0f35a1e14a..60539d8c17 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 e012d1c302..2e0dfd96ce 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 3d898656c7..825b54ae17 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 363fb023a2..f6c021d2ec 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 c1a4caa94e..a7d19f5e73 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 dd500f8013..b6113ab1a6 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 815b33c5e7..6d45617087 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 3fa9eb51d7..d284d00cae 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 131ed951c5..deab9603af 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 f42052d6b7..2f67df2ad5 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 dbb8663e5b..c35adf5472 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 01daa6f67f..87ea61fa5f 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 6b84f0843c..29b83239c1 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 685b23a174..66cfc420fe 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 047c012046..8e9069f9e7 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 6332f99143..b6656258cb 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 d91e88159c..3c4f487c5d 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 7f0ba5a338..2ec7a4f64b 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 4e05933dfb..94bcb2c3f5 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 6bad5c10d0..5a95b9db7c 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 3621d0bc3e..d368d1133f 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 76c00fa127..5cc5de2d3c 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 91bdb315af..2c8c7d03ce 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 1eab833be3..9f581d5a3c 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 0cbca5df89..ad4d4a33a6 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 fce8e31365..66a08cdb92 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 2e09a38dcf..a291ba4e37 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 788af2382e..4cc139039f 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 99fd85aac8..87d019a399 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 c082f57532..1d2c359050 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 a2ed6189cd..0d02450ffd 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 dc2360c8a8..d5d9f0978b 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 9cba1adcb2..f7873afbba 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 cb5a3983bc..21fa8aaf6e 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 b318e3bcd4..851ba19489 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 e7d9a66ab7..840cba42ae 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 900d6215b3..44f4ff21bd 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 8b10b03d34..6bfb485178 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 92e062ec1a..cfb5d43d7d 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 4e151c156c..2c1f1a706d 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 0e9414a484..5e895cb6d5 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 f13ab2f5c5..f817f69671 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 de733992ae..ac702807cb 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 a7ab733e9f..b60afd70cc 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 1cdf0ce38e..23113f2bd1 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 d65948b387..7f8dd18ee1 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 335887d5ed..837189a79a 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 2965d1d0ec..ed5e7ed8af 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 fd6040c809..3ee0b6d490 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 bdc3f85d29..cdf9db6919 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 761e3b7370..7800b0030e 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 9d45ccff78..1dc2cb36a2 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 99ccfccebd..d327767954 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 3dfac70ed4..0c39a9dd0d 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 a7ecd3f203..1547e631de 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 338cff1127..9b7331cdbb 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 5b01e0ada8..df103dc5f0 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 65cd7bc40c..1b25a09fd9 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 229663f585..ea2e3a47c3 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 c4f98ee692..28cf3cac9b 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 93ea35db7e..df5ea2baf5 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 09a148550e..1274b980c0 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 e77b3877a9..461f948cf2 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 6cec583b27..b06494a922 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 517af87d56..470661d5d2 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 b9df40ae60..a53d527b8a 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 fdbb8c26c4..d6f949ca1f 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 9f0b30c661..76696cf3e4 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 a80574dfec..73dd6887d3 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 33269df293..76eee961a8 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 637fe2c262..545c4f91ba 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 b98895c504..135ee6b9e8 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 a02900eb93..1cca53b9a3 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 1438a3e80f..36b64391c9 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 eb5abc6656..c9ee6511e9 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 f81e7eb25d..6c50d87f2a 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 153a1944d8..30e00e9ab1 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 937d4127a3..d5102d0338 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 c2b7e78c10..fa1d5b66a5 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 2edf75b2bf..3d79eb7882 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 0518f62b7e..83402980ec 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 f7656df351..dcce21ec80 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 6bd0bca3d2..4c200bd26d 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 5645859798..c26ea265ff 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 0322b489dd..61da499d21 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 224b61faaf..971b73d252 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 ebd0b96b55..78b705362f 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 b03df1abe2..4c30fee73d 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 722fa127ac..1fab964259 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 58ddcfea6f..be495d75e1 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 7ebcec0983..72145fb4b6 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 358a7881ab..a198a25472 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 ca7923b54e..f4ac2f7f8f 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 c5741d94b7..32f030c417 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 cc9844bdbe..ea3310f023 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 51a7243c14..812739160a 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 6c20c44880..fad717476a 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 3a7d6458fd..5146da7cd9 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 c3928951f5..30f2338b11 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 203a32ef97..a830bda672 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 075285c0f0..ea119ab509 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 8dcb70914e..b67e612f66 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 d00f39360e..61e05caa1d 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 6bb649c71e..e4ac55dd67 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 038b1d4cab..7d72831e9e 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 7f2c1a7619..070b8408fb 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 5dd52484b1..4d4c4f8e65 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 d906b0471b..6464951262 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 f22e3a6d14..73e5f29d55 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 a3e0afa595..558c65fe4f 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 85d80a6368..30a74ec759 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 394a14b227..15a9f63750 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 58673fab5a..a339ecbc50 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 ef4d42d999..e175171864 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 363f8cdba5..44c0744ebc 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 032c4f1e4f..530e04a09e 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 fb7bac73de..23a1684ebe 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 6e66cb1cc1..dbafff9c9a 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 0781190b0d..83aea00e5d 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 6088add985..6762421047 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 3ee5640c00..182a3df023 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 f87775b83f..b3da80172e 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 8291d9d8a0..8b900451a9 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 98c7a3eb17..81f55cb24b 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 8895cb009a..5a36f0d5fd 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 a3fabc66d9..047da7ca1e 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 9e6259ac18..daaa3d9aba 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 bd16665409..b1379ad78e 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 8e23304e37..ad82a5de81 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 3217ffbd6b..811304d098 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 2fa6b194c6..c4f9a633d7 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 e27a550d65..6bc40c3e27 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 c1377fa786..8c709b5c06 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 e97d0651b7..d4ad53d355 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 b6dae4e88e..5658d6d5a9 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 1aff51e8b1..df462b97b0 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 ba638615a4..fd2bbbc409 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 b2e41c3763..f9e7886ef2 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 286bb10206..3ab1f7e689 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 7e27650bb6..6329357336 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 046c60b70e..e7ef1e8f75 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 fd7cd0669d..175e9954a3 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 907e57d5b4..6062eac613 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 fc582a2436..ea386825f1 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 48b42c4279..ea4fb2208d 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 e3feb825a6..61e3aa69cd 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 56de36ea1d..a520b709ab 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 d796ae32c1..29e1d823ac 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 3babb34040..744e814a2e 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 a962a9ec6f..bb7a57b3dd 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 5722d2d0ec..009871b90f 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 ed67033450..09865bc003 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 70cd57daad..a7910b098e 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 f219ecf689..dcf346f39d 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 caea632977..465cb93e0b 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 7b7f2b0d79..1c04fcbf8c 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 73ec186f89..b968cfabbc 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 633b04d64b..829e23acdd 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 1e15a7d2d5..39081f38a2 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 877f097829..bf81368162 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 b2537ea6d3..dc9ef7a838 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 92eb832c99..c3d26a8836 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 8127ff70d8..16deb1007b 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 a85e8b6680..ab060796da 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 8f62e06d5f..a45b7e6816 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 f8428746f4..a8d3a1a110 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 315b8f7b22..8103584788 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 546e0ec689..8744ab3ce9 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 407fde03ac..b31ddc4923 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 834c6138fa..ca1824aed4 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 99364b3cac..67aac03859 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 d59844714d..c30d68e539 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 acd3657a8d..4cc7367ccd 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 784b7b141a..54cbf98b1c 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 b71d8159e5..3744ab5533 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 9fd2b73e3f..7967be938e 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 98268ad69a..d88224d281 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 7aaa297e19..d5cbbdaf34 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 77f7a22605..a9f58e75e7 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 7acd376f49..9e29da2326 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 4d830244cb..840cd4f79d 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 5445d86e0a..bdd8ca9d84 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 ed51be7c37..0956a938e6 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 21312cee13..e7645baa04 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 a3f30459a4..1f25cad7f0 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 9610c6738e..f0bf00cfa7 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 7bc3f6acbf..5bac3fbca7 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 f6ee928fa6..c1711658f2 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 f99eca7df5..b44c9bc102 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 5c323901c5..7b502f2761 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 71fe8a0f01..a3998b8712 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 23d9056366..a3d4d9611d 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 7abc64fce7..e2fa004e97 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 c3f84672c9..ea6583de6f 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 c7ac98c379..5059f928db 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 d06cfd7279..40f57575ba 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 817efb2d33..4cc26b7e2c 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 1a579d9fd5..8ec9ed79fd 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 17b5c0de0a..0c8fea1df6 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 60d0bcd4a4..c477511a45 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 c2992f4fbe..46ee836bcf 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 4489c3f55a..4ead0ac8ae 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 14a1ce7c48..828cb15b2d 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 2923496c55..30b78dc45b 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 d8b8e2dd1d..e5909cd2ca 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 da817cc28d..b1922c837e 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 11d197fd36..5fee0daa5d 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 0733d89986..6241af3df0 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 6c6835fb1e..4572e60a36 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 0db8835e38..9c5514caab 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 f36c8adc6d..ef76d6ba23 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 43f688441a..fc528db458 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 fa65b77a5f..514c330661 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 50412277e4..6ef8d10e02 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 d852bf85cd..7df49e5e14 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 57e7f54ed5..aad5b82207 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 4df485d0eb..7a1aa81b2a 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 2bddee0c64..ede68a786c 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 3d127a4b7e..d5d8a804a2 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 0106e36324..75640eb9ce 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 ef76bd4512..54c49bde10 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 4038cc23e2..1a33557fdf 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 313c7943fa..cc70e08f17 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 4b6adccefb..28b2ab30dc 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 173cf82e1f..bcd88aa527 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 138a332cbf..86875d1147 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 852bcc487a..ccc73d7422 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 b57ef9621a..c44082f32b 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 74d9df07db..5781d903f5 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 41363c084d..ddf488f3ed 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 0121cc754d..429af118d1 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 39bf6dd922..bde52d7b17 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 18e45b42bd..681280cc0c 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 95f96882ae..dc6bf95c61 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 8d05eec01e..9a5c35aa83 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 44b8a919dc..bb7162b97c 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 a5b60c889b..66abbd0bf2 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 7fe2d7296a..33e4a61836 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 6adf09c60a..6d3269135f 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 6bf3cc8ec0..7a3f196de1 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 c566daff0d..1c3f327a71 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 a3184ce8b8..ae2a529092 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 4cb937444a..550727303f 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 e7986e8ea9..7543230968 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 c990c1c335..ee9635ae1e 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 d8d2175b86..87f45548ce 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 302ce6370f..484caece60 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 493e459fc4..56c1a2fc2c 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 93dce7682e..45cf8aac21 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 362071f798..34ae9b7078 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 3fa099d714..255fe37bc7 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 7d193ed74c..2ad2eb21c8 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 d64a549618..f8f4d2087e 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 4991bd8bb4..93d0a3b1f5 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 7c76d23a5a..87cc02730a 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 fec943ed72..810e27935f 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 ba2d8a50cf..ebdf6256f2 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 ac611454e6..bbac50b45a 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 c184f32d3e..0ba55b6689 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 1c379aa345..00bbfa8c2f 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 f4021cf85c..7e5fe03675 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 fb3d685520..e1a919b3a0 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 dd6433b2e5..835ae7fb9e 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 6768fa235e..0abcf75ef2 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 1e6a065f7e..e58dd159b1 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 f51663c040..e8bed0755d 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 b48bdefc8e..1e0cd019fc 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 aa04b4f392..d398842824 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 20afe56822..b930d942d9 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 ad4a37db21..06bf5234e8 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 a14ff27abb..886112bde4 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 edba5cb96a..5f5a1e813c 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 5128eca5ec..ae467326c5 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 a7dd5e10fe..985ec19632 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 9838c9683c..e6543bcbbb 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 87a7702cdd..c0339d821b 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 70c6090d56..b28452c862 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 ac7fdcc5bc..ebb414865b 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 8f080ce199..1ad21a3ebc 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 dec717662d..579c1aeedb 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 f93ec76375..3ddfe6fa0b 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 7bb46532fb..0af92993b9 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 5a20ed6b15..bc5954c356 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 f0e7bc84b0..dd09959160 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 c3c2d783d4..fbed516465 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 19596b8e6d..4a3f50fab4 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 26d700fd46..c9f41e8881 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 7cf32c5169..664b435fbb 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 1c739409d7..1adb43d296 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 fb26332dc2..017304007c 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 641c72d39c..1b237be85e 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 06143ff219..7caca57837 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 a4f472cc91..d727606af0 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 b1a383cc02..a6049d556f 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 27d57d0d8b..2011a90990 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 c53b87d67d..0106d4b931 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 a1b791206e..7f993f3d52 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 0c65fdf9bc..e73539441b 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 5aa8bff31f..a5cf99dbdd 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 9fa962b9b3..c19c117c67 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 f2a08a33a2..1a87b93efa 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 eea4d268e9..4fc0d12221 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 38224f38f6..27fb0f1699 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 02c16e96b4..9a7a90cf8a 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 75b8532859..021b99c775 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 5600e90a11..09ceb52dd7 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 d879c668ce..fdae1f6768 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 6f650e4aed..fdb6e24c86 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 df68ef3419..9d45f52c1a 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 bd2cbb32fe..34bc2c57ee 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 ce7657629d..3b67209f0a 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 8710677900..54a0a05619 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 e2daff0b89..30c6cacdb2 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 a72551df5e..8a906756ed 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 0eaf830958..4fdc7b405e 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 b9ac12c025..e9b75f7bb9 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 6aed2636bc..a6b3a84b02 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 55d2cffd28..378563aa45 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 68a522df89..2f4bd330ee 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 6248007310..4f5ed4706c 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 ceb6388bdd..c4cdc0ddde 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 3d312985ba..ff3fa8b621 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 ccaed37bb3..b7c3ea065d 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 2c1db09b92..11c88b54d0 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 897d06a6e9..f53b0b7041 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 d9ff253a00..5ac3ab351a 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 d6b49c2662..d064143f3c 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 a769869190..0e655a9643 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 e75032b2d8..9196c4896d 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 96ea21ab00..d18ff601b0 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 00ff93911e..efba3adcfa 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 1eba50f332..646a9294d7 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 485e9fa03d..8d7e4c51a1 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 7e3f387172..12ab46702e 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 18190efa7c..72b7b1561f 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 c753616c66..a0fff43aee 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 49d1b342ce..da81b0fb6d 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 46a37b6f6b..be63580e53 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 fb0a7a42c5..ad02f54323 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 b4266ea9d2..c5e7b0e3d0 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 6597f28c08..c9828b6766 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 961ded1a9c..8352968b6a 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 11dbd8753b..67547e69fc 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 a62002b08f..549e994b8d 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 208e330cc9..aef22ed958 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 6fb043826b..afb91e22c3 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 1a1fc74647..963c07b847 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 461d00aea8..82f45e7bc6 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 6c1d0e3e50..a0063e6394 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 72317f8fc0..0ef4b69cc4 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 884e7f6886..803d6512b7 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 6c96c43cf7..ccb5ac5e18 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 4f885952b8..8badecf5c8 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 f1da5d1c1a..6a63140efa 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 9736559dea..3ab06e112a 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 096b7b8b86..8829f1885e 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 b3ed88704c..b3afb40d5f 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 da1dccc400..0d28201a3a 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 03975196b5..1ee4687a45 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 d0e45f6807..e2b0b7c349 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 bb22e9e41e..ba6ad3a070 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 484cbf714b..10a72b56c4 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 95f7b5da4e..dc3b4b7f07 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 3118e9988b..c506603d84 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 be2f112848..d363523030 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 263c5e59c4..7e0fc183c9 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 08215d32d7..c707f69b23 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 89698f1109..8d6d6f1611 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 8d3ce53a9a..0b828e4a3b 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 25dfad377a..6725233705 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 6c09ed7979..c491094a67 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 8994185daa..49462204a4 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 a2ed0ba3f5..1f129b3217 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 c08ec84928..c4fc145f20 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 f12fdf30d8..3d41c76242 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 85e22f62ff..1842af4ab8 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 dfb79e9f4d..cbf626b647 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 5589036d2c..8eaa10df53 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 b275ddcf31..f060be7487 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 7686037e45..804796b272 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 e0242ddbe6..715d7fbd34 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 efa50a9784..fc359c5ad3 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 7ce1ce0dc4..2d03a1e4ff 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 d5e98c03d7..a74a99f716 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 dc2270709e..1a75f42877 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 f03cd72e7e..afa50abb69 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 c8c931f79f..525df20dbf 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 b2cbfe8be7..e3b0f3b985 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 d509011a3e..27872756d8 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 ca07caa907..455e3b29ce 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 fa065d91bc..4ab1cac5b9 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 851cc23d7b..2bb1435e51 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 afc81180f7..99707be1f2 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 fead173deb..7e20af9984 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 9a8fde69f5..b01b82682f 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 5ad3eab515..82504889af 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 1733508866..d39ac40255 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 e9c87d15ea..36b88ae963 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 ee28ec7082..7e42606742 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 d3c6b7a2d6..d1290b13f4 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 4d66a780c2..c2347449f9 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 f6a6c30727..04e5b0aa5e 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 896e8936ee..5a4c22737d 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 adc507ca1b..cf314e42f7 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 866f54be3e..599cffff15 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 ee2f6052d5..b47961982e 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 e4c09833a1..5a8023e3be 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 c7b73e018b..3486a3d86e 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 efe23b2f39..6e75bee43d 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 fb8e1a81b9..8c01329c3b 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 68e0327050..4078cbe894 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 e4f3fcf159..366d2464a4 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 3805ab8953..b78be4a2f3 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 cb2b03d0b3..44894d4741 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 bd171a6ce7..49137bd196 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 7f6c62d562..b1f96b2254 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 f70d74be73..7baaca31a5 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 3149e838b2..f8cd8ad4a8 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 ed047862b4..48cbe5b867 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 d8ec1370ca..8eba573eaa 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 327c6d71ff..66a033ceb8 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 6b511cf502..083bdb4dd3 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 7409cd765b..9388bc7338 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 7947b6be43..4de82ce073 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 7bd62079c5..a84b41834e 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 7d9975cbb4..01fddbfabc 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 41a721a826..feb8ab8d9c 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 9bde18acef..1049b0d34a 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 5efab62524..149a257acf 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 7a2618c61c..17b4a13d91 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 cd1fcbfc31..bb6f67ddfe 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 5a83e5b62c..aef03ededd 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 10cbdfd3dd..1338ada9e9 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 da09f8318b..241597396b 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 f80e7a8dea..49e3e5a274 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 8c0e27c8fe..72309835e9 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 d58e6fd7f2..77a41f1904 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 48f52d0363..dabaa8ac42 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 63f5c1efeb..977c3fe671 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 aff936f76f..6f8d960c30 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 71d7a55812..71cc6974c9 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 0ddbe2d2db..ad3ebc5154 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 e0d70c8329..3b9b21e911 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 914e079739..749198de73 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 a0c4720812..be23326c23 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 d31e3cad09..2d10a06724 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 a2d304e26a..bb6f417cdb 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 bbf3359c2b..049300d336 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 6386c2cd8f..63d7831e71 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 976a0218a5..1b5ae9bb5c 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 e93b921c0b..de2d660d74 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 fe8b0aaeec..d05559bb85 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 91daaf3393..2aed8545db 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 bef0e17942..862497cbef 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 6954627071..369cad8aa4 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 0c787896d2..2f6874564b 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 53750ca2e4..b5a81bcdd6 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 026f8695ec..7c409c893f 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 6fffe813f9..a3405e00c1 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 f3bfd6bbd1..134b8ff27f 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 b2aa1e1bbf..f48c4072bd 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 1728844a66..e0b8555ba0 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 8b29a62af2..3107eca196 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 8da72dea6d..17bdac9671 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 f41690bbe4..e1c4f602f3 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 7699068bd7..639ae0daad 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 91fcf5a188..91c740425c 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 9bd61c5eaa..eb6c748c38 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 5389290405..9075e8b06e 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 e3fa18d117..ffd21163d7 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 5d1679156c..50c1436369 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 d31eca002c..5f84b7dadc 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 910092e5fc..b802ebfdd4 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 eb26c43f5a..7ad16ae292 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 45b70425ab..1df599c6df 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 91c9018583..d3abffd0aa 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 56c94a9f46..28c29541dd 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 34e5e6602e..2015df183e 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 e53cfdb788..06ba51de71 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 d2f3704532..9b68bd4bfd 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 fa887877e7..b394bc4758 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 c04ecac43a..7f8dd3fc55 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 d0c17bea24..d164c83803 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 22972b0170..257fc43417 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 ba502bb42d..f52f94d4ef 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 c947f1495f..f6820cff7a 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 d3a9e1fabb..f074d53df7 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 acbdc7df84..84e621f6fb 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 bf251c3a44..d23ffc9d95 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 47b516fc0c..aecb10b46a 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 91d7834bd9..1ef524c76c 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 cb518cf3d0..93e89fe881 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 d7ee9f3c8c..eb114227a0 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 07350db303..fe649f6cb4 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 2a1bbf9fbc..b46f34dfce 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 eedba1c343..40ae307b0c 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 7ef749b697..22138cb47a 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 3e25e024c3..5cf8121dbc 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 48132a5b86..170ecc3f3e 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 399bbcafd8..9fd45cd63e 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 14d741a0c1..a8ee93df56 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 6dc3217530..54ba03cbd3 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 bfbd7044e4..2f9b8e92f1 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 312a21e3d7..a39b26fa40 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 283d4825b5..0d22964e4f 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 18a094823a..43d4148942 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 2287ffa748..c5f9d2d058 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 5e9bc93248..61045b39c6 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 edc471e98c..aeda51be44 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 489402db4c..608e69bc04 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 1c54c67605..34605cdf18 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 a0d63bc428..d0d86af1fa 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 bf80710c74..2fcb26a5e8 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 2dae52ccf9..2bb6fc6821 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 8a6285ffe9..fafe9b1edb 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 b0ba71e9fa..01f57c4ee4 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 71e3d900cb..3a07de8f6c 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 fe5defe403..f7e352af5c 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 d9e339fe12..f9634c2060 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 c9ee6389f5..3ec47a9f54 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 bd32ff4e2b..8345f37b84 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 c49aee2be8..8d3ca87a78 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 3a2b0f2369..aed5ccd7bd 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 f6e5016f6a..7913add62f 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 e9b393df78..0d69e502e5 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 db144550c9..a2e600dd9a 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 f52cbffd57..6f6511e9ea 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 cd0dc662ee..e86076464a 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 66d18523d1..0fae8c12af 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 caf5062ca4..9eef741540 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 cab898f8fa..2c45078efa 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 4101886d0c..04e401577f 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 e984c9af9f..719aa626ad 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 53cf5838df..97fd1b79a0 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 2151f73c17..ccdebd964a 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 17b2a686ec..77304048da 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 3eca92a38d..14885d6d7f 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 cf1de2d0d1..c9bc274ce8 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 d6838e5c9e..f9b83ed6fd 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 ee152ebd6f..da12405f95 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 c0c188d3e3..e877054d70 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 4ec0dc7a23..72b7333768 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 da240e5b06..96e1eff540 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 ef355ee627..52e4cc6e9a 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 c847322191..1d09aa0563 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 8eed873681..a63d64cd9a 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 92761bad77..914d84f973 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 c637d8e963..f1d8ffc000 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 02263cf4d2..3fff4e4147 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 7b53f21ca0..5634d53523 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 a393010966..4105cd0e79 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 36225ed780..a9f24db966 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 627f70bd18..b01c24cbc2 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 e37cf4f41f..afc5eb0ecd 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 88a2b41a66..3b52c2f46e 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 87a82e8189..b0736ed1b6 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 912c58875d..6c30132cd1 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 f2524ff7fb..4448db0b45 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 5371a02bb4..cba2290d2d 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 d054fcb1a1..46d4707fe1 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 ebf96e87ee..6ab0f6040b 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 d542279d6b..b420246509 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 0c4b3132cd..f1ba67b655 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 1fad4b939d..17139f2092 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 b4cdac7a89..758232da6e 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 5dbea10e90..cf4f7ba9af 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 08efddbf49..36f4cca0b7 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 754fc9b6a8..a355aa604b 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 b2f41c5274..268197928f 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 06af0d9f80..d91a362dfc 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 a7443afa1b..c9668c1ffd 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 053af5d275..e17a0724be 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 076112ee03..83c894e5a9 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 4cbb8a6258..b9136c64e1 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 6a3ef11b6d..6473196515 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 6bb35db676..8c28708d24 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 a4d655a464..bc31069cdf 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 ef95924b09..679787c602 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 14f0943b9e..a803f8f295 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 6c7fced657..baa72cdbeb 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 926352a806..2f1cdf32ed 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 decd7ad63d..dcb3e8da2c 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 eda4434a3f..6c1eecf0c8 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 |