# Maintainer: Vesa Kaihlavirta # Contributor: Arch Haskell Team # Package generated by cabal2arch 0.5.3 pkgname=haskell-hashed-storage pkgrel=1 pkgver=0.3.8 pkgdesc="Hashed file storage support code." url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hashed-storage" license=('custom:BSD3') arch=('i686' 'x86_64') makedepends=() depends=('ghc' 'haskell-cabal' 'haskell-extensible-exceptions' 'haskell-mmap>=0.4' 'haskell-zlib') options=('strip') source=(http://hackage.haskell.org/packages/archive/hashed-storage/$pkgver/hashed-storage-$pkgver.tar.gz) install=haskell-hashed-storage.install build() { cd $startdir/src/hashed-storage-$pkgver 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 } md5sums=('2151f3bb83f44d195e6f73f86a57c2e7')