diff options
author | davidovski <david@davidovski.xyz> | 2023-02-02 14:10:02 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-02-02 14:10:02 +0000 |
commit | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch) | |
tree | 76fe6267f8307e7630fc6f53ff99a9767ad40de0 /auto | |
parent | 05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff) |
Work
Diffstat (limited to 'auto')
-rwxr-xr-x | auto/create.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/auto/create.sh b/auto/create.sh index ef6cf4e..2809557 100755 --- a/auto/create.sh +++ b/auto/create.sh @@ -2,14 +2,14 @@ read -p "package name> " name read -p "package version> " version read -p "description> " desc -deps=$(find repo -type d -maxdepth 1 -mindepth 1 | sed 's/.*\///g' | rev | cut -f1 -d/ | rev |fzf -m --prompt="dependencies> " | tr '\n' ' ') +makedeps=$(find repo -type d -maxdepth 1 -mindepth 1 | sed 's/.*\///g' | rev | cut -f1 -d/ | rev |fzf -m --prompt="dependencies> " | tr '\n' ' ') read -p "source url> " url read -p "additional urls> " additional type=$(find ./templates -type f | sed "s/.xibuild//g" | rev | cut -f1 -d/ | rev | fzf --prompt="build type> ") clear echo Name: $name -echo Deps: $deps +echo Make Deps: $makedeps echo Desc: $desc echo Vers: $version echo Sour: $url @@ -25,7 +25,6 @@ buildfile=$package/$name.xibuild mkdir -p $package url=$(echo $url | sed "s/$version/\$PKG_VER/g" | sed "s/pkgver/PKG_VER/g") -makedeps="" case $type in make|configure) @@ -49,7 +48,6 @@ NAME="$name" DESC="$desc" MAKEDEPS="$makedeps" -DEPS="$deps" PKG_VER=$version SOURCE="$url" |