Skip to main content

SBo tool for creating SlackBuilds.

Project description

About

sbo-create, it’s a tool that creates easy, fast and safe SlackBuilds files scripts.

This tool is for everyone, but maintainers will be going to love it!

Enjoy!

Features

  • Preloaded SlackBuilds templates.

  • Checking for already SlackBuilds in the repository and the distribution.

  • Autocorrect the quote marks for the .info file.

  • Auto-importing the SlackBuild script name.

  • Auto-importing the text from the slack-desc file into the README.

  • Auto-importing the maintainer data to the .SlackBuild script.

  • Auto-importing the version to the .SlackBuild script.

  • Auto-importing and checking the checksum signature to the .info file.

  • Auto-create all the necessary files for your SlackBuild package.

Screenshot

https://gitlab.com/dslackw/images/raw/master/sbo-create/img_menu.png https://gitlab.com/dslackw/images/raw/master/sbo-create/img_info.png https://gitlab.com/dslackw/images/raw/master/sbo-create/img_slack_desc.png

Install

$ tar xvf sbo-create-2.0.6.tar.gz
$ cd sbo-create-2.0.6
$ ./install.sh

or

$ slpkg install sbo-create

Requirements

  • python3-pythondialog >= 3.5.3

Usage

Usage: sbo-create [OPTIONS]

Optional arguments:
  -n, --prgnam NAME          Set the name of the SlackBuild.
  -e, --prg-version VERSION  Set the version of the SlackBuild.
  -t, --template TEMPLATE    Set the SlackBuild template:
                             templates={autotools, cmake, perl, python,
                                        rubygem, haskell, meson}
  -f, --create-files         Creates the necessary files and exit:
                             files={<prgnam>.SlackBuild, <prgnam>.info,
                                    README, slack-desc}.
  -m, --maintainer           Edit the maintainer file.
  -d, --download             Download source files listed in the .info file.
  -c, --check NAME           Check if the SBo exist in the repository.
  -h, --help                 Display this message and exit.
  -v, --version              Show version and exit.

The first step is to create your profile, be entering the maintainer data:

$ sbo-create --maintainer

For a new project, you should create at first a new folder with the same name as the project. For an existing project, come into the folder and start to edit, just run sbo-create.

Alternative you can run the below command to create all the necessary files:

$ sbo-create --prgnam sboname --prg-version 1.0.0 --template python --create-files
Files created:

  > slack-desc
  > sboname.info
  > README
  > sboname.slackbuild

It’s good you know before you start, please visit here: HOWTO

Note

The sbo-create tool, checks for installed SlackBuilds.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sbo-create-2.0.6.tar.gz (28.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page