summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94f020c03ba800a5ae5fe520a25f380acb64430f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Maintainer : Damien Flament <damien.flament___at___gmx___dot___com>
# Contributor: Martin Harvan <martinhrvn___at___gmail___dot___com>
pkgname=leksah
pkgver=0.12.1.3
pkgrel=1
pkgdesc="Haskell IDE written in Haskell"
arch=('i686' 'x86_64')
url="http://leksah.org"
license=('GPL')
depends=('gmp')
makedepends=('ghc'
    'haskell-cabal<=1.6.0.1' 'haskell-cabal>1.15'
    'haskell-array>=0.2' 'haskell-array<0.5'
    'haskell-binary>=0.5' 'haskell-binary<0.6'
    'haskell-binary-shared>0.8'
    'haskell-bytestring>=0.9.0.1' 'haskell-bytestring<0.10'
    'haskell-containers>=0.2' 'haskell-containers<0.5'
    'haskell-deepseq>=1.1' 'haskell-deepseq<1.4'
    'haskell-directory>=1.0.0.2' 'haskell-directory<3.1'
    'haskell-filepath>=1.1.0.1' 'haskell-filepath<1.4'
    'haskell-glib>=0.10' 'haskell-glib<0.13'
    'haskell-gtk>=0.10' 'haskell-gtk<0.13'
    'haskell-gtksourceview2>=0.10' 'haskell-gtksourceview2<0.13'
    'haskell-hslogger>=1.0.7' 'haskell-hslogger<1.2'
    'haskell-leksah-server>=0.12.1.2' 'haskell-leksah-server<0.13'
    'haskell-ltk>=0.12.1' 'haskell-ltk<0.13'
    'haskell-mtl>=1.1.0.2' 'haskell-mtl<2.2'
    'haskell-network>=2.2' 'haskell-network<3.0'
    'haskell-old-time>=1.0.0.1' 'haskell-old-time<1.2'
    'haskell-parsec>=2.1.0.1' 'haskell-parsec<3.2'
    'haskell-pretty>=1.0.1' 'haskell-pretty<1.2'
    'haskell-regex-base>0.93'
    'haskell-regex-tdfa>=1.1'
    'haskell-time>=0.1' 'haskell-time<1.5'
    'haskell-unix>=2.3.1' 'haskell-unix<2.6'
    'haskell-utf8-string>=0.3.1.1' 'haskell-utf8-string<0.4'
    'haskell-gio>=0.12.2' 'haskell-gio<0.13'
    'haskell-quickcheck>=2.4.2' 'haskell-quickcheck<2.5'
    'haskell-strict>=0.3.2' 'haskell-strict<2.6')
provides=()
conflicts=()
replaces=()
backup=()
options=('strip')
install=
changelog=
source=(http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
noextract=()
md5sums=('7b239fbcd67d969890e299fb7afb5985')
validpgpkeys=()

build() {
    cd ${srcdir}/${_hkgname}-${pkgver}
    runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O
    runhaskell Setup build
}

package() {
    cd ${srcdir}/${_hkgname}-${pkgver}
    runhaskell Setup copy --destdir=${pkgdir}
}