upgpkg: maxima 5.46.0-9 (sbcl rebuild)
[arch-packages.git] / haskell-array / trunk / PKGBUILD
blob34bc8d569b2d2c7042d962e4996351772f3107fd
1 # Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
2 # Contributor: Arch Haskell Team <arch-haskell@haskell.org>
3 pkgname=haskell-containers
4 pkgrel=1
5 pkgver=0.3.0.0
6 pkgdesc="Assorted concrete container types"
7 url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/containers"
8 license=('custom:BSD3')
9 arch=('x86_64')
10 depends=(ghc=6.12.1 sh)
11 options=('strip')
12 source=(http://hackage.haskell.org/packages/archive/containers/$pkgver/containers-$pkgver.tar.gz)
13 install=haskell-containers.install
15 build() {
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')