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

Felix Yan felixonmars at archlinux.org
Tue Jun 26 11:52:08 UTC 2018


    Date: Tuesday, June 26, 2018 @ 11:52:08
  Author: felixonmars
Revision: 346151

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-26 11:51:50 UTC (rev 346150)
+++ PKGBUILD	2018-06-26 11:52:08 UTC (rev 346151)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=http-streams
-pkgname=haskell-http-streams
-pkgver=0.8.6.1
-pkgrel=26
-pkgdesc="An HTTP client using io-streams"
-url="https://github.com/afcowie/http-streams"
-license=('custom:BSD3')
-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=('76f6aa750974cdca834dfa7de79ebf22faa1cd0a40426d4df19f24b0699ce2d86a0b1f512846da4daf52f210607ed823690bab3fd1bb7ebe117f705a92d4a3b4')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/<.*1.1/<2/' $_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
-    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 $_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 "LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
-}

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 346150, haskell-http-streams/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-26 11:52:08 UTC (rev 346151)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.6.1
+pkgrel=27
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/afcowie/http-streams"
+license=('custom:BSD3')
+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=('76f6aa750974cdca834dfa7de79ebf22faa1cd0a40426d4df19f24b0699ce2d86a0b1f512846da4daf52f210607ed823690bab3fd1bb7ebe117f705a92d4a3b4')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/<.*1.1/<2/' $_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
+    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 $_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 "LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
+}



More information about the arch-commits mailing list