diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-01-18 16:22:36 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-01-18 16:22:36 +0100 |
commit | b6939bf6e772108c6afd8d610d73fc080c495255 (patch) | |
tree | 3d4d8595745289e64bedd95cd50643d8f23d27b0 /gen-perl-pkg | |
parent | 786f7d9389ea88c8dafdb2a1d1cd35cc98cc679e (diff) | |
download | bin-b6939bf6e772108c6afd8d610d73fc080c495255.tar.gz bin-b6939bf6e772108c6afd8d610d73fc080c495255.tar.xz |
misc
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'gen-perl-pkg')
-rwxr-xr-x | gen-perl-pkg | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gen-perl-pkg b/gen-perl-pkg index c63e1c9..f229520 100755 --- a/gen-perl-pkg +++ b/gen-perl-pkg @@ -1,10 +1,11 @@ #!/bin/bash set -e -pkg=$1 -export MAINTAINER="Florian Pritz <bluewind@xinu.at>" -target=~/arch/community +for pkg in "$@"; do + export MAINTAINER="Florian Pritz <bluewind@xinu.at>" + target=~/arch/community -genpkg $pkg -mkdir -p "$target/$pkg/"{trunk,repos} -cp "~/pkg/dest/$pkg/PKGBUILD" "$target/$pkg/trunk/" + genpkg $pkg + mkdir -p "$target/$pkg/"{trunk,repos} + cp "$HOME/pkg/dest/$pkg/PKGBUILD" "$target/$pkg/trunk/" +done |