updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / umm / PKGBUILD
blob53938ff6d1800f294d4ef950773e08223ec5cf75
1 # custom variables
2 _hkgname=UMM
3 _licensefile=LICENSE
5 # PKGBUILD options/directives
6 pkgname=umm
7 pkgver=0.3.1
8 pkgrel=18
9 pkgdesc="A small command-line accounting tool"
10 url="http://www.korgwal.com/umm/"
11 license=("GPL")
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14              "haskell-haskell98=1.1.0.1"
15              "haskell-old-time=1.0.0.6"
16              "haskell-parsec=3.1.1"
17              "haskell-process=1.0.1.5"
18              "haskell-utf8-string=0.3.6")
19 depends=()
20 options=('strip')
21 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
23 sha256sums=("b0e0697180aaa359a733dd6eba62a1f313491480ff57cf5cf366dacf26dd334d")
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}