diff options
-rwxr-xr-x | simplepkg.SlackBuild | 2 | ||||
-rw-r--r-- | src/createpkg | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/simplepkg.SlackBuild b/simplepkg.SlackBuild index 1eab674..bb087f6 100755 --- a/simplepkg.SlackBuild +++ b/simplepkg.SlackBuild @@ -6,7 +6,7 @@ PACKAGE="simplepkg" PACK_DIR="package-$PACKAGE" BUILD="1rha" -VERSION="0.4.9pre6" +VERSION="0.4.9" ARCH="noarch" LIBEXEC="/usr/libexec/$PACKAGE" BINDIR="/usr/bin" diff --git a/src/createpkg b/src/createpkg index c7b35a8..f4b8f82 100644 --- a/src/createpkg +++ b/src/createpkg @@ -220,6 +220,7 @@ if [ -z "$BUILD_SCRIPT" ]; then fi SCRIPT_BASE="`dirname $BUILD_SCRIPT`" +echo $BASENAME: found script $PACKAGE.SlackBuild, now checking for dependencies # sets the package's slack-required if [ -f "$SCRIPT_BASE/$PACKAGE.slack-required" ]; then @@ -228,12 +229,8 @@ elif [ -f "$SCRIPT_BASE/slack-required" ]; then SLACK_REQ="$SCRIPT_BASE/slack-required" fi -echo $BASENAME: found script $PACKAGE.SlackBuild, now checking for dependencies - if [ ! -z "$SLACK_REQ" ] && [ "$NO_DEPS" != "1" ]; then - # this routine checks for dependencies in package's slack-required - while read dep; do if [ ! -z "$dep" ]; then program="`echo $dep | awk '{ print $1 }'`" @@ -242,7 +239,9 @@ if [ ! -z "$SLACK_REQ" ] && [ "$NO_DEPS" != "1" ]; then solve_dep $program $condition $version fi done < <( cat $SLACK_REQ ) - + echo $BASNEMAE: done checking for $PACKAGE dependencies +else + echo $BASENAME: no unmet dependencies for $PACKAGE fi echo $BASENAME: processing `basename $BUILD_SCRIPT` |