summaryrefslogtreecommitdiff
path: root/haskell/haskell-foundation/haskell-foundation.SlackBuild
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/haskell-foundation.SlackBuild
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/haskell-foundation.SlackBuild')
-rw-r--r--haskell/haskell-foundation/haskell-foundation.SlackBuild8
1 files changed, 4 insertions, 4 deletions
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