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

Felix Yan felixonmars at archlinux.org
Sun Aug 16 05:34:33 UTC 2020


    Date: Sunday, August 16, 2020 @ 05:34:33
  Author: felixonmars
Revision: 680716

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-16 05:34:23 UTC (rev 680715)
+++ PKGBUILD	2020-08-16 05:34:33 UTC (rev 680716)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas Dziedzic <gostrc at gmail.com>
-
-_hkgname=HTTP
-pkgname=haskell-http
-pkgver=4000.3.14
-pkgrel=248
-pkgdesc="A library for client-side HTTP"
-url="https://hackage.haskell.org/package/${_hkgname}"
-license=('BSD')
-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=('bcc9107412f3ff5806369675ae6cfd87c4ecc36490eab6d62c697f47e62ff8b0d1d6a25f9bfb9d8ef1f037492820eb732cb9cbec7ea9e7e4b20699573077b064')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/< *3.3/<4/;s/< *4.14/<5/' $_hkgname.cabal
-}
-
-build() {
-    cd $_hkgname-$pkgver
-
-    if (( CHECKFUNC )); then
-        _opts=('--enable-tests')
-    else
-        _opts=('--disable-tests')
-    fi
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-mtl1 -f-warn-as-error -f-conduit10 -fwarp-tests -fnetwork-uri
-    runhaskell Setup build $MAKEFLAGS
-    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 $_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 680715, haskell-http/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-16 05:34:33 UTC (rev 680716)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
+
+_hkgname=HTTP
+pkgname=haskell-http
+pkgver=4000.3.14
+pkgrel=249
+pkgdesc="A library for client-side HTTP"
+url="https://hackage.haskell.org/package/${_hkgname}"
+license=('BSD')
+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=('bcc9107412f3ff5806369675ae6cfd87c4ecc36490eab6d62c697f47e62ff8b0d1d6a25f9bfb9d8ef1f037492820eb732cb9cbec7ea9e7e4b20699573077b064')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *3.3/<4/;s/< *4.14/<5/' $_hkgname.cabal
+}
+
+build() {
+    cd $_hkgname-$pkgver
+
+    if (( CHECKFUNC )); then
+        _opts=('--enable-tests')
+    else
+        _opts=('--disable-tests')
+    fi
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-mtl1 -f-warn-as-error -f-conduit10 -fwarp-tests -fnetwork-uri
+    runhaskell Setup build $MAKEFLAGS
+    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 $_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