ports: Add pre_install and post_install to install.sh

This commit is contained in:
Bananymous 2025-06-28 20:21:46 +03:00
parent 7314cf708c
commit 505388b9fa
1 changed files with 12 additions and 0 deletions

View File

@ -77,10 +77,22 @@ build() {
done
}
pre_install() {
:
}
post_install() {
:
}
install() {
pre_install
for target in "${MAKE_INSTALL_TARGETS[@]}"; do
make $target "DESTDIR=$BANAN_SYSROOT" || exit 1
done
post_install
}
source $1