libraries/liblightgrep: Update DOWNLOAD, i486->i586.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Barry J. Grundy 2016-08-26 00:24:17 +01:00 committed by David Spencer
parent 3fb046e799
commit 6b8ab139a8
2 changed files with 7 additions and 7 deletions

View file

@ -1,8 +1,8 @@
#/bin/sh
#!/bin/sh
# Slackware build script for liblightgrep
# Copyright 2012-2014 Barry J. Grundy <bgrundy(at)linuxleo.com>
# Copyright 2012-2016 Barry J. Grundy <bgrundy(at)linuxleo.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -31,7 +31,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -92,7 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar BUILD.md COPYING INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar BUILD.md COPYING INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 644 {} \;

View file

@ -1,7 +1,7 @@
PRGNAM="liblightgrep"
VERSION="1.4"
HOMEPAGE="https://github.com/LightboxTech/liblightgrep"
DOWNLOAD="http://www.linuxleo.com/sources/liblightgrep-1.4.tar.gz"
DOWNLOAD="https://github.com/LightboxTech/liblightgrep/archive/v1.4/liblightgrep-1.4.tar.gz"
MD5SUM="5b12d04d5a1c5a42135a787f1c0d8232"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""