diff --git a/haskell/haskell-rio/Setup.hs b/haskell/haskell-rio/Setup.hs deleted file mode 100644 index 9a994af677..0000000000 --- a/haskell/haskell-rio/Setup.hs +++ /dev/null @@ -1,2 +0,0 @@ -import Distribution.Simple -main = defaultMain 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 \ diff --git a/haskell/haskell-rio/haskell-rio.info b/haskell/haskell-rio/haskell-rio.info index 1768fabd92..0f6fcecf15 100644 --- a/haskell/haskell-rio/haskell-rio.info +++ b/haskell/haskell-rio/haskell-rio.info @@ -1,10 +1,10 @@ PRGNAM="haskell-rio" -VERSION="0.1.5.0" +VERSION="0.1.21.0" HOMEPAGE="https://hackage.haskell.org/package/rio" -DOWNLOAD="https://hackage.haskell.org/packages/archive/rio/0.1.5.0/rio-0.1.5.0.tar.gz" -MD5SUM="ad075d3472fde6bf28bd89c40ae02ea8" +DOWNLOAD="https://hackage.haskell.org/packages/archive/rio/0.1.21.0/rio-0.1.21.0.tar.gz" +MD5SUM="554a37103aee56956ab9c2a48ea15841" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-exceptions haskell-hashable haskell-microlens haskell-primitive haskell-typed-process haskell-unliftio haskell-unordered-containers haskell-vector" +REQUIRES="haskell-exceptions haskell-hashable haskell-microlens haskell-primitive haskell-typed-process haskell-unliftio haskell-unordered-containers haskell-vector haskell-microlens-mtl" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com"