summaryrefslogtreecommitdiff
path: root/librerepkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-12-20 21:54:15 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-12-20 21:54:15 -0600
commit6a56fa9179e7ce08b5bbaf4407c0d1a10aabde08 (patch)
treeedf1ad5f14e8362dc25f998ca35935f2370960ec /librerepkg
parent5f1ef1bd95e2aa1d5b596d929e12e55e8f00f3d2 (diff)
parentcccba27ea8ec823a9768ba2cd944edab53697bb1 (diff)
Merge branch 'master' of gitpar: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}