diff options
Diffstat (limited to 'source/ap/slackpkg/slackpkg.SlackBuild')
-rwxr-xr-x | source/ap/slackpkg/slackpkg.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/ap/slackpkg/slackpkg.SlackBuild b/source/ap/slackpkg/slackpkg.SlackBuild index 733ae5e0c..e9a4bb385 100755 --- a/source/ap/slackpkg/slackpkg.SlackBuild +++ b/source/ap/slackpkg/slackpkg.SlackBuild @@ -23,14 +23,15 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=slackpkg -VERSION=2.82.2 -BUILD=${BUILD:-3} +VERSION=${VERSION:-2.83.0} +ARCH="noarch" +BUILD=${BUILD:-1} # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information # could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PKGNAM-$VERSION-noarch-$BUILD.txz" + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" exit 0 fi @@ -123,5 +124,5 @@ zcat $CWD/doinst.sh.gz | sed -e "s/@VERSION@/$VERSION/g" > $PKG/install/doinst.s cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-noarch-$BUILD.txz +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz |