summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-foundation/haskell-foundation.SlackBuild
diff options
context:
space:
mode:
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