updated on Fri Jan 20 12:03:34 UTC 2012
[aur-mirror.git] / hmp3 / PKGBUILD
blob0769fcd47b3d6f6a3f2770fa18900bba48321a32
1 # Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
2 _hkgname=hmp3
3 pkgname=hmp3
4 pkgver=1.5.2.1
5 pkgrel=3
6 pkgdesc="An ncurses mp3 player written in Haskell"
7 url="http://hackage.haskell.org/package/${_hkgname}"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 makedepends=('ghc' 'haskell-array=0.3.0.1' 'haskell-binary>=0.4' 'haskell-bytestring=0.9.1.7' 'haskell-containers=0.3.0.0' 'haskell-directory=1.0.1.1' 'haskell-mersenne-random>=0.1' 'haskell-old-time=1.0.0.5' 'haskell-pcre-light>=0.3' 'haskell-process=1.0.1.3' 'haskell-unix=2.4.0.2' 'haskell-zlib=0.5.2.0' 'ncurses')
11 depends=('gmp' 'ncurses')
12 options=('strip')
13 source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
14 build() {
15     cd ${srcdir}/${_hkgname}-${pkgver}
16     runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O
17     runhaskell Setup build
19 package() {
20     cd ${srcdir}/${_hkgname}-${pkgver}
21     runhaskell Setup copy --destdir=${pkgdir}
23 md5sums=('4f72ab118929a9137ae1339c740b4581')