fork of master branch from git://git.slackbuilds.org/slackbuilds.git (read more on wiki). If you want to fork/pull request do it only over master (the other branches are temporary and are always rebased on master). alternative interface https://cgit.ponce.cc/slackbuilds/
cd $PRGNAM-$VERSION || exit
# Extract gnulib and bootstrap with corrected paths
mkdir -p gnulib
mkdir -p bootstrap1
tar xvf $CWD/gnulib-$GNULIBVER.tar.gz --strip-components=1 -C gnulib/
tar xvf $CWD/bootstrap-$BOOTSTRAPVER.tar.gz --strip-components=1 -C bootstrap1/
# Copy the bootstrap script to the current directory
cp bootstrap1/bootstrap .
# Ensure the bootstrap script is executable
chmod +x ./bootstrap
# Check if bootstrap script is in the expected location
if [ ! -f ./bootstrap ]; then
echo "Error: bootstrap script not found in the current directory after extraction."
exit 1
fi
chown -R root:root .
recode is not building for current and as maintainer explain in README :
Used these sources:
https://github.com/gnulib-modules/bootstrap/archive/8161486733/bootstrap-8161486733a34d19c7b2b741fab5ade4b6a31c98.tar.gz https://codeload.github.com/coreutils/gnulib/tar.gz/refs/tags/v1.0 https://github.com/rrthomas/recode/releases/download/v3.7.14/recode-3.7.14.tar.gz
Also a small modification needed to SlackBuild:
Builds and run fine.