5 # PKGBUILD options/directives
9 pkgdesc="Automatic Rule-Based Time Tracker"
10 url="http://www.joachim-breitner.de/projects#arbtt"
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14 "haskell-x11=1.5.0.0-7.3"
15 "haskell-binary=0.5.0.2-8"
16 "haskell-deepseq=1.1.0.2-2.1"
17 "haskell-mtl=2.0.1.0-3.1"
18 "haskell-parsec=3.1.1-2.1"
19 "haskell-pcre-light=0.4-18"
20 "haskell-unix=2.4.2.0-2"
21 "haskell-utf8-string=0.3.6-7.2")
25 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
27 sha256sums=("cff02eacc35769a6876143b9e398fabe089e6bb90a1eb398c53d1f2ece55d53b")
31 cd ${srcdir}/${_hkgname}-${pkgver}
33 runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
34 runhaskell Setup build
38 cd ${srcdir}/${_hkgname}-${pkgver}
39 runhaskell Setup copy --destdir=${pkgdir}