aboutsummaryrefslogtreecommitdiff
path: root/slackbuild
diff options
context:
space:
mode:
authorJ Pipkin <j@dawnrazor.net>2013-03-30 12:59:50 -0500
committerJ Pipkin <j@dawnrazor.net>2013-03-30 12:59:50 -0500
commit4f68deb678ee9e8c5116435459914120560bef49 (patch)
tree435e237539ebd85963df8fe4b5baa07e9bc39af4 /slackbuild
parentdbd9fd0588a91fabc845b903da46cf9f30b21897 (diff)
downloadsbotools-4f68deb678ee9e8c5116435459914120560bef49.tar.xz
updated slackbuild per slackbuilds.org, updated .info with new link and md5sum
Diffstat (limited to 'slackbuild')
-rw-r--r--[-rwxr-xr-x]slackbuild/sbotools/sbotools.SlackBuild30
-rw-r--r--slackbuild/sbotools/sbotools.info4
2 files changed, 10 insertions, 24 deletions
diff --git a/slackbuild/sbotools/sbotools.SlackBuild b/slackbuild/sbotools/sbotools.SlackBuild
index d6a96b1..cb703f8 100755..100644
--- a/slackbuild/sbotools/sbotools.SlackBuild
+++ b/slackbuild/sbotools/sbotools.SlackBuild
@@ -16,20 +16,20 @@ 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 $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
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 {} \;
+ -perm 400 \) -exec chmod 644 {} \;
( cd SBO-Lib
perl Makefile.PL \
@@ -47,28 +47,21 @@ MANS="man1 man5"
mkdir -p $PKG/usr/sbin
for i in $SCRIPTS; do
- cp sbo$i $PKG/usr/sbin/sbo$i
+ cp sbo$i $PKG/usr/sbin/sbo$i
done
for i in $MANS; do
- mkdir -p $PKG/usr/man/$i
- cp $i/* $PKG/usr/man/$i/
+ mkdir -p $PKG/usr/man/$i
+ cp $i/* $PKG/usr/man/$i/
done
-# Compress man pages
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
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz; rm $i ; done
-# Remove perllocal.pod and other special files that don't need to be installed,
-# as they will overwrite what's already on the system.
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" \
- | xargs rm -f || true
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-# Remove empty directories
find $PKG -depth -type d -empty -delete || true
-# Copy program documentation into the package
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/SBO-Lib
cp -a \
SBO-Lib/README \
@@ -78,12 +71,5 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-if which xz >/dev/null 2>&1; then
- PKGTYPE="txz"
-elif which bzip2 >/dev/null 2>&1; then
- PKGTYPE="tbz"
-fi
-
-# Make the package
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/slackbuild/sbotools/sbotools.info b/slackbuild/sbotools/sbotools.info
index 030b124..8517a1f 100644
--- a/slackbuild/sbotools/sbotools.info
+++ b/slackbuild/sbotools/sbotools.info
@@ -1,8 +1,8 @@
PRGNAM="sbotools"
VERSION="1.6"
HOMEPAGE="http://dawnrazor.net/sbotools/"
-DOWNLOAD="http://dawnrazor.net/wp-content/uploads/2013/01/sbotools-1.5.tar.gz"
-MD5SUM=""
+DOWNLOAD="http://dawnrazor.net/wp-content/uploads/2013/03/sbotools-1.6.tar.gz"
+MD5SUM="cc8a362cdbced4d2c166bc9edb673f4c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Sort-Versions"