system/hh: Updated for version 1.25.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
6bf15ca2ba
commit
43ee0a8787
|
@ -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
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue