[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Tuesday, July 11, 2017 @ 15:41:30 Author: felixonmars Revision: 244286 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 244285, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 244285, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 244285, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-11 15:41:30 UTC (rev 244286) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=10 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 244285, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-07-11 15:41:30 UTC (rev 244286) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=10 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Tuesday, July 11, 2017 @ 21:03:51 Author: felixonmars Revision: 244514 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 244513, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 244513, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 244513, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-11 21:03:51 UTC (rev 244514) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=11 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 244513, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-07-11 21:03:51 UTC (rev 244514) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=11 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Saturday, July 15, 2017 @ 14:17:04 Author: felixonmars Revision: 245220 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 245219, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 245219, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 245219, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-15 14:17:04 UTC (rev 245220) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=12 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 245219, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-07-15 14:17:04 UTC (rev 245220) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=12 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Tuesday, June 27, 2017 @ 14:51:39 Author: felixonmars Revision: 241204 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-servant-server/repos/community-i686/ haskell-servant-server/repos/community-i686/PKGBUILD (from rev 241203, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-x86_64/ haskell-servant-server/repos/community-x86_64/PKGBUILD (from rev 241203, haskell-servant-server/trunk/PKGBUILD) ---+ community-i686/PKGBUILD | 50 community-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-i686/PKGBUILD (from rev 241203, haskell-servant-server/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-06-27 14:51:39 UTC (rev 241204) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=1 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-x86_64/PKGBUILD (from rev 241203, haskell-servant-server/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-06-27 14:51:39 UTC (rev 241204) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=1 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-exec
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Tuesday, June 27, 2017 @ 15:21:12 Author: felixonmars Revision: 241228 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 241227, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 241227, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 241227, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-27 15:21:12 UTC (rev 241228) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=2 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 241227, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-06-27 15:21:12 UTC (rev 241228) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=2 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Friday, June 30, 2017 @ 23:32:40 Author: felixonmars Revision: 241848 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 241847, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 241847, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 241847, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-30 23:32:40 UTC (rev 241848) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=3 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 241847, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-06-30 23:32:40 UTC (rev 241848) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=3 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Monday, July 3, 2017 @ 17:32:46 Author: felixonmars Revision: 242205 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 242204, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 242204, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 242204, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-03 17:32:46 UTC (rev 242205) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=4 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 242204, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-07-03 17:32:46 UTC (rev 242205) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=4 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +c
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Friday, July 7, 2017 @ 08:17:00 Author: felixonmars Revision: 242729 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 242728, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 242728, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 242728, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-07 08:17:00 UTC (rev 242729) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=5 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 242728, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-07-07 08:17:00 UTC (rev 242729) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=5 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +c
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Friday, July 7, 2017 @ 20:38:39 Author: felixonmars Revision: 243060 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 243059, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 243059, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 243059, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-07 20:38:39 UTC (rev 243060) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=6 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 243059, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-07-07 20:38:39 UTC (rev 243060) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=6 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +c
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Sunday, July 9, 2017 @ 16:21:38 Author: felixonmars Revision: 243419 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 243418, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 243418, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 243418, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-09 16:21:38 UTC (rev 243419) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=7 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 243418, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-07-09 16:21:38 UTC (rev 243419) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=7 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +c
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Monday, July 10, 2017 @ 06:15:04 Author: felixonmars Revision: 243542 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 243541, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 243541, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 243541, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-10 06:15:04 UTC (rev 243542) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=8 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 243541, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-07-10 06:15:04 UTC (rev 243542) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=8 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Tuesday, July 11, 2017 @ 06:52:31 Author: felixonmars Revision: 243975 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 243974, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 243974, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 243974, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-11 06:52:31 UTC (rev 243975) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=9 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 243974, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-07-11 06:52:31 UTC (rev 243975) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=9 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Wednesday, August 2, 2017 @ 15:56:44 Author: felixonmars Revision: 247464 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 247463, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 247463, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 247463, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-02 15:56:44 UTC (rev 247464) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=13 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 247463, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-02 15:56:44 UTC (rev 247464) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=13 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() {
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Thursday, August 3, 2017 @ 08:07:14 Author: felixonmars Revision: 247721 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 247720, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 247720, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 247720, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-03 08:07:14 UTC (rev 247721) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=14 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 247720, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-03 08:07:14 UTC (rev 247721) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=14 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() {
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Friday, August 4, 2017 @ 11:20:27 Author: felixonmars Revision: 248282 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 248281, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 248281, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 248281, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-04 11:20:27 UTC (rev 248282) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=15 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 248281, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-04 11:20:27 UTC (rev 248282) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=15 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Saturday, August 5, 2017 @ 21:17:27 Author: felixonmars Revision: 248882 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 248881, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 248881, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 248881, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-05 21:17:27 UTC (rev 248882) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=16 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 248881, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-05 21:17:27 UTC (rev 248882) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=16 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() {
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Sunday, August 6, 2017 @ 23:17:38 Author: felixonmars Revision: 249185 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 249184, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 249184, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 249184, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-06 23:17:38 UTC (rev 249185) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=17 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 249184, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-06 23:17:38 UTC (rev 249185) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=17 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Monday, August 7, 2017 @ 09:40:12 Author: felixonmars Revision: 249347 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 249346, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 249346, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 249346, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-07 09:40:12 UTC (rev 249347) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=18 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 249346, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-07 09:40:12 UTC (rev 249347) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=18 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Friday, August 11, 2017 @ 17:47:07 Author: felixonmars Revision: 249863 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 249862, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 249862, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 249862, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-11 17:47:07 UTC (rev 249863) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=19 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 249862, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-11 17:47:07 UTC (rev 249863) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=19 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Monday, August 14, 2017 @ 10:08:46 Author: felixonmars Revision: 250270 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 250269, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 250269, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 50 community-staging-x86_64/PKGBUILD | 50 2 files changed, 100 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 250269, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-14 10:08:46 UTC (rev 250270) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=20 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 250269, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-14 10:08:46 UTC (rev 250270) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=20 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +build() { +
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Wednesday, September 13, 2017 @ 06:37:18 Author: felixonmars Revision: 257280 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 257279, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 257279, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 52 community-staging-x86_64/PKGBUILD | 52 2 files changed, 104 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 257279, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-09-13 06:37:18 UTC (rev 257280) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=25 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_hkgname-$pkgver/$_hkgname.cabal +} + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 257279, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-09-13 06:37:18 UTC (rev 257280) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=25 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Friday, September 15, 2017 @ 06:21:28 Author: felixonmars Revision: 257597 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 257596, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 257596, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 52 community-staging-x86_64/PKGBUILD | 52 2 files changed, 104 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 257596, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-09-15 06:21:28 UTC (rev 257597) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=26 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_hkgname-$pkgver/$_hkgname.cabal +} + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 257596, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-09-15 06:21:28 UTC (rev 257597) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=26 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Saturday, September 16, 2017 @ 14:48:35 Author: felixonmars Revision: 257865 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 257864, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 257864, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 52 community-staging-x86_64/PKGBUILD | 52 2 files changed, 104 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 257864, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-09-16 14:48:35 UTC (rev 257865) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=27 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_hkgname-$pkgver/$_hkgname.cabal +} + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 257864, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-09-16 14:48:35 UTC (rev 257865) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=27 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Thursday, September 21, 2017 @ 10:33:13 Author: felixonmars Revision: 259149 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 259148, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 259148, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 49 community-staging-x86_64/PKGBUILD | 49 2 files changed, 98 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 259148, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-09-21 10:33:13 UTC (rev 259149) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=28 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_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}" \ +--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" +} Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 259148, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-09-21 10:33:13 UTC (rev 259149) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=28 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >=
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Thursday, August 17, 2017 @ 08:56:41 Author: felixonmars Revision: 251644 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 251642, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 251642, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 52 community-staging-x86_64/PKGBUILD | 52 2 files changed, 104 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 251642, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-17 08:56:41 UTC (rev 251644) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=21 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_hkgname-$pkgver/$_hkgname.cabal +} + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 251642, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-17 08:56:41 UTC (rev 251644) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=21 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Sunday, August 20, 2017 @ 10:08:41 Author: felixonmars Revision: 252686 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 252685, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 252685, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 52 community-staging-x86_64/PKGBUILD | 52 2 files changed, 104 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 252685, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-20 10:08:41 UTC (rev 252686) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=22 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_hkgname-$pkgver/$_hkgname.cabal +} + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 252685, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-20 10:08:41 UTC (rev 252686) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=22 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Wednesday, August 30, 2017 @ 19:52:11 Author: felixonmars Revision: 254886 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 254885, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 254885, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 52 community-staging-x86_64/PKGBUILD | 52 2 files changed, 104 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 254885, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-30 19:52:11 UTC (rev 254886) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=23 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_hkgname-$pkgver/$_hkgname.cabal +} + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 254885, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-30 19:52:11 UTC (rev 254886) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=23 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Tuesday, September 5, 2017 @ 16:50:59 Author: felixonmars Revision: 255823 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 255822, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 255822, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 52 community-staging-x86_64/PKGBUILD | 52 2 files changed, 104 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 255822, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-09-05 16:50:59 UTC (rev 255823) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=24 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_hkgname-$pkgver/$_hkgname.cabal +} + +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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 255822, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-09-05 16:50:59 UTC (rev 255823) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=24 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Friday, October 13, 2017 @ 17:42:22 Author: felixonmars Revision: 262572 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 262571, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 262571, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 49 community-staging-x86_64/PKGBUILD | 49 2 files changed, 98 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 262571, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-10-13 17:42:22 UTC (rev 262572) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=30 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_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}" \ +--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" +} Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 262571, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-10-13 17:42:22 UTC (rev 262572) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=30 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Thursday, October 19, 2017 @ 06:21:32 Author: felixonmars Revision: 263486 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 263485, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 263485, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 49 community-staging-x86_64/PKGBUILD | 49 2 files changed, 98 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 263485, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-10-19 06:21:32 UTC (rev 263486) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=31 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_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}" \ +--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" +} Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 263485, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-10-19 06:21:32 UTC (rev 263486) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=31 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Monday, October 23, 2017 @ 08:24:36 Author: felixonmars Revision: 264027 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 264026, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 264026, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 45 community-staging-x86_64/PKGBUILD | 45 2 files changed, 90 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 264026, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-10-23 08:24:36 UTC (rev 264027) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11.0.1 +pkgrel=1 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('1e55d70e98beaf0ec4d7dc44f696b65c46de911fccb0e838da97f1edba4d66581bcf2508583302b2d778e42e390161b39bc7302ab4dd9fe2f38b7d2f75d7c7ee') + +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" +} Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 264026, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-10-23 08:24:36 UTC (rev 264027) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11.0.1 +pkgrel=1 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('1e55d70e98beaf0ec4d7dc44f696b65c46de911fccb0e838da97f1edba4d66581bcf2508583302b2d778e42e390161b39bc7302ab4dd9fe2f38b7d2f75d7c7ee') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O
[arch-commits] Commit in haskell-servant-server/repos (4 files)
Date: Thursday, September 28, 2017 @ 17:02:45 Author: felixonmars Revision: 260845 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-servant-server/repos/community-staging-i686/ haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 260844, haskell-servant-server/trunk/PKGBUILD) haskell-servant-server/repos/community-staging-x86_64/ haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 260844, haskell-servant-server/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 49 community-staging-x86_64/PKGBUILD | 49 2 files changed, 98 insertions(+) Copied: haskell-servant-server/repos/community-staging-i686/PKGBUILD (from rev 260844, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-09-28 17:02:45 UTC (rev 260845) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=29 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >= 4.7/' $_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}" \ +--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" +} Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 260844, haskell-servant-server/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-09-28 17:02:45 UTC (rev 260845) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=servant-server +pkgname=haskell-servant-server +pkgver=0.11 +pkgrel=29 +pkgdesc="A family of combinators for defining webservices APIs and serving them" +url="http://haskell-servant.readthedocs.org/"; +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-base-compat" "haskell-aeson" "haskell-attoparsec" + "haskell-base64-bytestring" "haskell-exceptions" "haskell-http-api-data" + "haskell-http-types" "haskell-network-uri" "haskell-monad-control" "haskell-mtl" + "haskell-network" "haskell-safe" "haskell-servant" "haskell-split" + "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged" + "haskell-text" "haskell-transformers-base" "haskell-transformers-compat" "haskell-wai" + "haskell-wai-app-static" "haskell-warp" "haskell-word8") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('2b0ee788d4c3aca2234aa147e2b0c5acb6202483a198bdba3d3b9023540c02b1') + +prepare() { +sed -i 's/base >= 4.7 && < 4.10/base >=