[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Saturday, September 23, 2017 @ 17:52:27 Author: felixonmars Revision: 260297 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-errors/repos/community-i686/PKGBUILD (from rev 260296, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-x86_64/PKGBUILD (from rev 260296, haskell-errors/trunk/PKGBUILD) Deleted: haskell-errors/repos/community-i686/PKGBUILD haskell-errors/repos/community-x86_64/PKGBUILD ---+ /PKGBUILD | 80 community-i686/PKGBUILD | 43 --- community-x86_64/PKGBUILD | 43 --- 3 files changed, 80 insertions(+), 86 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-09-23 17:51:49 UTC (rev 260296) +++ community-i686/PKGBUILD 2017-09-23 17:52:27 UTC (rev 260297) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Arch Haskell Team - -_hkgname=errors -pkgname=haskell-errors -pkgver=2.2.2 -pkgrel=1 -pkgdesc="Simplified error-handling" -url="https://hackage.haskell.org/package/${_hkgname}"; -license=("custom:BSD3") -arch=('i686' 'x86_64') -depends=('ghc-libs' "haskell-exceptions" "haskell-safe" "haskell-text" "haskell-transformers-compat" - "haskell-unexceptionalio") -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) -sha512sums=('7ed84f3d76a81dabc75a84e78a31c3756ac5bd21897d7f9b1ab70df3ca5fccc7b0cdc27e0747e10eac2fd81f92527daaa525454702370d1841ded52eaf921fd4') - -build() { -cd "${srcdir}/${_hkgname}-${pkgver}" - -runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ ---prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ ---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 -} - -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" - -# Remove static libs -find "$pkgdir"/usr/lib -name "*.a" -delete -} Copied: haskell-errors/repos/community-i686/PKGBUILD (from rev 260296, haskell-errors/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-09-23 17:52:27 UTC (rev 260297) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.2.2 +pkgrel=2 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-exceptions" "haskell-safe" "haskell-text" "haskell-transformers-compat" + "haskell-unexceptionalio") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('7ed84f3d76a81dabc75a84e78a31c3756ac5bd21897d7f9b1ab70df3ca5fccc7b0cdc27e0747e10eac2fd81f92527daaa525454702370d1841ded52eaf921fd4') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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 +} + +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" +} Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2017-09-23 17:51:49 UTC (rev 260296) +++ community-x86_64/PKGBUILD 2017-09-23 17:52:27 UTC (rev 2
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Sunday, September 17, 2017 @ 16:50:02 Author: felixonmars Revision: 258628 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 258627, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 258627, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 43 community-staging-x86_64/PKGBUILD | 43 2 files changed, 86 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 258627, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-09-17 16:50:02 UTC (rev 258628) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.2.2 +pkgrel=1 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-exceptions" "haskell-safe" "haskell-text" "haskell-transformers-compat" + "haskell-unexceptionalio") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('7ed84f3d76a81dabc75a84e78a31c3756ac5bd21897d7f9b1ab70df3ca5fccc7b0cdc27e0747e10eac2fd81f92527daaa525454702370d1841ded52eaf921fd4') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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 +} + +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" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*.a" -delete +} Copied: haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 258627, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-09-17 16:50:02 UTC (rev 258628) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.2.2 +pkgrel=1 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-exceptions" "haskell-safe" "haskell-text" "haskell-transformers-compat" + "haskell-unexceptionalio") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('7ed84f3d76a81dabc75a84e78a31c3756ac5bd21897d7f9b1ab70df3ca5fccc7b0cdc27e0747e10eac2fd81f92527daaa525454702370d1841ded52eaf921fd4') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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 +} + +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" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*.a" -delete +}
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Tuesday, August 15, 2017 @ 17:47:16 Author: felixonmars Revision: 251154 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 251153, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 251153, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 43 community-staging-x86_64/PKGBUILD | 43 2 files changed, 86 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 251153, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-15 17:47:16 UTC (rev 251154) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.2.1 +pkgrel=2 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-exceptions" "haskell-safe" "haskell-text" "haskell-transformers-compat" + "haskell-unexceptionalio") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('fe4672d24046af3a1119b1378ed704c6310da6976b8470f896281010d4e54f616515a3042673600bd405e412cae2635d013ffa2c3772b1a98179e2d3c4741f50') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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 +} + +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" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*.a" -delete +} Copied: haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 251153, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-15 17:47:16 UTC (rev 251154) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.2.1 +pkgrel=2 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-exceptions" "haskell-safe" "haskell-text" "haskell-transformers-compat" + "haskell-unexceptionalio") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('fe4672d24046af3a1119b1378ed704c6310da6976b8470f896281010d4e54f616515a3042673600bd405e412cae2635d013ffa2c3772b1a98179e2d3c4741f50') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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 +} + +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" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*.a" -delete +}
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Tuesday, June 27, 2017 @ 15:51:13 Author: felixonmars Revision: 241242 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 241241, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 241241, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 45 community-staging-x86_64/PKGBUILD | 45 2 files changed, 90 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 241241, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-27 15:51:13 UTC (rev 241242) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.2.1 +pkgrel=1 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-exceptions" "haskell-safe" "haskell-text" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('fe4672d24046af3a1119b1378ed704c6310da6976b8470f896281010d4e54f616515a3042673600bd405e412cae2635d013ffa2c3772b1a98179e2d3c4741f50') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*.a" -delete +} Copied: haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 241241, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-06-27 15:51:13 UTC (rev 241242) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.2.1 +pkgrel=1 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-exceptions" "haskell-safe" "haskell-text" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('fe4672d24046af3a1119b1378ed704c6310da6976b8470f896281010d4e54f616515a3042673600bd405e412cae2635d013ffa2c3772b1a98179e2d3c4741f50') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Tuesday, June 20, 2017 @ 18:54:32 Author: felixonmars Revision: 239119 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 239118, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 239118, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 44 community-staging-x86_64/PKGBUILD | 44 2 files changed, 88 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 239118, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-20 18:54:32 UTC (rev 239119) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=7 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-safe" "haskell-transformers-compat" "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*.a" -delete +} Copied: haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 239118, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-06-20 18:54:32 UTC (rev 239119) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=7 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-safe" "haskell-transformers-compat" "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" + +# Remove stati
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Friday, June 16, 2017 @ 07:47:18 Author: felixonmars Revision: 237528 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 237527, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 237527, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 44 community-staging-x86_64/PKGBUILD | 44 2 files changed, 88 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 237527, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-16 07:47:18 UTC (rev 237528) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=6 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc" "haskell-safe" "haskell-transformers-compat" "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*.a" -delete +} Copied: haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 237527, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-06-16 07:47:18 UTC (rev 237528) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=6 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc" "haskell-safe" "haskell-transformers-compat" "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Thursday, February 16, 2017 @ 17:09:20 Author: felixonmars Revision: 212605 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 212604, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 212604, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 42 community-staging-x86_64/PKGBUILD | 42 2 files changed, 84 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 212604, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-02-16 17:09:20 UTC (rev 212605) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=5 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +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-errors/repos/community-staging-x86_64/PKGBUILD (from rev 212604, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-02-16 17:09:20 UTC (rev 212605) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=5 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Saturday, February 11, 2017 @ 17:14:58 Author: felixonmars Revision: 211887 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 211886, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 211886, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 42 community-staging-x86_64/PKGBUILD | 42 2 files changed, 84 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 211886, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-02-11 17:14:58 UTC (rev 211887) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=4 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +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-errors/repos/community-staging-x86_64/PKGBUILD (from rev 211886, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-02-11 17:14:58 UTC (rev 211887) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=4 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Tuesday, February 7, 2017 @ 04:05:28 Author: felixonmars Revision: 210683 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 210682, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 210682, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 42 community-staging-x86_64/PKGBUILD | 42 2 files changed, 84 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 210682, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-02-07 04:05:28 UTC (rev 210683) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=3 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +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-errors/repos/community-staging-x86_64/PKGBUILD (from rev 210682, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-02-07 04:05:28 UTC (rev 210683) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=3 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Monday, January 23, 2017 @ 14:06:37 Author: felixonmars Revision: 208547 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 208546, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 208546, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 42 community-staging-x86_64/PKGBUILD | 42 2 files changed, 84 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 208546, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-01-23 14:06:37 UTC (rev 208547) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=2 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +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-errors/repos/community-staging-x86_64/PKGBUILD (from rev 208546, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-01-23 14:06:37 UTC (rev 208547) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=2 +pkgdesc="Simplified error-handling" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Thursday, December 1, 2016 @ 08:00:01 Author: felixonmars Revision: 197508 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 197507, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 197507, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 42 community-staging-x86_64/PKGBUILD | 42 2 files changed, 84 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 197507, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-12-01 08:00:01 UTC (rev 197508) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=1 +pkgdesc="Simplified error-handling" +url="http://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +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-errors/repos/community-staging-x86_64/PKGBUILD (from rev 197507, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-12-01 08:00:01 UTC (rev 197508) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.3 +pkgrel=1 +pkgdesc="Simplified error-handling" +url="http://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Thursday, November 24, 2016 @ 09:27:08 Author: felixonmars Revision: 196652 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 196651, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 196651, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 42 community-staging-x86_64/PKGBUILD | 42 2 files changed, 84 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 196651, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-11-24 09:27:08 UTC (rev 196652) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.2 +pkgrel=3 +pkgdesc="Simplified error-handling" +url="http://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('5c818778b88b76eca016348a04395c1d4913d7c125c0b9c0a1ccf69accf9d887') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +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-errors/repos/community-staging-x86_64/PKGBUILD (from rev 196651, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-11-24 09:27:08 UTC (rev 196652) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.2 +pkgrel=3 +pkgdesc="Simplified error-handling" +url="http://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('5c818778b88b76eca016348a04395c1d4913d7c125c0b9c0a1ccf69accf9d887') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-errors/repos (4 files)
Date: Wednesday, May 25, 2016 @ 12:09:11 Author: fyan Revision: 176813 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-errors/repos/community-staging-i686/ haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 176812, haskell-errors/trunk/PKGBUILD) haskell-errors/repos/community-staging-x86_64/ haskell-errors/repos/community-staging-x86_64/PKGBUILD (from rev 176812, haskell-errors/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 42 community-staging-x86_64/PKGBUILD | 42 2 files changed, 84 insertions(+) Copied: haskell-errors/repos/community-staging-i686/PKGBUILD (from rev 176812, haskell-errors/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-05-25 10:09:11 UTC (rev 176813) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.2 +pkgrel=2 +pkgdesc="Simplified error-handling" +url="http://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('5c818778b88b76eca016348a04395c1d4913d7c125c0b9c0a1ccf69accf9d887') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +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-errors/repos/community-staging-x86_64/PKGBUILD (from rev 176812, haskell-errors/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-05-25 10:09:11 UTC (rev 176813) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=errors +pkgname=haskell-errors +pkgver=2.1.2 +pkgrel=2 +pkgdesc="Simplified error-handling" +url="http://hackage.haskell.org/package/${_hkgname}"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat" + "haskell-unexceptionalio") +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('5c818778b88b76eca016348a04395c1d4913d7c125c0b9c0a1ccf69accf9d887') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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 +} + +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}