[arch-commits] Commit in haskell-hls-explicit-imports-plugin/repos (2 files)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:59:18
  Author: felixonmars
Revision: 1156526

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/
  haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1156525, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1156525, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:59:18 UTC (rev 1156526)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-explicit-imports-plugin
+pkgname=haskell-hls-explicit-imports-plugin
+pkgver=1.0.1.0
+pkgrel=110
+pkgdesc="Explicit imports plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghcide'
+ 'haskell-hls-graph' 'haskell-hls-plugin-api' 'haskell-lsp' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('7691ecc341fb511e51ccb6c1f67cd6f3c908f771b62423d7713d05bf13893b7ac53ae9c453ab8b6ca227ed8c9b42191cd30b9745b57f00c51f3f3646954955b8')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-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
+}
+
+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-hls-explicit-imports-plugin/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:59:11
  Author: felixonmars
Revision: 1156525

upgpkg: haskell-hls-explicit-imports-plugin 1.0.1.0-110: rebuild with 
concurrent-output 1.10.15

Modified:
  haskell-hls-explicit-imports-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:58:41 UTC (rev 1156524)
+++ PKGBUILD2022-03-17 05:59:11 UTC (rev 1156525)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.1.0
-pkgrel=109
+pkgrel=110
 pkgdesc="Explicit imports plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
 license=("Apache")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:58:41
  Author: felixonmars
Revision: 1156524

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-test-utils/repos/community-staging-x86_64/
  haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD
(from rev 1156523, haskell-hls-test-utils/trunk/PKGBUILD)

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

Copied: haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD (from 
rev 1156523, haskell-hls-test-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:58:41 UTC (rev 1156524)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-test-utils
+pkgname=haskell-hls-test-utils
+pkgver=1.1.0.0
+pkgrel=111
+pkgdesc="Utilities used in the tests of Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-markup' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghcide' 'haskell-hls-graph' 
'haskell-hls-plugin-api'
+ 'haskell-hspec' 'haskell-hspec-core' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-test'
+ 'haskell-lsp-types' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-rerun' 'haskell-temporary'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('08bb01af48a07b37c6d99c6da42341147259ee3f26aef4737a796a62fabbe9600464fdecb3ae4908a4df24e044abf786bcf30103b15b8d7c72f12f9a0c07fcb5')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u hspec $_hkgname.cabal
+  # https://github.com/haskell/haskell-language-server/issues/1835
+  sed -i '/configOutputFile/d' src/Test/Hls/Util.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 \
+--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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:58:33
  Author: felixonmars
Revision: 1156523

upgpkg: haskell-hls-test-utils 1.1.0.0-111: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-hls-test-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:57:59 UTC (rev 1156522)
+++ PKGBUILD2022-03-17 05:58:33 UTC (rev 1156523)
@@ -3,7 +3,7 @@
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
 pkgver=1.1.0.0
-pkgrel=110
+pkgrel=111
 pkgdesc="Utilities used in the tests of Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:57:59
  Author: felixonmars
Revision: 1156522

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
1156521, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:57:59 UTC (rev 1156522)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.1.0
+pkgrel=400
+pkgdesc="Static file serving subsite for Yesod Web Framework."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-builder' 'haskell-conduit' 'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-css-text' 'haskell-data-default'
+ 'haskell-file-embed' 'haskell-hashable' 'haskell-hjsmin' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-mime-types' 'haskell-rio' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-wai-extra' 
'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('66037ec28eac83e374161c1b306a4d20805ecb35ccfc4878e7894d961daaf30d9936c6e209641ff323d7e3dd5626f5a24a12915d4205417c496e272a2e969f6e')
+
+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-static/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:57:52
  Author: felixonmars
Revision: 1156521

upgpkg: haskell-yesod-static 1.6.1.0-400: rebuild with concurrent-output 1.10.15

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:57:03 UTC (rev 1156520)
+++ PKGBUILD2022-03-17 05:57:52 UTC (rev 1156521)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=399
+pkgrel=400
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:57:03
  Author: felixonmars
Revision: 1156520

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghcide/repos/community-staging-x86_64/PKGBUILD (from rev 
1156519, haskell-ghcide/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:57:03 UTC (rev 1156520)
@@ -0,0 +1,81 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghcide
+pkgname=haskell-ghcide
+pkgver=1.4.1.0
+pkgrel=111
+pkgdesc="The core of an IDE"
+url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-async' 'haskell-base16-bytestring' 
'haskell-bytestring-encoding'
+ 'haskell-case-insensitive' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-dependent-map' 'haskell-dependent-sum' 'haskell-dlist' 
'haskell-extra'
+ 'haskell-fingertree' 'haskell-fuzzy' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghc-check' 'haskell-ghc-exactprint' 'haskell-ghc-paths' 
'haskell-ghc-trace-events'
+ 'haskell-gitrev' 'haskell-haddock-library' 'haskell-hashable' 
'haskell-heapsize'
+ 'haskell-hie-bios' 'haskell-hie-compat' 'haskell-hiedb' 
'haskell-hls-graph'
+ 'haskell-hls-plugin-api' 'haskell-hslogger' 
'haskell-implicit-hie-cradle' 'haskell-lens'
+ 'haskell-lsp' 'haskell-lsp-test' 'haskell-lsp-types' 
'haskell-network-uri'
+ 'haskell-opentelemetry' 'haskell-optparse-applicative' 
'haskell-parallel'
+ 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal' 
'haskell-regex-tdfa'
+ 'haskell-retrie' 'haskell-rope-utf16-splay' 'haskell-safe' 
'haskell-safe-exceptions'
+ 'haskell-sorted-list' 'haskell-sqlite-simple' 'haskell-syb' 
'haskell-unliftio'
+ 'haskell-unliftio-core' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-ghc-typelits-knownnat'
+ 'haskell-implicit-hie' 'haskell-quickcheck-instances' 
'haskell-record-dot-preprocessor'
+ 'haskell-record-hasfield' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('cea048a756cef35df6d90137b3cd70567cfbad485d4858a86e502770813c1e85e18f9971c46a9c8f25cca46445677343cbf57d6e43009848434bca1721b5f036')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  find test/data -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+
+  uusi -u extra -r ghc:ghc,ghc-api-compat -u hiedb $_hkgname.cabal
+
+  # extra 1.7.10
+  sed -i "s/hiding (modifyVar, modifyVar_)/hiding (modifyVar, modifyVar_, 
modifyVar')/" src/Control/Concurrent/Strict.hs
+
+  # TODO: Skipped some broken tests for now
+  sed -i '/, benchmarkTests/d;/, findDefinitionAndHoverTests/d;/, 
bootTests/d;s/, simpleMultiDefTest//;s/echo A.hs/echo -dynamic > 
$HIE_BIOS_OUTPUT/' test/exe/Main.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 \
+--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
+  # Random test failures "Received an illegal message between the initialize 
request and response"
+  # th-linking-test-unboxed always fails too
+  PATH="$PWD/dist/build/ghcide:$PWD/dist/build/ghcide-test-preprocessor:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" 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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f 

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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:56:55
  Author: felixonmars
Revision: 1156519

upgpkg: haskell-ghcide 1.4.1.0-111: rebuild with concurrent-output 1.10.15

Modified:
  haskell-ghcide/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:41:48 UTC (rev 1156518)
+++ PKGBUILD2022-03-17 05:56:55 UTC (rev 1156519)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.4.1.0
-pkgrel=110
+pkgrel=111
 pkgdesc="The core of an IDE"
 
url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme;
 license=("Apache")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:41:48
  Author: felixonmars
Revision: 1156518

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
1156517, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:41:48 UTC (rev 1156518)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.12
+pkgrel=275
+pkgdesc="Integration testing for WAI/Yesod Applications"
+url="https://www.yesodweb.com;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-conduit'
+ 'haskell-cookie' 'haskell-hspec-core' 'haskell-html-conduit' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-network' 'haskell-pretty-show' 'haskell-wai'
+ 'haskell-wai-extra' 'haskell-xml-conduit' 'haskell-xml-types' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-yesod-form' 'haskell-hspec' 'haskell-unliftio' 
'haskell-unliftio-core')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('777d112d8c5ae77d667da2b8d1ed91a1cf751850d5b3678e787e7123aca8666d0a4b6d6161b7109491012d56c160603d62563b881a136ccc76a1edd006c423d6')
+
+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-test/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:41:41
  Author: felixonmars
Revision: 1156517

upgpkg: haskell-yesod-test 1.6.12-275: rebuild with concurrent-output 1.10.15

Modified:
  haskell-yesod-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:40:58 UTC (rev 1156516)
+++ PKGBUILD2022-03-17 05:41:41 UTC (rev 1156517)
@@ -3,7 +3,7 @@
 _hkgname=yesod-test
 pkgname=haskell-yesod-test
 pkgver=1.6.12
-pkgrel=274
+pkgrel=275
 pkgdesc="Integration testing for WAI/Yesod Applications"
 url="https://www.yesodweb.com;
 license=('MIT')



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:40:58
  Author: felixonmars
Revision: 1156516

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-auth/repos/community-staging-x86_64/PKGBUILD (from rev 
1156515, haskell-yesod-auth/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:40:58 UTC (rev 1156516)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-auth
+pkgname=haskell-yesod-auth
+pkgver=1.6.10.4
+pkgrel=92
+pkgdesc="Authentication for Yesod."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-blaze-builder' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-email-validate' 'haskell-file-embed' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-network-uri' 'haskell-nonce' 'haskell-persistent' 
'haskell-random' 'haskell-safe'
+ 'haskell-shakespeare' 'haskell-unliftio' 'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-yesod-core' 
'haskell-yesod-form'
+ 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e108bfed1a95faf666877ed37489830d0a7205162a3a16f240bbe269aec63b8e61693e921c018898ec7198c09f44fe0ae1bb39884d8c02007319aa7efe3b566')
+
+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 \
+-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
+}
+
+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-auth/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:40:51
  Author: felixonmars
Revision: 1156515

upgpkg: haskell-yesod-auth 1.6.10.4-92: rebuild with concurrent-output 1.10.15

Modified:
  haskell-yesod-auth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:40:08 UTC (rev 1156514)
+++ PKGBUILD2022-03-17 05:40:51 UTC (rev 1156515)
@@ -4,7 +4,7 @@
 _hkgname=yesod-auth
 pkgname=haskell-yesod-auth
 pkgver=1.6.10.4
-pkgrel=91
+pkgrel=92
 pkgdesc="Authentication for Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:40:08
  Author: felixonmars
Revision: 1156514

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 
1156513, haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:40:08 UTC (rev 1156514)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.1.2
+pkgrel=134
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-conduit' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-file-embed' 'haskell-monad-logger' 
'haskell-shakespeare'
+ 'haskell-streaming-commons' 'haskell-unordered-containers' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-yaml'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a062f74502c5d88784a20f3bbe4c5799475043f3d17fea28b8199e9e4a3f9cc044e7b21a97bdb0c7e9e91c6e76aec4350a2cddc6306afb7c2f78f347ebf4f249')
+
+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/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:40:01
  Author: felixonmars
Revision: 1156513

upgpkg: haskell-yesod 1.6.1.2-134: rebuild with concurrent-output 1.10.15

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:39:32 UTC (rev 1156512)
+++ PKGBUILD2022-03-17 05:40:01 UTC (rev 1156513)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.1.2
-pkgrel=133
+pkgrel=134
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:39:32
  Author: felixonmars
Revision: 1156512

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD (from rev 
1156511, haskell-esqueleto/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:39:32 UTC (rev 1156512)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=esqueleto
+pkgname=haskell-esqueleto
+pkgver=3.5.2.1
+pkgrel=106
+pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
+url="https://github.com/bitemyapp/esqueleto;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-blaze-html' 
'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-unliftio' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-core' 'haskell-mysql' 
'haskell-mysql-simple'
+ 'haskell-persistent-mysql' 'haskell-persistent-postgresql' 
'haskell-persistent-sqlite'
+ 'haskell-postgresql-simple')
+checkdepends=('mariadb' 'pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b8b1d0b06c2ef9ead922be7220d0d1fa6a6de67404bf48c2cfab297d92e187a92cb602e0189f91fbe0561c2f6f268b67d71f9f1512bff7c3218fa4fbab31a301')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/port=5432/port=9824/' test/PostgreSQL/Test.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 \
+-f-mysql -f-postgresql
+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
+# Copied from haskell-persistent-mysql
+mkdir -p /tmp/mysql_test
+mysql_install_db --datadir=/tmp/mysql_test
+mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql --port 33306 
--skip-grant-tables &
+MYSQL_PID=$!
+sleep 5
+mysql -h 127.0.0.1 -P 33306 -u root -e "create database IF NOT EXISTS 
esqutest;"
+
+# Copied from haskell-persistent-postgresql
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s esqutest
+createdb -O esqutest esqutest
+
+# mysql tests fail the same way as haskell-persistent-mysql, due to 
incompatibility with mariadb
+TRAVIS=true runhaskell Setup test --show-details=direct || echo "Tests 
failed"
+
+kill $MYSQL_PID
+pifpaf_stop
+}
+
+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-esqueleto/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:39:24
  Author: felixonmars
Revision: 1156511

upgpkg: haskell-esqueleto 3.5.2.1-106: rebuild with concurrent-output 1.10.15

Modified:
  haskell-esqueleto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:37:10 UTC (rev 1156510)
+++ PKGBUILD2022-03-17 05:39:24 UTC (rev 1156511)
@@ -4,7 +4,7 @@
 _hkgname=esqueleto
 pkgname=haskell-esqueleto
 pkgver=3.5.2.1
-pkgrel=105
+pkgrel=106
 pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
 url="https://github.com/bitemyapp/esqueleto;
 license=("BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:37:10
  Author: felixonmars
Revision: 1156510

archrelease: copy trunk to community-staging-x86_64

Added:
  arch-hs/repos/community-staging-x86_64/
  arch-hs/repos/community-staging-x86_64/PKGBUILD
(from rev 1156509, arch-hs/trunk/PKGBUILD)

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

Copied: arch-hs/repos/community-staging-x86_64/PKGBUILD (from rev 1156509, 
arch-hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:37:10 UTC (rev 1156510)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+pkgname=arch-hs
+pkgver=0.10.0.0
+pkgrel=21
+pkgdesc="Distribute hackage packages to archlinux"
+arch=('x86_64')
+url="https://github.com/berberman/arch-hs;
+license=('MIT')
+depends=('ghc-libs' 'pacman' 'haskell-diff' 'haskell-aeson' 
'haskell-algebraic-graphs'
+ 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-hackage-db'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 
'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-neat-interpolation' 
'haskell-optparse-simple'
+ 'haskell-polysemy' 'haskell-prettyprinter' 
'haskell-prettyprinter-ansi-terminal'
+ 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('da2dee749a92cd0799f66c48ec01687e4bd042013f94fc30deca3b37e1f0316b00197c05bfc3830538a2348ed5662a33b9dabec9e49799e13cb4c4bf6765b808')
+
+_gen_comp(){
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
+}
+
+_install_comp(){
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
+  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
+  install -D -m644 fish${1} 
"$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
+}
+
+build() {
+  cd $pkgname-$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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -falpm
+
+  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
+  
+  _gen_comp
+  _gen_comp "-diff"
+  _gen_comp "-sync"
+}
+
+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
+  
+  _install_comp
+  _install_comp "-diff"
+  _install_comp "-sync"
+} 



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:37:02
  Author: felixonmars
Revision: 1156509

upgpkg: arch-hs 0.10.0.0-21: rebuild with concurrent-output 1.10.15

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:36:02 UTC (rev 1156508)
+++ PKGBUILD2022-03-17 05:37:02 UTC (rev 1156509)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.10.0.0
-pkgrel=20
+pkgrel=21
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;



[arch-commits] Commit in haskell-hls-plugin-api/repos (2 files)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:36:02
  Author: felixonmars
Revision: 1156508

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-plugin-api/repos/community-staging-x86_64/
  haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD
(from rev 1156507, haskell-hls-plugin-api/trunk/PKGBUILD)

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

Copied: haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD (from 
rev 1156507, haskell-hls-plugin-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:36:02 UTC (rev 1156508)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-plugin-api
+pkgname=haskell-hls-plugin-api
+pkgver=1.2.0.0
+pkgrel=90
+pkgdesc="Haskell Language Server API for plugin communication"
+url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-data-default' 
'haskell-dependent-map'
+ 'haskell-dependent-sum' 'haskell-dlist' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-hashable' 'haskell-hls-graph' 'haskell-hslogger' 
'haskell-lens' 'haskell-lsp'
+ 'haskell-optparse-applicative' 'haskell-opentelemetry' 
'haskell-regex-tdfa'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('71e6addec81ba84bb26d8048107cb60a94ddb01ac4879640ec7ab7db8586515f1e0419db79e5fe3d8bfc0b37679f307c0c6e97e83739723439c48b14d2124d96')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-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
+}
+
+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-hls-plugin-api/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:35:55
  Author: felixonmars
Revision: 1156507

upgpkg: haskell-hls-plugin-api 1.2.0.0-90: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-hls-plugin-api/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:35:20 UTC (rev 1156506)
+++ PKGBUILD2022-03-17 05:35:55 UTC (rev 1156507)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=1.2.0.0
-pkgrel=89
+pkgrel=90
 pkgdesc="Haskell Language Server API for plugin communication"
 url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
 license=("Apache")



[arch-commits] Commit in stack/repos (4 files)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:35:20
  Author: felixonmars
Revision: 1156506

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 1156505, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/ghc9.patch
(from rev 1156505, stack/trunk/ghc9.patch)
  stack/repos/community-staging-x86_64/stack.install
(from rev 1156505, stack/trunk/stack.install)

---+
 PKGBUILD  |   80 +++
 ghc9.patch|  188 
 stack.install |4 +
 3 files changed, 272 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 1156505, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:35:20 UTC (rev 1156506)
@@ -0,0 +1,80 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.7.3
+pkgrel=169
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
+ 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
+ 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
+ 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
+ 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
+ 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
+ 'haskell-persistent-sqlite' 'haskell-primitive' 
'haskell-project-template'
+ 'haskell-regex-applicative-text' 'haskell-retry' 'haskell-rio'
+ 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
+ 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
+ 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
+ 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
+ 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver;
+ghc9.patch)
+sha512sums=('SKIP'
+
'5229f2f6a32bf8d317a2fc7a7bb16c0698359255c2ec6cbe74cbc78799aa170d4e174e6e182478e52d7040f12f32b7a2b9c246f185d79b6e3f295ccb59f3f3b8')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../ghc9.patch
+  uusi -d semigroups -d persistent-template $pkgname.cabal
+}
+
+build() {
+  cd $pkgname
+
+  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-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
+  --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
+  # cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test --show-details=direct
+  # Integration tests will result in 4 failures on Arch currently
+}
+
+package() {
+  cd $pkgname
+
+  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
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 

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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:35:10
  Author: felixonmars
Revision: 1156505

upgpkg: stack 2.7.3-169: rebuild with concurrent-output 1.10.15

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:32:18 UTC (rev 1156504)
+++ PKGBUILD2022-03-17 05:35:10 UTC (rev 1156505)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.3
-pkgrel=168
+pkgrel=169
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:32:18
  Author: felixonmars
Revision: 1156504

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD (from rev 
1156503, haskell-yesod-form/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:32:18 UTC (rev 1156504)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-form
+pkgname=haskell-yesod-form
+pkgver=1.7.0
+pkgrel=166
+pkgdesc="Form handling support for Yesod Web Framework"
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-byteable' 'haskell-data-default' 
'haskell-email-validate'
+ 'haskell-network-uri' 'haskell-persistent' 'haskell-resourcet' 
'haskell-shakespeare'
+ 'haskell-wai' 'haskell-xss-sanitize' 'haskell-yesod-core' 
'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc5373c62e78d79e570171c608fa2e9cfb2092a859b81a881ab69a406c357cc9eeff0ff04d0c08f8cc29cf66ef488ce6b96195d26b9c6dff879a1fea96eff013')
+
+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 \
+-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
+}
+
+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-form/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:32:10
  Author: felixonmars
Revision: 1156503

upgpkg: haskell-yesod-form 1.7.0-166: rebuild with concurrent-output 1.10.15

Modified:
  haskell-yesod-form/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:31:29 UTC (rev 1156502)
+++ PKGBUILD2022-03-17 05:32:10 UTC (rev 1156503)
@@ -4,7 +4,7 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.7.0
-pkgrel=165
+pkgrel=166
 pkgdesc="Form handling support for Yesod Web Framework"
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:31:29
  Author: felixonmars
Revision: 1156502

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-mysql/repos/community-staging-x86_64/PKGBUILD (from 
rev 1156501, haskell-persistent-mysql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:31:29 UTC (rev 1156502)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-mysql
+pkgname=haskell-persistent-mysql
+pkgver=2.13.0.1
+pkgrel=127
+pkgdesc="Backend for the persistent library using MySQL database server."
+url="http://www.yesodweb.com/book/persistent;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-blaze-builder' 'haskell-conduit' 
'haskell-monad-logger'
+ 'haskell-mysql' 'haskell-mysql-simple' 'haskell-persistent' 
'haskell-resource-pool'
+ 'haskell-resourcet' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-fast-logger' 
'haskell-hspec'
+ 'haskell-http-api-data' 'haskell-path-pieces' 
'haskell-persistent-qq'
+ 'haskell-persistent-test' 'haskell-quickcheck-instances')
+#checkdepends=('percona-server' 'percona-server-clients')
+checkdepends=('mariadb')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('e726a54704b5eedd3f3c9ccb20516501a9f42c787d3e5e7998e900637f26f0abf7f5bd82900ad66d99091abe9112d0c697460dc536c7b07d24f2476a0e0552b4')
+
+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
+  mkdir -p /tmp/mysql_test
+  # TODO: Try to make percona work?
+  #mysqld --no-defaults --initialize-insecure --datadir=/tmp/mysql_test 
+  #mysqld --no-defaults --datadir=/tmp/mysql_test 
--secure-file-priv=/tmp/mysql_test --socket=/tmp/socket.mysql 
--bind-address=127.0.0.1 --skip-grant-tables &
+  
+  mysql_install_db --datadir=/tmp/mysql_test
+  mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql 
--skip-grant-tables &
+  MYSQL_PID=$!
+  sleep 5
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS test;"
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS persistent;"
+
+  # Compatibility issue with mariadb: 
https://github.com/yesodweb/persistent/issues/1158
+  TRAVIS=true runhaskell Setup test --show-details=direct || echo "Tests 
failed"
+
+  kill $MYSQL_PID
+}
+
+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-persistent-mysql/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:31:22
  Author: felixonmars
Revision: 1156501

upgpkg: haskell-persistent-mysql 2.13.0.1-127: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-persistent-mysql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:30:31 UTC (rev 1156500)
+++ PKGBUILD2022-03-17 05:31:22 UTC (rev 1156501)
@@ -3,7 +3,7 @@
 _hkgname=persistent-mysql
 pkgname=haskell-persistent-mysql
 pkgver=2.13.0.1
-pkgrel=126
+pkgrel=127
 pkgdesc="Backend for the persistent library using MySQL database server."
 url="http://www.yesodweb.com/book/persistent;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:30:31
  Author: felixonmars
Revision: 1156500

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-postgresql/repos/community-staging-x86_64/PKGBUILD 
(from rev 1156499, haskell-persistent-postgresql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:30:31 UTC (rev 1156500)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-postgresql
+pkgname=haskell-persistent-postgresql
+pkgver=2.13.0.3
+pkgrel=116
+pkgdesc="Backend for the persistent library using postgresql."
+url="http://www.yesodweb.com/book/persistent;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-postgresql-libpq'
+ 'haskell-postgresql-simple' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-string-conversions' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-fast-logger' 
'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-hspec-expectations-lifted'
+ 'haskell-http-api-data' 'haskell-path-pieces' 
'haskell-persistent-qq'
+ 'haskell-persistent-test' 'haskell-quickcheck-instances' 
'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('9378b05b24fcf491d1afc2c9fd83592c83a4a239cc746a88a08330eed29b1e99ea1c32335c7dd9fe4b23417edc5958ff9c51006475f2c0dd0b24cea3ef2f8ecf')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  # pifpaf's default port
+  sed -i 's/port=5432/port=9824/' test/PgInit.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 \
+--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
+  eval $(pifpaf run postgresql --host 127.0.0.1)
+  createuser -s postgres
+  createdb test
+  # https://github.com/yesodweb/persistent/issues/1278
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+  pifpaf_stop
+}
+
+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-persistent-postgresql/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:30:24
  Author: felixonmars
Revision: 1156499

upgpkg: haskell-persistent-postgresql 2.13.0.3-116: rebuild with 
concurrent-output 1.10.15

Modified:
  haskell-persistent-postgresql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:29:25 UTC (rev 1156498)
+++ PKGBUILD2022-03-17 05:30:24 UTC (rev 1156499)
@@ -3,7 +3,7 @@
 _hkgname=persistent-postgresql
 pkgname=haskell-persistent-postgresql
 pkgver=2.13.0.3
-pkgrel=115
+pkgrel=116
 pkgdesc="Backend for the persistent library using postgresql."
 url="http://www.yesodweb.com/book/persistent;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:29:25
  Author: felixonmars
Revision: 1156498

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-arch-web/repos/community-staging-x86_64/
  haskell-arch-web/repos/community-staging-x86_64/PKGBUILD
(from rev 1156497, haskell-arch-web/trunk/PKGBUILD)

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

Copied: haskell-arch-web/repos/community-staging-x86_64/PKGBUILD (from rev 
1156497, haskell-arch-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:29:25 UTC (rev 1156498)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=arch-web
+pkgname=haskell-arch-web
+pkgver=0.1.0
+pkgrel=237
+pkgdesc="Arch Linux official and AUR web interface binding"
+url="https://github.com/berberman/arch-web;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-deriving-aeson' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lens' 
'haskell-servant'
+ 'haskell-servant-client' 'haskell-servant-client-core')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('ffb66a4bee5432799e75f4c637856ae49868b2633e3711b3468a8d78b9263ef2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u http-client -u lens $_hkgname.cabal
+  gen-setup
+
+  sed -i '/CommunityTesting/a \  | KDEUnstable' src/Web/ArchLinux/Types.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 \
+--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-arch-web/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:29:18
  Author: felixonmars
Revision: 1156497

upgpkg: haskell-arch-web 0.1.0-237: rebuild with concurrent-output 1.10.15

Modified:
  haskell-arch-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:28:11 UTC (rev 1156496)
+++ PKGBUILD2022-03-17 05:29:18 UTC (rev 1156497)
@@ -3,7 +3,7 @@
 _hkgname=arch-web
 pkgname=haskell-arch-web
 pkgver=0.1.0
-pkgrel=236
+pkgrel=237
 pkgdesc="Arch Linux official and AUR web interface binding"
 url="https://github.com/berberman/arch-web;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:28:11
  Author: felixonmars
Revision: 1156496

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1156495, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:28:11 UTC (rev 1156496)
@@ -0,0 +1,69 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=8.0.0
+pkgrel=138
+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-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 postgrest/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:28:04
  Author: felixonmars
Revision: 1156495

upgpkg: postgrest 8.0.0-138: rebuild with concurrent-output 1.10.15

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:26:19 UTC (rev 1156494)
+++ PKGBUILD2022-03-17 05:28:04 UTC (rev 1156495)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=8.0.0
-pkgrel=137
+pkgrel=138
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:26:12
  Author: felixonmars
Revision: 1156493

upgpkg: haskell-hls-graph 1.4.0.0-115: rebuild with concurrent-output 1.10.15

Modified:
  haskell-hls-graph/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:25:51 UTC (rev 1156492)
+++ PKGBUILD2022-03-17 05:26:12 UTC (rev 1156493)
@@ -3,7 +3,7 @@
 _hkgname=hls-graph
 pkgname=haskell-hls-graph
 pkgver=1.4.0.0
-pkgrel=114
+pkgrel=115
 pkgdesc="Haskell Language Server internal graph API"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:26:19
  Author: felixonmars
Revision: 1156494

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-graph/repos/community-staging-x86_64/
  haskell-hls-graph/repos/community-staging-x86_64/PKGBUILD
(from rev 1156493, haskell-hls-graph/trunk/PKGBUILD)

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

Copied: haskell-hls-graph/repos/community-staging-x86_64/PKGBUILD (from rev 
1156493, haskell-hls-graph/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:26:19 UTC (rev 1156494)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-graph
+pkgname=haskell-hls-graph
+pkgver=1.4.0.0
+pkgrel=115
+pkgdesc="Haskell Language Server internal graph API"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-shake' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('8ee3bf2a7f11f15741c94a9d40560aa2fe35af3c8fce40166796233322a5a474')
+
+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 \
+--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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:25:44
  Author: felixonmars
Revision: 1156491

upgpkg: haskell-implicit-hie-cradle 0.3.0.5-94: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-implicit-hie-cradle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:25:21 UTC (rev 1156490)
+++ PKGBUILD2022-03-17 05:25:44 UTC (rev 1156491)
@@ -3,7 +3,7 @@
 _hkgname=implicit-hie-cradle
 pkgname=haskell-implicit-hie-cradle
 pkgver=0.3.0.5
-pkgrel=93
+pkgrel=94
 pkgdesc="Auto generate hie-bios cradles"
 url="https://github.com/Avi-D-coder/implicit-hie-cradle#readme;
 license=("BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:25:51
  Author: felixonmars
Revision: 1156492

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-implicit-hie-cradle/repos/community-staging-x86_64/
  haskell-implicit-hie-cradle/repos/community-staging-x86_64/PKGBUILD
(from rev 1156491, haskell-implicit-hie-cradle/trunk/PKGBUILD)

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

Copied: haskell-implicit-hie-cradle/repos/community-staging-x86_64/PKGBUILD 
(from rev 1156491, haskell-implicit-hie-cradle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:25:51 UTC (rev 1156492)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=implicit-hie-cradle
+pkgname=haskell-implicit-hie-cradle
+pkgver=0.3.0.5
+pkgrel=94
+pkgdesc="Auto generate hie-bios cradles"
+url="https://github.com/Avi-D-coder/implicit-hie-cradle#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-extra' 
'haskell-hie-bios'
+ 'haskell-hslogger' 'haskell-implicit-hie' 'haskell-temporary' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('692534bce4513e039e8f7fe162f8ceb88ef42ced0f314ba01a4d07e2a2f5bb5be60f64a04674498e45c0766fe801aba7102763704aa857695f770318dc3e')
+
+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 cabal-plan/repos (2 files)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:25:21
  Author: felixonmars
Revision: 1156490

archrelease: copy trunk to community-staging-x86_64

Added:
  cabal-plan/repos/community-staging-x86_64/
  cabal-plan/repos/community-staging-x86_64/PKGBUILD
(from rev 1156489, cabal-plan/trunk/PKGBUILD)

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

Copied: cabal-plan/repos/community-staging-x86_64/PKGBUILD (from rev 1156489, 
cabal-plan/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:25:21 UTC (rev 1156490)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-plan
+pkgname=cabal-plan
+pkgver=0.7.2.0
+pkgrel=119
+pkgdesc="Library and utility for processing cabal's plan.json file"
+url="https://github.com/hvr/cabal-plan;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-async' 
'haskell-base-compat'
+ 'haskell-base16-bytestring' 'haskell-cabal-install-parsers' 
'haskell-optics-core'
+ 'haskell-optparse-applicative' 'haskell-semialign' 
'haskell-singleton-bool' 'haskell-tar'
+ 'haskell-these' 'haskell-topograph' 'haskell-vector' 'haskell-zlib')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('233a3d1460732fe3486169023758e431d37c5c9156fb28d829decaf7b9170f85')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base -u base-compat -u Cabal -u optics-core -u semialign 
$_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' \
+-fexe -flicense-report
+
+  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.GPLv2
+}



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:25:12
  Author: felixonmars
Revision: 1156489

upgpkg: cabal-plan 0.7.2.0-119: rebuild with concurrent-output 1.10.15

Modified:
  cabal-plan/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:24:20 UTC (rev 1156488)
+++ PKGBUILD2022-03-17 05:25:12 UTC (rev 1156489)
@@ -3,7 +3,7 @@
 _hkgname=cabal-plan
 pkgname=cabal-plan
 pkgver=0.7.2.0
-pkgrel=118
+pkgrel=119
 pkgdesc="Library and utility for processing cabal's plan.json file"
 url="https://github.com/hvr/cabal-plan;
 license=("GPL")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:24:20
  Author: felixonmars
Revision: 1156488

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ci/repos/community-staging-x86_64/PKGBUILD (from rev 1156487, 
haskell-ci/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:24:20 UTC (rev 1156488)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Maintainer: Caleb Maclennan 
+
+_hkgname=haskell-ci
+pkgname=haskell-ci
+pkgver=0.12.1
+pkgrel=167
+pkgdesc="Cabal package script generator for Travis-CI"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base-compat'
+ 'haskell-base16-bytestring' 'haskell-cabal-install-parsers' 
'haskell-cryptohash-sha256'
+ 'haskell-generic-lens-lite' 'haskell-hsyaml' 
'haskell-indexed-traversable'
+ 'haskell-indexed-traversable-instances' 'haskell-ini' 
'haskell-lattices'
+ 'haskell-network-uri' 'haskell-optparse-applicative' 'shellcheck' 
'haskell-temporary'
+ 'haskell-unordered-containers' 'haskell-zinza')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-ansi-terminal' 
'haskell-tasty' 'haskell-tasty-golden')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d93a6b8e880255469b34b568320659802252379f0c5486ed315b366fd07dae935a480047468912bc5a397b9e55b00ea964451790f963d05b8df1d426d871da1c')
+
+prepare(){
+  uusi -u attoparsec -u base-compat -u ShellCheck 
$_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 \
+--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-ci/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:24:13
  Author: felixonmars
Revision: 1156487

upgpkg: haskell-ci 0.12.1-167: rebuild with concurrent-output 1.10.15

Modified:
  haskell-ci/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:23:24 UTC (rev 1156486)
+++ PKGBUILD2022-03-17 05:24:13 UTC (rev 1156487)
@@ -4,7 +4,7 @@
 _hkgname=haskell-ci
 pkgname=haskell-ci
 pkgver=0.12.1
-pkgrel=166
+pkgrel=167
 pkgdesc="Cabal package script generator for Travis-CI"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL")



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
1156485, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:23:24 UTC (rev 1156486)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.5.2.3
+pkgrel=139
+pkgdesc="Content addressable Haskell package management"
+url="https://github.com/commercialhaskell/pantry;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-digest' 'haskell-filelock' 
'haskell-generic-deriving'
+ 'haskell-hackage-security' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mono-traversable' 'haskell-network-uri' 'haskell-path' 
'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 'haskell-primitive' 
'haskell-resourcet'
+ 'haskell-rio' 'haskell-rio-orphans' 'haskell-rio-prettyprint' 
'haskell-tar-conduit'
+ 'haskell-text-metrics' 'haskell-unix-compat' 'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml' 
'haskell-zip-archive')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-quickcheck'
+ 'haskell-raw-strings-qq')
+checkdepends=('git' 'mercurial')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ecb1a1fb1116f97b8078028752b285557823ee9d870d9a5fb7620ebbbe1b41b870211755c1f39a915226c73ca07ba3b86a08a1b52644c2cfadd0dd3e5c8a')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+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-pantry/trunk (PKGBUILD)

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

upgpkg: haskell-pantry 0.5.2.3-139: rebuild with concurrent-output 1.10.15

Modified:
  haskell-pantry/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:20:37 UTC (rev 1156484)
+++ PKGBUILD2022-03-17 05:23:16 UTC (rev 1156485)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.5.2.3
-pkgrel=138
+pkgrel=139
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry;
 license=('BSD')



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:20:37
  Author: felixonmars
Revision: 1156484

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 1156483, haskell-yesod-persistent/trunk/PKGBUILD)

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

Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from 
rev 1156483, haskell-yesod-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:20:37 UTC (rev 1156484)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0.7
+pkgrel=152
+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-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:20:29
  Author: felixonmars
Revision: 1156483

upgpkg: haskell-yesod-persistent 1.6.0.7-152: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-yesod-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:19:59 UTC (rev 1156482)
+++ PKGBUILD2022-03-17 05:20:29 UTC (rev 1156483)
@@ -4,7 +4,7 @@
 _hkgname=yesod-persistent
 pkgname=haskell-yesod-persistent
 pkgver=1.6.0.7
-pkgrel=151
+pkgrel=152
 pkgdesc="Some helpers for using Persistent from Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:19:59
  Author: felixonmars
Revision: 1156482

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 1156481, haskell-persistent-qq/trunk/PKGBUILD)

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

Copied: haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
1156481, haskell-persistent-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:19:59 UTC (rev 1156482)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-qq
+pkgname=haskell-persistent-qq
+pkgver=2.12.0.1
+pkgrel=121
+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 haskell-persistent-qq/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:19:52
  Author: felixonmars
Revision: 1156481

upgpkg: haskell-persistent-qq 2.12.0.1-121: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-persistent-qq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:18:56 UTC (rev 1156480)
+++ PKGBUILD2022-03-17 05:19:52 UTC (rev 1156481)
@@ -3,7 +3,7 @@
 _hkgname=persistent-qq
 pkgname=haskell-persistent-qq
 pkgver=2.12.0.1
-pkgrel=120
+pkgrel=121
 pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
 url="https://github.com/yesod-web/persistent;
 license=('MIT')



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:18:56
  Author: felixonmars
Revision: 1156480

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 1156479, haskell-servant-client/trunk/PKGBUILD)

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

Copied: haskell-servant-client/repos/community-staging-x86_64/PKGBUILD (from 
rev 1156479, haskell-servant-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:18:56 UTC (rev 1156480)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=servant-client
+pkgname=haskell-servant-client
+pkgver=0.18.3
+pkgrel=117
+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 base-compat -u hspec -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-servant-client/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:18:49
  Author: felixonmars
Revision: 1156479

upgpkg: haskell-servant-client 0.18.3-117: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-servant-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:17:51 UTC (rev 1156478)
+++ PKGBUILD2022-03-17 05:18:49 UTC (rev 1156479)
@@ -3,7 +3,7 @@
 _hkgname=servant-client
 pkgname=haskell-servant-client
 pkgver=0.18.3
-pkgrel=116
+pkgrel=117
 pkgdesc="Automatic derivation of querying functions for servant"
 url="http://docs.servant.dev/;
 license=("BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:17:51
  Author: felixonmars
Revision: 1156478

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 1156477, haskell-wai-middleware-static/trunk/PKGBUILD)

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

Copied: haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD 
(from rev 1156477, haskell-wai-middleware-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:17:51 UTC (rev 1156478)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-middleware-static
+pkgname=haskell-wai-middleware-static
+pkgver=0.9.2
+pkgrel=11
+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-base16-bytestring' 'haskell-cryptohash-sha1'
+ '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=('fbfb57a64b9eabce3196c97a1727a533d9dc71fdf3e3a2316e6eb5edffc26b7c7f091b0ebc9144c129d3ec6bc452ddb846ef15e898d62507b4170f5354188be8')
+
+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-wai-middleware-static/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:17:43
  Author: felixonmars
Revision: 1156477

upgpkg: haskell-wai-middleware-static 0.9.2-11: rebuild with concurrent-output 
1.10.15

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:17:16 UTC (rev 1156476)
+++ PKGBUILD2022-03-17 05:17:43 UTC (rev 1156477)
@@ -4,7 +4,7 @@
 _hkgname=wai-middleware-static
 pkgname=haskell-wai-middleware-static
 pkgver=0.9.2
-pkgrel=10
+pkgrel=11
 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-shake/repos (2 files)

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

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 1156475, haskell-shake/trunk/PKGBUILD)

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 
1156475, haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:17:16 UTC (rev 1156476)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.5
+pkgrel=113
+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-shake/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:17:09
  Author: felixonmars
Revision: 1156475

upgpkg: haskell-shake 0.19.5-113: rebuild with concurrent-output 1.10.15

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:10:34 UTC (rev 1156474)
+++ PKGBUILD2022-03-17 05:17:09 UTC (rev 1156475)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.5
-pkgrel=112
+pkgrel=113
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com;
 license=("BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:10:34
  Author: felixonmars
Revision: 1156474

archrelease: copy trunk to community-staging-x86_64

Added:
  hoogle/repos/community-staging-x86_64/
  hoogle/repos/community-staging-x86_64/PKGBUILD
(from rev 1156473, hoogle/trunk/PKGBUILD)

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

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 1156473, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:10:34 UTC (rev 1156474)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.18.2
+pkgrel=88
+pkgdesc="Haskell API Search"
+url="https://www.haskell.org/hoogle/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cmdargs' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-connection' 'haskell-extra' 'haskell-foundation' 
'haskell-hashable'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-mmap' 'haskell-network' 'haskell-old-locale' 
'haskell-process-extras'
+ 'haskell-resourcet' 'haskell-src-exts' 'haskell-storable-tuple' 
'haskell-tar'
+ 'haskell-uniplate' 'haskell-utf8-string' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls' 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('933564b12ffc95a89610e00fc8c7b35c90ce45a732a3812b58a9173c821dcec2e44a6625fa9b8b369706ea5d6e823c075ad324ed6649a057356d22f824df')
+
+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" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 $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 hoogle/trunk (PKGBUILD)

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

upgpkg: hoogle 5.0.18.2-88: rebuild with concurrent-output 1.10.15

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:09:24 UTC (rev 1156472)
+++ PKGBUILD2022-03-17 05:10:27 UTC (rev 1156473)
@@ -3,7 +3,7 @@
 
 pkgname=hoogle
 pkgver=5.0.18.2
-pkgrel=87
+pkgrel=88
 pkgdesc="Haskell API Search"
 url="https://www.haskell.org/hoogle/;
 license=("BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:09:24
  Author: felixonmars
Revision: 1156472

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 1156471, haskell-hie-bios/trunk/PKGBUILD)

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

Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 
1156471, haskell-hie-bios/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:09:24 UTC (rev 1156472)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hie-bios
+pkgname=haskell-hie-bios
+pkgver=0.7.6
+pkgrel=62
+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-hie-bios/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:09:17
  Author: felixonmars
Revision: 1156471

upgpkg: haskell-hie-bios 0.7.6-62: rebuild with concurrent-output 1.10.15

Modified:
  haskell-hie-bios/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:08:11 UTC (rev 1156470)
+++ PKGBUILD2022-03-17 05:09:17 UTC (rev 1156471)
@@ -3,7 +3,7 @@
 _hkgname=hie-bios
 pkgname=haskell-hie-bios
 pkgver=0.7.6
-pkgrel=61
+pkgrel=62
 pkgdesc="Set up a GHC API session"
 url="https://github.com/mpickering/hie-bios;
 license=("BSD")



[arch-commits] Commit in haskell-cabal-install-parsers/repos (2 files)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:08:11
  Author: felixonmars
Revision: 1156470

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cabal-install-parsers/repos/community-staging-x86_64/
  haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD
(from rev 1156469, haskell-cabal-install-parsers/trunk/PKGBUILD)

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

Copied: haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD 
(from rev 1156469, haskell-cabal-install-parsers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:08:11 UTC (rev 1156470)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-install-parsers
+pkgname=haskell-cabal-install-parsers
+pkgver=0.4.2
+pkgrel=89
+pkgdesc="Utilities to work with cabal-install files"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL" "BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-binary-instances'
+ 'haskell-cryptohash-sha256' 'haskell-lukko' 'haskell-network-uri' 
'haskell-tar')
+makedepends=('ghc' 'uusi' 'haskell-ansi-terminal' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tree-diff')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f41dd0fe65994330aca0b372f96e370eeaf5b7f9909682aa7d394244e4144358b70e482b2d4cd54ba78068b202155fb6dacd38b81eadeaa877c6bc5bbf2ba8fb')
+
+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 \
+--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
+  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-cabal-install-parsers/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:08:04
  Author: felixonmars
Revision: 1156469

upgpkg: haskell-cabal-install-parsers 0.4.2-89: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-cabal-install-parsers/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:07:03 UTC (rev 1156468)
+++ PKGBUILD2022-03-17 05:08:04 UTC (rev 1156469)
@@ -3,7 +3,7 @@
 _hkgname=cabal-install-parsers
 pkgname=haskell-cabal-install-parsers
 pkgver=0.4.2
-pkgrel=88
+pkgrel=89
 pkgdesc="Utilities to work with cabal-install files"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL" "BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:07:03
  Author: felixonmars
Revision: 1156468

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
1156467, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:07:03 UTC (rev 1156468)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Maintainer: Caleb Maclennan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.14.0.0
+pkgrel=241
+pkgdesc="A static website compiler library"
+url="https://jaspervdj.be/hakyll;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' 'haskell-memory' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-random' 
'haskell-regex-tdfa'
+ 'haskell-resourcet' 'haskell-scientific' 'haskell-tagsoup' 
'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' 
'haskell-wai-app-static'
+ 'haskell-warp' 'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5f3f7a952b085cf1a59a646c15e42f29c89d4ed0a5a96f55156d19b86340c2361da6c19ff7a70bde98122423e237dc7082bfcc84bc5e96ab9421fdaef84a8cce')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u cryptonite -u file-embed -u memory -u optparse-applicative -u 
pandoc -u tasty -u template-haskell $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
+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
+LC_CTYPE=en_US.UTF-8 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-hakyll/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:06:56
  Author: felixonmars
Revision: 1156467

upgpkg: haskell-hakyll 4.14.0.0-241: rebuild with concurrent-output 1.10.15

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:06:09 UTC (rev 1156466)
+++ PKGBUILD2022-03-17 05:06:56 UTC (rev 1156467)
@@ -5,7 +5,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.14.0.0
-pkgrel=240
+pkgrel=241
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:06:09
  Author: felixonmars
Revision: 1156466

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 1156465, haskell-http-download/trunk/PKGBUILD)

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

Copied: haskell-http-download/repos/community-staging-x86_64/PKGBUILD (from rev 
1156465, haskell-http-download/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:06:09 UTC (rev 1156466)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-download
+pkgname=haskell-http-download
+pkgver=0.2.0.0
+pkgrel=415
+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-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:06:02
  Author: felixonmars
Revision: 1156465

upgpkg: haskell-http-download 0.2.0.0-415: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-http-download/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:05:28 UTC (rev 1156464)
+++ PKGBUILD2022-03-17 05:06:02 UTC (rev 1156465)
@@ -3,7 +3,7 @@
 _hkgname=http-download
 pkgname=haskell-http-download
 pkgver=0.2.0.0
-pkgrel=414
+pkgrel=415
 pkgdesc="Verified downloads with retries"
 url="https://github.com/commercialhaskell/http-download;
 license=('MIT')



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:05:28
  Author: felixonmars
Revision: 1156464

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 1156463, haskell-aws/trunk/PKGBUILD)

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

Copied: haskell-aws/repos/community-staging-x86_64/PKGBUILD (from rev 1156463, 
haskell-aws/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:05:28 UTC (rev 1156464)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aws
+pkgname=haskell-aws
+pkgver=0.22
+pkgrel=396
+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-aws/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:05:20
  Author: felixonmars
Revision: 1156463

upgpkg: haskell-aws 0.22-396: rebuild with concurrent-output 1.10.15

Modified:
  haskell-aws/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:04:01 UTC (rev 1156462)
+++ PKGBUILD2022-03-17 05:05:20 UTC (rev 1156463)
@@ -4,7 +4,7 @@
 _hkgname=aws
 pkgname=haskell-aws
 pkgver=0.22
-pkgrel=395
+pkgrel=396
 pkgdesc="Amazon Web Services (AWS) for Haskell"
 url="https://github.com/aristidb/aws;
 license=("BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:04:01
  Author: felixonmars
Revision: 1156462

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 1156461, haskell-casa-client/trunk/PKGBUILD)

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

Copied: haskell-casa-client/repos/community-staging-x86_64/PKGBUILD (from rev 
1156461, haskell-casa-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:04:01 UTC (rev 1156462)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=casa-client
+pkgname=haskell-casa-client
+pkgver=0.0.1
+pkgrel=414
+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 haskell-casa-client/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:03:54
  Author: felixonmars
Revision: 1156461

upgpkg: haskell-casa-client 0.0.1-414: rebuild with concurrent-output 1.10.15

Modified:
  haskell-casa-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 05:03:25 UTC (rev 1156460)
+++ PKGBUILD2022-03-17 05:03:54 UTC (rev 1156461)
@@ -3,7 +3,7 @@
 _hkgname=casa-client
 pkgname=haskell-casa-client
 pkgver=0.0.1
-pkgrel=413
+pkgrel=414
 pkgdesc="Content Addressable Storage Archive client"
 url="https://github.com/fpco/casa;
 license=('MIT')



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 05:03:25
  Author: felixonmars
Revision: 1156460

archrelease: copy trunk to community-staging-x86_64

Added:
  darcs/repos/community-staging-x86_64/
  darcs/repos/community-staging-x86_64/PKGBUILD
(from rev 1156459, darcs/trunk/PKGBUILD)

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

Copied: darcs/repos/community-staging-x86_64/PKGBUILD (from rev 1156459, 
darcs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 05:03:25 UTC (rev 1156460)
@@ -0,0 +1,69 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=darcs
+pkgver=2.16.4
+pkgrel=145
+pkgdesc="A distributed, interactive, smart revision control system"
+url="http://darcs.net;
+license=("GPL")
+arch=('x86_64')
+depends=('curl' 'ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-conduit' 'haskell-constraints' 'haskell-cryptonite' 
'haskell-data-ordlist'
+ 'haskell-fgl' 'haskell-hashable' 'haskell-html' 
'haskell-http-conduit' 'haskell-http-types'
+ 'haskell-knob' 'haskell-memory' 'haskell-mmap' 'haskell-network' 
'haskell-network-uri'
+ 'haskell-old-time' 'haskell-regex-applicative' 
'haskell-regex-compat-tdfa'
+ 'haskell-tar' 'haskell-temporary' 'haskell-unix-compat' 
'haskell-utf8-string'
+ 'haskell-vector' 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-cmdargs' 'haskell-findbin' 'haskell-hunit' 
'haskell-leancheck'
+ 'haskell-quickcheck' 'haskell-test-framework' 
'haskell-test-framework-hunit'
+ 'haskell-test-framework-leancheck' 
'haskell-test-framework-quickcheck2'
+ # Added for their bundled shelly
+ 'haskell-monad-control' 'haskell-system-filepath'
+ 'haskell-system-fileio' 'haskell-transformers-base')
+checkdepends=('bc' 'time')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('0f9a924d68416b660b86fd076d4f47915aba0e4a58bd92609e0f05f45913d6251109f3c477e20e0a517ca5fd35735b638690a8a0f7010a52e324c5a21a540a2a')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -e 's/^ghc /ghc -dynamic /' \
+-e 's/ ghc / ghc -dynamic /' \
+-i tests/*.sh tests/lib
+uusi $pkgname.cabal
+sed -i 's/canonizeSplit/(\\x y -> canonizeSplit x y)/' 
src/Darcs/UI/SelectChanges.hs
+}
+
+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 \
+-fcurl -fpkgconfig -f-static -fterminfo -fthreaded -fexecutable \
+-f-rts -foptimize -f-warn-as-error -f-libiconv
+LD_LIBRARY_PATH="$srcdir"/$pkgname-$pkgver/dist/build 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
+# Test failures are related to process-1.6.13
+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}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+chmod 644 "${pkgdir}/usr/share/man/man1/darcs.1"
+
+install -Dm644 contrib/darcs_completion 
"${pkgdir}/usr/share/bash-completion/completions/darcs"
+install -Dm644 contrib/_darcs.zsh 
"${pkgdir}/usr/share/zsh/site-functions/_darcs"
+}



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

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

upgpkg: darcs 2.16.4-145: rebuild with concurrent-output 1.10.15

Modified:
  darcs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:49:02 UTC (rev 1156458)
+++ PKGBUILD2022-03-17 05:03:17 UTC (rev 1156459)
@@ -3,7 +3,7 @@
 
 pkgname=darcs
 pkgver=2.16.4
-pkgrel=144
+pkgrel=145
 pkgdesc="A distributed, interactive, smart revision control system"
 url="http://darcs.net;
 license=("GPL")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:49:02
  Author: felixonmars
Revision: 1156458

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 1156457, 
xmobar/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:49:02 UTC (rev 1156458)
@@ -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=102
+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 xmobar/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:48:55
  Author: felixonmars
Revision: 1156457

upgpkg: xmobar 0.39-102: rebuild with concurrent-output 1.10.15

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:47:30 UTC (rev 1156456)
+++ PKGBUILD2022-03-17 04:48:55 UTC (rev 1156457)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.39
-pkgrel=101
+pkgrel=102
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:47:30
  Author: felixonmars
Revision: 1156456

archrelease: copy trunk to community-staging-x86_64

Added:
  taskell/repos/community-staging-x86_64/
  taskell/repos/community-staging-x86_64/PKGBUILD
(from rev 1156455, taskell/trunk/PKGBUILD)

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

Copied: taskell/repos/community-staging-x86_64/PKGBUILD (from rev 1156455, 
taskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:47:30 UTC (rev 1156456)
@@ -0,0 +1,44 @@
+# Maintainer: Jelle van der Waa https://hackage.haskell.org/package/$pkgname;
+depends=(ghc-libs haskell-aeson haskell-attoparsec haskell-brick 
haskell-config-ini haskell-file-embed haskell-fold-debounce haskell-http-client 
haskell-http-conduit haskell-http-types haskell-lens haskell-tz haskell-vty 
haskell-classy-prelude)
+makedepends=(ghc haskell-classy-prelude haskell-raw-strings-qq haskell-tasty 
haskell-tasty-discover haskell-tasty-expected-failure haskell-tasty-hunit)
+source=(https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('34d75d01c8e88fbbb932dbe6394e570b454156f1ad02173616616c493f65bfc5c4d28ed4089312410f8cb1760a523052fe132bfcd44b8bbf42e912fe9da2cc10')
+
+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 \
+--datasubdir=$pkgname \
+--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
+  runghc Setup.hs copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Doc only contains the license
+  rm -rf "$pkgdir/usr/share/doc"
+}
+
+# vim: ts=2 sw=2 et:



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

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

upgpkg: taskell 1.11.4-110: rebuild with concurrent-output 1.10.15

Modified:
  taskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:46:39 UTC (rev 1156454)
+++ PKGBUILD2022-03-17 04:47:23 UTC (rev 1156455)
@@ -2,7 +2,7 @@
 
 pkgname=taskell
 pkgver=1.11.4
-pkgrel=109
+pkgrel=110
 pkgdesc='A command-line kanban board/task manager'
 license=(BSD)
 arch=(x86_64)



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:46:31
  Author: felixonmars
Revision: 1156453

upgpkg: haskell-authenticate 1.3.5.1-19: rebuild with concurrent-output 1.10.15

Modified:
  haskell-authenticate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:46:05 UTC (rev 1156452)
+++ PKGBUILD2022-03-17 04:46:31 UTC (rev 1156453)
@@ -4,7 +4,7 @@
 _hkgname=authenticate
 pkgname=haskell-authenticate
 pkgver=1.3.5.1
-pkgrel=18
+pkgrel=19
 pkgdesc="Authentication methods for Haskell web applications."
 url="https://github.com/yesodweb/authenticate;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:46:39
  Author: felixonmars
Revision: 1156454

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-authenticate/repos/community-staging-x86_64/PKGBUILD (from rev 
1156453, haskell-authenticate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:46:39 UTC (rev 1156454)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=authenticate
+pkgname=haskell-authenticate
+pkgver=1.3.5.1
+pkgrel=19
+pkgdesc="Authentication methods for Haskell web applications."
+url="https://github.com/yesodweb/authenticate;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-conduit' 'haskell-html-conduit' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-network-uri' 'haskell-resourcet'
+ 'haskell-unordered-containers' 'haskell-xml-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('068d5e5bd5016d66d69da9442aa23ed1c5fc079933ffc5135f28a2974b4f6d2a29f67f7bdd8c3ce270be4eaed4b9fc11f43a0b218db653fa4802bc8f7ac30a55')
+
+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 \
+-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
+}
+
+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/repos (2 files)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:46:05
  Author: felixonmars
Revision: 1156452

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 1156451, haskell-persistent-sqlite/trunk/PKGBUILD)

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

Copied: haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD (from 
rev 1156451, haskell-persistent-sqlite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:46:05 UTC (rev 1156452)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent-sqlite
+pkgname=haskell-persistent-sqlite
+pkgver=2.13.0.3
+pkgrel=114
+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-persistent-sqlite/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:45:58
  Author: felixonmars
Revision: 1156451

upgpkg: haskell-persistent-sqlite 2.13.0.3-114: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-persistent-sqlite/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:45:00 UTC (rev 1156450)
+++ PKGBUILD2022-03-17 04:45:58 UTC (rev 1156451)
@@ -4,7 +4,7 @@
 _hkgname=persistent-sqlite
 pkgname=haskell-persistent-sqlite
 pkgver=2.13.0.3
-pkgrel=113
+pkgrel=114
 pkgdesc="Backend for the persistent library using sqlite3"
 url="https://www.yesodweb.com/book/persistent;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:45:00
  Author: felixonmars
Revision: 1156450

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 1156449, 
idris/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:45:00 UTC (rev 1156450)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=idris
+pkgver=1.3.3
+pkgrel=342
+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 idris/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:44:52
  Author: felixonmars
Revision: 1156449

upgpkg: idris 1.3.3-342: rebuild with concurrent-output 1.10.15

Modified:
  idris/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:34:23 UTC (rev 1156448)
+++ PKGBUILD2022-03-17 04:44:52 UTC (rev 1156449)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.3
-pkgrel=341
+pkgrel=342
 pkgdesc="Functional Programming Language with Dependent Types"
 url="https://www.idris-lang.org/;
 license=("BSD")



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

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

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 1156447, haskell-servant-server/trunk/PKGBUILD)

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

Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 1156447, haskell-servant-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:34:23 UTC (rev 1156448)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.18.3
+pkgrel=115
+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' 'uusi' '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')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u base-compat -u hspec $_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-servant-server/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:34:16
  Author: felixonmars
Revision: 1156447

upgpkg: haskell-servant-server 0.18.3-115: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-servant-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:33:16 UTC (rev 1156446)
+++ PKGBUILD2022-03-17 04:34:16 UTC (rev 1156447)
@@ -4,7 +4,7 @@
 _hkgname=servant-server
 pkgname=haskell-servant-server
 pkgver=0.18.3
-pkgrel=114
+pkgrel=115
 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-scotty/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:33:07
  Author: felixonmars
Revision: 1156445

upgpkg: haskell-scotty 0.12-255: rebuild with concurrent-output 1.10.15

Modified:
  haskell-scotty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:32:28 UTC (rev 1156444)
+++ PKGBUILD2022-03-17 04:33:07 UTC (rev 1156445)
@@ -3,7 +3,7 @@
 _hkgname=scotty
 pkgname=haskell-scotty
 pkgver=0.12
-pkgrel=254
+pkgrel=255
 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-scotty/repos (2 files)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:33:16
  Author: felixonmars
Revision: 1156446

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 1156445, haskell-scotty/trunk/PKGBUILD)

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
1156445, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:33:16 UTC (rev 1156446)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=255
+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-hspec-wai-json/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:32:21
  Author: felixonmars
Revision: 1156443

upgpkg: haskell-hspec-wai-json 0.11.0-246: rebuild with concurrent-output 
1.10.15

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:31:56 UTC (rev 1156442)
+++ PKGBUILD2022-03-17 04:32:21 UTC (rev 1156443)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai-json
 pkgname=haskell-hspec-wai-json
 pkgver=0.11.0
-pkgrel=245
+pkgrel=246
 pkgdesc="Testing JSON APIs with hspec-wai"
 url="https://github.com/hspec/hspec-wai;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:32:28
  Author: felixonmars
Revision: 1156444

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 1156443, 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 1156443, haskell-hspec-wai-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:32:28 UTC (rev 1156444)
@@ -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=246
+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-js-jquery/repos (2 files)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:31:56
  Author: felixonmars
Revision: 1156442

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 1156441, haskell-js-jquery/trunk/PKGBUILD)

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

Copied: haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD (from rev 
1156441, haskell-js-jquery/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:31:56 UTC (rev 1156442)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=js-jquery
+pkgname=haskell-js-jquery
+pkgver=3.3.1
+pkgrel=771
+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-js-jquery/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:31:48
  Author: felixonmars
Revision: 1156441

upgpkg: haskell-js-jquery 3.3.1-771: rebuild with concurrent-output 1.10.15

Modified:
  haskell-js-jquery/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:31:28 UTC (rev 1156440)
+++ PKGBUILD2022-03-17 04:31:48 UTC (rev 1156441)
@@ -4,7 +4,7 @@
 _hkgname=js-jquery
 pkgname=haskell-js-jquery
 pkgver=3.3.1
-pkgrel=770
+pkgrel=771
 pkgdesc="Obtain minified jQuery code"
 url="https://github.com/ndmitchell/js-jquery#readme;
 license=("MIT")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:31:28
  Author: felixonmars
Revision: 1156440

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 1156439, cabal-install/trunk/PKGBUILD)
  
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
(from rev 1156439, 
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 
1156439, cabal-install/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:31:28 UTC (rev 1156440)
@@ -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=115
+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 -u hashable $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 1156439, 
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-03-17 04:31:28 UTC (rev 1156440)
@@ -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 @@ 

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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:31:19
  Author: felixonmars
Revision: 1156439

upgpkg: cabal-install 3.4.0.0-115: rebuild with concurrent-output 1.10.15

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:30:15 UTC (rev 1156438)
+++ PKGBUILD2022-03-17 04:31:19 UTC (rev 1156439)
@@ -5,7 +5,7 @@
 
 pkgname=cabal-install
 pkgver=3.4.0.0
-pkgrel=114
+pkgrel=115
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="https://hackage.haskell.org/package/cabal-install;
 license=('BSD')



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:30:15
  Author: felixonmars
Revision: 1156438

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 1156437, haskell-http-conduit/trunk/PKGBUILD)

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

Copied: haskell-http-conduit/repos/community-staging-x86_64/PKGBUILD (from rev 
1156437, haskell-http-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:30:15 UTC (rev 1156438)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-conduit
+pkgname=haskell-http-conduit
+pkgver=2.3.8
+pkgrel=160
+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-http-conduit/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:30:07
  Author: felixonmars
Revision: 1156437

upgpkg: haskell-http-conduit 2.3.8-160: rebuild with concurrent-output 1.10.15

Modified:
  haskell-http-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:29:25 UTC (rev 1156436)
+++ PKGBUILD2022-03-17 04:30:07 UTC (rev 1156437)
@@ -4,7 +4,7 @@
 _hkgname=http-conduit
 pkgname=haskell-http-conduit
 pkgver=2.3.8
-pkgrel=159
+pkgrel=160
 pkgdesc="HTTP client package with conduit interface and HTTPS support"
 url="https://www.yesodweb.com/book/http-conduit;
 license=("BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:29:25
  Author: felixonmars
Revision: 1156436

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 1156435, hopenpgp-tools/trunk/PKGBUILD)

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
1156435, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:29:25 UTC (rev 1156436)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.23.6
+pkgrel=232
+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 hopenpgp-tools/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:29:18
  Author: felixonmars
Revision: 1156435

upgpkg: hopenpgp-tools 0.23.6-232: rebuild with concurrent-output 1.10.15

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:28:30 UTC (rev 1156434)
+++ PKGBUILD2022-03-17 04:29:18 UTC (rev 1156435)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.6
-pkgrel=231
+pkgrel=232
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools;
 license=("AGPL3")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:28:30
  Author: felixonmars
Revision: 1156434

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 1156433, haskell-persistent-test/trunk/PKGBUILD)

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

Copied: haskell-persistent-test/repos/community-staging-x86_64/PKGBUILD (from 
rev 1156433, haskell-persistent-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:28:30 UTC (rev 1156434)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-test
+pkgname=haskell-persistent-test
+pkgver=2.13.0.3
+pkgrel=112
+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-persistent-test/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:28:21
  Author: felixonmars
Revision: 1156433

upgpkg: haskell-persistent-test 2.13.0.3-112: rebuild with concurrent-output 
1.10.15

Modified:
  haskell-persistent-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:27:02 UTC (rev 1156432)
+++ PKGBUILD2022-03-17 04:28:21 UTC (rev 1156433)
@@ -3,7 +3,7 @@
 _hkgname=persistent-test
 pkgname=haskell-persistent-test
 pkgver=2.13.0.3
-pkgrel=111
+pkgrel=112
 pkgdesc="Tests for Persistent"
 url="https://github.com/yesodweb/persistent;
 license=('MIT')



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

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

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 1156431, haskell-casa-types/trunk/PKGBUILD)

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

Copied: haskell-casa-types/repos/community-staging-x86_64/PKGBUILD (from rev 
1156431, haskell-casa-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:27:02 UTC (rev 1156432)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=casa-types
+pkgname=haskell-casa-types
+pkgver=0.0.2
+pkgrel=211
+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-casa-types/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:26:54
  Author: felixonmars
Revision: 1156431

upgpkg: haskell-casa-types 0.0.2-211: rebuild with concurrent-output 1.10.15

Modified:
  haskell-casa-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:26:28 UTC (rev 1156430)
+++ PKGBUILD2022-03-17 04:26:54 UTC (rev 1156431)
@@ -3,7 +3,7 @@
 _hkgname=casa-types
 pkgname=haskell-casa-types
 pkgver=0.0.2
-pkgrel=210
+pkgrel=211
 pkgdesc="Content Addressable Storage Archive types"
 url="https://github.com/fpco/casa;
 license=('MIT')



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:26:28
  Author: felixonmars
Revision: 1156430

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cheapskate/repos/community-staging-x86_64/PKGBUILD (from rev 
1156429, haskell-cheapskate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:26:28 UTC (rev 1156430)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cheapskate
+pkgname=haskell-cheapskate
+pkgver=0.1.1.2
+pkgrel=410
+pkgdesc="Experimental markdown processor."
+url="https://github.com/jgm/cheapskate;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-blaze-html" 
"haskell-data-default" "haskell-http-types"
+ "haskell-syb" "haskell-uniplate" "haskell-wai"
+ "haskell-wai-extra" "haskell-xss-sanitize")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b671ada413b8bd90f28b008c7bada4b744dedac2c7711090f1148dfa1643f7843f44e56c9a5a99fd0f71ded8393a0095b04fbdf73f70a707698dc9fb76ed1b45')
+
+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 \
+-fdingus
+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-cheapskate/trunk (PKGBUILD)

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:26:21
  Author: felixonmars
Revision: 1156429

upgpkg: haskell-cheapskate 0.1.1.2-410: rebuild with concurrent-output 1.10.15

Modified:
  haskell-cheapskate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:25:35 UTC (rev 1156428)
+++ PKGBUILD2022-03-17 04:26:21 UTC (rev 1156429)
@@ -4,7 +4,7 @@
 _hkgname=cheapskate
 pkgname=haskell-cheapskate
 pkgver=0.1.1.2
-pkgrel=409
+pkgrel=410
 pkgdesc="Experimental markdown processor."
 url="https://github.com/jgm/cheapskate;
 license=("BSD")



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

2022-03-16 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 04:25:35
  Author: felixonmars
Revision: 1156428

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 1156427, haskell-wai-app-static/trunk/PKGBUILD)

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

Copied: haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD (from 
rev 1156427, haskell-wai-app-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 04:25:35 UTC (rev 1156428)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-app-static
+pkgname=haskell-wai-app-static
+pkgver=3.1.7.3
+pkgrel=15
+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' 'haskell-hspec' 'haskell-mockery' 'haskell-network' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ce360d2cc5e9d7a27934220e8851d82f8d7cf29f97f56241877a210e3f904ea7795bc0eb7859d5b08289e2ae6440d82fc525ec5c8aad50c737b68f8b12ba1f2b')
+
+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-app-static/trunk (PKGBUILD)

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

upgpkg: haskell-wai-app-static 3.1.7.3-15: rebuild with concurrent-output 
1.10.15

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-03-17 04:24:55 UTC (rev 1156426)
+++ PKGBUILD2022-03-17 04:25:27 UTC (rev 1156427)
@@ -4,7 +4,7 @@
 _hkgname=wai-app-static
 pkgname=haskell-wai-app-static
 pkgver=3.1.7.3
-pkgrel=14
+pkgrel=15
 pkgdesc="WAI application for static serving"
 url="https://www.yesodweb.com/book/web-application-interface;
 license=("MIT")



  1   2   3   4   5   6   7   8   9   10   >