[arch-commits] Commit in haskell-servant-server/repos (4 files)

Felix Yan felixonmars at archlinux.org
Mon Oct 23 08:24:37 UTC 2017


    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 <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_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 <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_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"
+}



More information about the arch-commits mailing list