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

Felix Yan felixonmars at archlinux.org
Mon May 31 04:29:20 UTC 2021


    Date: Monday, May 31, 2021 @ 04:29:20
  Author: felixonmars
Revision: 951713

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-31 04:29:09 UTC (rev 951712)
+++ PKGBUILD	2021-05-31 04:29:20 UTC (rev 951713)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=http-streams
-pkgname=haskell-http-streams
-pkgver=0.8.7.2
-pkgrel=241
-pkgdesc="An HTTP client using io-streams"
-url="https://github.com/afcowie/http-streams"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 'haskell-blaze-builder'
-         'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
-         'haskell-openssl-streams' 'haskell-unordered-containers' 'haskell-aeson'
-         'haskell-http-common' 'haskell-network' 'haskell-network-uri')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
-             'haskell-hspec-expectations' 'haskell-snap-core' 'haskell-snap-server'
-             'haskell-system-fileio' 'haskell-system-filepath')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('1028e7a102fc189ddd20d353492306d506f24f0408a234e0ec2b01c11737bc9ffec76a5609e18e355ef838663ec412ce3b358d8223deea7dd4c35ada5223f3ea')
-
-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
-    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 --show-details=direct
-}
-
-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 -t "$pkgdir"/usr/share/licenses/$pkgname/
-    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 951712, haskell-http-streams/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-31 04:29:20 UTC (rev 951713)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.7.2
+pkgrel=242
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/afcowie/http-streams"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 'haskell-blaze-builder'
+         'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
+         'haskell-openssl-streams' 'haskell-unordered-containers' 'haskell-aeson'
+         'haskell-http-common' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
+             'haskell-hspec-expectations' 'haskell-snap-core' 'haskell-snap-server'
+             'haskell-system-fileio' 'haskell-system-filepath')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('1028e7a102fc189ddd20d353492306d506f24f0408a234e0ec2b01c11737bc9ffec76a5609e18e355ef838663ec412ce3b358d8223deea7dd4c35ada5223f3ea')
+
+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
+    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 --show-details=direct
+}
+
+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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



More information about the arch-commits mailing list