diff options
author | David Spencer <baildon.research@googlemail.com> | 2018-10-27 12:25:51 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:47:00 +0700 |
commit | 48edd42ff1ff230a9a82208496c33b55f4d5c877 (patch) | |
tree | 5568808846d825886fe7fd5a9761dcd71c3d31ab | |
parent | 5e7b647a8e13f0298660f83d1f8ff71e73f16f4e (diff) | |
download | slackbuilds-48edd42ff1ff230a9a82208496c33b55f4d5c877.tar.gz |
development/alex: Updated for version 3.2.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | development/alex/alex.SlackBuild | 20 | ||||
-rw-r--r-- | development/alex/alex.info | 14 | ||||
-rw-r--r-- | development/alex/slack-desc | 2 |
3 files changed, 18 insertions, 18 deletions
diff --git a/development/alex/alex.SlackBuild b/development/alex/alex.SlackBuild index a9a1773e9f..d2b3d86c35 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 f332bd8758..b68fbea5f5 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 68827b8729..0cdb0ec43e 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: |