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

Felix Yan felixonmars at archlinux.org
Sun May 20 14:01:20 UTC 2018


    Date: Sunday, May 20, 2018 @ 14:01:19
  Author: felixonmars
Revision: 325319

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http/repos/community-staging-x86_64/PKGBUILD
    (from rev 325318, haskell-http/trunk/PKGBUILD)
Deleted:
  haskell-http/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-20 14:00:38 UTC (rev 325318)
+++ PKGBUILD	2018-05-20 14:01:19 UTC (rev 325319)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas Dziedzic <gostrc at gmail.com>
-
-_hkgname=HTTP
-pkgname=haskell-http
-pkgver=4000.3.11
-pkgrel=22
-pkgdesc="A library for client-side HTTP"
-url="https://hackage.haskell.org/package/${_hkgname}"
-license=('custom:BSD3')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-network' 'haskell-network-uri')
-makedepends=('ghc' 'haskell-hunit' 'haskell-httpd-shed' 'haskell-puremd5' 'haskell-split'
-             'haskell-test-framework' 'haskell-test-framework-hunit' 'haskell-case-insensitive'
-             'haskell-http-types' 'haskell-wai' 'haskell-warp' 'haskell-conduit'
-             'haskell-conduit-extra')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('3c8624fd92f6fa16f128c7d7e4614fba0f95b31714c0dd6ca3e564bb9c3295ec34a952eca91d642b5c46470923ba506ec8234bbb6a67593a00f4c8b50e97aac9')
-
-build() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-mtl1 -f-warn-as-error -f-conduit10 -fwarp-tests -fnetwork-uri
-    runhaskell Setup build
-    runhaskell Setup register --gen-script
-    runhaskell Setup unregister --gen-script
-    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-    cd $_hkgname-$pkgver
-    runhaskell Setup test
-}
-
-package() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
-
-    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-    runhaskell Setup copy --destdir="${pkgdir}"
-    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: haskell-http/repos/community-staging-x86_64/PKGBUILD (from rev 325318, haskell-http/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-20 14:01:19 UTC (rev 325319)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
+
+_hkgname=HTTP
+pkgname=haskell-http
+pkgver=4000.3.11
+pkgrel=23
+pkgdesc="A library for client-side HTTP"
+url="https://hackage.haskell.org/package/${_hkgname}"
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'haskell-hunit' 'haskell-httpd-shed' 'haskell-puremd5' 'haskell-split'
+             'haskell-test-framework' 'haskell-test-framework-hunit' 'haskell-case-insensitive'
+             'haskell-http-types' 'haskell-wai' 'haskell-warp' 'haskell-conduit'
+             'haskell-conduit-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('3c8624fd92f6fa16f128c7d7e4614fba0f95b31714c0dd6ca3e564bb9c3295ec34a952eca91d642b5c46470923ba506ec8234bbb6a67593a00f4c8b50e97aac9')
+
+build() {
+    cd "${srcdir}/${_hkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-mtl1 -f-warn-as-error -f-conduit10 -fwarp-tests -fnetwork-uri
+    runhaskell Setup build
+    runhaskell Setup register --gen-script
+    runhaskell Setup unregister --gen-script
+    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
+package() {
+    cd "${srcdir}/${_hkgname}-${pkgver}"
+
+    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list