[arch-commits] Commit in postgrest/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:25:42
  Author: felixonmars
Revision: 1121193

upgpkg: postgrest 8.0.0-103: rebuild with streaming-commons 0.2.2.3

Modified:
  postgrest/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:23:56 UTC (rev 1121192)
+++ PKGBUILD2022-01-31 07:25:42 UTC (rev 1121193)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=8.0.0
-pkgrel=102
+pkgrel=103
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:23:56
  Author: felixonmars
Revision: 1121192

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-persistent/repos/community-staging-x86_64/
  haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD
(from rev 1121191, haskell-yesod-persistent/trunk/PKGBUILD)

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

Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from 
rev 1121191, haskell-yesod-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:23:56 UTC (rev 1121192)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0.7
+pkgrel=126
+pkgdesc="Some helpers for using Persistent from Yesod."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-blaze-builder" "haskell-conduit" 
"haskell-persistent"
+ "haskell-resource-pool" "haskell-resourcet" "haskell-yesod-core")
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-wai-extra' 
'haskell-persistent-sqlite')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9312189947a6ba97bec12c057535a54bb024847ee0f08ba50473a78327f7ca25083738f0742c0847d0b329ef0e764412c85ac32aab4ebde2851a29e60e82d337')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d persistent-template $_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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-yesod-persistent/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:23:48
  Author: felixonmars
Revision: 1121191

upgpkg: haskell-yesod-persistent 1.6.0.7-126: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-yesod-persistent/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:23:21 UTC (rev 1121190)
+++ PKGBUILD2022-01-31 07:23:48 UTC (rev 1121191)
@@ -4,7 +4,7 @@
 _hkgname=yesod-persistent
 pkgname=haskell-yesod-persistent
 pkgver=1.6.0.7
-pkgrel=125
+pkgrel=126
 pkgdesc="Some helpers for using Persistent from Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:25:49
  Author: felixonmars
Revision: 1121194

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 1121193, postgrest/trunk/PKGBUILD)

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1121193, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:25:49 UTC (rev 1121194)
@@ -0,0 +1,69 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=8.0.0
+pkgrel=103
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-ranged-sets' 'haskell-aeson' 
'haskell-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-fast-logger' 
'haskell-gitrev' 'haskell-hasql'
+ 'haskell-hasql-dynamic-statements' 'haskell-hasql-notifications' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+ 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-parsec' 'haskell-protolude' 'haskell-regex-tdfa' 
'haskell-scientific'
+ 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-logger' 
'haskell-wai-middleware-static'
+ 'haskell-auto-update' 'haskell-retry' 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
+ 'haskell-hspec-wai-json' 'haskell-monad-control' 
'haskell-transformers-base')
+checkdepends=('pifpaf' 'postgresql' 'procps-ng')
+source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u base -u hspec -u lens -u retry $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-CI --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 $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgrest_test
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test 
--show-details=direct
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-optparse-simple/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:22:12
  Author: felixonmars
Revision: 1121187

upgpkg: haskell-optparse-simple 0.1.1.4-81: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-optparse-simple/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:21:52 UTC (rev 1121186)
+++ PKGBUILD2022-01-31 07:22:12 UTC (rev 1121187)
@@ -4,7 +4,7 @@
 _hkgname=optparse-simple
 pkgname=haskell-optparse-simple
 pkgver=0.1.1.4
-pkgrel=80
+pkgrel=81
 pkgdesc="Simple interface to optparse-applicative"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")



[arch-commits] Commit in haskell-persistent-qq/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:23:14
  Author: felixonmars
Revision: 1121189

upgpkg: haskell-persistent-qq 2.12.0.1-101: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-persistent-qq/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:22:19 UTC (rev 1121188)
+++ PKGBUILD2022-01-31 07:23:14 UTC (rev 1121189)
@@ -3,7 +3,7 @@
 _hkgname=persistent-qq
 pkgname=haskell-persistent-qq
 pkgver=2.12.0.1
-pkgrel=100
+pkgrel=101
 pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
 url="https://github.com/yesod-web/persistent;
 license=('MIT')



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:22:19
  Author: felixonmars
Revision: 1121188

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-optparse-simple/repos/community-staging-x86_64/
  haskell-optparse-simple/repos/community-staging-x86_64/PKGBUILD
(from rev 1121187, haskell-optparse-simple/trunk/PKGBUILD)

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

Copied: haskell-optparse-simple/repos/community-staging-x86_64/PKGBUILD (from 
rev 1121187, haskell-optparse-simple/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:22:19 UTC (rev 1121188)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=optparse-simple
+pkgname=haskell-optparse-simple
+pkgver=0.1.1.4
+pkgrel=81
+pkgdesc="Simple interface to optparse-applicative"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-githash' 'haskell-optparse-applicative' 
'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1e49f60eead8553d7dd4cc162b5a2a07a99eda2519a53947808d7b4c909e37cfa7734d4c8dce3cf83cbf1efbdeed6037bf480b768b7f9ee7add5e5afbe006557')
+
+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 \
+ -f-build-example
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:23:21
  Author: felixonmars
Revision: 1121190

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-persistent-qq/repos/community-staging-x86_64/
  haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD
(from rev 1121189, haskell-persistent-qq/trunk/PKGBUILD)

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

Copied: haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
1121189, haskell-persistent-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:23:21 UTC (rev 1121190)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-qq
+pkgname=haskell-persistent-qq
+pkgver=2.12.0.1
+pkgrel=101
+pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
+url="https://github.com/yesod-web/persistent;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta' 'haskell-persistent')
+makedepends=('ghc' 'haskell-aeson' 'haskell-fast-logger' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-monad-logger' 'haskell-persistent-sqlite' 
'haskell-resourcet'
+ 'haskell-unliftio')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('14a06fd7b2b773a80f0963658bdc74f17755579ddee45f7875208ad4046d7cdee096cbf2fdba41b34baa43bc6fecb901cfdbd65c12845a9381844bf14afd6df6')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in hledger/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:21:45
  Author: felixonmars
Revision: 1121185

upgpkg: hledger 1.24.1-23: rebuild with streaming-commons 0.2.2.3

Modified:
  hledger/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:20:55 UTC (rev 1121184)
+++ PKGBUILD2022-01-31 07:21:45 UTC (rev 1121185)
@@ -3,7 +3,7 @@
 
 pkgname=hledger
 pkgver=1.24.1
-pkgrel=22
+pkgrel=23
 pkgdesc="Command-line interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")



[arch-commits] Commit in dhall-lsp-server/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:20:47
  Author: felixonmars
Revision: 1121183

upgpkg: dhall-lsp-server 1.0.17-23: rebuild with streaming-commons 0.2.2.3

Modified:
  dhall-lsp-server/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:20:03 UTC (rev 1121182)
+++ PKGBUILD2022-01-31 07:20:47 UTC (rev 1121183)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-lsp-server
 pkgver=1.0.17
-pkgrel=22
+pkgrel=23
 pkgdesc="Language Server Protocol (LSP) server for Dhall"
 
url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme;
 license=("custom:MIT")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:21:52
  Author: felixonmars
Revision: 1121186

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger/repos/community-staging-x86_64/
  hledger/repos/community-staging-x86_64/PKGBUILD
(from rev 1121185, hledger/trunk/PKGBUILD)

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

Copied: hledger/repos/community-staging-x86_64/PKGBUILD (from rev 1121185, 
hledger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:21:52 UTC (rev 1121186)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger
+pkgver=1.24.1
+pkgrel=23
+pkgdesc="Command-line interface for the hledger accounting system"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-cmdargs'
+ 'haskell-data-default' 'haskell-decimal' 'haskell-diff' 
'haskell-githash'
+ 'haskell-hashable' 'haskell-hledger-lib' 'haskell-lucid' 
'haskell-math-functions'
+ 'haskell-megaparsec' 'haskell-microlens' 'haskell-regex-tdfa' 
'haskell-safe'
+ 'haskell-shakespeare' 'haskell-split' 'haskell-tabular' 
'haskell-tasty'
+ 'haskell-temporary' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-utility-ht' 'haskell-wizards')
+makedepends=('ghc' 'haskell-extra' 'haskell-timeit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('0941258f7c6f699967261eaf9e20c1f81f6694b8f559ac1e729f37cff64dce3b787447f69c222115437318e8ccd6c4273e52befa41b3419f8fb4cc131c7fcdf7')
+
+build() {
+cd $pkgname-$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 \
+-fterminfo -fthreaded --ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 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 $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$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"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+install -Dm644 hledger.1 -t "$pkgdir"/usr/share/man/man1/
+install -Dm644 shell-completion/hledger-completion.bash 
"$pkgdir"/usr/share/bash-completion/completions/hledger
+}



[arch-commits] Commit in dhall-lsp-server/repos (2 files)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:20:55
  Author: felixonmars
Revision: 1121184

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-lsp-server/repos/community-staging-x86_64/
  dhall-lsp-server/repos/community-staging-x86_64/PKGBUILD
(from rev 1121183, dhall-lsp-server/trunk/PKGBUILD)

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

Copied: dhall-lsp-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1121183, dhall-lsp-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:20:55 UTC (rev 1121184)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-lsp-server
+pkgver=1.0.17
+pkgrel=23
+pkgdesc="Language Server Protocol (LSP) server for Dhall"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme;
+license=("custom:MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-data-default' 'dhall'
+ 'dhall-json' 'haskell-lsp0' 'haskell-hslogger' 'haskell-lens' 
'haskell-lens-family-core'
+ 'haskell-megaparsec' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-prettyprinter' 'haskell-rope-utf16-splay' 
'haskell-unordered-containers'
+ 'haskell-uri-encode')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-doctest' 'haskell-hspec' 
'haskell-lsp0-types'
+ 'haskell-lsp0-test' 'haskell-tasty' 'haskell-tasty-hspec')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('79781f076e6725cbd5cfdb26b9113baf3c25c5ba50ba09d829dd837637fa0d1ebd8849e38ee13fa3ec0f70e8dd7e85ef1587f99bd2437f8cffcc2903fdea8af4')
+
+build() {
+  cd $pkgname-$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 $pkgname-$pkgver
+  LD_LIBRARY_PATH="$PWD/dist/build" 
PATH="$PWD/dist/build/dhall-lsp-server:$PATH" runhaskell Setup test 
--show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in dhall-yaml/repos (2 files)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:20:03
  Author: felixonmars
Revision: 1121182

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-yaml/repos/community-staging-x86_64/
  dhall-yaml/repos/community-staging-x86_64/PKGBUILD
(from rev 1121181, dhall-yaml/trunk/PKGBUILD)

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

Copied: dhall-yaml/repos/community-staging-x86_64/PKGBUILD (from rev 1121181, 
dhall-yaml/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:20:03 UTC (rev 1121182)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-yaml
+pkgver=1.2.9
+pkgrel=22
+pkgdesc="Convert between Dhall and YAML"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml;
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 
'haskell-ansi-terminal'
+ 'dhall' 'dhall-json' 'haskell-optparse-applicative' 
'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('3675bd07c4798f1329309e47d3c2563bb61a4ff6d23df3c5a02f7f79d89a3ac15113b7e9a908347793c53a695f9ad27be1964d92114896c6c42d4de7d7f1a60d')
+
+prepare() {
+  cd $pkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $pkgname-$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 $pkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $pkgname-$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"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in dhall-yaml/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:19:55
  Author: felixonmars
Revision: 1121181

upgpkg: dhall-yaml 1.2.9-22: rebuild with streaming-commons 0.2.2.3

Modified:
  dhall-yaml/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:19:17 UTC (rev 1121180)
+++ PKGBUILD2022-01-31 07:19:55 UTC (rev 1121181)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-yaml
 pkgver=1.2.9
-pkgrel=21
+pkgrel=22
 pkgdesc="Convert between Dhall and YAML"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml;
 license=("GPL3")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:19:17
  Author: felixonmars
Revision: 1121180

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc/repos/community-staging-x86_64/
  pandoc/repos/community-staging-x86_64/PKGBUILD
(from rev 1121179, pandoc/trunk/PKGBUILD)

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 1121179, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:19:17 UTC (rev 1121180)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+# Maintainer: Caleb Maclennan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.14.2
+pkgrel=23
+pkgdesc='Conversion between markup formats'
+url='https://pandoc.org'
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-juicypixels' 'haskell-sha' 'haskell-aeson'
+ 'haskell-aeson-pretty' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-case-insensitive'
+ 'haskell-citeproc' 'haskell-commonmark' 
'haskell-commonmark-extensions'
+ 'haskell-commonmark-pandoc' 'haskell-connection' 
'haskell-data-default'
+ 'haskell-doclayout' 'haskell-doctemplates' 'haskell-emojis' 
'haskell-file-embed'
+ 'haskell-glob' 'haskell-haddock-library' 'haskell-ipynb' 
'haskell-jira-wiki-markup'
+ 'haskell-skylighting' 'haskell-skylighting-core' 'haskell-hslua'
+ 'haskell-hslua-module-path' 'haskell-hslua-module-system' 
'haskell-hslua-module-text'
+ 'haskell-http-client' 'haskell-syb' 'haskell-hsyaml' 
'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-safe' 'haskell-split' 'haskell-texmath' 
'haskell-network'
+ 'haskell-pandoc-types' 'haskell-random' 'haskell-scientific' 
'haskell-tagsoup'
+ 'haskell-temporary' 'haskell-text-conversions' 'haskell-network-uri'
+ 'haskell-unicode-collation' 'haskell-unicode-transforms' 
'haskell-unordered-containers'
+ 'haskell-zip-archive' 'haskell-xml' 'haskell-xml-conduit' 
'haskell-zlib')
+optdepends=('pandoc-crossref: for numbering figures, equations, tables and 
cross-references to them with pandoc-crossref filter'
+'texlive-core: for pdf output')
+conflicts=('haskell-pandoc')
+replaces=('haskell-pandoc')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-lua'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-golden' 
'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('b6ea6e57fe500d4944d84007c693758a47890ef4880836ccdc7bf5b8d8f3e91c17f05e2d34892e308fdb99bacfa2098065af3d7f18d277f685eff81e810eee17')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u citeproc -u unicode-transforms $pkgname.cabal
+
+# TODO: find a better solution
+sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ 
[(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-trypandoc -f-embed_data_files -f-static
+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 $pkgname-$pkgver
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $pkgname-$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}"
+rm "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md"
+install -Dm644 man/pandoc.1 -t "${pkgdir}"/usr/share/man/man1/
+}



[arch-commits] Commit in haskell-js-jquery/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:10:32
  Author: felixonmars
Revision: 1121175

upgpkg: haskell-js-jquery 3.3.1-748: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-js-jquery/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:10:12 UTC (rev 1121174)
+++ PKGBUILD2022-01-31 07:10:32 UTC (rev 1121175)
@@ -4,7 +4,7 @@
 _hkgname=js-jquery
 pkgname=haskell-js-jquery
 pkgver=3.3.1
-pkgrel=747
+pkgrel=748
 pkgdesc="Obtain minified jQuery code"
 url="https://github.com/ndmitchell/js-jquery#readme;
 license=("MIT")



[arch-commits] Commit in pandoc/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:19:09
  Author: felixonmars
Revision: 1121179

upgpkg: pandoc 2.14.2-23: rebuild with streaming-commons 0.2.2.3

Modified:
  pandoc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:11:23 UTC (rev 1121178)
+++ PKGBUILD2022-01-31 07:19:09 UTC (rev 1121179)
@@ -4,7 +4,7 @@
 
 pkgname=pandoc
 pkgver=2.14.2
-pkgrel=22
+pkgrel=23
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:11:23
  Author: felixonmars
Revision: 1121178

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-conduit/repos/community-staging-x86_64/PKGBUILD (from rev 
1121177, haskell-http-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:11:23 UTC (rev 1121178)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-conduit
+pkgname=haskell-http-conduit
+pkgver=2.3.8
+pkgrel=135
+pkgdesc="HTTP client package with conduit interface and HTTPS support"
+url="https://www.yesodweb.com/book/http-conduit;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-resourcet'
+ 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-connection'
+ 'haskell-cookie' 'haskell-data-default-class' 'haskell-hunit' 
'haskell-hspec'
+ 'haskell-lifted-base' 'haskell-network' 
'haskell-streaming-commons' 'haskell-temporary'
+ 'haskell-unliftio' 'haskell-utf8-string' 'haskell-wai' 
'haskell-wai-conduit'
+ 'haskell-warp' 'haskell-warp-tls')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('44c337f1a0a0ec74a5d6e4e28a3aa5a32609c3a4da9424e99aedc2a8db67fc4684ef10cf82d6bda0761c7ffba4f0222e683946ab6dd8de1ab8225a40cc14cf66')
+
+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
+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 || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:10:40
  Author: felixonmars
Revision: 1121176

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-js-jquery/repos/community-staging-x86_64/
  haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD
(from rev 1121175, haskell-js-jquery/trunk/PKGBUILD)

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

Copied: haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD (from rev 
1121175, haskell-js-jquery/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:10:40 UTC (rev 1121176)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=js-jquery
+pkgname=haskell-js-jquery
+pkgver=3.3.1
+pkgrel=748
+pkgdesc="Obtain minified jQuery code"
+url="https://github.com/ndmitchell/js-jquery#readme;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-http')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('359a4342bc5156d5360385a478e235def04db0381cc48f342baac5018e91350dce760adb9b9ada796bc6341d5629f807672f629ee127faefe521801d62bb')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-http-conduit/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:11:16
  Author: felixonmars
Revision: 1121177

upgpkg: haskell-http-conduit 2.3.8-135: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-http-conduit/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:10:40 UTC (rev 1121176)
+++ PKGBUILD2022-01-31 07:11:16 UTC (rev 1121177)
@@ -4,7 +4,7 @@
 _hkgname=http-conduit
 pkgname=haskell-http-conduit
 pkgver=2.3.8
-pkgrel=134
+pkgrel=135
 pkgdesc="HTTP client package with conduit interface and HTTPS support"
 url="https://www.yesodweb.com/book/http-conduit;
 license=("BSD")



[arch-commits] Commit in cabal-install/repos (3 files)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:10:12
  Author: felixonmars
Revision: 1121174

archrelease: copy trunk to community-staging-x86_64

Added:
  cabal-install/repos/community-staging-x86_64/
  cabal-install/repos/community-staging-x86_64/PKGBUILD
(from rev 1121173, cabal-install/trunk/PKGBUILD)
  
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
(from rev 1121173, 
cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)

--+
 PKGBUILD |   46 +
 cabal-install-base16-bytestring1.0.patch |   78 +
 2 files changed, 124 insertions(+)

Copied: cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 
1121173, cabal-install/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:10:12 UTC (rev 1121174)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=cabal-install
+pkgver=3.4.0.0
+pkgrel=90
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="https://hackage.haskell.org/package/cabal-install;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base16-bytestring' 
'haskell-cryptohash-sha256'
+ 'haskell-echo' 'haskell-edit-distance' 'haskell-hackage-security' 
'haskell-hashable'
+ 'haskell-http' 'haskell-network-uri' 'haskell-random' 
'haskell-regex-base'
+ 'haskell-regex-posix' 'haskell-resolv' 'haskell-tar' 'haskell-zlib' 
'haskell-lukko')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;
+$pkgname-base16-bytestring1.0.patch)
+sha512sums=('0fd93c86c59e3c626341be3c67e69a1502f1ce1413b4a456cd930d5449cabdaeb033ac5f47673db0e708fc194aadf8ab0aa2904b6b0f195b57907c5b40588323'
+
'966e2f0e3fd1cff3d673cb91f73b2a42049653e39a3025cdbbf86ec8ebfbd49bad278c8d01f521bbe580369bd11baf2aa7f8195e0ae450efd8ae615d13aa2300')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p2 -i ../$pkgname-base16-bytestring1.0.patch
+uusi -u base $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla \
+--docdir="/usr/share/doc/${pkgname}"
+  runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+  cd $pkgname-$pkgver
+  runhaskell Setup copy --destdir="${pkgdir}"
+
+  install -Dm644 LICENSE \
+"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  install -Dm644 bash-completion/cabal \
+"${pkgdir}/usr/share/bash-completion/completions/cabal"
+}

Copied: 
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
 (from rev 1121173, 
cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)
===
--- community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
(rev 0)
+++ community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
2022-01-31 07:10:12 UTC (rev 1121174)
@@ -0,0 +1,78 @@
+diff --git a/cabal-install/Distribution/Client/HashValue.hs 
b/cabal-install/Distribution/Client/HashValue.hs
+index 54b8aee9e..11e647c1c 100644
+--- a/cabal-install/Distribution/Client/HashValue.hs
 b/cabal-install/Distribution/Client/HashValue.hs
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP  #-}
+ {-# LANGUAGE DeriveDataTypeable #-}
+ {-# LANGUAGE DeriveGeneric  #-}
+ module Distribution.Client.HashValue (
+@@ -72,10 +73,14 @@ hashFromTUF (Sec.Hash hashstr) =
+ --TODO: [code cleanup] either we should get TUF to use raw bytestrings or
+ -- perhaps we should also just use a base16 string as the internal rep.
+ case Base16.decode (BS.pack hashstr) of
++#if MIN_VERSION_base16_bytestring(1,0,0)
++  Right hash -> HashValue hash
++  Left _ -> error "hashFromTUF: cannot decode base16"
++#else
+   (hash, trailing) | not (BS.null hash) && BS.null trailing
+ -> HashValue hash
+   _ -> error "hashFromTUF: cannot decode base16 hash"
+-
++#endif
+ 
+ -- | Truncate a 32 byte SHA256 hash to
+ --
+diff --git a/cabal-install/src/Distribution/Client/HttpUtils.hs 
b/cabal-install/src/Distribution/Client/HttpUtils.hs
+index 9b8a8ecb844..0c334bec44a 100644
+--- a/cabal-install/Distribution/Client/HttpUtils.hs
 b/cabal-install/Distribution/Client/HttpUtils.hs
+@@ -1,4 +1,5 @@
+ {-# LANGUAGE BangPatterns #-}
++{-# LANGUAGE CPP  #-}
+ -
+ -- | Separate module for HTTP actions, using a proxy server if one exists.
+ -
+@@ -182,7 +183,11 @@ downloadURI 

[arch-commits] Commit in haskell-servant-server/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:08:52
  Author: felixonmars
Revision: 1121171

upgpkg: haskell-servant-server 0.18.3-89: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-servant-server/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:07:57 UTC (rev 1121170)
+++ PKGBUILD2022-01-31 07:08:52 UTC (rev 1121171)
@@ -4,7 +4,7 @@
 _hkgname=servant-server
 pkgname=haskell-servant-server
 pkgver=0.18.3
-pkgrel=88
+pkgrel=89
 pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
 url="https://haskell-servant.readthedocs.org/;
 license=("BSD")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:08:59
  Author: felixonmars
Revision: 1121172

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-servant-server/repos/community-staging-x86_64/
  haskell-servant-server/repos/community-staging-x86_64/PKGBUILD
(from rev 1121171, haskell-servant-server/trunk/PKGBUILD)

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

Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 1121171, haskell-servant-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:08:59 UTC (rev 1121172)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.18.3
+pkgrel=89
+pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
+url="https://haskell-servant.readthedocs.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 
'haskell-base64-bytestring'
+ 'haskell-http-api-data' 'haskell-http-media' 'haskell-http-types'
+ 'haskell-network-uri' 'haskell-monad-control' 'haskell-network' 
'haskell-servant'
+ 'haskell-sop-core' 'haskell-string-conversions' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-transformers-base' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-warp'
+ 'haskell-word8')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-wai' 
'haskell-should-not-typecheck'
+ 'haskell-quickcheck' 'haskell-safe' 'haskell-wai-extra' 
'haskell-temporary'
+ 'haskell-transformers-compat')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c89a676de870cba67b86e818a87f144a316294d6ef786bdcc20017da48089cf0c25fc434ed0b42e81053fae4ad1ac0628443e4d0afb7f17fa53a1b5516272d28')
+
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in cabal-install/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:10:03
  Author: felixonmars
Revision: 1121173

upgpkg: cabal-install 3.4.0.0-90: rebuild with streaming-commons 0.2.2.3

Modified:
  cabal-install/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:08:59 UTC (rev 1121172)
+++ PKGBUILD2022-01-31 07:10:03 UTC (rev 1121173)
@@ -5,7 +5,7 @@
 
 pkgname=cabal-install
 pkgver=3.4.0.0
-pkgrel=89
+pkgrel=90
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="https://hackage.haskell.org/package/cabal-install;
 license=('BSD')



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:05:39
  Author: felixonmars
Revision: 1121164

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-githash/repos/community-staging-x86_64/PKGBUILD (from rev 
1121163, haskell-githash/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:05:39 UTC (rev 1121164)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=githash
+pkgname=haskell-githash
+pkgver=0.1.6.2
+pkgrel=49
+pkgdesc="Some handy Template Haskell splices for including the current git 
hash and branch in the code of your project"
+url="https://github.com/snoyberg/githash;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-th-compat' 'git')
+makedepends=('ghc' 'haskell-hpack' 'haskell-hspec' 'haskell-temporary' 
'haskell-unliftio')
+source=("git+https://github.com/snoyberg/githash.git#tag=githash-$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+cd $_hkgname
+hpack
+}
+
+build() {
+cd $_hkgname
+
+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
+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
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-mustache/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:06:19
  Author: felixonmars
Revision: 1121165

upgpkg: haskell-mustache 2.3.2-34: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-mustache/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:05:39 UTC (rev 1121164)
+++ PKGBUILD2022-01-31 07:06:19 UTC (rev 1121165)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.2
-pkgrel=33
+pkgrel=34
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache;
 license=('BSD')



[arch-commits] Commit in haskell-wai-middleware-static/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:07:49
  Author: felixonmars
Revision: 1121169

upgpkg: haskell-wai-middleware-static 0.9.1-47: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-wai-middleware-static/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:07:25 UTC (rev 1121168)
+++ PKGBUILD2022-01-31 07:07:49 UTC (rev 1121169)
@@ -4,7 +4,7 @@
 _hkgname=wai-middleware-static
 pkgname=haskell-wai-middleware-static
 pkgver=0.9.1
-pkgrel=46
+pkgrel=47
 pkgdesc="WAI middleware that serves requests to static files"
 url="https://github.com/scotty-web/wai-middleware-static;
 license=("BSD")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:06:26
  Author: felixonmars
Revision: 1121166

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
1121165, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:06:26 UTC (rev 1121166)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.2
+pkgrel=34
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('763ab60bfd99c08b21b291af6b4da17c9265c09659c1c1d14c0b5d5871583f28db5eca4385b66107ed7d9d9c547429a0bbc88048f28d1f6ee80c988cf63fff98')
+
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-wai-middleware-static/repos (2 files)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:07:57
  Author: felixonmars
Revision: 1121170

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-middleware-static/repos/community-staging-x86_64/
  haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD
(from rev 1121169, haskell-wai-middleware-static/trunk/PKGBUILD)

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

Copied: haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD 
(from rev 1121169, haskell-wai-middleware-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:07:57 UTC (rev 1121170)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-middleware-static
+pkgname=haskell-wai-middleware-static
+pkgver=0.9.1
+pkgrel=47
+pkgdesc="WAI middleware that serves requests to static files"
+url="https://github.com/scotty-web/wai-middleware-static;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cryptonite' 'haskell-memory' 
'haskell-expiring-cache-map'
+ 'haskell-http-types' 'haskell-mime-types' 'haskell-old-locale' 
'haskell-wai')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover'
+ 'haskell-hspec-expectations-lifted' 'haskell-hspec-wai' 
'haskell-mockery'
+ 'haskell-scotty' 'haskell-wai-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f09d39f752266083ec72a530bde3fd680e6dfd434792e207a46498c6e40e6af1e53d4aa8534195019128c0911c227a413897384464963dde700e12b4e38836bc')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d semigroups $_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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-persistent-sqlite/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:07:17
  Author: felixonmars
Revision: 1121167

upgpkg: haskell-persistent-sqlite 2.13.0.3-95: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-persistent-sqlite/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:06:26 UTC (rev 1121166)
+++ PKGBUILD2022-01-31 07:07:17 UTC (rev 1121167)
@@ -4,7 +4,7 @@
 _hkgname=persistent-sqlite
 pkgname=haskell-persistent-sqlite
 pkgver=2.13.0.3
-pkgrel=94
+pkgrel=95
 pkgdesc="Backend for the persistent library using sqlite3"
 url="https://www.yesodweb.com/book/persistent;
 license=("MIT")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:07:25
  Author: felixonmars
Revision: 1121168

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-persistent-sqlite/repos/community-staging-x86_64/
  haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD
(from rev 1121167, haskell-persistent-sqlite/trunk/PKGBUILD)

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

Copied: haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD (from 
rev 1121167, haskell-persistent-sqlite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:07:25 UTC (rev 1121168)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent-sqlite
+pkgname=haskell-persistent-sqlite
+pkgver=2.13.0.3
+pkgrel=95
+pkgdesc="Backend for the persistent library using sqlite3"
+url="https://www.yesodweb.com/book/persistent;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'sqlite' 'haskell-aeson' 'haskell-conduit' 
'haskell-microlens-th'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-unliftio-core' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-fast-logger' 'haskell-hspec' 'haskell-hunit' 
'haskell-microlens'
+ 'haskell-persistent-test' 'haskell-quickcheck' 
'haskell-system-fileio'
+ 'haskell-system-filepath' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d47b4e38929272df432f61e027767caa369875450509d2c7b7a0f266c663f0493dd3b493543523b49a49c3a7c24b4c65970870d365c73857c63cbece85af8ac5')
+
+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 \
+-f-build-sanity-exe -fsystemlib -fuse-pkgconfig
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-githash/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:05:32
  Author: felixonmars
Revision: 1121163

upgpkg: haskell-githash 0.1.6.2-49: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-githash/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:05:06 UTC (rev 1121162)
+++ PKGBUILD2022-01-31 07:05:32 UTC (rev 1121163)
@@ -3,7 +3,7 @@
 _hkgname=githash
 pkgname=haskell-githash
 pkgver=0.1.6.2
-pkgrel=48
+pkgrel=49
 pkgdesc="Some handy Template Haskell splices for including the current git 
hash and branch in the code of your project"
 url="https://github.com/snoyberg/githash;
 license=('BSD')



[arch-commits] Commit in dhall-json/repos (2 files)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:05:06
  Author: felixonmars
Revision: 1121162

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-json/repos/community-staging-x86_64/
  dhall-json/repos/community-staging-x86_64/PKGBUILD
(from rev 1121161, dhall-json/trunk/PKGBUILD)

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

Copied: dhall-json/repos/community-staging-x86_64/PKGBUILD (from rev 1121161, 
dhall-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:05:06 UTC (rev 1121162)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-json
+pkgver=1.7.9
+pkgrel=22
+pkgdesc='Convert between Dhall and JSON or YAML'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-aeson-yaml' 'dhall'
+ 'haskell-lens-family-core' 'haskell-optparse-applicative' 
'haskell-prettyprinter'
+ 'haskell-scientific' 'haskell-unordered-containers' 
'haskell-prettyprinter-ansi-terminal')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-silver')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('57ed6b418753cccb03c94f1b595d218a11c44cf903f1b67c5b0850e50d6cc9504c717c5fb96011c0a260c22200f4124922a36617cec1fcb5ef226e768e806e55')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+# https://github.com/dhall-lang/dhall-haskell/issues/2151
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $pkgname-$pkgver
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in dhall-bash/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:03:23
  Author: felixonmars
Revision: 1121157

upgpkg: dhall-bash 1.0.39-22: rebuild with streaming-commons 0.2.2.3

Modified:
  dhall-bash/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:02:55 UTC (rev 1121156)
+++ PKGBUILD2022-01-31 07:03:23 UTC (rev 1121157)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-bash
 pkgver=1.0.39
-pkgrel=21
+pkgrel=22
 pkgdesc='Compile Dhall to Bash'
 url='https://dhall-lang.org'
 license=('BSD')



[arch-commits] Commit in dhall-json/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:04:59
  Author: felixonmars
Revision: 1121161

upgpkg: dhall-json 1.7.9-22: rebuild with streaming-commons 0.2.2.3

Modified:
  dhall-json/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:04:20 UTC (rev 1121160)
+++ PKGBUILD2022-01-31 07:04:59 UTC (rev 1121161)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-json
 pkgver=1.7.9
-pkgrel=21
+pkgrel=22
 pkgdesc='Convert between Dhall and JSON or YAML'
 url='https://dhall-lang.org'
 license=('BSD')



[arch-commits] Commit in dhall-docs/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:04:13
  Author: felixonmars
Revision: 1121159

upgpkg: dhall-docs 1.0.8-24: rebuild with streaming-commons 0.2.2.3

Modified:
  dhall-docs/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:03:30 UTC (rev 1121158)
+++ PKGBUILD2022-01-31 07:04:13 UTC (rev 1121159)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-docs
 pkgver=1.0.8
-pkgrel=23
+pkgrel=24
 pkgdesc="Generate HTML docs from a dhall package"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-docs;
 license=("BSD")



[arch-commits] Commit in dhall-docs/repos (2 files)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:04:20
  Author: felixonmars
Revision: 1121160

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-docs/repos/community-staging-x86_64/
  dhall-docs/repos/community-staging-x86_64/PKGBUILD
(from rev 1121159, dhall-docs/trunk/PKGBUILD)

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

Copied: dhall-docs/repos/community-staging-x86_64/PKGBUILD (from rev 1121159, 
dhall-docs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:04:20 UTC (rev 1121160)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-docs
+pkgver=1.0.8
+pkgrel=24
+pkgdesc="Generate HTML docs from a dhall package"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-docs;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-cryptohash-sha256' 
'dhall'
+ 'haskell-file-embed' 'haskell-lens-family-core' 'haskell-lucid' 
'haskell-megaparsec'
+ 'haskell-mmark' 'haskell-optparse-applicative' 'haskell-path' 
'haskell-path-io'
+ 'haskell-prettyprinter')
+makedepends=('ghc' 'haskell-doctest' 'haskell-foldl' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-silver' 'haskell-turtle')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('550bbc31c01297f48680fe931387f6c7657179c3469170125d2c0690fccb7c1b635aad727e7d1531a1011a80859e9fc753a380b9e1392adbb8374e25795c6a32')
+
+build() {
+  cd $pkgname-$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 $pkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in dhall-bash/repos (2 files)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:03:30
  Author: felixonmars
Revision: 1121158

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-bash/repos/community-staging-x86_64/
  dhall-bash/repos/community-staging-x86_64/PKGBUILD
(from rev 1121157, dhall-bash/trunk/PKGBUILD)

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

Copied: dhall-bash/repos/community-staging-x86_64/PKGBUILD (from rev 1121157, 
dhall-bash/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:03:30 UTC (rev 1121158)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-bash
+pkgver=1.0.39
+pkgrel=22
+pkgdesc='Compile Dhall to Bash'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'dhall' 'haskell-neat-interpolation' 'haskell-shell-escape'
+ 'haskell-optparse-generic')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('00572bdeb5f18a222750dccf8fdc465dd94905fa2e1080ac82f75511d4777b7495bbbfcd1036416e776fdd9440874124a6cffde332d4c35557cacb84f2635ccf')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:02:55
  Author: felixonmars
Revision: 1121156

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-gi-cairo/repos/community-staging-x86_64/
  haskell-gi-cairo/repos/community-staging-x86_64/PKGBUILD
(from rev 1121155, haskell-gi-cairo/trunk/PKGBUILD)

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

Copied: haskell-gi-cairo/repos/community-staging-x86_64/PKGBUILD (from rev 
1121155, haskell-gi-cairo/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:02:55 UTC (rev 1121156)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=gi-cairo
+pkgname=haskell-gi-cairo
+pkgver=1.0.25
+pkgrel=85
+pkgdesc="Cairo bindings"
+url="https://github.com/haskell-gi/haskell-gi;
+license=("LGPL2.1")
+arch=('x86_64')
+depends=('ghc-libs' 'cairo' 'haskell-gi' 'haskell-gi-base' 
'haskell-gi-overloading')
+makedepends=('ghc' 'gobject-introspection')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('23ea5804b5688418820613d4d136e37d7405311900e38b0a8eebed54b7a789c91449de7bda92f36e9c73b2b67942462e13931902a49395dae5e4bde55e984da4')
+
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-gi-cairo/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:02:48
  Author: felixonmars
Revision: 1121155

upgpkg: haskell-gi-cairo 1.0.25-85: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-gi-cairo/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:02:23 UTC (rev 1121154)
+++ PKGBUILD2022-01-31 07:02:48 UTC (rev 1121155)
@@ -3,7 +3,7 @@
 _hkgname=gi-cairo
 pkgname=haskell-gi-cairo
 pkgver=1.0.25
-pkgrel=84
+pkgrel=85
 pkgdesc="Cairo bindings"
 url="https://github.com/haskell-gi/haskell-gi;
 license=("LGPL2.1")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:01:54
  Author: felixonmars
Revision: 1121152

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-dbus-hslogger/repos/community-staging-x86_64/
  haskell-dbus-hslogger/repos/community-staging-x86_64/PKGBUILD
(from rev 1121151, haskell-dbus-hslogger/trunk/PKGBUILD)

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

Copied: haskell-dbus-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 
1121151, haskell-dbus-hslogger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:01:54 UTC (rev 1121152)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=dbus-hslogger
+pkgname=haskell-dbus-hslogger
+pkgver=0.1.0.1
+pkgrel=282
+pkgdesc="Expose a dbus server to control hslogger"
+url="https://github.com/IvanMalison/dbus-hslogger;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dbus' 'haskell-hslogger' 
'haskell-optparse-applicative')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('34d3d2f9f99f99671bb3cf11eefa0f347918b4cfb69d2188be985e5abf2867d1b33b6473bb8e311f67426778f2611e008a78e99bd2d2e1f5a2c25b7ab5568d1f')
+
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:02:23
  Author: felixonmars
Revision: 1121154

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-fdo-notify/repos/community-staging-x86_64/
  haskell-fdo-notify/repos/community-staging-x86_64/PKGBUILD
(from rev 1121153, haskell-fdo-notify/trunk/PKGBUILD)

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

Copied: haskell-fdo-notify/repos/community-staging-x86_64/PKGBUILD (from rev 
1121153, haskell-fdo-notify/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:02:23 UTC (rev 1121154)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fdo-notify
+pkgname=haskell-fdo-notify
+pkgver=0.3.1
+pkgrel=532
+pkgdesc="Desktop Notifications client"
+url="https://bitbucket.org/taejo/fdo-notify/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dbus")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d9193899d5eebd7c36e9464571827bd5b560fcc156e89822877b3b67a1f376c7abea9958f7e0aa6f79da06ad5f35a8738ad30a40d447b64ad557ed341054e6b6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-dbus-hslogger/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:01:46
  Author: felixonmars
Revision: 1121151

upgpkg: haskell-dbus-hslogger 0.1.0.1-282: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-dbus-hslogger/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:01:23 UTC (rev 1121150)
+++ PKGBUILD2022-01-31 07:01:46 UTC (rev 1121151)
@@ -3,7 +3,7 @@
 _hkgname=dbus-hslogger
 pkgname=haskell-dbus-hslogger
 pkgver=0.1.0.1
-pkgrel=281
+pkgrel=282
 pkgdesc="Expose a dbus server to control hslogger"
 url="https://github.com/IvanMalison/dbus-hslogger;
 license=('BSD')



[arch-commits] Commit in haskell-fdo-notify/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:02:16
  Author: felixonmars
Revision: 1121153

upgpkg: haskell-fdo-notify 0.3.1-532: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-fdo-notify/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:01:54 UTC (rev 1121152)
+++ PKGBUILD2022-01-31 07:02:16 UTC (rev 1121153)
@@ -4,7 +4,7 @@
 _hkgname=fdo-notify
 pkgname=haskell-fdo-notify
 pkgver=0.3.1
-pkgrel=531
+pkgrel=532
 pkgdesc="Desktop Notifications client"
 url="https://bitbucket.org/taejo/fdo-notify/;
 license=("BSD")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:01:23
  Author: felixonmars
Revision: 1121150

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-skylighting/repos/community-staging-x86_64/PKGBUILD (from rev 
1121149, haskell-skylighting/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:01:23 UTC (rev 1121150)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=skylighting
+pkgname=haskell-skylighting
+pkgver=0.11
+pkgrel=63
+pkgdesc="Syntax highlighting library"
+url="https://github.com/jgm/skylighting;
+license=('GPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-skylighting-core')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('adba0f7db32326cec7b63f10b262941512006576a1614c8e8a5e669c2ee05143849dabf06679817bb4df229091ffc4d25bf60789cb03385656fcb44516a525b6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-executable
+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
+}
+
+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"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-dav/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:00:37
  Author: felixonmars
Revision: 1121147

upgpkg: haskell-dav 1.3.4-404: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-dav/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:00:05 UTC (rev 1121146)
+++ PKGBUILD2022-01-31 07:00:37 UTC (rev 1121147)
@@ -4,7 +4,7 @@
 _hkgname=DAV
 pkgname=haskell-dav
 pkgver=1.3.4
-pkgrel=403
+pkgrel=404
 pkgdesc="RFC 4918 WebDAV support"
 url="http://floss.scru.org/hDAV;
 license=("GPL3")



[arch-commits] Commit in haskell-skylighting/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:01:15
  Author: felixonmars
Revision: 1121149

upgpkg: haskell-skylighting 0.11-63: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-skylighting/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:00:45 UTC (rev 1121148)
+++ PKGBUILD2022-01-31 07:01:15 UTC (rev 1121149)
@@ -3,7 +3,7 @@
 _hkgname=skylighting
 pkgname=haskell-skylighting
 pkgver=0.11
-pkgrel=62
+pkgrel=63
 pkgdesc="Syntax highlighting library"
 url="https://github.com/jgm/skylighting;
 license=('GPL2')



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:00:05
  Author: felixonmars
Revision: 1121146

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-core/repos/community-staging-x86_64/
  haskell-yesod-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1121145, haskell-yesod-core/trunk/PKGBUILD)

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

Copied: haskell-yesod-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1121145, haskell-yesod-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:00:05 UTC (rev 1121146)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-core
+pkgname=haskell-yesod-core
+pkgver=1.6.21.0
+pkgrel=85
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-auto-update' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-cereal'
+ 'haskell-clientsession' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cookie'
+ 'haskell-entropy' 'haskell-fast-logger' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-monad-logger' 'haskell-old-locale' 'haskell-path-pieces' 
'haskell-primitive'
+ 'haskell-random' 'haskell-resourcet' 'haskell-shakespeare' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 
'haskell-word8')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0d51214b28aa0fd193b5f251541648dbfa28c8752d5067241078e92a5e90f8af09cfcc8f76a45c00bd173693e1eaa69ef3df7894895a309d2df90cdb12f61fc8')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-yesod-core/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:59:58
  Author: felixonmars
Revision: 1121145

upgpkg: haskell-yesod-core 1.6.21.0-85: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-yesod-core/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:59:11 UTC (rev 1121144)
+++ PKGBUILD2022-01-31 06:59:58 UTC (rev 1121145)
@@ -4,7 +4,7 @@
 _hkgname=yesod-core
 pkgname=haskell-yesod-core
 pkgver=1.6.21.0
-pkgrel=84
+pkgrel=85
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:59:11
  Author: felixonmars
Revision: 1121144

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-warp-tls/repos/community-staging-x86_64/
  haskell-warp-tls/repos/community-staging-x86_64/PKGBUILD
(from rev 1121143, haskell-warp-tls/trunk/PKGBUILD)

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

Copied: haskell-warp-tls/repos/community-staging-x86_64/PKGBUILD (from rev 
1121143, haskell-warp-tls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:59:11 UTC (rev 1121144)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp-tls
+pkgname=haskell-warp-tls
+pkgver=3.3.2
+pkgrel=54
+pkgdesc="HTTP over TLS support for Warp via the TLS package"
+url="https://github.com/yesodweb/wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-cryptonite" "haskell-data-default-class" 
"haskell-network"
+ "haskell-streaming-commons" "haskell-tls" 
"haskell-tls-session-manager" "haskell-unliftio"
+ "haskell-wai" "haskell-warp")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4ac7c2c4161502c4167ee5c941c6147146f453467c77fb84da8bdd2810719b099b908b67c4bcce248d6bc0d26657f91f1cc6812cedd0497516a7594b243fb783')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:00:45
  Author: felixonmars
Revision: 1121148

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-dav/repos/community-staging-x86_64/PKGBUILD (from rev 1121147, 
haskell-dav/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:00:45 UTC (rev 1121148)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=DAV
+pkgname=haskell-dav
+pkgver=1.3.4
+pkgrel=404
+pkgdesc="RFC 4918 WebDAV support"
+url="http://floss.scru.org/hDAV;
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-case-insensitive" "haskell-data-default"
+ "haskell-haskeline" "haskell-http-client" "haskell-http-client-tls" 
"haskell-http-types"
+ "haskell-lens" "haskell-network" "haskell-network-uri"
+ "haskell-optparse-applicative" "haskell-transformers-base" 
"haskell-transformers-compat"
+ "haskell-utf8-string" "haskell-xml-conduit" "haskell-xml-hamlet")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('95bb567488bed2fef3813597ea9c080781bbc25117995901ff7264c0f04bf4db1bad6c9c94c4d1fbea968245041752b2b720d4c42b4c23191eda5e3dc0c292b6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-mtl-compat
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-warp-tls/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:59:04
  Author: felixonmars
Revision: 1121143

upgpkg: haskell-warp-tls 3.3.2-54: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-warp-tls/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:58:41 UTC (rev 1121142)
+++ PKGBUILD2022-01-31 06:59:04 UTC (rev 1121143)
@@ -4,7 +4,7 @@
 _hkgname=warp-tls
 pkgname=haskell-warp-tls
 pkgver=3.3.2
-pkgrel=53
+pkgrel=54
 pkgdesc="HTTP over TLS support for Warp via the TLS package"
 url="https://github.com/yesodweb/wai;
 license=("MIT")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:58:41
  Author: felixonmars
Revision: 1121142

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http/repos/community-staging-x86_64/PKGBUILD (from rev 1121141, 
haskell-http/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:58:41 UTC (rev 1121142)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=HTTP
+pkgname=haskell-http
+pkgver=4000.3.16
+pkgrel=123
+pkgdesc="A library for client-side HTTP"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'haskell-hunit' 'haskell-httpd-shed' 'haskell-puremd5' 
'haskell-split'
+ 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-case-insensitive'
+ 'haskell-http-types' 'haskell-wai' 'haskell-warp' 
'haskell-conduit'
+ 'haskell-conduit-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b5136b55967d4db7569a0269b429c8e419878acc548d962af94efa5aa0ddbb8a6ab22bc3096ce3d78b61dc708996c408d4bfa55c6c7fb6c0d915389503cbd755')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-mtl1 -f-warn-as-error -f-conduit10 -fwarp-tests -fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-http/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:58:34
  Author: felixonmars
Revision: 1121141

upgpkg: haskell-http 4000.3.16-123: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-http/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:57:57 UTC (rev 1121140)
+++ PKGBUILD2022-01-31 06:58:34 UTC (rev 1121141)
@@ -4,7 +4,7 @@
 _hkgname=HTTP
 pkgname=haskell-http
 pkgver=4000.3.16
-pkgrel=122
+pkgrel=123
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')



[arch-commits] Commit in haskell-wai-app-static/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-app-static/repos/community-staging-x86_64/
  haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD
(from rev 1121139, haskell-wai-app-static/trunk/PKGBUILD)

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

Copied: haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD (from 
rev 1121139, haskell-wai-app-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:57:57 UTC (rev 1121140)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-app-static
+pkgname=haskell-wai-app-static
+pkgver=3.1.7.2
+pkgrel=284
+pkgdesc="WAI application for static serving"
+url="https://www.yesodweb.com/book/web-application-interface;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-file-embed' 'haskell-http-date' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-old-locale' 
'haskell-optparse-applicative'
+ 'haskell-unix-compat' 'haskell-unordered-containers' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-mockery' 'haskell-network' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e073d85efc201eab94b9c8be4e40ee71567d07ed2e2907504a946477211bc21aaf2250213cac67525ae58be499b164b09880600c0a6f62b0b1742fb9d730d6d9')
+
+prepare() {
+  uusi $_hkgname-$pkgver/$_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 \
+-f-print
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-wai-handler-launch/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:57:13
  Author: felixonmars
Revision: 1121137

upgpkg: haskell-wai-handler-launch 3.0.3.1-362: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-wai-handler-launch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:56:53 UTC (rev 1121136)
+++ PKGBUILD2022-01-31 06:57:13 UTC (rev 1121137)
@@ -4,7 +4,7 @@
 _hkgname=wai-handler-launch
 pkgname=haskell-wai-handler-launch
 pkgver=3.0.3.1
-pkgrel=361
+pkgrel=362
 pkgdesc="Launch a web app in the default browser."
 url="https://github.com/yesodweb/wai;
 license=("MIT")



[arch-commits] Commit in haskell-wai-handler-launch/repos (2 files)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:57:21
  Author: felixonmars
Revision: 1121138

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-handler-launch/repos/community-staging-x86_64/
  haskell-wai-handler-launch/repos/community-staging-x86_64/PKGBUILD
(from rev 1121137, haskell-wai-handler-launch/trunk/PKGBUILD)

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

Copied: haskell-wai-handler-launch/repos/community-staging-x86_64/PKGBUILD 
(from rev 1121137, haskell-wai-handler-launch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:57:21 UTC (rev 1121138)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-handler-launch
+pkgname=haskell-wai-handler-launch
+pkgver=3.0.3.1
+pkgrel=362
+pkgdesc="Launch a web app in the default browser."
+url="https://github.com/yesodweb/wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-wai' 'haskell-warp' 'haskell-http-types' 
'haskell-streaming-commons'
+ 'haskell-async')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('12505691dae45d743f739785cc4a32851e0bca55a7f3513d973de24722704eb5c62a8034f7bcddd8eb756ccf2a2fd9ab92986fec6e56d34d9e7a3fa900355c02')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-wai-app-static/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:57:50
  Author: felixonmars
Revision: 1121139

upgpkg: haskell-wai-app-static 3.1.7.2-284: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-wai-app-static/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:57:21 UTC (rev 1121138)
+++ PKGBUILD2022-01-31 06:57:50 UTC (rev 1121139)
@@ -4,7 +4,7 @@
 _hkgname=wai-app-static
 pkgname=haskell-wai-app-static
 pkgver=3.1.7.2
-pkgrel=283
+pkgrel=284
 pkgdesc="WAI application for static serving"
 url="https://www.yesodweb.com/book/web-application-interface;
 license=("MIT")



[arch-commits] Commit in haskell-scotty/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:56:46
  Author: felixonmars
Revision: 1121135

upgpkg: haskell-scotty 0.12-231: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-scotty/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:56:10 UTC (rev 1121134)
+++ PKGBUILD2022-01-31 06:56:46 UTC (rev 1121135)
@@ -3,7 +3,7 @@
 _hkgname=scotty
 pkgname=haskell-scotty
 pkgver=0.12
-pkgrel=230
+pkgrel=231
 pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
 url="https://github.com/scotty-web/scotty;
 license=("BSD")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:55:38
  Author: felixonmars
Revision: 1121132

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-persistent-test/repos/community-staging-x86_64/
  haskell-persistent-test/repos/community-staging-x86_64/PKGBUILD
(from rev 1121131, haskell-persistent-test/trunk/PKGBUILD)

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

Copied: haskell-persistent-test/repos/community-staging-x86_64/PKGBUILD (from 
rev 1121131, haskell-persistent-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:55:38 UTC (rev 1121132)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-test
+pkgname=haskell-persistent-test
+pkgver=2.13.0.3
+pkgrel=94
+pkgdesc="Tests for Persistent"
+url="https://github.com/yesodweb/persistent;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-persistent' 'haskell-aeson' 'haskell-blaze-html' 
'haskell-conduit'
+ 'haskell-hspec' 'haskell-hspec-expectations' 'haskell-hunit' 
'haskell-monad-control'
+ 'haskell-monad-logger' 'haskell-path-pieces' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-random' 'haskell-resourcet'
+ 'haskell-transformers-base' 'haskell-unliftio' 'haskell-unliftio-core'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-http-api-data' 
'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('794c7f22a7d44b7fa0c2d05d936ce68c6e13927abc909bfe3784228e9750103576417e6b8400bb8ea34002a17e59a4a5dd73626035a4dc81b02a1d9059c2')
+
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:56:53
  Author: felixonmars
Revision: 1121136

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
1121135, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:56:53 UTC (rev 1121136)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=231
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-casa-types/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:56:02
  Author: felixonmars
Revision: 1121133

upgpkg: haskell-casa-types 0.0.2-193: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-casa-types/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:55:38 UTC (rev 1121132)
+++ PKGBUILD2022-01-31 06:56:02 UTC (rev 1121133)
@@ -3,7 +3,7 @@
 _hkgname=casa-types
 pkgname=haskell-casa-types
 pkgver=0.0.2
-pkgrel=192
+pkgrel=193
 pkgdesc="Content Addressable Storage Archive types"
 url="https://github.com/fpco/casa;
 license=('MIT')



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:56:10
  Author: felixonmars
Revision: 1121134

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-casa-types/repos/community-staging-x86_64/
  haskell-casa-types/repos/community-staging-x86_64/PKGBUILD
(from rev 1121133, haskell-casa-types/trunk/PKGBUILD)

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

Copied: haskell-casa-types/repos/community-staging-x86_64/PKGBUILD (from rev 
1121133, haskell-casa-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:56:10 UTC (rev 1121134)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=casa-types
+pkgname=haskell-casa-types
+pkgver=0.0.2
+pkgrel=193
+pkgdesc="Content Addressable Storage Archive types"
+url="https://github.com/fpco/casa;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-hashable' 'haskell-path-pieces' 'haskell-persistent')
+makedepends=('ghc' 'uusi')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('a54bb7f15310878e0a4c0524749ba8c8de8537a60892d278941cacefb80ad9d31e9ba16dd236c196b6639758f281f9ae66911d04c39b0ec6e2b75db5127ad5bf')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:39:26
  Author: felixonmars
Revision: 1121208

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-download/repos/community-staging-x86_64/PKGBUILD (from rev 
1121207, haskell-http-download/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:39:26 UTC (rev 1121208)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-download
+pkgname=haskell-http-download
+pkgver=0.2.0.0
+pkgrel=390
+pkgdesc="Verified downloads with retries"
+url="https://github.com/commercialhaskell/http-download;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base64-bytestring' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit'
+ 'haskell-http-client' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-path' 'haskell-path-io' 'haskell-retry' 'haskell-rio' 
'haskell-rio-prettyprint')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b31caa48c1ea2a01f1301ca63b2e0c135cd0d3d392b92518c7d70d89fd83da7fd95cffa3cb374900a45fb2da8d17f748de0de72fb4beb8ad11e203676f9864ae')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-http-download/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:39:19
  Author: felixonmars
Revision: 1121207

upgpkg: haskell-http-download 0.2.0.0-390: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-http-download/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:38:47 UTC (rev 1121206)
+++ PKGBUILD2022-01-31 07:39:19 UTC (rev 1121207)
@@ -3,7 +3,7 @@
 _hkgname=http-download
 pkgname=haskell-http-download
 pkgver=0.2.0.0
-pkgrel=389
+pkgrel=390
 pkgdesc="Verified downloads with retries"
 url="https://github.com/commercialhaskell/http-download;
 license=('MIT')



[arch-commits] Commit in xmobar/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:38:39
  Author: felixonmars
Revision: 1121205

upgpkg: xmobar 0.39-73: rebuild with streaming-commons 0.2.2.3

Modified:
  xmobar/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:37:15 UTC (rev 1121204)
+++ PKGBUILD2022-01-31 07:38:39 UTC (rev 1121205)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.39
-pkgrel=72
+pkgrel=73
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:37:15
  Author: felixonmars
Revision: 1121204

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-casa-client/repos/community-staging-x86_64/
  haskell-casa-client/repos/community-staging-x86_64/PKGBUILD
(from rev 1121203, haskell-casa-client/trunk/PKGBUILD)

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

Copied: haskell-casa-client/repos/community-staging-x86_64/PKGBUILD (from rev 
1121203, haskell-casa-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:37:15 UTC (rev 1121204)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=casa-client
+pkgname=haskell-casa-client
+pkgver=0.0.1
+pkgrel=387
+pkgdesc="Content Addressable Storage Archive client"
+url="https://github.com/fpco/casa;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-memory'
+ 'haskell-network-uri' 'haskell-resourcet' 'haskell-th-lift' 
'haskell-unliftio-core'
+ 'haskell-unordered-containers')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2df03a0b1c2e01f2d24728e96fe446a25b630f5495c4e9995bcbde1ee9da530df1c6b40dde954cfaf6de2af6036fa6cfda7d9957b22106316557cc57d64114fa')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:38:47
  Author: felixonmars
Revision: 1121206

archrelease: copy trunk to community-staging-x86_64

Added:
  xmobar/repos/community-staging-x86_64/
  xmobar/repos/community-staging-x86_64/PKGBUILD
(from rev 1121205, xmobar/trunk/PKGBUILD)

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

Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 1121205, 
xmobar/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:38:47 UTC (rev 1121206)
@@ -0,0 +1,69 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributer: Sergej Pupykin 
+# Contributor: Arch Haskell Team 
+
+pkgname=xmobar
+pkgver=0.39
+pkgrel=73
+pkgdesc='Minimalistic Text Based Status Bar'
+url='https://hackage.haskell.org/package/xmobar'
+license=('BSD')
+arch=('x86_64')
+depends=('libxft' 'libxinerama' 'libxrandr' 'libxpm' 'ghc-libs' 'haskell-x11'
+ 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri'
+ 'haskell-hinotify' 'haskell-parsec-numbers'
+ 'haskell-regex-compat' 'haskell-old-locale'
+ 'haskell-http' 'haskell-dbus' 'haskell-libmpd' 'haskell-cereal' 
'haskell-netlink'
+ 'haskell-async' 'haskell-aeson'
+ 'haskell-timezone-olson' 'haskell-timezone-series' 'alsa-lib'
+ 'haskell-extensible-exceptions' 'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-http-client-tls' 'haskell-alsa-core' 
'haskell-alsa-mixer')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-temporary')
+source=(https://github.com/jaor/xmobar/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('a47d7cf16fdea4bece1d622db1c2ac76acc9d9369043eec6ff41a22c1f59c9757932fbcebfe804a636c783e9a66317bb3aaf72edc4a373c48e7db3c9292d9658')
+
+prepare() {
+  cd xmobar-${pkgver}
+  uusi -u base xmobar.cabal
+}
+
+build() {
+  cd xmobar-${pkgver}
+
+  _flags=(with_xft with_utf8 with_inotify with_mpd with_alsa with_nl80211
+  with_datezone with_mpris with_dbus with_xpm with_threaded
+  with_rtsopts with_weather)
+
+  runhaskell setup configure -O \
+--enable-shared \
+--enable-executable-dynamic \
+--disable-library-vanilla \
+--prefix=/usr \
+--dynlibdir=/usr/lib \
+--libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+--flags="${_flags[*]}" \
+--enable-tests
+  runhaskell setup build
+  runhaskell setup register --gen-script
+  runhaskell setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd xmobar-${pkgver}
+  runhaskell setup test
+}
+
+package() {
+  cd xmobar-${pkgver}
+  install -Dm 744 register.sh   
"${pkgdir}/usr/share/haskell/register/xmobar.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/xmobar.sh"
+  runhaskell setup copy --destdir="${pkgdir}"
+  install -Dm 644 license -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in haskell-persistent-test/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:55:29
  Author: felixonmars
Revision: 1121131

upgpkg: haskell-persistent-test 2.13.0.3-94: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-persistent-test/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:54:12 UTC (rev 1121130)
+++ PKGBUILD2022-01-31 06:55:29 UTC (rev 1121131)
@@ -3,7 +3,7 @@
 _hkgname=persistent-test
 pkgname=haskell-persistent-test
 pkgver=2.13.0.3
-pkgrel=93
+pkgrel=94
 pkgdesc="Tests for Persistent"
 url="https://github.com/yesodweb/persistent;
 license=('MIT')



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:26:53
  Author: felixonmars
Revision: 1121196

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-servant-client/repos/community-staging-x86_64/
  haskell-servant-client/repos/community-staging-x86_64/PKGBUILD
(from rev 1121195, haskell-servant-client/trunk/PKGBUILD)

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

Copied: haskell-servant-client/repos/community-staging-x86_64/PKGBUILD (from 
rev 1121195, haskell-servant-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:26:53 UTC (rev 1121196)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=servant-client
+pkgname=haskell-servant-client
+pkgver=0.18.3
+pkgrel=92
+pkgdesc="Automatic derivation of querying functions for servant"
+url="http://docs.servant.dev/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-http-client' 
'haskell-http-media'
+ 'haskell-http-types' 'haskell-kan-extensions' 'haskell-monad-control'
+ 'haskell-semigroupoids' 'haskell-servant' 
'haskell-servant-client-core'
+ 'haskell-transformers-base' 'haskell-transformers-compat')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 'haskell-aeson' 
'haskell-entropy'
+ 'haskell-hspec' 'haskell-hspec-discover' 'haskell-http-api-data'
+ 'haskell-markdown-unlit' 'haskell-network' 
'haskell-servant-server' 'haskell-sop-core'
+ 'haskell-tdigest' 'haskell-wai' 'haskell-warp')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d05f8d35ea397cfabafe0ee74314d5411d98c98093b095ed1ce7077a6d052d59f32785e0667930cf0a6763eebfc4da0deaee032ba73550597971348096617de2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u transformers-compat $_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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:28:08
  Author: felixonmars
Revision: 1121198

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hie-bios/repos/community-staging-x86_64/
  haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD
(from rev 1121197, haskell-hie-bios/trunk/PKGBUILD)

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

Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 
1121197, haskell-hie-bios/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:28:08 UTC (rev 1121198)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hie-bios
+pkgname=haskell-hie-bios
+pkgver=0.7.6
+pkgrel=44
+pkgdesc="Set up a GHC API session"
+url="https://github.com/mpickering/hie-bios;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-conduit'
+ 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 
'haskell-exceptions' 'haskell-extra'
+ 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger'
+ 'haskell-optparse-applicative' 'haskell-temporary' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-hunit')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+
$pkgname-ghc-9.0.2.patch::https://github.com/haskell/hie-bios/commit/da0cb23384cc6e9b393792f8f25a3c174a4edafa.patch)
+sha512sums=('33ffb37f5f39ebd9e4000de298d2645c15426818704f1d806b5f186d0d0d82bfd22df70aed181a9eab9d3b2581055a1e9c0925051fa05d97f38f4c8c7c7d0d14'
+
'5fa94f58c47d8597a8b797ea526422463569983332e1acd1769e6d67fd85dcbaea1b8ad2ba72f11f9755aaa49a101f4ad601ce5121756638df7ee6e478619885')
+
+prepare() {
+  cd $_hkgname-$pkgver
+
+  patch -Np1 -i ../$pkgname-ghc-9.0.2.patch
+
+  # It is broken only in the hackage tarball
+  sed -i 's/FilePah/FilePath/' tests/ParserTests.hs
+
+  # Additional fixes for dynamic ghc
+  sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs
+
+  # https://github.com/mpickering/hie-bios/issues/290
+  chmod +x tests/projects/*/*.sh
+}
+
+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
+  cabal update  # Generate cabal config for tests
+  # Test failures are related to process-1.6.13
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-shake/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:35:06
  Author: felixonmars
Revision: 1121199

upgpkg: haskell-shake 0.19.5-89: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-shake/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:28:08 UTC (rev 1121198)
+++ PKGBUILD2022-01-31 07:35:06 UTC (rev 1121199)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.5
-pkgrel=88
+pkgrel=89
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com;
 license=("BSD")



[arch-commits] Commit in haskell-hie-bios/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:28:01
  Author: felixonmars
Revision: 1121197

upgpkg: haskell-hie-bios 0.7.6-44: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-hie-bios/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:26:53 UTC (rev 1121196)
+++ PKGBUILD2022-01-31 07:28:01 UTC (rev 1121197)
@@ -3,7 +3,7 @@
 _hkgname=hie-bios
 pkgname=haskell-hie-bios
 pkgver=0.7.6
-pkgrel=43
+pkgrel=44
 pkgdesc="Set up a GHC API session"
 url="https://github.com/mpickering/hie-bios;
 license=("BSD")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:35:13
  Author: felixonmars
Revision: 1121200

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 
1121199, haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:35:13 UTC (rev 1121200)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.5
+pkgrel=89
+pkgdesc="Build system library, like Make, but more accurate dependencies."
+url="https://shakebuild.com;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-filepattern' 'haskell-hashable'
+ 'haskell-heaps' 'haskell-js-dgtable' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-primitive' 'haskell-random' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655c146102ca6479d5a1de11040e7c6b5f18c5386f9bb93d5305c837bc405e6bd3dd9f2e9daec74fb59de6a91272485f83bb708028cd55d9771afb39ff3b9f64')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/ghc --make/ghc -dynamic --make/' 
src/Test/{Command.hs,CloseFileHandles.hs}
+sed -e 's/ghc -package=Cabal/ghc -package=Cabal -dynamic/' \
+-e 's/ghc -fno-code/ghc -dynamic -fno-code/' \
+-e 
's/"configure",/"configure","--enable-executable-dynamic","--disable-library-vanilla",/'
 \
+-i src/Test/Docs.hs
+sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs 
src/Test/SelfMake.hs
+sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
+
+# Not sure about this one:
+sed -i 's/at cmd, called at/at want, called at/' src/Test/Errors.hs
+}
+
+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 \
+-f-portable -f-cloud -f-embed-files
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-aws/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:36:33
  Author: felixonmars
Revision: 1121201

upgpkg: haskell-aws 0.22-371: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-aws/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:35:13 UTC (rev 1121200)
+++ PKGBUILD2022-01-31 07:36:33 UTC (rev 1121201)
@@ -4,7 +4,7 @@
 _hkgname=aws
 pkgname=haskell-aws
 pkgver=0.22
-pkgrel=370
+pkgrel=371
 pkgdesc="Amazon Web Services (AWS) for Haskell"
 url="https://github.com/aristidb/aws;
 license=("BSD")



[arch-commits] Commit in haskell-casa-client/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:37:07
  Author: felixonmars
Revision: 1121203

upgpkg: haskell-casa-client 0.0.1-387: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-casa-client/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:36:40 UTC (rev 1121202)
+++ PKGBUILD2022-01-31 07:37:07 UTC (rev 1121203)
@@ -3,7 +3,7 @@
 _hkgname=casa-client
 pkgname=haskell-casa-client
 pkgver=0.0.1
-pkgrel=386
+pkgrel=387
 pkgdesc="Content Addressable Storage Archive client"
 url="https://github.com/fpco/casa;
 license=('MIT')



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:36:40
  Author: felixonmars
Revision: 1121202

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-aws/repos/community-staging-x86_64/PKGBUILD (from rev 1121201, 
haskell-aws/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 07:36:40 UTC (rev 1121202)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aws
+pkgname=haskell-aws
+pkgver=0.22
+pkgrel=371
+pkgdesc="Amazon Web Services (AWS) for Haskell"
+url="https://github.com/aristidb/aws;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-blaze-builder' 'haskell-byteable'
+ 'haskell-case-insensitive' 'haskell-cereal' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-data-default' 'haskell-http-conduit'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lifted-base' 
'haskell-memory'
+ 'haskell-monad-control' 'haskell-network' 'haskell-network-bsd' 
'haskell-old-locale'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-scientific' 
'haskell-tagged'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector' 
'haskell-xml-conduit')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-errors' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-transformers-base')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e7ff376c47a7ca7a65c8f10f19e591d4a4b4d2cfa333b4727f88f0b170d7acb0aff402617f2d617c522fe5d16ce92b249a23f1fb0a8bfe5bbefaef2931b786bd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u attoparsec -u base16-bytestring -u base64-bytestring -u 
http-client $_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 \
+-f-examples
+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 || echo "Requires AWS credentials to test"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-servant-client/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 07:26:44
  Author: felixonmars
Revision: 1121195

upgpkg: haskell-servant-client 0.18.3-92: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-servant-client/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 07:25:49 UTC (rev 1121194)
+++ PKGBUILD2022-01-31 07:26:44 UTC (rev 1121195)
@@ -3,7 +3,7 @@
 _hkgname=servant-client
 pkgname=haskell-servant-client
 pkgver=0.18.3
-pkgrel=91
+pkgrel=92
 pkgdesc="Automatic derivation of querying functions for servant"
 url="http://docs.servant.dev/;
 license=("BSD")



[arch-commits] Commit in haskell-hspec-wai-json/repos (2 files)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:54:12
  Author: felixonmars
Revision: 1121130

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-wai-json/repos/community-staging-x86_64/
  haskell-hspec-wai-json/repos/community-staging-x86_64/PKGBUILD
(from rev 1121129, haskell-hspec-wai-json/trunk/PKGBUILD)

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

Copied: haskell-hspec-wai-json/repos/community-staging-x86_64/PKGBUILD (from 
rev 1121129, haskell-hspec-wai-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:54:12 UTC (rev 1121130)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hspec-wai-json
+pkgname=haskell-hspec-wai-json
+pkgver=0.11.0
+pkgrel=227
+pkgdesc="Testing JSON APIs with hspec-wai"
+url="https://github.com/hspec/hspec-wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-qq' 
'haskell-case-insensitive'
+ 'haskell-hspec-wai')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('db14622fd95bfb9f52a48da4e8fa345c9fdd7014aeec1cb10d75573738f8020f36d97f7085373b9b2e865a9874f377d5532e29c1f31e27f41bf5c6c89fe68546')
+
+prepare() {
+uusi -u hspec-wai $_hkgname-$pkgver/$_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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-wai-json/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:54:05
  Author: felixonmars
Revision: 1121129

upgpkg: haskell-hspec-wai-json 0.11.0-227: rebuild with streaming-commons 
0.2.2.3

Modified:
  haskell-hspec-wai-json/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:53:32 UTC (rev 1121128)
+++ PKGBUILD2022-01-31 06:54:05 UTC (rev 1121129)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai-json
 pkgname=haskell-hspec-wai-json
 pkgver=0.11.0
-pkgrel=226
+pkgrel=227
 pkgdesc="Testing JSON APIs with hspec-wai"
 url="https://github.com/hspec/hspec-wai;
 license=("MIT")



[arch-commits] Commit in idris/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:53:24
  Author: felixonmars
Revision: 1121127

upgpkg: idris 1.3.3-320: rebuild with streaming-commons 0.2.2.3

Modified:
  idris/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:42:48 UTC (rev 1121126)
+++ PKGBUILD2022-01-31 06:53:24 UTC (rev 1121127)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.3
-pkgrel=319
+pkgrel=320
 pkgdesc="Functional Programming Language with Dependent Types"
 url="https://www.idris-lang.org/;
 license=("BSD")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:53:32
  Author: felixonmars
Revision: 1121128

archrelease: copy trunk to community-staging-x86_64

Added:
  idris/repos/community-staging-x86_64/
  idris/repos/community-staging-x86_64/PKGBUILD
(from rev 1121127, idris/trunk/PKGBUILD)

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

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 1121127, 
idris/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:53:32 UTC (rev 1121128)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=idris
+pkgver=1.3.3
+pkgrel=320
+pkgdesc="Functional Programming Language with Dependent Types"
+url="https://www.idris-lang.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-base64-bytestring' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cheapskate' 'haskell-code-page' 
'haskell-fingertree'
+ 'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 
'haskell-megaparsec'
+ 'haskell-network' 'haskell-optparse-applicative' 
'haskell-parser-combinators'
+ 'haskell-regex-tdfa' 'haskell-safe' 'haskell-split' 
'haskell-terminal-size'
+ 'haskell-uniplate' 'haskell-unordered-containers' 
'haskell-utf8-string' 'haskell-vector'
+ 'haskell-vector-binary-instances' 'haskell-zip-archive')
+makedepends=('ghc' 'uusi' 'haskell-tagged' 'haskell-tasty' 
'haskell-tasty-golden' 'haskell-tasty-rerun'
+ 'nodejs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz;
+
idris-haskeline-0.8.patch::https://github.com/idris-lang/Idris-dev/pull/4871.patch)
+sha512sums=('fc5c65847c8021ed691c7968043a04fcffaed3a44a6339f611fed616fddefa1b5bc2da8e7e6662dfa552981688a1c96571eadc197e4e50ba060de3c6ddbd03de'
+
'4400ea44d61ab5080926fb88c3a9195dda6dfcefb794a335ca00dcdbc9df8a1e6cb2a9b5ed1c906c34fedea8019281b395f030a6267708be68676c8cc6e5b6fa')
+
+prepare() {
+cd Idris-dev-$pkgver
+patch -p1 -i ../idris-haskeline-0.8.patch
+sed -i '1ioverride IDRIS := env LD_PRELOAD=$(shell ls 
../../dist/build/libHSidris-*-ghc*.so) $(IDRIS)' \
+libs/*/Makefile
+sed -i 's/Just sline/sline/' src/Idris/Parser/Stack.hs
+uusi idris.cabal
+}
+
+build() {
+cd Idris-dev-$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 \
+-fFFI -fGMP -f-release -f-freestanding -f-CI -f-execonly 
--ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 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 Idris-dev-$pkgver
+# TODO: figure out the tests
+PATH="$PWD/dist/build:$PWD/dist/build/idris:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" IDRIS_LIBRARY_PATH="$PWD/libs" runhaskell 
Setup test || echo "Tests failed"
+}
+
+package() {
+cd Idris-dev-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-req/trunk (PKGBUILD)

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

upgpkg: haskell-req 3.9.1-83: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-req/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:40:54 UTC (rev 1121122)
+++ PKGBUILD2022-01-31 06:42:13 UTC (rev 1121123)
@@ -3,7 +3,7 @@
 _hkgname=req
 pkgname=haskell-req
 pkgver=3.9.1
-pkgrel=82
+pkgrel=83
 pkgdesc="HTTP client library"
 url="https://github.com/mrkkrp/req;
 license=('BSD')



[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-http-client-restricted/trunk (PKGBUILD)

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

upgpkg: haskell-http-client-restricted 0.0.4-125: rebuild with 
streaming-commons 0.2.2.3

Modified:
  haskell-http-client-restricted/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:42:20 UTC (rev 1121124)
+++ PKGBUILD2022-01-31 06:42:40 UTC (rev 1121125)
@@ -3,7 +3,7 @@
 _hkgname=http-client-restricted
 pkgname=haskell-http-client-restricted
 pkgver=0.0.4
-pkgrel=124
+pkgrel=125
 pkgdesc="Restricting the servers that http-client will use"
 url="https://hackage.haskell.org/package/http-client-restricted;
 license=('MIT')



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-client-restricted/repos/community-staging-x86_64/
  haskell-http-client-restricted/repos/community-staging-x86_64/PKGBUILD
(from rev 1121125, haskell-http-client-restricted/trunk/PKGBUILD)

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

Copied: haskell-http-client-restricted/repos/community-staging-x86_64/PKGBUILD 
(from rev 1121125, haskell-http-client-restricted/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:42:48 UTC (rev 1121126)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-client-restricted
+pkgname=haskell-http-client-restricted
+pkgver=0.0.4
+pkgrel=125
+pkgdesc="Restricting the servers that http-client will use"
+url="https://hackage.haskell.org/package/http-client-restricted;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-connection' 'haskell-data-default' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-network' 'haskell-network-bsd' 
'haskell-utf8-string')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('01ac97c3f0b48d2511699f3d23602be3c76bd991f2ec428c36f34b2180f93904f8f54c7411ad92de9e90ebfc1d97802237b3e770920e16d5fb291747f7222553')
+
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 
1121117, haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:38:20 UTC (rev 1121118)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.34.4
+pkgrel=121
+pkgdesc="A modern format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-bifunctors' 'haskell-cryptonite' 
'haskell-glob'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types'
+ 'haskell-infer-license' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-interpolate'
+ 'haskell-mockery' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+sha512sums=('90dee8766955e44fd760ac9bead2f68de23763f56778dd7691d30a71cb37e5834093f3c9b382ffaa677bbbef0a3c0c9f7abeeb34343906e6d6b692481eacd7c9')
+
+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
+  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 || echo "https://github.com/sol/hpack/issues/358;
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in hopenpgp-tools/repos (2 files)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:39:15
  Author: felixonmars
Revision: 1121120

archrelease: copy trunk to community-staging-x86_64

Added:
  hopenpgp-tools/repos/community-staging-x86_64/
  hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD
(from rev 1121119, hopenpgp-tools/trunk/PKGBUILD)

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
1121119, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:39:15 UTC (rev 1121120)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.23.6
+pkgrel=203
+pkgdesc="hOpenPGP-based command-line tools"
+url="https://salsa.debian.org/clint/hopenpgp-tools;
+license=("AGPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite' 
'haskell-errors'
+ 'haskell-fgl' 'haskell-graphviz' 'haskell-hopenpgp' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-ixset-typed' 
'haskell-lens'
+ 'haskell-memory' 'haskell-monad-loops' 'haskell-openpgp-asciiarmor'
+ 'haskell-optparse-applicative' 'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 
'haskell-prettyprinter-convert-ansi-wl-pprint'
+ 'haskell-resourcet' 'haskell-time-locale-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-yaml')
+makedepends=('alex' 'happy' 'ghc')
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('73c83f939492c66b4ad5782e01acd0af97011a0ae797bce82d9431eb3e9c155ce1b4af1c4b3a5922f10e0e468c1c009cb270b8f15c7ba3236d9d8bf9e0265018')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" 
"$pkgdir/usr/share"
+}



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:40:54
  Author: felixonmars
Revision: 1121122

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wreq/repos/community-staging-x86_64/PKGBUILD (from rev 1121121, 
haskell-wreq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:40:54 UTC (rev 1121122)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=wreq
+pkgname=haskell-wreq
+pkgver=0.5.3.3
+pkgrel=150
+pkgdesc="An easy-to-use HTTP client library."
+url="https://github.com/bos/wreq;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-authenticate-oauth'
+ 'haskell-base16-bytestring' 'haskell-case-insensitive' 
'haskell-cryptonite'
+ 'haskell-hashable' 'haskell-http-client' 'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-lens' 'haskell-lens-aeson' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-psqueues' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-aeson-pretty' 
'haskell-base64-bytestring'
+ 'haskell-snap-core' 'haskell-snap-server' 'haskell-unix-compat' 
'haskell-uuid')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-network-info' 'haskell-temporary' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f074790cf3370d9356efbf5aeabb7421d59299471e02d93010453bb6f4e8daee517fcdf6891245272a9b08a35bc7b1b2233b75825ec377f6403c99cf91041f2e')
+
+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 \
+-fdoctest -f-aws -fhttpbin -f-developer
+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 || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



[arch-commits] Commit in hopenpgp-tools/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:39:08
  Author: felixonmars
Revision: 1121119

upgpkg: hopenpgp-tools 0.23.6-203: rebuild with streaming-commons 0.2.2.3

Modified:
  hopenpgp-tools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:38:20 UTC (rev 1121118)
+++ PKGBUILD2022-01-31 06:39:08 UTC (rev 1121119)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.6
-pkgrel=202
+pkgrel=203
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools;
 license=("AGPL3")



[arch-commits] Commit in haskell-wreq/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:40:43
  Author: felixonmars
Revision: 1121121

upgpkg: haskell-wreq 0.5.3.3-150: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-wreq/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:39:15 UTC (rev 1121120)
+++ PKGBUILD2022-01-31 06:40:43 UTC (rev 1121121)
@@ -3,7 +3,7 @@
 _hkgname=wreq
 pkgname=haskell-wreq
 pkgver=0.5.3.3
-pkgrel=149
+pkgrel=150
 pkgdesc="An easy-to-use HTTP client library."
 url="https://github.com/bos/wreq;
 license=('BSD')



[arch-commits] Commit in haskell-hpack/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:38:13
  Author: felixonmars
Revision: 1121117

upgpkg: haskell-hpack 0.34.4-121: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-hpack/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:36:43 UTC (rev 1121116)
+++ PKGBUILD2022-01-31 06:38:13 UTC (rev 1121117)
@@ -5,7 +5,7 @@
 pkgname=haskell-hpack
 _hkgname=hpack
 pkgver=0.34.4
-pkgrel=120
+pkgrel=121
 pkgdesc="A modern format for Haskell packages"
 url="https://github.com/sol/hpack#readme;
 license=("MIT")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:36:43
  Author: felixonmars
Revision: 1121116

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pipes-http/repos/community-staging-x86_64/PKGBUILD (from rev 
1121115, haskell-pipes-http/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:36:43 UTC (rev 1121116)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=pipes-http
+pkgname=haskell-pipes-http
+pkgver=1.0.6
+pkgrel=401
+pkgdesc="HTTP client with pipes interface"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-http-client" "haskell-http-client-tls" 
"haskell-pipes")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b58e5751863d79c08066846fb5959870cf6673e27297acd3b7980b209321a636fdf564c4c08666313c81f7c6c55f4d1307892bc6a59a01a025a87436d5591774')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *0.7/<1/' $_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 \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-pipes-http/trunk (PKGBUILD)

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

upgpkg: haskell-pipes-http 1.0.6-401: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-pipes-http/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:36:10 UTC (rev 1121114)
+++ PKGBUILD2022-01-31 06:36:36 UTC (rev 1121115)
@@ -4,7 +4,7 @@
 _hkgname=pipes-http
 pkgname=haskell-pipes-http
 pkgver=1.0.6
-pkgrel=400
+pkgrel=401
 pkgdesc="HTTP client with pipes interface"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")



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

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:36:10
  Author: felixonmars
Revision: 1121114

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall/repos/community-staging-x86_64/
  dhall/repos/community-staging-x86_64/PKGBUILD
(from rev 1121113, dhall/trunk/PKGBUILD)

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

Copied: dhall/repos/community-staging-x86_64/PKGBUILD (from rev 1121113, 
dhall/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:36:10 UTC (rev 1121114)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall
+pkgver=1.40.1
+pkgrel=63
+pkgdesc='A configuration language guaranteed to terminate'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+ 'haskell-atomic-write' 'haskell-case-insensitive' 'haskell-cborg' 
'haskell-cborg-json'
+ 'haskell-contravariant' 'haskell-data-fix' 'haskell-diff' 
'haskell-dotgen'
+ 'haskell-either' 'haskell-half' 'haskell-hashable' 
'haskell-lens-family-core'
+ 'haskell-megaparsec' 'haskell-memory' 'haskell-mmorph' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'haskell-parsers' 
'haskell-parser-combinators'
+ 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal' 
'haskell-pretty-simple'
+ 'haskell-profunctors' 'haskell-repline' 'haskell-serialise' 
'haskell-scientific'
+ 'haskell-text-manipulate' 'haskell-th-lift-instances' 
'haskell-unordered-containers'
+ 'haskell-uri-encode' 'haskell-vector' 'haskell-cryptonite' 
'haskell-http-types'
+ 'haskell-http-client' 'haskell-http-client-tls')
+makedepends=('ghc' 'uusi' 'haskell-foldl' 'haskell-generic-random' 
'haskell-mockery' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-special-values' 
'haskell-spoon'
+ 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-silver' 
'haskell-temporary' 'haskell-turtle'
+ 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('c2f50a0c156071873c41ce72d70df9802e4f19b6902aa24355f295fd3031f9cc363406ff8a3e50be3cbb5648aea19835d801b0bfe3d88f3ccf61934648ce')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u generic-random -u megaparsec -u mmorph -u tasty-silver -u 
transformers-compat $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+package() {
+cd $pkgname-$pkgver
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-dbus/repos/community-staging-x86_64/PKGBUILD (from rev 1121109, 
haskell-dbus/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:30:40 UTC (rev 1121110)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=dbus
+pkgname=haskell-dbus
+pkgver=1.2.22
+pkgrel=16
+pkgdesc="A client library for the D-Bus IPC system"
+url="https://john-millikin.com/software/haskell-dbus/;
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-conduit' 'haskell-lens'
+ 'haskell-network' 'haskell-random' 'haskell-split' 'haskell-th-lift'
+ 'haskell-vector' 'haskell-xml-conduit' 'haskell-xml-types')
+makedepends=('ghc' 'haskell-extra' 'haskell-quickcheck' 'haskell-resourcet' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+checkdepends=('dbus')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('81f9fe1420939ebb5b03602ba59dd86656e4443690d8be460684dcb461ff7df1ff4cdf846a5a15ea6193b6f64b08526b27d3e12825a375eecbded3d0a99a59b9')
+
+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
+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 || : # 
https://github.com/rblaze/haskell-dbus/issues/51
+}
+
+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"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}



[arch-commits] Commit in haskell-dbus/trunk (PKGBUILD)

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

upgpkg: haskell-dbus 1.2.22-16: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-dbus/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:29:32 UTC (rev 1121108)
+++ PKGBUILD2022-01-31 06:30:33 UTC (rev 1121109)
@@ -4,7 +4,7 @@
 _hkgname=dbus
 pkgname=haskell-dbus
 pkgver=1.2.22
-pkgrel=15
+pkgrel=16
 pkgdesc="A client library for the D-Bus IPC system"
 url="https://john-millikin.com/software/haskell-dbus/;
 license=("GPL3")



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-gi/repos/community-staging-x86_64/PKGBUILD (from rev 112, 
haskell-gi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 06:33:06 UTC (rev 1121112)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=haskell-gi
+pkgname=haskell-gi
+pkgver=0.25.0
+pkgrel=85
+pkgdesc="Generate Haskell bindings for GObject Introspection capable libraries"
+url="https://github.com/haskell-gi/haskell-gi;
+license=("LGPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'glib2' 'gobject-introspection-runtime' 'haskell-gi-base'
+ 'haskell-ansi-terminal' 'haskell-attoparsec' 'haskell-pretty-show' 
'haskell-safe'
+ 'haskell-xdg-basedir' 'haskell-xml-conduit' 'haskell-regex-tdfa')
+makedepends=('ghc' 'gobject-introspection' 'haskell-cabal-doctest' 
'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6e2f79ea2a06e02e2a3ed87f039c75857034061ca094e3b739f4de3b60530489f1e9c0f453d08c2a6d43a05a6912741895b3e3d57bf0fca1f02a9c03836492ca')
+
+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
+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"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in dhall/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:36:03
  Author: felixonmars
Revision: 1121113

upgpkg: dhall 1.40.1-63: rebuild with streaming-commons 0.2.2.3

Modified:
  dhall/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:33:06 UTC (rev 1121112)
+++ PKGBUILD2022-01-31 06:36:03 UTC (rev 1121113)
@@ -2,7 +2,7 @@
 
 pkgname=dhall
 pkgver=1.40.1
-pkgrel=62
+pkgrel=63
 pkgdesc='A configuration language guaranteed to terminate'
 url='https://dhall-lang.org'
 license=('BSD')



[arch-commits] Commit in haskell-gi/trunk (PKGBUILD)

2022-01-30 Thread Felix Yan via arch-commits
Date: Monday, January 31, 2022 @ 06:32:59
  Author: felixonmars
Revision: 112

upgpkg: haskell-gi 0.25.0-85: rebuild with streaming-commons 0.2.2.3

Modified:
  haskell-gi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-31 06:30:40 UTC (rev 1121110)
+++ PKGBUILD2022-01-31 06:32:59 UTC (rev 112)
@@ -4,7 +4,7 @@
 _hkgname=haskell-gi
 pkgname=haskell-gi
 pkgver=0.25.0
-pkgrel=84
+pkgrel=85
 pkgdesc="Generate Haskell bindings for GObject Introspection capable libraries"
 url="https://github.com/haskell-gi/haskell-gi;
 license=("LGPL2")



  1   2   3   4   5   6   7   8   9   >