Date: Saturday, June 2, 2018 @ 12:20:54 Author: felixonmars Revision: 337382
archrelease: copy trunk to community-staging-x86_64 Added: haskell-resourcet/repos/community-staging-x86_64/PKGBUILD (from rev 337381, haskell-resourcet/trunk/PKGBUILD) Deleted: haskell-resourcet/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-06-02 12:20:41 UTC (rev 337381) +++ PKGBUILD 2018-06-02 12:20:54 UTC (rev 337382) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -_hkgname=resourcet -pkgname=haskell-resourcet -pkgver=1.2.1 -pkgrel=9 -pkgdesc="Deterministic allocation and freeing of scarce resources." -url="https://github.com/snoyberg/conduit" -license=("custom:BSD3") -arch=('x86_64') -depends=('ghc-libs' 'haskell-exceptions' 'haskell-primitive' 'haskell-unliftio-core') -makedepends=('ghc' 'haskell-hspec') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('64c1e2f941d612f67eed281959cf91d8b83169c20512d852ce3a5b17e25ecf145af7293afc5081caace63c4528f398648f220cf8a478ad3b2ee334d30eaa0b87') - -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-resourcet/repos/community-staging-x86_64/PKGBUILD (from rev 337381, haskell-resourcet/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-06-02 12:20:54 UTC (rev 337382) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +_hkgname=resourcet +pkgname=haskell-resourcet +pkgver=1.2.1 +pkgrel=10 +pkgdesc="Deterministic allocation and freeing of scarce resources." +url="https://github.com/snoyberg/conduit" +license=("custom:BSD3") +arch=('x86_64') +depends=('ghc-libs' 'haskell-exceptions' 'haskell-primitive' 'haskell-unliftio-core') +makedepends=('ghc' 'haskell-hspec') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha512sums=('64c1e2f941d612f67eed281959cf91d8b83169c20512d852ce3a5b17e25ecf145af7293afc5081caace63c4528f398648f220cf8a478ad3b2ee334d30eaa0b87') + +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" +}