[arch-commits] Commit in haskell-servant-server/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 19 14:07:14 UTC 2018


    Date: Saturday, May 19, 2018 @ 14:07:13
  Author: felixonmars
Revision: 324604

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-servant-server/repos/community-staging-x86_64/PKGBUILD
    (from rev 324603, haskell-servant-server/trunk/PKGBUILD)
Deleted:
  haskell-servant-server/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-19 14:06:53 UTC (rev 324603)
+++ PKGBUILD	2018-05-19 14:07:13 UTC (rev 324604)
@@ -1,50 +0,0 @@
-# $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.12
-pkgrel=105
-pkgdesc="A family of combinators for defining webservices APIs and serving them"
-url="http://haskell-servant.readthedocs.org/"
-license=("custom:BSD3")
-arch=('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-network" "haskell-safe" "haskell-servant" "haskell-split"
-         "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged"
-         "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=('322fa0ebec88870d5d6e254ef27031b26d2c96dbcd6ec29e99dd2449abf95174471b1719034fb22077e4ba3f6a5bf7b2b50c535ba87e9f371f446399145f02cc')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/<.*4.11/<5/' $_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 324603, haskell-servant-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-19 14:07:13 UTC (rev 324604)
@@ -0,0 +1,50 @@
+# $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.12
+pkgrel=106
+pkgdesc="A family of combinators for defining webservices APIs and serving them"
+url="http://haskell-servant.readthedocs.org/"
+license=("custom:BSD3")
+arch=('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-network" "haskell-safe" "haskell-servant" "haskell-split"
+         "haskell-string-conversions" "haskell-system-filepath" "haskell-resourcet" "haskell-tagged"
+         "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=('322fa0ebec88870d5d6e254ef27031b26d2c96dbcd6ec29e99dd2449abf95174471b1719034fb22077e4ba3f6a5bf7b2b50c535ba87e9f371f446399145f02cc')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -e 's/<.*4.11/<5/' -e 's/<.*1.3/<2/' -e 's/<.*0.10/<1/' -i $_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"
+}



More information about the arch-commits mailing list