summaryrefslogtreecommitdiff
path: root/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild')
-rw-r--r--libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild b/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild
index b0afdf1692..56955f12c9 100644
--- a/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild
+++ b/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild
@@ -6,12 +6,13 @@
# Modified by Mikko Värri <vmj@linuxbox.fi>
# Public domain.
-SRCNAM=zip-archive
-PRGNAM=haskell-$SRCNAM
+PRGNAM=haskell-zip-archive
VERSION=${VERSION:-0.1.1.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then