Commit d48b86e8 authored by Natanael Copa's avatar Natanael Copa

abuild: added feature to (un)install all build dependencies in one shot

parent 68ce72c7
......@@ -701,6 +701,14 @@ newaport() {
fi
}
installdeps() {
sudo apk add $depends $makedepends
}
uninstalldeps (){
sudo apk del $depends $makedepends
}
usage() {
echo "$(basename $0) $abuild_ver"
......@@ -739,6 +747,8 @@ usage() {
echo " cleancache Remove downloaded files from \$SRCDEST"
echo " srcpkg Make a source package"
echo " up2date Compare target and sources dates"
echo " installdeps Install packages listed in makedepends and depends"
echo " uninstalldeps Uninstall packages listed in makedepends and depends"
echo ""
exit 0
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment