updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / ghc-core / PKGBUILD
blob80ebb243e60a7dac307ce42670ef2650e1523972
1 # custom variables
2 _hkgname=ghc-core
3 _licensefile=LICENSE
5 # PKGBUILD options/directives
6 pkgname=ghc-core
7 pkgver=0.5.4
8 pkgrel=1
9 pkgdesc="Display GHC's core and assembly output in a pager"
10 url="http://code.haskell.org/~dons/code/ghc-core"
11 license=("BSD3")
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14              "haskell-colorize-haskell=1.0.1"
15              "haskell-directory=1.1.0.0"
16              "haskell-filepath=1.2.0.0"
17              "haskell-pcre-light=0.4"
18              "haskell-process=1.0.1.5")
19 depends=()
20 options=('strip')
21 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
23 sha256sums=("e7d9b43e04fca981a0406dd23cc01ff3a25d32a0e0fd978f4816fc3bbfa8c8e8")
25 # PKGBUILD functions
26 build() {
27     cd ${srcdir}/${_hkgname}-${pkgver}
28     runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
29     runhaskell Setup build
32 package() {
33     cd ${srcdir}/${_hkgname}-${pkgver}
34     runhaskell Setup copy --destdir=${pkgdir}