diff options
Diffstat (limited to 'system/aha')
-rw-r--r-- | system/aha/README | 4 | ||||
-rw-r--r-- | system/aha/aha.SlackBuild | 18 | ||||
-rw-r--r-- | system/aha/aha.info | 8 |
3 files changed, 19 insertions, 11 deletions
diff --git a/system/aha/README b/system/aha/README index 209bf1359d..555f625c75 100644 --- a/system/aha/README +++ b/system/aha/README @@ -1,5 +1,5 @@ aha (convert ANSI color/graphics to HTML) aha (ANSI HTML Adapter) converts ANSI colors to HTML, e.g. if you want -to publish the output of ls --color=yes, git diff, ccal or htop as static -HTML somewhere. +to publish the output of ls --color=yes, git diff, ccal or htop as +static HTML somewhere. diff --git a/system/aha/aha.SlackBuild b/system/aha/aha.SlackBuild index 3650feb9c5..4adcdcae1d 100644 --- a/system/aha/aha.SlackBuild +++ b/system/aha/aha.SlackBuild @@ -1,21 +1,25 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for aha -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ # for details. +# 20200927 bkw: update for 0.5.1 # 20181201 bkw: update for 0.5 # 20170328 bkw: update for 0.4.10.6, use 'make install' instead of manually # 20170301 bkw: update for 0.4.10.5, use long-form github URL # 20170122 bkw: update for 0.4.10.3 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=aha -VERSION=${VERSION:-0.5} +VERSION=${VERSION:-0.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -25,7 +29,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -68,4 +76,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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 diff --git a/system/aha/aha.info b/system/aha/aha.info index de779cecc8..bb5a97432d 100644 --- a/system/aha/aha.info +++ b/system/aha/aha.info @@ -1,10 +1,10 @@ PRGNAM="aha" -VERSION="0.5" +VERSION="0.5.1" HOMEPAGE="https://github.com/theZiz/aha" -DOWNLOAD="https://github.com/theZiz/aha/archive/0.5/aha-0.5.tar.gz" -MD5SUM="bac3269f6ec0218a62e4379ed9253c8a" +DOWNLOAD="https://github.com/theZiz/aha/archive/0.5.1/aha-0.5.1.tar.gz" +MD5SUM="ec74d076dd6c5e3a9a8b5e2cb1e2a48d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" |