bpt-org / bpt

Basic/Bash Package Tool
1 stars 0 forks source link

Add support for post_install script #2

Open tvillega opened 3 months ago

tvillega commented 3 months ago

To correctly integrate some programs with the Bpt Build System, secondary system-specific adjustments must be included that are separated from the build process of a package. They must follow the PKGBUILD guidelines from Archlinux to ensure feature-parity.

Additionally, this will open support for environment setups as it allows to append extra steps to a package without interfering with its building instructions.

tvillega commented 2 months ago

The proto.install file contains the optional functions that must be supported.

More on this can be found in the ArchWiki entry.

Quoting the manpage:

install

Specifies a special install script that is to be included in the package. This file should
reside in the same directory as the PKGBUILD and will be copied into the package by
makepkg. It does not need to be included in the source array (e.g.,
install=$pkgname.install).