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

2022-09-10 Thread Felix Yan via arch-commits
Date: Saturday, September 10, 2022 @ 15:39:32
  Author: felixonmars
Revision: 1299474

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1299471, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1299471, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-10 15:39:32 UTC (rev 1299474)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=179
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-09-09 Thread Felix Yan via arch-commits
Date: Friday, September 9, 2022 @ 22:38:25
  Author: felixonmars
Revision: 1297860

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1297859, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1297859, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-09 22:38:25 UTC (rev 1297860)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=178
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-09-09 Thread Felix Yan via arch-commits
Date: Friday, September 9, 2022 @ 18:05:36
  Author: felixonmars
Revision: 1297333

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1297332, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1297332, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-09 18:05:36 UTC (rev 1297333)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=177
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-09-06 Thread Felix Yan via arch-commits
Date: Tuesday, September 6, 2022 @ 19:17:14
  Author: felixonmars
Revision: 1294633

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1294632, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1294632, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-06 19:17:14 UTC (rev 1294633)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=176
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-09-03 Thread Felix Yan via arch-commits
Date: Saturday, September 3, 2022 @ 09:51:15
  Author: felixonmars
Revision: 1291440

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1291439, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1291439, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-03 09:51:15 UTC (rev 1291440)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=175
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-09-02 Thread Felix Yan via arch-commits
Date: Friday, September 2, 2022 @ 07:16:09
  Author: felixonmars
Revision: 1290527

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1290526, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1290526, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-02 07:16:09 UTC (rev 1290527)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=174
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-31 Thread Felix Yan via arch-commits
Date: Wednesday, August 31, 2022 @ 20:30:32
  Author: felixonmars
Revision: 1289400

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1289399, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1289399, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-31 20:30:32 UTC (rev 1289400)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=173
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-30 Thread Felix Yan via arch-commits
Date: Tuesday, August 30, 2022 @ 17:15:38
  Author: felixonmars
Revision: 1288848

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1288847, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1288847, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-30 17:15:38 UTC (rev 1288848)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=172
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 23:52:06
  Author: felixonmars
Revision: 1287043

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1287042, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1287042, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 23:52:06 UTC (rev 1287043)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=171
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1283107, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1283107, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 16:23:56 UTC (rev 1283108)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=170
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 08:38:56
  Author: felixonmars
Revision: 1281343

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1281342, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1281342, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 08:38:56 UTC (rev 1281343)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=169
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 25, 2022 @ 18:19:14
  Author: felixonmars
Revision: 1279787

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1279786, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1279786, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-25 18:19:14 UTC (rev 1279787)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=168
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 23:52:27
  Author: felixonmars
Revision: 1278027

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1278026, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1278026, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 23:52:27 UTC (rev 1278027)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=167
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 13:43:17
  Author: felixonmars
Revision: 1276284

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1276283, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1276283, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 13:43:17 UTC (rev 1276284)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=166
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-23 Thread Felix Yan via arch-commits
Date: Tuesday, August 23, 2022 @ 16:50:16
  Author: felixonmars
Revision: 1275551

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1275550, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1275550, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-23 16:50:16 UTC (rev 1275551)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=165
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-23 Thread Felix Yan via arch-commits
Date: Tuesday, August 23, 2022 @ 11:42:23
  Author: felixonmars
Revision: 1275177

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1275176, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1275176, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-23 11:42:23 UTC (rev 1275177)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=164
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 21:13:12
  Author: felixonmars
Revision: 1274060

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1274059, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1274059, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 21:13:12 UTC (rev 1274060)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=163
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1273030, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1273030, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 17:17:49 UTC (rev 1273031)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=162
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 07:28:49
  Author: felixonmars
Revision: 1271661

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1271660, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1271660, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 07:28:49 UTC (rev 1271661)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=161
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 22:36:31
  Author: felixonmars
Revision: 1269488

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1269487, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1269487, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 22:36:31 UTC (rev 1269488)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=160
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 12:44:57
  Author: felixonmars
Revision: 1267263

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1267262, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1267262, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 12:44:57 UTC (rev 1267263)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=159
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-09 Thread Felix Yan via arch-commits
Date: Tuesday, August 9, 2022 @ 17:02:47
  Author: felixonmars
Revision: 1264057

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1264056, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1264056, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-09 17:02:47 UTC (rev 1264057)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=158
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-09 Thread Felix Yan via arch-commits
Date: Tuesday, August 9, 2022 @ 06:58:22
  Author: felixonmars
Revision: 1263206

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1263205, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1263205, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-09 06:58:22 UTC (rev 1263206)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=157
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 18:44:49
  Author: felixonmars
Revision: 1261941

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1261940, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1261940, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 18:44:49 UTC (rev 1261941)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=156
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-07-25 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 10:32:15
  Author: felixonmars
Revision: 1257425

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1257424, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1257424, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 10:32:15 UTC (rev 1257425)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=155
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1253407, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1253407, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-16 03:33:15 UTC (rev 1253408)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=154
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1251245, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1251245, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 20:07:08 UTC (rev 1251246)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=153
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-07-07 Thread Felix Yan via arch-commits
Date: Thursday, July 7, 2022 @ 14:15:38
  Author: felixonmars
Revision: 1248116

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1248115, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1248115, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-07 14:15:38 UTC (rev 1248116)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=152
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-07-06 Thread Felix Yan via arch-commits
Date: Wednesday, July 6, 2022 @ 23:41:54
  Author: felixonmars
Revision: 1247237

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1247236, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1247236, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-06 23:41:54 UTC (rev 1247237)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=151
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 20:26:32
  Author: felixonmars
Revision: 1245541

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1245540, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1245540, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 20:26:32 UTC (rev 1245541)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=150
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 22:51:42
  Author: felixonmars
Revision: 1241718

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1241717, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1241717, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 22:51:42 UTC (rev 1241718)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=149
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-13 Thread Felix Yan via arch-commits
Date: Monday, June 13, 2022 @ 13:57:22
  Author: felixonmars
Revision: 1237555

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1237554, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1237554, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-13 13:57:22 UTC (rev 1237555)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=148
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-12 Thread Felix Yan via arch-commits
Date: Sunday, June 12, 2022 @ 16:37:35
  Author: felixonmars
Revision: 1237003

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1237002, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1237002, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-12 16:37:35 UTC (rev 1237003)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=147
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 23:38:32
  Author: felixonmars
Revision: 1235705

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1235704, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1235704, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 23:38:32 UTC (rev 1235705)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=146
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 12:48:10
  Author: felixonmars
Revision: 1233402

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1233401, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1233401, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 12:48:10 UTC (rev 1233402)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=145
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 22:13:39
  Author: felixonmars
Revision: 1231713

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1231712, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1231712, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 22:13:39 UTC (rev 1231713)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=144
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-07 Thread Felix Yan via arch-commits
Date: Tuesday, June 7, 2022 @ 06:40:32
  Author: felixonmars
Revision: 1227693

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1227692, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1227692, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-07 06:40:32 UTC (rev 1227693)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=143
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 6, 2022 @ 19:41:36
  Author: felixonmars
Revision: 1227067

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1227066, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1227066, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-06 19:41:36 UTC (rev 1227067)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=142
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 6, 2022 @ 11:11:25
  Author: felixonmars
Revision: 1226007

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1226006, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1226006, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-06 11:11:25 UTC (rev 1226007)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=141
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 19:47:25
  Author: felixonmars
Revision: 1224246

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1224245, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1224245, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 19:47:25 UTC (rev 1224246)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=140
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-04 Thread Felix Yan via arch-commits
Date: Saturday, June 4, 2022 @ 19:13:42
  Author: felixonmars
Revision: 1222070

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1222069, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1222069, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-04 19:13:42 UTC (rev 1222070)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=139
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1220330, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1220330, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 11:52:55 UTC (rev 1220331)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=138
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-06-01 Thread Felix Yan via arch-commits
Date: Thursday, June 2, 2022 @ 04:33:02
  Author: felixonmars
Revision: 1218493

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1218492, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1218492, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-02 04:33:02 UTC (rev 1218493)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=137
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 11:51:39
  Author: felixonmars
Revision: 1216212

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1216211, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1216211, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 11:51:39 UTC (rev 1216212)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=136
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-05-18 Thread Felix Yan via arch-commits
Date: Wednesday, May 18, 2022 @ 14:10:22
  Author: felixonmars
Revision: 1208327

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1208326, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1208326, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-18 14:10:22 UTC (rev 1208327)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=134
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-05-18 Thread Felix Yan via arch-commits
Date: Wednesday, May 18, 2022 @ 12:22:39
  Author: felixonmars
Revision: 1207837

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1207836, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1207836, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-18 12:22:39 UTC (rev 1207837)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=133
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1204996, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1204996, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 14:55:00 UTC (rev 1204997)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=131
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 10:53:20
  Author: felixonmars
Revision: 1201556

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1201555, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1201555, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 10:53:20 UTC (rev 1201556)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=130
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-05-12 Thread Felix Yan via arch-commits
Date: Thursday, May 12, 2022 @ 09:38:33
  Author: felixonmars
Revision: 1198798

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1198797, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1198797, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-12 09:38:33 UTC (rev 1198798)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=129
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-05-10 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 13:00:20
  Author: felixonmars
Revision: 1197858

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1197857, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1197857, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 13:00:20 UTC (rev 1197858)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=128
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-05-10 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 08:23:39
  Author: felixonmars
Revision: 1197182

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1197181, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1197181, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 08:23:39 UTC (rev 1197182)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=127
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 13:36:49
  Author: felixonmars
Revision: 1194121

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1194120, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1194120, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-04 13:36:49 UTC (rev 1194121)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=126
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1189108, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1189108, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 22:49:03 UTC (rev 1189109)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=125
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1184530, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1184530, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-10 11:42:00 UTC (rev 1184531)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=124
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1182057, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1182057, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 21:28:06 UTC (rev 1182058)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=123
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-04-05 Thread Felix Yan via arch-commits
Date: Tuesday, April 5, 2022 @ 18:27:25
  Author: felixonmars
Revision: 1181471

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1181470, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1181470, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-05 18:27:25 UTC (rev 1181471)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=122
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-04-01 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 11:43:15
  Author: felixonmars
Revision: 1179489

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1179488, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1179488, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 11:43:15 UTC (rev 1179489)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=121
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 14:50:15
  Author: felixonmars
Revision: 1176430

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1176429, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1176429, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-25 14:50:15 UTC (rev 1176430)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=120
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 22:40:40
  Author: felixonmars
Revision: 1175929

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1175928, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1175928, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 22:40:40 UTC (rev 1175929)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=119
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 20:36:42
  Author: felixonmars
Revision: 1175323

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1175322, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1175322, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 20:36:42 UTC (rev 1175323)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=118
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 02:57:49
  Author: felixonmars
Revision: 1173607

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1173606, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1173606, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 02:57:49 UTC (rev 1173607)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=117
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-23 Thread Felix Yan via arch-commits
Date: Wednesday, March 23, 2022 @ 17:50:39
  Author: felixonmars
Revision: 1171658

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1171657, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1171657, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-23 17:50:39 UTC (rev 1171658)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=116
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-22 Thread Felix Yan via arch-commits
Date: Tuesday, March 22, 2022 @ 23:28:07
  Author: felixonmars
Revision: 1170795

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1170794, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1170794, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-22 23:28:07 UTC (rev 1170795)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=115
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-22 Thread Felix Yan via arch-commits
Date: Tuesday, March 22, 2022 @ 01:16:08
  Author: felixonmars
Revision: 1169629

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1169628, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1169628, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-22 01:16:08 UTC (rev 1169629)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=114
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 21:07:57
  Author: felixonmars
Revision: 1168401

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1168400, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1168400, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 21:07:57 UTC (rev 1168401)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=113
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 03:30:38
  Author: felixonmars
Revision: 1166636

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1166635, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1166635, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 03:30:38 UTC (rev 1166636)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=112
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 19:59:40
  Author: felixonmars
Revision: 1165204

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1165203, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1165203, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 19:59:40 UTC (rev 1165204)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=111
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 10:21:17
  Author: felixonmars
Revision: 1163384

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1163383, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1163383, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 10:21:17 UTC (rev 1163384)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=110
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-19 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 00:57:38
  Author: felixonmars
Revision: 1163137

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1163136, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1163136, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 00:57:38 UTC (rev 1163137)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=109
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 21:37:20
  Author: felixonmars
Revision: 1161870

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1161869, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1161869, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 21:37:20 UTC (rev 1161870)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=108
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-18 Thread Felix Yan via arch-commits
Date: Friday, March 18, 2022 @ 19:09:22
  Author: felixonmars
Revision: 1158918

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1158917, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1158917, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-18 19:09:22 UTC (rev 1158918)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=107
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-17 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 20:46:28
  Author: felixonmars
Revision: 1157046

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1157045, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1157045, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 20:46:28 UTC (rev 1157046)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=106
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 03:27:23
  Author: felixonmars
Revision: 1156330

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1156329, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1156329, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 03:27:23 UTC (rev 1156330)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=105
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Wednesday, March 16, 2022 @ 21:36:46
  Author: felixonmars
Revision: 1156013

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1156012, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1156012, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-16 21:36:46 UTC (rev 1156013)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=104
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Wednesday, March 16, 2022 @ 18:05:46
  Author: felixonmars
Revision: 1155604

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1155603, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1155603, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-16 18:05:46 UTC (rev 1155604)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=103
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-14 Thread Felix Yan via arch-commits
Date: Monday, March 14, 2022 @ 14:17:52
  Author: felixonmars
Revision: 1152852

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1152851, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1152851, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-14 14:17:52 UTC (rev 1152852)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=101
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-12 Thread Felix Yan via arch-commits
Date: Saturday, March 12, 2022 @ 23:08:50
  Author: felixonmars
Revision: 1150411

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1150410, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1150410, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-12 23:08:50 UTC (rev 1150411)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=100
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-12 Thread Felix Yan via arch-commits
Date: Saturday, March 12, 2022 @ 11:23:45
  Author: felixonmars
Revision: 1149830

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1149829, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1149829, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-12 11:23:45 UTC (rev 1149830)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=99
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 19:42:46
  Author: felixonmars
Revision: 1148631

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1148630, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1148630, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 19:42:46 UTC (rev 1148631)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=98
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-09 Thread Felix Yan via arch-commits
Date: Wednesday, March 9, 2022 @ 22:55:32
  Author: felixonmars
Revision: 1145864

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1145863, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1145863, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-09 22:55:32 UTC (rev 1145864)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=97
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-04 Thread Felix Yan via arch-commits
Date: Friday, March 4, 2022 @ 21:12:35
  Author: felixonmars
Revision: 1141843

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1141842, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1141842, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-04 21:12:35 UTC (rev 1141843)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=96
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-03-01 Thread Felix Yan via arch-commits
Date: Tuesday, March 1, 2022 @ 20:45:07
  Author: felixonmars
Revision: 1139110

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1139109, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1139109, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-01 20:45:07 UTC (rev 1139110)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=95
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-28 Thread Felix Yan via arch-commits
Date: Monday, February 28, 2022 @ 21:05:06
  Author: felixonmars
Revision: 1138675

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1138674, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1138674, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-28 21:05:06 UTC (rev 1138675)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=94
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-22 Thread Felix Yan via arch-commits
Date: Tuesday, February 22, 2022 @ 16:33:58
  Author: felixonmars
Revision: 1135905

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1135904, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1135904, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-22 16:33:58 UTC (rev 1135905)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=93
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-11 Thread Felix Yan via arch-commits
Date: Friday, February 11, 2022 @ 12:00:42
  Author: felixonmars
Revision: 1131881

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1131880, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1131880, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-11 12:00:42 UTC (rev 1131881)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=92
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-09 Thread Felix Yan via arch-commits
Date: Thursday, February 10, 2022 @ 01:03:22
  Author: felixonmars
Revision: 1130673

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1130672, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1130672, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-10 01:03:22 UTC (rev 1130673)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=91
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-08 Thread Felix Yan via arch-commits
Date: Tuesday, February 8, 2022 @ 10:14:49
  Author: felixonmars
Revision: 1129180

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1129179, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1129179, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-08 10:14:49 UTC (rev 1129180)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=90
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-06 Thread Felix Yan via arch-commits
Date: Sunday, February 6, 2022 @ 22:19:21
  Author: felixonmars
Revision: 1127292

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1127291, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1127291, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-06 22:19:21 UTC (rev 1127292)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=89
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 22:57:55
  Author: felixonmars
Revision: 1126236

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1126235, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1126235, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 22:57:55 UTC (rev 1126236)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=88
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 19:44:17
  Author: felixonmars
Revision: 1125863

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1125862, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1125862, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 19:44:17 UTC (rev 1125863)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=87
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-03 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 00:12:44
  Author: felixonmars
Revision: 1125050

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1125049, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1125049, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 00:12:44 UTC (rev 1125050)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=86
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-02 Thread Felix Yan via arch-commits
Date: Thursday, February 3, 2022 @ 01:08:28
  Author: felixonmars
Revision: 1123778

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1123777, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1123777, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-03 01:08:28 UTC (rev 1123778)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=85
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-02-01 Thread Felix Yan via arch-commits
Date: Tuesday, February 1, 2022 @ 18:22:18
  Author: felixonmars
Revision: 1122031

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1122030, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1122030, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-01 18:22:18 UTC (rev 1122031)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=84
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:42:20
  Author: felixonmars
Revision: 1121124

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1121123, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1121123, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:42:20 UTC (rev 1121124)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=83
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Sunday, January 30, 2022 @ 19:04:04
  Author: felixonmars
Revision: 1120741

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1120740, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1120740, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-30 19:04:04 UTC (rev 1120741)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=82
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Sunday, January 30, 2022 @ 17:51:36
  Author: felixonmars
Revision: 1120612

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1120611, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1120611, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-30 17:51:36 UTC (rev 1120612)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=81
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-01-29 Thread Felix Yan via arch-commits
Date: Sunday, January 30, 2022 @ 03:40:38
  Author: felixonmars
Revision: 1120119

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1120118, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1120118, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-30 03:40:38 UTC (rev 1120119)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=80
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-01-29 Thread Felix Yan via arch-commits
Date: Saturday, January 29, 2022 @ 18:48:27
  Author: felixonmars
Revision: 1119907

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1119906, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1119906, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-29 18:48:27 UTC (rev 1119907)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=79
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-01-28 Thread Felix Yan via arch-commits
Date: Saturday, January 29, 2022 @ 03:14:36
  Author: felixonmars
Revision: 1118747

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1118746, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1118746, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-29 03:14:36 UTC (rev 1118747)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=78
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-01-26 Thread Felix Yan via arch-commits
Date: Wednesday, January 26, 2022 @ 15:09:01
  Author: felixonmars
Revision: 1115893

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-req/repos/community-staging-x86_64/
  haskell-req/repos/community-staging-x86_64/PKGBUILD
(from rev 1115892, haskell-req/trunk/PKGBUILD)

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 1115892, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-26 15:09:01 UTC (rev 1115893)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=77
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth -u retry $_hkgname.cabal
+} 
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



  1   2   3   >