summaryrefslogtreecommitdiff
path: root/librerepkg
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-12-18 17:55:10 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-12-18 17:55:10 -0300
commitcccba27ea8ec823a9768ba2cd944edab53697bb1 (patch)
tree6f5a367807d3a2e3a1a58deccbb576857aa49ce9 /librerepkg
parent7e8764fb315b05068fe9d704734a2a4ec8588e54 (diff)
parent54ba056b200a5ef141f8d589a2f45478c6bd8a6b (diff)
Merge branch 'master' of ssh://gparabola/libretools
Diffstat (limited to 'librerepkg')
-rwxr-xr-xlibrerepkg5
1 files changed, 3 insertions, 2 deletions
diff --git a/librerepkg b/librerepkg
index 647a7c0..706b603 100755
--- a/librerepkg
+++ b/librerepkg
@@ -36,7 +36,7 @@ source rePKGBUILD
usage() {
echo "cd to a dir with a rePKGBUILD and other file info and run"
- echo "$0 "
+ echo "$0 [makepkg flags]"
echo
echo "This script will repackage an arch package without compiling"
}
@@ -44,6 +44,7 @@ usage() {
while getopts 'h' arg; do
case $arg in
h) usage; exit 0 ;;
+ *) makepkgflags=$@ ;;
esac
done
@@ -58,6 +59,6 @@ msg2 "Updating md5sums"
makepkg -gp rePKGBUILD >> rePKGBUILD
msg "Repackaging using makepkg"
-makepkg -Lcdp rePKGBUILD $@
+makepkg -Lcdp rePKGBUILD ${makepkgflags}
stdnull popd ${tempdir}