summaryrefslogtreecommitdiff
path: root/auto/create.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auto/create.sh')
-rwxr-xr-xauto/create.sh6
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"