aboutsummaryrefslogtreecommitdiffstats
path: root/firefly-cli/firefly-cli.SlackBuild
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-06-30 15:16:27 +0200
committerDanilo M. <danix@danix.xyz>2026-06-30 15:16:27 +0200
commit00c1e61505d2e3d575421780cb47a8344eddf077 (patch)
tree95fa1ca837419d273a2d9b43f583223383671410 /firefly-cli/firefly-cli.SlackBuild
parentc9b9cf84a6d0cd11bcfbce0fca1dad02a70c9e47 (diff)
downloadmy-slackbuilds-main.tar.gz
my-slackbuilds-main.zip
firefly-cli: update to 0.2.1main
Bump to 0.2.1 and ship the bash completion script as /etc/bash_completion.d/firefly.new, merged on install via a standard SBo doinst.sh config() handler. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'firefly-cli/firefly-cli.SlackBuild')
-rw-r--r--firefly-cli/firefly-cli.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/firefly-cli/firefly-cli.SlackBuild b/firefly-cli/firefly-cli.SlackBuild
index c58a9f7..3cef043 100644
--- a/firefly-cli/firefly-cli.SlackBuild
+++ b/firefly-cli/firefly-cli.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=firefly-cli
-VERSION=${VERSION:-0.1.0}
+VERSION=${VERSION:-0.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,6 +68,9 @@ find -L . \
python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl
+mkdir -p $PKG/etc/bash_completion.d
+cat completions/firefly.bash > $PKG/etc/bash_completion.d/firefly.new
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE README.md SKILL.md \
@@ -76,6 +79,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
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE