diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2018-07-13 23:59:39 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-07-13 23:59:39 +0100 |
commit | 43ee0a8787aaf1128e38d195f1ccacee9f9825ef (patch) | |
tree | 2ee49ddffdb93a15c14d16972af83041b317bd68 /system | |
parent | 6bf15ca2ba9aa1bbd11619070b71dc8dda7eab38 (diff) |
system/hh: Updated for version 1.25.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/hh/hh.SlackBuild | 14 | ||||
-rw-r--r-- | system/hh/hh.info | 6 |
2 files changed, 11 insertions, 9 deletions
diff --git a/system/hh/hh.SlackBuild b/system/hh/hh.SlackBuild index 899ef19235d51..1a500ef7490f9 100644 --- a/system/hh/hh.SlackBuild +++ b/system/hh/hh.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hh -VERSION=${VERSION:-1.24} +VERSION=${VERSION:-1.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGNAM=hstr @@ -60,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.gz -cd $PKGNAM-$VERSION +rm -rf $PKGNAM +tar xvf $CWD/$PRGNAM-$VERSION-src.tgz +cd $PKGNAM chown -R root:root . find -L . \ @@ -71,8 +71,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -autoreconf -vis - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ac_cv_func_malloc_0_nonnull=yes \ @@ -87,9 +85,13 @@ ac_cv_func_malloc_0_nonnull=yes \ # Save this from next Slackware release #sed -i 's/lncursesw/lncursesw -ltinfo/g' src/Makefile + make make install DESTDIR=$PKG +ln -sf hh $PKG/usr/bin/hstr +ln -sf hh.1 $PKG/usr/man/man1/hstr.1 + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/hh/hh.info b/system/hh/hh.info index 37b3631ae4848..fcc798df5c6a6 100644 --- a/system/hh/hh.info +++ b/system/hh/hh.info @@ -1,8 +1,8 @@ PRGNAM="hh" -VERSION="1.24" +VERSION="1.25" HOMEPAGE="https://github.com/dvorka/hstr" -DOWNLOAD="https://github.com/dvorka/hstr/archive/1.24/hstr-1.24.tar.gz" -MD5SUM="4cfc3d00ac907974671c91e613fca998" +DOWNLOAD="https://github.com/dvorka/hstr/releases/download/1.25/hh-1.25-src.tgz" +MD5SUM="5d5f384fdc3819900456eb302e6ddef1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |