updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / hsgtd / PKGBUILD
blobd2b3d2cb8e1b67ca9f61275d05ddf52bedbd00e3
1 # custom variables
2 _hkgname=hsgtd
3 _licensefile=LICENSE
5 # PKGBUILD options/directives
6 pkgname=hsgtd
7 pkgver=0.2
8 pkgrel=18
9 pkgdesc="Console-based gettings-things-done application"
10 url="http://www.mlesniak.com/haskell/gettings-things-done-in-haskell/"
11 license=("GPL")
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14              "haskell-ansi-terminal=0.5.5"
15              "haskell-containers=0.4.0.0"
16              "haskell-directory=1.1.0.0"
17              "haskell-haskeline=0.6.3.2"
18              "haskell-mtl=2.0.1.0")
19 depends=()
20 options=('strip')
21 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
23 sha256sums=("86616afa153ffaab71a71ff0cd1bdf8b9ecedca2abcd3525f30ddb0f3f295167")
25 # PKGBUILD functions
26 build() {
27     cd ${srcdir}/${_hkgname}-${pkgver}
28     runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
29     runhaskell Setup build
32 package() {
33     cd ${srcdir}/${_hkgname}-${pkgver}
34     runhaskell Setup copy --destdir=${pkgdir}