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

2022-09-09 Thread Felix Yan via arch-commits
Date: Friday, September 9, 2022 @ 22:37:33
  Author: felixonmars
Revision: 1297856

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1297855, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-09 22:37:33 UTC (rev 1297856)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=83
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-09-08 Thread Felix Yan via arch-commits
Date: Thursday, September 8, 2022 @ 09:33:44
  Author: felixonmars
Revision: 1296370

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1296369, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-08 09:33:44 UTC (rev 1296370)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=82
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-09-06 Thread Felix Yan via arch-commits
Date: Tuesday, September 6, 2022 @ 19:18:03
  Author: felixonmars
Revision: 1294637

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1294636, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-06 19:18:03 UTC (rev 1294637)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=81
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-09-03 Thread Felix Yan via arch-commits
Date: Saturday, September 3, 2022 @ 09:53:43
  Author: felixonmars
Revision: 1291450

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1291449, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-03 09:53:43 UTC (rev 1291450)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=80
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-31 Thread Felix Yan via arch-commits
Date: Wednesday, August 31, 2022 @ 20:10:35
  Author: felixonmars
Revision: 1289303

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1289302, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-31 20:10:35 UTC (rev 1289303)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=78
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 23:56:55
  Author: felixonmars
Revision: 1287063

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1287062, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 23:56:55 UTC (rev 1287063)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=76
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 16:11:48
  Author: felixonmars
Revision: 1285372

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1285371, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 16:11:48 UTC (rev 1285372)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=74
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 16:26:47
  Author: felixonmars
Revision: 1283120

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1283119, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 16:26:47 UTC (rev 1283120)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=73
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 06:57:00
  Author: felixonmars
Revision: 1280911

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1280910, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 06:57:00 UTC (rev 1280911)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=71
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 25, 2022 @ 18:27:17
  Author: felixonmars
Revision: 1279843

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1279842, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-25 18:27:17 UTC (rev 1279843)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=69
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 23:59:37
  Author: felixonmars
Revision: 1278067

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1278066, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 23:59:37 UTC (rev 1278067)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=68
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-22 Thread Felix Yan via arch-commits
Date: Monday, August 22, 2022 @ 17:51:07
  Author: felixonmars
Revision: 1274801

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1274800, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-22 17:51:07 UTC (rev 1274801)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=66
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 17:26:05
  Author: felixonmars
Revision: 1273069

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1273068, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 17:26:05 UTC (rev 1273069)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=65
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 07:00:09
  Author: felixonmars
Revision: 1271523

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1271522, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 07:00:09 UTC (rev 1271523)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=63
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-19 Thread Felix Yan via arch-commits
Date: Friday, August 19, 2022 @ 07:45:12
  Author: felixonmars
Revision: 1269520

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1269519, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-19 07:45:12 UTC (rev 1269520)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=62
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 12:59:09
  Author: felixonmars
Revision: 1267309

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1267308, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 12:59:09 UTC (rev 1267309)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=61
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-09 Thread Felix Yan via arch-commits
Date: Tuesday, August 9, 2022 @ 17:04:52
  Author: felixonmars
Revision: 1264061

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1264060, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-09 17:04:52 UTC (rev 1264061)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=60
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 18:54:34
  Author: felixonmars
Revision: 1261975

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1261974, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 18:54:34 UTC (rev 1261975)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=59
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-07-25 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 10:16:52
  Author: felixonmars
Revision: 1257349

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1257348, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 10:16:52 UTC (rev 1257349)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=58
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-07-15 Thread Felix Yan via arch-commits
Date: Saturday, July 16, 2022 @ 03:28:18
  Author: felixonmars
Revision: 1253384

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1253383, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-16 03:28:18 UTC (rev 1253384)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=56
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-07-12 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 20:11:03
  Author: felixonmars
Revision: 1251259

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1251258, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 20:11:03 UTC (rev 1251259)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=54
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-07-06 Thread Felix Yan via arch-commits
Date: Wednesday, July 6, 2022 @ 23:26:01
  Author: felixonmars
Revision: 1247157

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1247156, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-06 23:26:01 UTC (rev 1247157)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=53
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 20:06:55
  Author: felixonmars
Revision: 1245467

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1245466, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 20:06:55 UTC (rev 1245467)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=51
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 22:45:20
  Author: felixonmars
Revision: 1241690

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1241689, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 22:45:20 UTC (rev 1241690)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=50
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 23:31:03
  Author: felixonmars
Revision: 1235675

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1235674, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 23:31:03 UTC (rev 1235675)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=48
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 12:42:40
  Author: felixonmars
Revision: 1233382

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1233381, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 12:42:40 UTC (rev 1233382)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=46
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 22:14:26
  Author: felixonmars
Revision: 1231717

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1231716, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 22:14:26 UTC (rev 1231717)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=45
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-06-09 Thread Felix Yan via arch-commits
Date: Thursday, June 9, 2022 @ 21:00:38
  Author: felixonmars
Revision: 1229824

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1229823, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-09 21:00:38 UTC (rev 1229824)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=44
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-06-07 Thread Felix Yan via arch-commits
Date: Tuesday, June 7, 2022 @ 06:15:17
  Author: felixonmars
Revision: 1227551

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1227550, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-07 06:15:17 UTC (rev 1227551)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=42
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 6, 2022 @ 10:49:29
  Author: felixonmars
Revision: 1225873

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1225872, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-06 10:49:29 UTC (rev 1225873)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=40
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 19:33:35
  Author: felixonmars
Revision: 1224164

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1224163, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 19:33:35 UTC (rev 1224164)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=38
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-06-04 Thread Felix Yan via arch-commits
Date: Saturday, June 4, 2022 @ 18:53:57
  Author: felixonmars
Revision: 1221952

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1221951, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-04 18:53:57 UTC (rev 1221952)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=37
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 11:33:11
  Author: felixonmars
Revision: 1220211

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1220210, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 11:33:11 UTC (rev 1220211)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=36
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 11:28:59
  Author: felixonmars
Revision: 1216082

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1216081, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 11:28:59 UTC (rev 1216082)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=35
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 16:54:05
  Author: felixonmars
Revision: 1212364

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1212363, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 16:54:05 UTC (rev 1212364)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=33
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-05-18 Thread Felix Yan via arch-commits
Date: Wednesday, May 18, 2022 @ 13:50:04
  Author: felixonmars
Revision: 1208195

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1208194, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-18 13:50:04 UTC (rev 1208195)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=31
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 14:36:55
  Author: felixonmars
Revision: 1204897

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1204896, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 14:36:55 UTC (rev 1204897)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=29
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 10:27:41
  Author: felixonmars
Revision: 1201422

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1201421, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 10:27:41 UTC (rev 1201422)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=27
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-05-12 Thread Felix Yan via arch-commits
Date: Thursday, May 12, 2022 @ 09:18:46
  Author: felixonmars
Revision: 1198690

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1198689, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-12 09:18:46 UTC (rev 1198690)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=26
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-05-10 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 13:06:43
  Author: felixonmars
Revision: 1197896

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1197895, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 13:06:43 UTC (rev 1197896)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=25
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-05-10 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 07:57:33
  Author: felixonmars
Revision: 1197006

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1197005, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 07:57:33 UTC (rev 1197006)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=23
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 22:34:34
  Author: felixonmars
Revision: 1189005

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1189004, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 22:34:34 UTC (rev 1189005)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=21
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-04-10 Thread Felix Yan via arch-commits
Date: Sunday, April 10, 2022 @ 11:31:42
  Author: felixonmars
Revision: 1184461

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1184460, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-10 11:31:42 UTC (rev 1184461)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=19
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 21:01:40
  Author: felixonmars
Revision: 1181898

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1181897, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 21:01:40 UTC (rev 1181898)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=18
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-04-01 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 06:07:52
  Author: felixonmars
Revision: 1179296

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1179295, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 06:07:52 UTC (rev 1179296)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=16
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 20:15:46
  Author: felixonmars
Revision: 1175193

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1175192, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 20:15:46 UTC (rev 1175193)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=15
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 02:26:18
  Author: felixonmars
Revision: 1173429

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1173428, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 02:26:18 UTC (rev 1173429)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=13
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 19:54:05
  Author: felixonmars
Revision: 1168227

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1168226, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 19:54:05 UTC (rev 1168227)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=12
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 19:29:42
  Author: felixonmars
Revision: 1164975

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1164974, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 19:29:42 UTC (rev 1164975)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=10
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 18:45:17
  Author: felixonmars
Revision: 1161714

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1161713, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 18:45:17 UTC (rev 1161714)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=8
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-18 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 03:59:55
  Author: felixonmars
Revision: 1160357

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1160356, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 03:59:55 UTC (rev 1160357)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=6
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-18 Thread Felix Yan via arch-commits
Date: Friday, March 18, 2022 @ 18:43:11
  Author: felixonmars
Revision: 1158860

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1158859, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-18 18:43:11 UTC (rev 1158860)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=4
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-15 Thread Felix Yan via arch-commits
Date: Tuesday, March 15, 2022 @ 11:26:10
  Author: felixonmars
Revision: 1154268

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1154267, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-15 11:26:10 UTC (rev 1154268)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=3
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-14 Thread Felix Yan via arch-commits
Date: Monday, March 14, 2022 @ 13:58:16
  Author: felixonmars
Revision: 1152804

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1152803, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-14 13:58:16 UTC (rev 1152804)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=2
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-13 Thread Felix Yan via arch-commits
Date: Sunday, March 13, 2022 @ 09:26:17
  Author: felixonmars
Revision: 1150693

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1150692, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-13 09:26:17 UTC (rev 1150693)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.6
+pkgrel=1
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('e08ad0b4ebe38442b2fafce1b97a8a4ef28a068747fcaf61445464e99d60ca76f1cc31849a1cf3db911759b125b2e1434c1c61b69d95ca5fa0c3bfc90bc90375')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 16:59:15
  Author: felixonmars
Revision: 1148416

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1148415, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 16:59:15 UTC (rev 1148416)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=71
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-09 Thread Felix Yan via arch-commits
Date: Wednesday, March 9, 2022 @ 20:50:57
  Author: felixonmars
Revision: 1145760

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1145759, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-09 20:50:57 UTC (rev 1145760)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=70
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-03-03 Thread Felix Yan via arch-commits
Date: Friday, March 4, 2022 @ 02:59:51
  Author: felixonmars
Revision: 1141576

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1141575, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-04 02:59:51 UTC (rev 1141576)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=69
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-02-21 Thread Felix Yan via arch-commits
Date: Monday, February 21, 2022 @ 21:35:11
  Author: felixonmars
Revision: 1135683

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1135682, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-21 21:35:11 UTC (rev 1135683)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=68
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-02-11 Thread Felix Yan via arch-commits
Date: Friday, February 11, 2022 @ 11:39:16
  Author: felixonmars
Revision: 1131831

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1131830, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-11 11:39:16 UTC (rev 1131831)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=67
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-02-09 Thread Felix Yan via arch-commits
Date: Thursday, February 10, 2022 @ 00:59:29
  Author: felixonmars
Revision: 1130667

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1130666, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-10 00:59:29 UTC (rev 1130667)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=66
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-02-08 Thread Felix Yan via arch-commits
Date: Tuesday, February 8, 2022 @ 08:50:09
  Author: felixonmars
Revision: 1129034

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1129033, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-08 08:50:09 UTC (rev 1129034)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=65
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 21:38:51
  Author: felixonmars
Revision: 1126085

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1126084, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 21:38:51 UTC (rev 1126085)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=63
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 16:02:06
  Author: felixonmars
Revision: 1125692

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1125691, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 16:02:06 UTC (rev 1125692)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=62
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-02-03 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 00:36:01
  Author: felixonmars
Revision: 1125084

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1125083, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 00:36:01 UTC (rev 1125084)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=61
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-02-02 Thread Felix Yan via arch-commits
Date: Thursday, February 3, 2022 @ 00:09:46
  Author: felixonmars
Revision: 1123666

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1123665, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-03 00:09:46 UTC (rev 1123666)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=60
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-28 Thread Felix Yan via arch-commits
Date: Friday, January 28, 2022 @ 20:09:15
  Author: felixonmars
Revision: 1118573

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1118572, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-28 20:09:15 UTC (rev 1118573)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=58
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-26 Thread Felix Yan via arch-commits
Date: Wednesday, January 26, 2022 @ 13:45:58
  Author: felixonmars
Revision: 1115729

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1115728, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-26 13:45:58 UTC (rev 1115729)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=57
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-21 Thread Felix Yan via arch-commits
Date: Friday, January 21, 2022 @ 20:21:44
  Author: felixonmars
Revision: 1112596

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1112595, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-21 20:21:44 UTC (rev 1112596)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=56
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-20 Thread Felix Yan via arch-commits
Date: Friday, January 21, 2022 @ 01:11:58
  Author: felixonmars
Revision: 693

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
692, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-21 01:11:58 UTC (rev 693)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=54
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Wednesday, January 19, 2022 @ 19:49:21
  Author: felixonmars
Revision: 1110595

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1110594, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-19 19:49:21 UTC (rev 1110595)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=53
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-18 Thread Felix Yan via arch-commits
Date: Tuesday, January 18, 2022 @ 14:36:14
  Author: felixonmars
Revision: 1108992

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1108991, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-18 14:36:14 UTC (rev 1108992)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=52
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Sunday, January 16, 2022 @ 23:11:09
  Author: felixonmars
Revision: 1106670

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1106669, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-16 23:11:09 UTC (rev 1106670)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=50
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-15 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 15:43:33
  Author: felixonmars
Revision: 1104325

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1104324, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 15:43:33 UTC (rev 1104325)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=48
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Friday, January 14, 2022 @ 15:23:06
  Author: felixonmars
Revision: 1103315

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1103314, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-14 15:23:06 UTC (rev 1103315)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=47
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-11 Thread Felix Yan via arch-commits
Date: Wednesday, January 12, 2022 @ 01:29:01
  Author: felixonmars
Revision: 1101331

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1101330, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-12 01:29:01 UTC (rev 1101331)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=45
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-09 Thread Felix Yan via arch-commits
Date: Sunday, January 9, 2022 @ 22:32:45
  Author: felixonmars
Revision: 1098664

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1098663, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-09 22:32:45 UTC (rev 1098664)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=43
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-08 Thread Felix Yan via arch-commits
Date: Saturday, January 8, 2022 @ 15:05:08
  Author: felixonmars
Revision: 1097079

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1097078, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-08 15:05:08 UTC (rev 1097079)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=42
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2022-01-05 Thread Felix Yan via arch-commits
Date: Thursday, January 6, 2022 @ 05:27:25
  Author: felixonmars
Revision: 1094418

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1094417, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-06 05:27:25 UTC (rev 1094418)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=40
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-12-31 Thread Felix Yan via arch-commits
Date: Friday, December 31, 2021 @ 12:04:35
  Author: felixonmars
Revision: 1090142

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1090141, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-31 12:04:35 UTC (rev 1090142)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=39
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-12-29 Thread Felix Yan via arch-commits
Date: Wednesday, December 29, 2021 @ 13:16:43
  Author: felixonmars
Revision: 1087167

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1087166, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-29 13:16:43 UTC (rev 1087167)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=38
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 06:22:26
  Author: felixonmars
Revision: 1085210

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1085209, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 06:22:26 UTC (rev 1085210)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=37
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-12-21 Thread Felix Yan via arch-commits
Date: Tuesday, December 21, 2021 @ 11:22:50
  Author: felixonmars
Revision: 1081404

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1081403, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-21 11:22:50 UTC (rev 1081404)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=36
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 04:55:19
  Author: felixonmars
Revision: 1079483

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1079482, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 04:55:19 UTC (rev 1079483)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=35
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-12-18 Thread Felix Yan via arch-commits
Date: Saturday, December 18, 2021 @ 22:51:33
  Author: felixonmars
Revision: 1077904

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1077903, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-18 22:51:33 UTC (rev 1077904)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=34
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-12-16 Thread Felix Yan via arch-commits
Date: Thursday, December 16, 2021 @ 09:46:28
  Author: felixonmars
Revision: 1074155

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1074154, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-16 09:46:28 UTC (rev 1074155)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=33
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-12-13 Thread Felix Yan via arch-commits
Date: Monday, December 13, 2021 @ 14:54:03
  Author: felixonmars
Revision: 1071803

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1071802, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-13 14:54:03 UTC (rev 1071803)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=31
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-12-11 Thread Felix Yan via arch-commits
Date: Sunday, December 12, 2021 @ 04:57:30
  Author: felixonmars
Revision: 1068655

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1068654, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-12 04:57:30 UTC (rev 1068655)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=29
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-11-28 Thread Felix Yan via arch-commits
Date: Monday, November 29, 2021 @ 04:46:26
  Author: felixonmars
Revision: 1056389

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1056388, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-29 04:46:26 UTC (rev 1056389)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=27
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-11-18 Thread Felix Yan via arch-commits
Date: Thursday, November 18, 2021 @ 19:28:42
  Author: felixonmars
Revision: 1052448

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1052447, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-18 19:28:42 UTC (rev 1052448)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=26
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+# Tests depend on hashable's serialization result
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



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

2021-11-17 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 12:10:12
  Author: felixonmars
Revision: 1049943

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1049942, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 12:10:12 UTC (rev 1049943)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=25
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+}



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

2021-11-13 Thread Felix Yan via arch-commits
Date: Saturday, November 13, 2021 @ 21:04:13
  Author: felixonmars
Revision: 1046163

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1046162, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-13 21:04:13 UTC (rev 1046163)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=24
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+}



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

2021-11-12 Thread Felix Yan via arch-commits
Date: Friday, November 12, 2021 @ 10:07:10
  Author: felixonmars
Revision: 1043527

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1043526, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-12 10:07:10 UTC (rev 1043527)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=23
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+}



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

2021-11-10 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 01:39:16
  Author: felixonmars
Revision: 1040814

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1040813, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-11 01:39:16 UTC (rev 1040814)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=22
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+}



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

2021-11-08 Thread Felix Yan via arch-commits
Date: Monday, November 8, 2021 @ 20:19:30
  Author: felixonmars
Revision: 1038880

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1038879, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-08 20:19:30 UTC (rev 1038880)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=20
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+}



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

2021-11-06 Thread Felix Yan via arch-commits
Date: Sunday, November 7, 2021 @ 00:24:43
  Author: felixonmars
Revision: 1037975

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1037974, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-07 00:24:43 UTC (rev 1037975)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=18
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+}



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

2021-11-02 Thread Felix Yan via arch-commits
Date: Wednesday, November 3, 2021 @ 00:32:30
  Author: felixonmars
Revision: 1035596

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1035595, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-03 00:32:30 UTC (rev 1035596)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=16
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+}



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

2021-09-30 Thread Felix Yan via arch-commits
Date: Thursday, September 30, 2021 @ 14:17:03
  Author: felixonmars
Revision: 1026166

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1026165, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-30 14:17:03 UTC (rev 1026166)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=14
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+}



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

2021-09-24 Thread Felix Yan via arch-commits
Date: Friday, September 24, 2021 @ 22:06:25
  Author: felixonmars
Revision: 1024038

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1024037, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-24 22:06:25 UTC (rev 1024038)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=13
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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 
--ghc-option=-fllvm
+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
+}



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

2021-09-21 Thread Felix Yan via arch-commits
Date: Wednesday, September 22, 2021 @ 00:01:22
  Author: felixonmars
Revision: 1021263

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
1021262, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-22 00:01:22 UTC (rev 1021263)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.9.4
+pkgrel=12
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/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-random' '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=('8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe')
+
+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
+}



  1   2   3   >