summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-10-27 12:14:45 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:00 +0700
commit8767656a1790704b9d2509c4731c7bded5d37943 (patch)
tree3730d91703a0a242e3903c8de01bfbaece17edc0
parentba47ead206be231a223e7abbb65bb6c8a12cff52 (diff)
downloadslackbuilds-8767656a1790704b9d2509c4731c7bded5d37943.tar.gz
development/happy: Updated for version 1.19.9.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--development/happy/happy.SlackBuild20
-rw-r--r--development/happy/happy.info14
-rw-r--r--development/happy/slack-desc2
3 files changed, 18 insertions, 18 deletions
diff --git a/development/happy/happy.SlackBuild b/development/happy/happy.SlackBuild
index 8181b6aa16..10567b37e5 100644
--- a/development/happy/happy.SlackBuild
+++ b/development/happy/happy.SlackBuild
@@ -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
diff --git a/development/happy/happy.info b/development/happy/happy.info
index 1b31bb51ab..584f9785be 100644
--- a/development/happy/happy.info
+++ b/development/happy/happy.info
@@ -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"
diff --git a/development/happy/slack-desc b/development/happy/slack-desc
index 7381e18a02..d54a143ef3 100644
--- a/development/happy/slack-desc
+++ b/development/happy/slack-desc
@@ -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: