[arch-haskell] Haskell Platform 2009.2.0.2
Don Stewart
dons at galois.com
Sat Oct 12 07:35:08 UTC 2013
Hey all,
Looks like we're almost set for Haskell Platform 2009.2.0.2
Need to check things like network though, against what is shipped with GHC 6.10.4
Here's a PKGBUILD,
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
# Package generated by cabal2arch 0.5.3
pkgname=haskell-platform
pkgrel=1
pkgver=2009.2.0.2
pkgdesc="The Haskell Platform"
url="http://hackage.haskell.org/platform/"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
depends=('gmp' 'ghc' 'haskell-cabal' 'haskell-glut=2.1.1.2' 'haskell-http=4000.0.6' 'haskell-opengl=2.2.1.1' 'haskell-cgi=3001.1.7.1' 'haskell-editline=0.2.1.0' 'haskell-fgl=5.4.2.2' 'haskell-network=2.2.1.4' 'haskell-time=1.1.2.4' 'haskell-zlib=0.5.0.0' 'cabal-install' 'alex' 'happy' 'haddock')
options=('strip')
source=(http://hackage.haskell.org/platform/2009.2.0.2/cabal/haskell-platform-2009.2.0.2.tar.gz)
install=haskell-platform.install
md5sums=()
build() {
cd $startdir/src/haskell-platform-2009.2.0.2
runhaskell Setup configure --prefix=/usr || return 1
runhaskell Setup build || return 1
runhaskell Setup register --gen-script || return 1
runhaskell Setup unregister --gen-script || return 1
install -D -m744 register.sh $startdir/pkg/usr/share/haskell/$pkgname/register.sh
install -m744 unregister.sh $startdir/pkg/usr/share/haskell/$pkgname/unregister.sh
runhaskell Setup copy --destdir=$startdir/pkg || return 1
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
}
More information about the arch-haskell
mailing list