From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- auto/create.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'auto') 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" -- cgit v1.2.1