summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author David Spencer2018-10-26 12:00:13 +0200
committer Willy Sudiarto Raharjo2018-11-10 01:47:42 +0100
commit2c6196508478cc9011f595b44792ff6d31db3391 (patch)
tree279ebac95779c5ed2c673ff5e55405277010ef7a /haskell
parent3e4b4529920fbb4c76918e25aa115d531c424664 (diff)
downloadslackbuilds-2c6196508478cc9011f595b44792ff6d31db3391.tar.gz
haskell/haskell-regex-posix: Updated for version 0.95.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell')
-rw-r--r--haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild23
-rw-r--r--haskell/haskell-regex-posix/haskell-regex-posix.info8
-rw-r--r--haskell/haskell-regex-posix/slack-desc2
3 files changed, 17 insertions, 16 deletions
diff --git a/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild b/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild
index 577c47fa52..6fdbc8248b 100644
--- a/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild
+++ b/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild
@@ -1,8 +1,9 @@
#!/bin/sh
-# Slackware build script for regex-posix
+# Slackware build script for haskell-regex-posix
# Copyright 2012 Mikko Värri, Finland
+# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -33,7 +34,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 +45,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"
@@ -68,19 +69,19 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
runghc Setup configure \
--prefix=/usr \
- --enable-shared \
- --enable-library-profiling \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \
+ --enable-shared \
+ --enable-library-profiling \
--docdir=/usr/doc/$PRGNAM-$VERSION
runghc Setup build
@@ -101,8 +102,8 @@ cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/haskell/haskell-regex-posix/haskell-regex-posix.info b/haskell/haskell-regex-posix/haskell-regex-posix.info
index a503f1a0db..f4d34077fe 100644
--- a/haskell/haskell-regex-posix/haskell-regex-posix.info
+++ b/haskell/haskell-regex-posix/haskell-regex-posix.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-regex-posix"
VERSION="0.95.2"
-HOMEPAGE="http://hackage.haskell.org/package/regex-posix"
-DOWNLOAD="http://hackage.haskell.org/packages/archive/regex-posix/0.95.2/regex-posix-0.95.2.tar.gz"
+HOMEPAGE="https://hackage.haskell.org/package/regex-posix"
+DOWNLOAD="https://hackage.haskell.org/packages/archive/regex-posix/0.95.2/regex-posix-0.95.2.tar.gz"
MD5SUM="1df0f9494aab110c7231f36393285c7c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="haskell-regex-base"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+MAINTAINER="David Spencer"
+EMAIL="baildon.research@googlemail.com"
diff --git a/haskell/haskell-regex-posix/slack-desc b/haskell/haskell-regex-posix/slack-desc
index e63fdc7f00..207a02f482 100644
--- a/haskell/haskell-regex-posix/slack-desc
+++ b/haskell/haskell-regex-posix/slack-desc
@@ -10,7 +10,7 @@ haskell-regex-posix: haskell-regex-posix (Replaces/Enhances Text.Regex Haskell l
haskell-regex-posix:
haskell-regex-posix: The posix regex backend for regex-base.
haskell-regex-posix:
-haskell-regex-posix: http://hackage.haskell.org/package/regex-posix
+haskell-regex-posix: https://hackage.haskell.org/package/regex-posix
haskell-regex-posix:
haskell-regex-posix:
haskell-regex-posix: