[Slackbuilds-users] Write SlackBuilds with Github tags as source

Alexander Verbovetsky alik at ejik.org
Sun Jul 24 14:06:37 UTC 2022


On Sun, Jul 24, 2022 at 09:42:36PM +0800, ltlnx.tw at gmail.com wrote:
> I've encountered a problem when writing SlackBuilds for fcitx5 -- the
> Github releases only has tags, not tarballs. However, tags downloaded
> from Github don't have the package name in the filename. For example,
> if I want to download version 5.0.18 from their "Releases" page[1] by
> clicking on "tar.gz" on the tag, the downloaded file would have the
> filename "5.0.18.tar.gz", as opposed to "fcitx5-5.0.18.tar.gz".
>
> In this case, should the Slackbuild assume the filename
> "fcitx5-5.0.18.tar.gz"? Or should I change it to only assume the
> version number ("5.0.18.tar.gz")? TIA.

This is a wget/curl-friendly URL:
https://github.com/fcitx/fcitx5/archive/5.0.18/fcitx5-5.0.18.tar.gz

See https://slackbuilds.org/GITHUB_URLs.txt for all details.

Best regards,
Alexander


More information about the SlackBuilds-users mailing list