1 # Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
2 # Contributor: Arch Haskell Team <arch-haskell@haskell.org>
3 pkgname=haskell-containers
6 pkgdesc="Assorted concrete container types"
7 url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/containers"
8 license=('custom:BSD3')
10 depends=(ghc=6.12.1 sh)
12 source=(http://hackage.haskell.org/packages/archive/containers/$pkgver/containers-$pkgver.tar.gz)
13 install=haskell-containers.install
16 cd $srcdir/containers-$pkgver
17 runhaskell Setup configure --prefix=/usr || return 1
18 runhaskell Setup build || return 1
19 runhaskell Setup register --gen-script || return 1
20 runhaskell Setup unregister --gen-script || return 1
21 install -D -m744 register.sh $pkgdir/usr/share/haskell/$pkgname/register.sh
22 install -m744 unregister.sh $pkgdir/usr/share/haskell/$pkgname/unregister.sh
23 runhaskell Setup copy --destdir=$pkgdir || return 1
24 install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
26 md5sums=('bb2a5c9d3d3de71cf82b1b742d90e8a0')