blob: 1aa4c8b07aa2aa71a70eb63710de68dadb0f2ca2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
set -e
ROOT_DIR=$(dirname "$(realpath "$0")")
. $ROOT_DIR/env.sh
makepkg_opts="-C"
while getopts g flag; do
case $flag in
g) makepkg_opts="$makepkg_opts -g";;
?) ;;
esac
done
shift $((OPTIND - 1))
for package in $(get_packages "$@"); do
echo ">>" $package
set_makepkg_envs $package
(cd "$ROOT_DIR/$package"; makepkg $makepkg_opts)
done
|