summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author David Spencer <baildon.research@googlemail.com>2018-10-26 11:00:23 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:44 +0700
commit443774c570b5dfe6345823c7fb445ed308902aa4 (patch)
tree9ad2bd54f97220b3cbc03502d49ce7726a00b0a8 /haskell
parente069dd699bcfb8ae054374e398742647a279267e (diff)
downloadslackbuilds-443774c570b5dfe6345823c7fb445ed308902aa4.tar.gz
slackbuilds-443774c570b5dfe6345823c7fb445ed308902aa4.tar.xz
haskell/haskell-sandi: Updated for version 0.4.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell')
-rw-r--r--haskell/haskell-sandi/haskell-sandi.SlackBuild12
-rw-r--r--haskell/haskell-sandi/haskell-sandi.info10
2 files changed, 10 insertions, 12 deletions
diff --git a/haskell/haskell-sandi/haskell-sandi.SlackBuild b/haskell/haskell-sandi/haskell-sandi.SlackBuild
index 91c27d2481..229142eb4a 100644
--- a/haskell/haskell-sandi/haskell-sandi.SlackBuild
+++ b/haskell/haskell-sandi/haskell-sandi.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-sandi
-VERSION=${VERSION:-0.3.6}
+VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -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 \
- LICENSE \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/haskell/haskell-sandi/haskell-sandi.info b/haskell/haskell-sandi/haskell-sandi.info
index f702174756..2f8fdbbcbb 100644
--- a/haskell/haskell-sandi/haskell-sandi.info
+++ b/haskell/haskell-sandi/haskell-sandi.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-sandi"
-VERSION="0.3.6"
-HOMEPAGE="http://hackage.haskell.org/package/sandi"
-DOWNLOAD="http://hackage.haskell.org/package/sandi-0.3.6/sandi-0.3.6.tar.gz"
-MD5SUM="a6d0e9a8c8735de2b0d0ebd6c90ceb82"
+VERSION="0.4.2"
+HOMEPAGE="https://hackage.haskell.org/package/sandi"
+DOWNLOAD="https://hackage.haskell.org/package/sandi-0.4.2/sandi-0.4.2.tar.gz"
+MD5SUM="9244da9791e2403eb01f3793284d623e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ghc haskell-conduit haskell-exceptions"
+REQUIRES="haskell-conduit haskell-exceptions haskell-stringsearch"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"