haskell/haskell-fixed: Updated for version 0.2.1.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2018-10-26 10:57:56 +01:00 committed by Willy Sudiarto Raharjo
parent 2aa3a3478d
commit d10ee76055
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 6 additions and 8 deletions

View File

@ -33,7 +33,7 @@ GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -44,8 +44,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"
@ -97,9 +97,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 -a \
CHANGELOG.markdown LICENSE README.markdown \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG.markdown LICENSE README.markdown $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,7 +1,7 @@
PRGNAM="haskell-fixed"
VERSION="0.2.1.1"
HOMEPAGE="http://hackage.haskell.org/package/fixed"
DOWNLOAD="http://hackage.haskell.org/package/fixed-0.2.1.1/fixed-0.2.1.1.tar.gz"
HOMEPAGE="https://hackage.haskell.org/package/fixed"
DOWNLOAD="https://hackage.haskell.org/package/fixed-0.2.1.1/fixed-0.2.1.1.tar.gz"
MD5SUM="352e57267013d5c6962311ae266f4715"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""