diff options
Diffstat (limited to 'community/haskell-hslogger/PKGBUILD')
-rw-r--r-- | community/haskell-hslogger/PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/community/haskell-hslogger/PKGBUILD b/community/haskell-hslogger/PKGBUILD index 6bde5b545..310d1dd54 100644 --- a/community/haskell-hslogger/PKGBUILD +++ b/community/haskell-hslogger/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 102061 2013-12-04 14:20:16Z spupykin $ +# $Id: PKGBUILD 110624 2014-05-04 13:55:03Z td123 $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Arch Haskell Team <arch-haskell@haskell.org> pkgname=haskell-hslogger pkgver=1.2.3 -pkgrel=1 +pkgrel=2 pkgdesc="Versatile logging framework" url="http://hackage.haskell.org/package/hslogger" license=('LGPL') @@ -12,11 +12,17 @@ arch=('i686' 'x86_64') depends=('ghc' 'haskell-mtl' 'haskell-network') options=('staticlibs') install=${pkgname}.install -source=(http://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz) -md5sums=('4047e50789860c8ac3e8998f7de68ca5') +source=("http://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz" + '0001-relax-network-upper-bound-to-2.6.patch') +md5sums=('4047e50789860c8ac3e8998f7de68ca5' + '14b3339395dcb5ba666987bc6aac998e') build() { cd ${srcdir}/hslogger-${pkgver} + + # upstream bug: https://github.com/jgoerzen/hslogger/pull/22 + patch -Np1 -i ${srcdir}/0001-relax-network-upper-bound-to-2.6.patch + runhaskell Setup configure -p --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O \ --enable-split-objs --enable-shared --libsubdir=\$compiler/site-local/\$pkgid \ --enable-library-profiling |