updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / twidge / PKGBUILD
blob1f900696089e4fcf83f02f5a7f6714f117213222
1 # Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
2 _hkgname=twidge
3 pkgname=twidge
4 pkgver=1.0.6.1
5 pkgrel=2
6 pkgdesc="Unix Command-Line Twitter and Identica Client"
7 url="http://hackage.haskell.org/package/${_hkgname}"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 makedepends=('ghc' 'haskell-configfile' 'haskell-hsh' 'haskell-haxml<1.19' 'haskell-missingh>=1.0.0' 'haskell-binary' 'haskell-bytestring=0.9.1.7' 'haskell-curl' 'haskell-directory=1.0.1.1' 'haskell-hoauth<0.2.4' 'haskell-hslogger' 'haskell-mtl' 'haskell-network=2.2.1.7' 'haskell-parsec=2.1.0.1' 'haskell-regex-posix=0.94.2' 'haskell-unix=2.4.0.2' 'haskell-utf8-string')
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=('96cc4e52cf787f6de77cff66ae40ca41')