Hi Blaze,
The problem occurs because of the asc file. The slackbuild tries to retrieve version in the second line as
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
Because of the hplip-3.16.11.tar.gz.asc also present, the above resolves to:
+ PKGNAM=hplip
++ cut -f 1 -d -
++ rev
++ cut -f 3- -d .
++ rev
++ echo hplip-3.16.11.tar.gz hplip-3.16.11.tar.gz.asc
+ VERSION=3.16.11.tar
...
And then the subsequent tar error
tar: /tmp/hp/hplip-3.16.11.tar.tar.?z*: Cannot open: No such file or directory occurs.
If the asc is moved somewhere else or renamed it to say hplipasc.tar.gz.asc, the script continues further.
...
++ echo hplip-3.16.11.tar.gz
+ VERSION=3.16.11
...
Doing some changes in the slackbuild for configure options and installing some needed packages (curl, python etc) was able to successfully build the slackware package.
BTW, the same error occurred on cinnamon x86_64 also.