aboutsummaryrefslogtreecommitdiff
path: root/development/alex
diff options
context:
space:
mode:
Diffstat (limited to 'development/alex')
-rw-r--r--development/alex/alex.SlackBuild20
-rw-r--r--development/alex/alex.info14
-rw-r--r--development/alex/slack-desc2
3 files changed, 18 insertions, 18 deletions
diff --git a/development/alex/alex.SlackBuild b/development/alex/alex.SlackBuild
index a9a1773e9fce..d2b3d86c3521 100644
--- a/development/alex/alex.SlackBuild
+++ b/development/alex/alex.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for alex
# Copyright 2014 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
@@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=alex
-VERSION=${VERSION:-3.1.7}
+VERSION=${VERSION:-3.2.4}
BUILD=${BUILD:-1}
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
@@ -40,8 +41,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"
@@ -63,11 +64,10 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$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" \
@@ -85,7 +85,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGELOG.md LICENSE README TODO \
+ CHANGELOG.md LICENSE README.md TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/alex/alex.info b/development/alex/alex.info
index f332bd8758b8..b68fbea5f5e3 100644
--- a/development/alex/alex.info
+++ b/development/alex/alex.info
@@ -1,10 +1,10 @@
PRGNAM="alex"
-VERSION="3.1.7"
-HOMEPAGE="http://haskell.org/alex/"
-DOWNLOAD="http://hackage.haskell.org/package/alex-3.1.7/alex-3.1.7.tar.gz"
-MD5SUM="cc020557895fa357f0edd5b93b3f7bd7"
+VERSION="3.2.4"
+HOMEPAGE="https://haskell.org/alex/"
+DOWNLOAD="https://hackage.haskell.org/package/alex-3.2.4/alex-3.2.4.tar.gz"
+MD5SUM="d2396dedcbe61ddf2912fce5a092c0ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ghc haskell-QuickCheck"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+REQUIRES="haskell-QuickCheck"
+MAINTAINER="David Spencer"
+EMAIL="baildon.research@googlemail.com"
diff --git a/development/alex/slack-desc b/development/alex/slack-desc
index 68827b872938..0cdb0ec43e51 100644
--- a/development/alex/slack-desc
+++ b/development/alex/slack-desc
@@ -14,6 +14,6 @@ alex: expressions. It is similar to the tool lex or flex for C/C++.
alex:
alex: This package is part of Haskell Platform.
alex:
-alex: Homepage: http://haskell.org/alex/
+alex: Homepage: https://haskell.org/alex/
alex:
alex: