aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
commit687c78d5604ce299d5164ffd69de88f2dd10fefc (patch)
tree2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /misc
parent610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff)
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/bchunk/bchunk.SlackBuild4
-rw-r--r--misc/beep/beep.SlackBuild2
-rw-r--r--misc/biosdisk/biosdisk.SlackBuild2
-rw-r--r--misc/bodr/bodr.SlackBuild10
-rw-r--r--misc/boncuk/boncuk.SlackBuild10
-rw-r--r--misc/bsdsfv/bsdsfv.SlackBuild2
-rw-r--r--misc/ccze/ccze.SlackBuild2
-rw-r--r--misc/chemical-mime-data/chemical-mime-data.SlackBuild10
-rw-r--r--misc/chm2pdf/chm2pdf.SlackBuild4
-rw-r--r--misc/cksfv/cksfv.SlackBuild2
-rw-r--r--misc/dbview/dbview.SlackBuild2
-rw-r--r--misc/dcc/dcc.SlackBuild4
-rw-r--r--misc/dmg2img/dmg2img.SlackBuild2
-rw-r--r--misc/flashrom/flashrom.SlackBuild2
-rw-r--r--misc/fribid/fribid.SlackBuild2
-rw-r--r--misc/funny-manpages/funny-manpages.SlackBuild2
-rw-r--r--misc/g15composer/g15composer.SlackBuild2
-rw-r--r--misc/gnome-mime-data/gnome-mime-data.SlackBuild2
-rw-r--r--misc/ibus-pinyin/ibus-pinyin.SlackBuild2
-rw-r--r--misc/ibus-skk/ibus-skk.SlackBuild2
-rw-r--r--misc/kasumi/kasumi.SlackBuild4
-rw-r--r--misc/lbdb/lbdb.SlackBuild4
-rw-r--r--misc/ltunify/ltunify.SlackBuild2
-rw-r--r--misc/mdic/mdic.SlackBuild6
-rw-r--r--misc/megatunix/megatunix.SlackBuild6
-rw-r--r--misc/nixnote/nixnote.SlackBuild2
-rw-r--r--misc/par2cmdline/par2cmdline.SlackBuild2
-rw-r--r--misc/pinfo/pinfo.SlackBuild2
-rw-r--r--misc/projectM/projectM.SlackBuild4
-rw-r--r--misc/protobuf/protobuf.SlackBuild4
-rw-r--r--misc/readesm/readesm.SlackBuild6
-rw-r--r--misc/recode/recode.SlackBuild2
-rw-r--r--misc/rsibreak/rsibreak.SlackBuild2
-rw-r--r--misc/rsnapshot/rsnapshot.SlackBuild4
-rw-r--r--misc/siege/siege.SlackBuild2
-rw-r--r--misc/ssss/ssss.SlackBuild2
-rw-r--r--misc/tal/tal.SlackBuild6
-rw-r--r--misc/tamsyn-font/tamsyn-font.SlackBuild2
-rw-r--r--misc/temper/temper.SlackBuild2
-rw-r--r--misc/texscythe/texscythe.SlackBuild2
-rw-r--r--misc/txt2tags/txt2tags.SlackBuild8
-rw-r--r--misc/vdpauinfo/vdpauinfo.SlackBuild2
-rw-r--r--misc/viking/viking.SlackBuild2
-rw-r--r--misc/xapian-omega/xapian-omega.SlackBuild2
-rw-r--r--misc/xclip/xclip.SlackBuild34
-rw-r--r--misc/xdelta/xdelta.SlackBuild4
46 files changed, 72 insertions, 116 deletions
diff --git a/misc/bchunk/bchunk.SlackBuild b/misc/bchunk/bchunk.SlackBuild
index d4d5a72ba21df..f0d8dd8bd2364 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 e00ca4136a422..e603915297c52 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 33fca83d60ad9..a67b008b8367b 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 db9c45ef0d4b9..63cd3be5f9e95 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 c54bc2c6c479f..63e849dc65eee 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 b55d3614ff678..2330f01f7d550 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 061d9c560011e..67b02ac6c83b6 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 1a39a66e508da..3db57f91bff0a 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 a5911eb4f42af..67ac50bdfc91a 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 0bbd51b8e2be7..3df7e1a972d5b 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 7009c7947ce1a..12a0412d5ae43 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 b4db377f6ebc3..75b6d2131a472 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 54d0219742ed0..ad2c2b5309957 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 8b7a1d81160a0..7f5666a71359b 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 ab8a6d1e5fe9a..2eb855ffebbd0 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 0554e89105a99..b46774aa3d783 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 3ed9d854921c8..e3211f311a519 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 bc3f81e63fd98..e5b8d7de30dfb 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 4a8301812af71..3bba0bfa2944c 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 4a5986be9f0ae..44384aab6d6b1 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 76466bebe6f2f..39cdf87b6c5b0 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 b7f09567a4c19..570eed4fe7289 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 bfbe59d8167c2..8db09512abe93 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 0a1ef56544909..f8c45bf6fb47e 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 161ba696c82da..1f53ae3faf442 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 3184fed8a4ddc..91610a8354a49 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 e514d1b675462..149d2fb1a0560 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 1e664c22e527d..d7aa85ac07b02 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 e3094a9833a5d..da1530231c11e 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 bdc2dc15baec6..a4ec137dc2204 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 52b2c4c4dbc59..bcb0f863b6dd1 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 57b31023e90fc..c767a112aea73 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 4bc4af99a6184..22e3899cc0ee8 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 c04388c059090..bc40c86e5be80 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 66660861337df..0033ccc6d6513 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 1460be2c292a1..6b4b4cddb91f8 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 9c2f639df472d..4c0d35f707121 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 73c8141701200..3cf7eb533fa6a 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 05f20c05548a7..9550863d8f89c 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 c9ffce26d5880..57eda5799858d 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 71b9457822784..bd27fac45f8d0 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 36a29ccb48620..04f7f3c193dbf 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 86077e389f199..46b6f3b90e563 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 55b2557855814..481361174a17d 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 741ac2668f0bc..a7641cadf4363 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 a23697837e141..cb55d95adaefe 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