updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / nikepub / PKGBUILD
blob8b472a3d38d1b3a4dead58255c7959414702412b
1 # Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
2 _hkgname=nikepub
3 pkgname=nikepub
4 pkgver=1.1.2
5 pkgrel=3
6 pkgdesc="Command line utility publishes Nike+ runs on blogs and Twitter"
7 url="http://hackage.haskell.org/package/${_hkgname}"
8 license=('LGPL')
9 arch=('i686' 'x86_64')
10 makedepends=('ghc' 'haskell-googlechart>=0.2' 'haskell-hstringtemplate>=0.5.1.2' 'haskell-http=4000.0.9' 'haskell-containers=0.3.0.0' 'haskell-filepath=1.1.0.4' 'haskell-haskell98=1.0.1.1' 'haskell-haxr>=3000.2.1' 'haskell-hs-twitter>=0.2.8' 'haskell-hxt>=8.3.0' 'haskell-json>=0.4.3' 'haskell-network=2.2.1.7' 'haskell-old-locale=1.0.0.2' 'haskell-old-time=1.0.0.5' 'haskell-regex-compat=0.93.1' 'haskell-regex-posix=0.94.2' 'haskell-syb=0.1.0.2' 'haskell-time=1.1.4')
11 depends=('gmp')
12 options=('strip')
13 source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
14 build() {
15     cd ${srcdir}/${_hkgname}-${pkgver}
16     runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O
17     runhaskell Setup build
19 package() {
20     cd ${srcdir}/${_hkgname}-${pkgver}
21     runhaskell Setup copy --destdir=${pkgdir}
23 md5sums=('b0250724a3e62441704ee146c5bb7f50')