summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/abuild.in b/abuild.in
index aad6b23..4e67850 100755
--- a/abuild.in
+++ b/abuild.in
@@ -1712,17 +1712,21 @@ post_add() {
|| die "Failed to install $1"
}
-installdeps() {
+deps() {
local deps i
$SUDO_APK add $apk_opt_wait --repository "$abuildrepo" \
--virtual .makedepends-$pkgname \
$makedepends
}
-uninstalldeps (){
+undeps (){
$SUDO_APK del $apk_opt_wait .makedepends-$pkgname
}
+# compat
+installdeps() { deps; }
+uninstalldeps() { undeps; }
+
all() {
if ! [ -n "$force" ]; then
check_arch || return 0
@@ -1830,8 +1834,8 @@ usage() {
echo " srcpkg Make a source package"
echo " sourcecheck Check if remote source package exists upstream"
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 " deps Install packages listed in makedepends and depends"
+ echo " undeps Uninstall packages listed in makedepends and depends"
echo " snapshot Create a \$giturl or \$svnurl snapshot and upload to \$disturl"
echo ""
exit 0