diff --git a/mkaurball.in b/mkaurball.in
index 8c59b6c..1992501 100644
--- a/mkaurball.in
+++ b/mkaurball.in
@@ -23,6 +23,7 @@ usage() {
'Usage: mkaurball [options]' \
'' \
' -a <file> package <file> as .AURINFO' \
+ ' -c pass the -c flag to makepkg' \
' -e edit .AURINFO before repackaging' \
' -f pass the --force flag to makepkg' \
' -h display this help message and exit'
@@ -73,11 +74,14 @@ mkaurball() {
fi
}
-while getopts ':a:efh' flag; do
+while getopts ':a:cefh' flag; do
case $flag in
a)
srcinfo_path=$OPTARG
;;
+ c)
+ makepkg_args+=('-c')
+ ;;
e)
edit_srcinfo=1
;;
Which will clean up the
src/
directory