updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / timeplot / PKGBUILD
blobb423f4ece2e4fd3327cea83888c9bd7389624c15
1 # custom variables
2 _hkgname=timeplot
3 _licensefile=LICENSE
5 # PKGBUILD options/directives
6 pkgname=timeplot
7 pkgver=0.3.10
8 pkgrel=2
9 pkgdesc="A tool for visualizing time series from log files."
10 url="http://haskell.org/haskellwiki/Timeplot"
11 license=("BSD3")
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14              "haskell-chart=0.14-23"
15              "haskell-bytestring-lexing=0.2.1-19"
16              "haskell-cairo=0.12.1-2"
17              "haskell-colour=2.3.1-18"
18              "haskell-data-accessor=0.2.2-18"
19              "haskell-data-accessor-template=0.2.1.8-1"
20              "haskell-regex-tdfa=1.1.8-18"
21              "haskell-strptime=1.0.2-1"
22              "haskell-transformers=0.2.2.0-3.1")
23 depends=()
24 options=('strip')
25 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
27 sha256sums=("2e75e3911752cf6d496a8fc673dea7b0b835eb8fc360b3104e7272479a597cbc")
29 # PKGBUILD functions
30 build() {
31     cd ${srcdir}/${_hkgname}-${pkgver}
32     
33     runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
34     runhaskell Setup build
37 package() {
38     cd ${srcdir}/${_hkgname}-${pkgver}
39     runhaskell Setup copy --destdir=${pkgdir}