diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-11 23:38:06 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-13 09:18:00 +0700 |
commit | 350ddc9bfaa8f99a25896a03b9370ff583101900 (patch) | |
tree | 3629fc6457ef5ae853d469cd8ed79a429dc64d9d /haskell/haskell-rio/haskell-rio.SlackBuild | |
parent | 037524eb0b8e2c92bc3fe007f24691037196e7c3 (diff) |
haskell/haskell-rio: Updated for version 0.1.21.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-rio/haskell-rio.SlackBuild')
-rw-r--r-- | haskell/haskell-rio/haskell-rio.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/haskell/haskell-rio/haskell-rio.SlackBuild b/haskell/haskell-rio/haskell-rio.SlackBuild index d12d6a3c94..911405b7d6 100644 --- a/haskell/haskell-rio/haskell-rio.SlackBuild +++ b/haskell/haskell-rio/haskell-rio.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-rio -VERSION=${VERSION:-0.1.5.0} +VERSION=${VERSION:-0.1.21.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,15 +76,20 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF 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 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -cp $CWD/Setup.hs . - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ |