Date: Sunday, May 20, 2018 @ 19:05:03 Author: felixonmars Revision: 325562
archrelease: copy trunk to community-staging-x86_64 Added: haskell-conduit-extra/repos/community-staging-x86_64/PKGBUILD (from rev 325561, haskell-conduit-extra/trunk/PKGBUILD) Deleted: haskell-conduit-extra/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-05-20 19:04:41 UTC (rev 325561) +++ PKGBUILD 2018-05-20 19:05:03 UTC (rev 325562) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -_hkgname=conduit-extra -pkgname=haskell-conduit-extra -pkgver=1.3.0 -pkgrel=3 -pkgdesc="Batteries included conduit: adapters for common libraries." -url="https://github.com/snoyberg/conduit" -license=("MIT") -arch=('x86_64') -depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 'haskell-conduit' 'haskell-network' - 'haskell-primitive' 'haskell-resourcet' 'haskell-streaming-commons' 'haskell-typed-process' - 'haskell-unliftio-core') -makedepends=('ghc' 'haskell-exceptions' 'haskell-hspec' 'haskell-quickcheck' - 'haskell-transformers-base') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('3097a561b37b13e221f0721e84c06b179ec6df5111af7a2db12e26ee4f4d0935fb49bbccbda17e22546d11436774a5fa4b8df718c47f751bf5e846dfec92a7e5') - -prepare() { - sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal -} - -build() { - cd "${srcdir}/${_hkgname}-${pkgver}" - - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -check() { - cd $_hkgname-$pkgver - runhaskell Setup test -} - -package() { - cd "${srcdir}/${_hkgname}-${pkgver}" - - install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" - install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" - runhaskell Setup copy --destdir="${pkgdir}" - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" -} Copied: haskell-conduit-extra/repos/community-staging-x86_64/PKGBUILD (from rev 325561, haskell-conduit-extra/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-05-20 19:05:03 UTC (rev 325562) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +_hkgname=conduit-extra +pkgname=haskell-conduit-extra +pkgver=1.3.0 +pkgrel=4 +pkgdesc="Batteries included conduit: adapters for common libraries." +url="https://github.com/snoyberg/conduit" +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 'haskell-conduit' 'haskell-network' + 'haskell-primitive' 'haskell-resourcet' 'haskell-streaming-commons' 'haskell-typed-process' + 'haskell-unliftio-core') +makedepends=('ghc' 'haskell-exceptions' 'haskell-hspec' 'haskell-quickcheck' + 'haskell-transformers-base') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha512sums=('3097a561b37b13e221f0721e84c06b179ec6df5111af7a2db12e26ee4f4d0935fb49bbccbda17e22546d11436774a5fa4b8df718c47f751bf5e846dfec92a7e5') + +prepare() { + sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal +} + +build() { + cd "${srcdir}/${_hkgname}-${pkgver}" + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd "${srcdir}/${_hkgname}-${pkgver}" + + install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="${pkgdir}" + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}