updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / hxmppc / PKGBUILD
blob9616b383fba87e7d619de93ce4eff2a2425f4926
1 # custom variables
2 _hkgname=hxmppc
3 _licensefile=LICENSE
5 # PKGBUILD options/directives
6 pkgname=hxmppc
7 pkgver=0.2.3
8 pkgrel=1
9 pkgdesc="Haskell XMPP (Jabber Client) Command Line Interface (CLI)"
10 url="http://hackage.haskell.org/package/${_hkgname}"
11 license=("BSD3")
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14              "haskell-fclabels=1.0.4"
15              "haskell-network=2.3.0.2"
16              "haskell-network-protocol-xmpp=0.4"
17              "haskell-text=0.11.0.5"
18              "haskell-transformers=0.2.2.0"
19              "haskell-xml-types=0.3")
20 depends=()
21 options=('strip')
22 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
24 sha256sums=("4972e692bad4327f63f607a87c4e877d4f34415433c370889bd697a4590f31bb")
26 # PKGBUILD functions
27 build() {
28     cd ${srcdir}/${_hkgname}-${pkgver}
29     runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
30     runhaskell Setup build
33 package() {
34     cd ${srcdir}/${_hkgname}-${pkgver}
35     runhaskell Setup copy --destdir=${pkgdir}