updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sifflet / PKGBUILD
blob00028224b58e83ba3277a86d33c57c562ed89323
1 # custom variables
2 _hkgname=sifflet
3 _licensefile=LICENSE
5 # PKGBUILD options/directives
6 pkgname=sifflet
7 pkgver=1.2.4
8 pkgrel=24
9 pkgdesc="A simple, visual, functional programming language."
10 url="http://mypage.iu.edu/~gdweber/software/sifflet/"
11 license=("BSD3")
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14              "haskell-cairo=0.12.1-2"
15              "haskell-fgl=5.4.2.3-4.1"
16              "haskell-glib=0.12.1-2"
17              "haskell-gtk=0.12.1-2"
18              "haskell-hxt=9.1.4-2"
19              "haskell-mtl=2.0.1.0-3.1"
20              "haskell-sifflet-lib=1.2.4-24"
21              "haskell-unix=2.4.2.0-2")
22 depends=()
23 options=('strip')
24 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
26 sha256sums=("5b0c1d3b434b8cf49d166518f1647300c54a4bc904ad4397fdbe2dc28cac4acf")
28 # PKGBUILD functions
29 build() {
30     cd ${srcdir}/${_hkgname}-${pkgver}
31     
32     runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
33     runhaskell Setup build
36 package() {
37     cd ${srcdir}/${_hkgname}-${pkgver}
38     runhaskell Setup copy --destdir=${pkgdir}