From ee1f9b49687f577a35ef80d48401eadcbd955413 Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Sun, 24 Nov 2024 06:59:31 -0500 Subject: Rename to sbotools2 --- ChangeLog.md | 2 +- README.md | 2 +- slackbuild/sbotools/README | 16 ------- slackbuild/sbotools/sbotools.SlackBuild | 78 ------------------------------ slackbuild/sbotools/sbotools.info | 10 ---- slackbuild/sbotools/slack-desc | 19 -------- slackbuild/sbotools2/README | 16 +++++++ slackbuild/sbotools2/sbotools2.SlackBuild | 80 +++++++++++++++++++++++++++++++ slackbuild/sbotools2/sbotools2.info | 10 ++++ slackbuild/sbotools2/slack-desc | 19 ++++++++ 10 files changed, 127 insertions(+), 125 deletions(-) delete mode 100644 slackbuild/sbotools/README delete mode 100644 slackbuild/sbotools/sbotools.SlackBuild delete mode 100644 slackbuild/sbotools/sbotools.info delete mode 100644 slackbuild/sbotools/slack-desc create mode 100644 slackbuild/sbotools2/README create mode 100644 slackbuild/sbotools2/sbotools2.SlackBuild create mode 100644 slackbuild/sbotools2/sbotools2.info create mode 100644 slackbuild/sbotools2/slack-desc diff --git a/ChangeLog.md b/ChangeLog.md index 662d422..bd5109d 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -## Unreleased +## [2.7.1] - 2024-11-24 ### Changed diff --git a/README.md b/README.md index f55435b..9c1cab4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# sbotools +# sbotools2 **[sbotools](https://pink-mist.github.io/sbotools/)** provides a ports-like interface to [slackbuilds.org](http://www.slackbuilds.org/). diff --git a/slackbuild/sbotools/README b/slackbuild/sbotools/README deleted file mode 100644 index 4440eed..0000000 --- a/slackbuild/sbotools/README +++ /dev/null @@ -1,16 +0,0 @@ -sbotools (ports-like interface to slackbuilds.org) - -sbotools is a set of perl scripts providing a ports-like automation -interface to slackbuilds.org. Its features include requirement handling -and the ability to handle 32-bit and compat32 builds on multilib -x86_64 systems. - -There are man pages for each of the sbo* commands, and more documentation, -as well as online versions of the man pages, can be found at -http://pink-mist.github.io/sbotools/documentation/ - -sbotools bundles the required Perl module Sort::Versions with it. This does -not interfere with a copy installed from the CPAN, or from slackbuilds.org. - -sbotools is written and maintained by d4wnr4z0r, xocel, and pink_mist; -we can be contacted in #sbotools on freenode. diff --git a/slackbuild/sbotools/sbotools.SlackBuild b/slackbuild/sbotools/sbotools.SlackBuild deleted file mode 100644 index d2eb8d4..0000000 --- a/slackbuild/sbotools/sbotools.SlackBuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh -# -# Slackware build script for -# Written by Jacob Pipkin -# Licensed under the WTFPL - -PRGNAM=sbotools -VERSION=${VERSION:-2.7} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=$PRGNAM - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -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 {} \; - -# we set INSTALLMAN3DIR=none to elide the Sort::Versions.3 man page so that we -# don't clobber one from perl-Sort-Versions or Sort::Versions. -( cd SBO-Lib - /usr/bin/perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=site \ - INSTALLVENDORMAN1DIR=/usr/man/man1 \ - INSTALLVENDORMAN3DIR=/usr/man/man3 \ - INSTALLMAN3DIR=none - make - make test - make install DESTDIR=$PKG -) - -SCRIPTS="check clean config find install remove snap upgrade" -MANS="man1 man5" - -mkdir -p $PKG/usr/sbin $PKG/usr/share/zsh/site-functions -for i in $SCRIPTS; do - cp sbo$i $PKG/usr/sbin/sbo$i - cp completions/zsh/_sbo$i $PKG/usr/share/zsh/site-functions/_sbo$i -done - -for i in $MANS; do - mkdir -p $PKG/usr/man/$i - cp $i/* $PKG/usr/man/$i/ -done - -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 - -find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true - -find $PKG -depth -type d -empty -delete || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/SBO-Lib -cp -a SBO-Lib/README SBO-Lib/Changes $PKG/usr/doc/$PRGNAM-$VERSION/SBO-Lib -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cp -a README.md ChangeLog.md $PKG/usr/doc/$PRGNAM-$VERSION/ - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -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 deleted file mode 100644 index 53b236b..0000000 --- a/slackbuild/sbotools/sbotools.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="sbotools" -VERSION="2.7" -HOMEPAGE="https://pink-mist.github.io/sbotools/" -DOWNLOAD="https://pink-mist.github.io/sbotools/downloads/@FILENAME@" -MD5SUM="@MD5@" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Andreas Guldstrand" -EMAIL="andreas.guldstrand@gmail.com" diff --git a/slackbuild/sbotools/slack-desc b/slackbuild/sbotools/slack-desc deleted file mode 100644 index bac1d91..0000000 --- a/slackbuild/sbotools/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -sbotools: sbotools (ports-like interface to slackbuilds.org) -sbotools: -sbotools: sbotools is a set of perl scripts providing a ports-like automation -sbotools: interface to slackbuilds.org. Its features include requirement -sbotools: handling and the ability to handle 32-bit and compat32 builds on -sbotools: multilib x86_64 systems. -sbotools: -sbotools: https://pink-mist.github.io/sbotools/ -sbotools: -sbotools: -sbotools: diff --git a/slackbuild/sbotools2/README b/slackbuild/sbotools2/README new file mode 100644 index 0000000..dceb0bf --- /dev/null +++ b/slackbuild/sbotools2/README @@ -0,0 +1,16 @@ +sbotools2 (ports-like interface to slackbuilds.org) + +sbotools2 is a set of perl scripts providing a ports-like automation +interface to slackbuilds.org. Its features include requirement handling +and the ability to handle 32-bit and compat32 builds on multilib +x86_64 systems. + +There are man pages for each of the sbo* commands, and more documentation, +as well as online versions of the man pages, can be found at +http://pink-mist.github.io/sbotools/documentation/ + +sbotools2 bundles the required Perl module Sort::Versions with it. This does +not interfere with a copy installed from the CPAN, or from slackbuilds.org. + +sbotools2 is a maintenance release of the original sbotools, which was +originally written and maintained by d4wnr4z0r, xocel, and pink_mist. diff --git a/slackbuild/sbotools2/sbotools2.SlackBuild b/slackbuild/sbotools2/sbotools2.SlackBuild new file mode 100644 index 0000000..6448989 --- /dev/null +++ b/slackbuild/sbotools2/sbotools2.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh +# +# Slackware build script for +# +# Updated by Slack Coder +# Written by Jacob Pipkin +# Licensed under the WTFPL + +PRGNAM=sbotools2 +VERSION=${VERSION:-2.7.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=$PRGNAM + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -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 {} \; + +# we set INSTALLMAN3DIR=none to elide the Sort::Versions.3 man page so that we +# don't clobber one from perl-Sort-Versions or Sort::Versions. +( cd SBO-Lib + /usr/bin/perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=site \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 \ + INSTALLMAN3DIR=none + make + make test + make install DESTDIR=$PKG +) + +SCRIPTS="check clean config find install remove snap upgrade" +MANS="man1 man5" + +mkdir -p $PKG/usr/sbin $PKG/usr/share/zsh/site-functions +for i in $SCRIPTS; do + cp sbo$i $PKG/usr/sbin/sbo$i + cp completions/zsh/_sbo$i $PKG/usr/share/zsh/site-functions/_sbo$i +done + +for i in $MANS; do + mkdir -p $PKG/usr/man/$i + cp $i/* $PKG/usr/man/$i/ +done + +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 + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/SBO-Lib +cp -a SBO-Lib/README SBO-Lib/Changes $PKG/usr/doc/$PRGNAM-$VERSION/SBO-Lib +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cp -a README.md ChangeLog.md $PKG/usr/doc/$PRGNAM-$VERSION/ + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/slackbuild/sbotools2/sbotools2.info b/slackbuild/sbotools2/sbotools2.info new file mode 100644 index 0000000..70ac94b --- /dev/null +++ b/slackbuild/sbotools2/sbotools2.info @@ -0,0 +1,10 @@ +PRGNAM="sbotools2" +VERSION="2.7.1" +HOMEPAGE="https://git.server.ky/slackcoder/sbotools2/about/" +DOWNLOAD="https://git.server.ky/slackcoder/sbotools2/snapshot/@FILENAME@" +MD5SUM="@MD5@" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Slack Coder" +EMAIL="slackcoder@server.ky" diff --git a/slackbuild/sbotools2/slack-desc b/slackbuild/sbotools2/slack-desc new file mode 100644 index 0000000..bac1d91 --- /dev/null +++ b/slackbuild/sbotools2/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +sbotools: sbotools (ports-like interface to slackbuilds.org) +sbotools: +sbotools: sbotools is a set of perl scripts providing a ports-like automation +sbotools: interface to slackbuilds.org. Its features include requirement +sbotools: handling and the ability to handle 32-bit and compat32 builds on +sbotools: multilib x86_64 systems. +sbotools: +sbotools: https://pink-mist.github.io/sbotools/ +sbotools: +sbotools: +sbotools: -- cgit v1.2.3