summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-07 13:50:11 +0100
committerdavidovski <david@davidovski.xyz>2022-05-07 13:50:11 +0100
commitfd7adb2f3a9d9d239c90742366aec369966a3a03 (patch)
tree98d3b20558ccfe897e6cb4b8f99d4cbeb075902a /auto
parent739c65c54cb0e957df5e9b76f93fb02554e5cac3 (diff)
added libunwind and libcxx, to finish
Diffstat (limited to 'auto')
-rwxr-xr-xauto/create.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/auto/create.sh b/auto/create.sh
index eb73caa..35306fc 100755
--- a/auto/create.sh
+++ b/auto/create.sh
@@ -20,9 +20,11 @@ echo Type: $type
read -p "Ok? " go
template=./templates/$type.xibuild
-buildfile=repo/$repo/$name.xibuild
+package=repo/$repo/$name
+buildfile=$package/$name.xibuild
[ -f $buildfile ] && read -p "Buildfile already exists, overwrite? " go
+mkdir -p $package
url=$(echo $url | sed "s/$version/\$PKG_VER/g" | sed "s/pkgver/PKG_VER/g")
makedeps=""
@@ -58,10 +60,10 @@ EOF
[ "${#additional}" = 0 ] || {
filenames=""
- mkdir extra/$name
+ mkdir $name
for l in $additional; do
filename=$(basename $l)
- curl -SsL $l > extra/$name/$filename
+ curl -SsL $l > $package/$filename
filenames="$filename $filenames"
sleep 2
done