updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / arbtt / PKGBUILD
blobb26ca6ed777360442ef4f56e0439e0656f0e0d0b
1 # custom variables
2 _hkgname=arbtt
3 _licensefile=LICENSE
5 # PKGBUILD options/directives
6 pkgname=arbtt
7 pkgver=0.6.1
8 pkgrel=19
9 pkgdesc="Automatic Rule-Based Time Tracker"
10 url="http://www.joachim-breitner.de/projects#arbtt"
11 license=("GPL")
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")
22 depends=("gmp"
23          "libxss")
24 options=('strip')
25 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
27 sha256sums=("cff02eacc35769a6876143b9e398fabe089e6bb90a1eb398c53d1f2ece55d53b")
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}