diff options
author | B. Watson <urchlay@slackware.uk> | 2023-02-13 15:19:46 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 10:06:53 +0700 |
commit | 78233ac62e5bba25f6b7d6ba8ab175a4f468236b (patch) | |
tree | 456b7ca4815df50e5f2da980891c529830f58a78 /graphics/nsxiv | |
parent | 0c05c15f557864659471726c8ea99aca9d958718 (diff) |
graphics/nsxiv: Fix PRINT_PACKAGE_NAME.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/nsxiv')
-rw-r--r-- | graphics/nsxiv/nsxiv.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/nsxiv/nsxiv.SlackBuild b/graphics/nsxiv/nsxiv.SlackBuild index 12512756d7efe..c6228056554c2 100644 --- a/graphics/nsxiv/nsxiv.SlackBuild +++ b/graphics/nsxiv/nsxiv.SlackBuild @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nsxiv VERSION=${VERSION:-31} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,7 +43,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -96,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |