Skip to content
Snippets Groups Projects
Commit d48b86e8 authored by Natanael Copa's avatar Natanael Copa
Browse files

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

parent 68ce72c7
No related branches found
No related tags found
No related merge requests found
...@@ -701,6 +701,14 @@ newaport() { ...@@ -701,6 +701,14 @@ newaport() {
fi fi
} }
installdeps() {
sudo apk add $depends $makedepends
}
uninstalldeps (){
sudo apk del $depends $makedepends
}
usage() { usage() {
echo "$(basename $0) $abuild_ver" echo "$(basename $0) $abuild_ver"
...@@ -739,6 +747,8 @@ usage() { ...@@ -739,6 +747,8 @@ usage() {
echo " cleancache Remove downloaded files from \$SRCDEST" echo " cleancache Remove downloaded files from \$SRCDEST"
echo " srcpkg Make a source package" echo " srcpkg Make a source package"
echo " up2date Compare target and sources dates" 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 "" echo ""
exit 0 exit 0
} }
......
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