summaryrefslogtreecommitdiff
path: root/haskell/haskell-foundation
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-10-26 10:57:57 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:47:23 +0700
commit48e35c780da0dafc793647e8f677e56b09282465 (patch)
treee4a6f3ab4ea06b13d5119a973c2d5cef8b3eed5d /haskell/haskell-foundation
parentd10ee76055e35dfd91d174395a413c0cc3f45895 (diff)
downloadslackbuilds-48e35c780da0dafc793647e8f677e56b09282465.tar.gz
haskell/haskell-foundation: Updated for version 0.0.21.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-foundation')
-rw-r--r--haskell/haskell-foundation/Setup.hs2
-rw-r--r--haskell/haskell-foundation/haskell-foundation.SlackBuild8
-rw-r--r--haskell/haskell-foundation/haskell-foundation.info6
3 files changed, 9 insertions, 7 deletions
diff --git a/haskell/haskell-foundation/Setup.hs b/haskell/haskell-foundation/Setup.hs
new file mode 100644
index 0000000000..9a994af677
--- /dev/null
+++ b/haskell/haskell-foundation/Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff --git a/haskell/haskell-foundation/haskell-foundation.SlackBuild b/haskell/haskell-foundation/haskell-foundation.SlackBuild
index d091c292d8..ea3427e93c 100644
--- a/haskell/haskell-foundation/haskell-foundation.SlackBuild
+++ b/haskell/haskell-foundation/haskell-foundation.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-foundation
-VERSION=${VERSION:-0.0.20}
+VERSION=${VERSION:-0.0.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,6 +73,8 @@ find -L . \
\( -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 \
@@ -97,9 +99,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 \
- CHANGELOG.md LICENSE README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/haskell/haskell-foundation/haskell-foundation.info b/haskell/haskell-foundation/haskell-foundation.info
index 9d8f53f1f9..f04478cc74 100644
--- a/haskell/haskell-foundation/haskell-foundation.info
+++ b/haskell/haskell-foundation/haskell-foundation.info
@@ -1,8 +1,8 @@
PRGNAM="haskell-foundation"
-VERSION="0.0.20"
+VERSION="0.0.21"
HOMEPAGE="https://hackage.haskell.org/package/foundation"
-DOWNLOAD="https://hackage.haskell.org/package/foundation-0.0.20/foundation-0.0.20.tar.gz"
-MD5SUM="e9ced556da36c25db410409aafdbf384"
+DOWNLOAD="https://hackage.haskell.org/package/foundation-0.0.21/foundation-0.0.21.tar.gz"
+MD5SUM="343b9b512533e4836d3db5f986e97f03"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="haskell-basement"