development/happy: Updated for version 1.19.9.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2018-10-27 12:14:45 +01:00 committed by Willy Sudiarto Raharjo
parent ba47ead206
commit 8767656a17
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 18 additions and 18 deletions

View File

@ -3,6 +3,7 @@
# Slackware build script for happy
# Copyright 2015 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=happy
VERSION=${VERSION:-1.19.5}
VERSION=${VERSION:-1.19.9}
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" \
@ -84,7 +84,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 ANNOUNCE CHANGES README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ANNOUNCE CHANGES README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,10 +1,10 @@
PRGNAM="happy"
VERSION="1.19.5"
HOMEPAGE="http://haskell.org/happy"
DOWNLOAD="http://hackage.haskell.org/packages/archive/happy/1.19.5/happy-1.19.5.tar.gz"
MD5SUM="ffa56a1c312a60dfb1110afd25b28785"
VERSION="1.19.9"
HOMEPAGE="https://haskell.org/happy"
DOWNLOAD="https://hackage.haskell.org/packages/archive/happy/1.19.9/happy-1.19.9.tar.gz"
MD5SUM="a89b37e28de899e5dfcf2a1fb77eff17"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="haskell-mtl"
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
REQUIRES="ghc"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"

View File

@ -13,7 +13,7 @@ happy: `yacc' for C. Like `yacc', it takes a file containing an annotated
happy: BNF specification of a grammar and produces a Haskell module
happy: containing a parser for the grammar.
happy:
happy: http://haskell.org/happy/
happy: https://haskell.org/happy/
happy:
happy:
happy: