Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Edu4rdSHL/blackarch-devtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blackarch-devtools

Development framework for the BlackArch Linux distribution written in Rust.

What is it?

It's a development framework for BlackArch Linux developers that allow you to: set up a chroot enviroment, build packages in chroot environments, build packages with dependencies that aren't in the repos, sync the working chroot copy with the root chroot copy, test packages in the chroot enviroment and more things.

Installation

If you want to install it, you can do that manually compiling the source or using the precompiled binary.

Prerequisites:

You can install the prerequisites with # pacman -S devtools

Manually: You need to have Rust installed in your computer first. Install it with # pacman -S rust

$ git clone https://github.com/Edu4rdSHL/blackarch-devtools.git
$ cd blackarch-devtools
$ cargo build --release
$ sudo cp target/release/blackarch-devtools /usr/bin/blackarch-devtools
$ blackarch-devtools

Using the binary:

$ wget https://github.com/Edu4rdSHL/blackarch-devtools/releases/latest/download/blackarch-devtools
$ chmod +x blackarch-devtools
$ sudo cp blackarch-devtools /usr/bin/blackarch-devtools
$ blackarch-devtools

Using BlackArch repo

$ sudo pacman -S blackarch-devtools-toolkit
$ ba-dev

Usage

The available options are:

USAGE:
    blackarch-devtools [FLAGS] [OPTIONS]

FLAGS:
    -b, --build      Build package from PKGBUILD in clean chroot environment.
    -h, --help       Prints help information
    -s, --setup      Setup the clean chroot environment (automatically setup blackarch keyring).
    -t, --test       Install and test package in clean chroot environment.
    -u, --update     Update chroot environment before building.
    -V, --version    Prints version information
    -v               Sets the level of verbosity

OPTIONS:
    -e, --executable <executable>
            Name of the binary file provided by the package that you're installing in the chroot environment.

    -I, --install-missing <install-missing>...
            Build package files that aren't available in repos. You can specify it multiple times.

    -p, --package <package>                       Build package to install in the clean chroot environment.

Flags doesn't require arguments, options require.

If you have found an issue or want to make a feature request, please use the issue tracker.