diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-05-16 19:14:47 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-05-16 19:14:47 -0300 |
commit | bf87a77517cb5d960865faaf820decaa338c4f63 (patch) | |
tree | 6c10ea4f2a80ae3d5df3ae08b40f6ad5c9195ed6 /librerepkg | |
parent | 56e183631d6e4e12df4990d119456dd81423938e (diff) | |
parent | 76c75b8971e4ad2f6c336c9413088e6fd0e70f69 (diff) |
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretools
Conflicts:
libremakepkg
Diffstat (limited to 'librerepkg')
-rwxr-xr-x | librerepkg | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -36,9 +36,17 @@ source rePKGBUILD usage() { echo "cd to a dir with a rePKGBUILD and other file info and run" - echo $0 + echo "$0 " + echo + echo "This script will repackage an arch package without compiling" } +while getopts 'h' arg; do + case $arg in + h) usage; exit 0 ;; + esac +done + stdnull "tempdir=$(mktemp -d /tmp/$(basename $PWD).XXXXX)" msg "Repackaging: $pkgname $pkgver-$pkgrel ($(date -u))" @@ -48,5 +56,5 @@ mv rePKGBUILD PKGBUILD msg2 "Updating md5sums" makepkg -g >> PKGBUILD msg "Repackaging using libremakepkg" -sudo libremakepkg - +sudo libremakepkg -cu -L +stdnull "popd ${tempdir}" |