summaryrefslogtreecommitdiff
path: root/librerepkg
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-14 14:47:40 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-14 14:47:40 -0300
commit43fea251e8c25e408bb0e59a2a8f0ef2c0c72a9a (patch)
treeb1c9fe70fc82ad9b4e7819fc2a1917970b3648f0 /librerepkg
parent55abb1e683ace68905f987bdcd452df6e709a9e8 (diff)
parent54ba056b200a5ef141f8d589a2f45478c6bd8a6b (diff)
Merge branch 'master' into fauno
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}