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>
This commit is contained in:
parent
037524eb0b
commit
350ddc9bfa
|
@ -1,2 +0,0 @@
|
|||
import Distribution.Simple
|
||||
main = defaultMain
|
|
@ -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 \
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue