Skip to content
Snippets Groups Projects
Commit ce1a44c0 authored by Jakub Ružička's avatar Jakub Ružička
Browse files

build: add new command to build packages

Newly introduced

    apkg build

command is able to build packages from source packages
and use `apkg srcpkg` to create them if needed.

Following pkstyles support build_packages():

* arch: using makepkg
* deb: using dpkg-buildpackage

pkgstyle.deb.build_package() also contains preliminary support of
isolated build using pbuilder which isn't enabled yet but it I tested it
successfully.

This patch also includes some polish and refactoring all over the place
as archive -> srcpkg -> build commands are connected.

Simple self test with apkg calling `apkg build` on itself is included.
parent 7421d12d
No related branches found
No related tags found
1 merge request!11apkg build
Pipeline #74891 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment