aboutsummaryrefslogtreecommitdiffstats
path: root/gitea-cli/gitea-cli.SlackBuild
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-06 11:16:10 +0200
committerDanilo M. <danix@danix.xyz>2026-07-06 11:16:10 +0200
commit57b04742a1bbdc48601a008310bfdb4c2ee3d12a (patch)
tree759129cd9e7509e40303f79e9d7b71487645f698 /gitea-cli/gitea-cli.SlackBuild
parent15a27e2e5bc21142fee369b56663b0d8ae1c9204 (diff)
downloadmy-slackbuilds-57b04742a1bbdc48601a008310bfdb4c2ee3d12a.tar.gz
my-slackbuilds-57b04742a1bbdc48601a008310bfdb4c2ee3d12a.zip
gitea-cli: fix source tarball name in SlackBuild
slackrepo places the source under the DOWNLOAD URL basename (v$VERSION.tar.gz), not $PRGNAM-v$VERSION.tar.gz. Read the correct name so the build finds it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'gitea-cli/gitea-cli.SlackBuild')
-rw-r--r--gitea-cli/gitea-cli.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/gitea-cli/gitea-cli.SlackBuild b/gitea-cli/gitea-cli.SlackBuild
index 53a6fed..033ddf3 100644
--- a/gitea-cli/gitea-cli.SlackBuild
+++ b/gitea-cli/gitea-cli.SlackBuild
@@ -65,11 +65,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-# The gitea archive URL basename is "v$VERSION.tar.gz"; sbodl saves it as
-# "$PRGNAM-v$VERSION.tar.gz". It extracts to a top dir named "$SRCNAM" (tea),
-# not "$SRCNAM-$VERSION".
+# The gitea archive URL basename is "v$VERSION.tar.gz" (that is the name
+# slackrepo/sbopkg place next to this script). It extracts to a top dir named
+# "$SRCNAM" (tea), not "$SRCNAM-$VERSION".
rm -rf $SRCNAM
-tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+tar xvf $CWD/v$VERSION.tar.gz
cd $SRCNAM
chown -R root:root .