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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:21:09
  Author: felixonmars
Revision: 951773

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 951772, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:21:09 UTC (rev 951773)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.18.1
+pkgrel=115
+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=('00abbcf557824c604abbd5e9d27a5ca3d4a89e943888b6eef70dea46b8f786dfc851cb1c8f1531c808f4b71b34d3899258f3b009b0a38a385fc5c393a914da17')
+
+build() {
+cd "${srcdir}/${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='-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 "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:46:23
  Author: felixonmars
Revision: 951776

upgpkg: haskell-authenticate 1.3.5-343: rebuild with unliftio 0.2.16

Modified:
  haskell-authenticate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:45:50 UTC (rev 951775)
+++ PKGBUILD2021-05-31 05:46:23 UTC (rev 951776)
@@ -4,7 +4,7 @@
 _hkgname=authenticate
 pkgname=haskell-authenticate
 pkgver=1.3.5
-pkgrel=342
+pkgrel=343
 pkgdesc="Authentication methods for Haskell web applications."
 url="https://github.com/yesodweb/authenticate;
 license=("MIT")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:45:50
  Author: felixonmars
Revision: 951775

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: darcs/repos/community-staging-x86_64/PKGBUILD (from rev 951774, 
darcs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:45:50 UTC (rev 951775)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=darcs
+pkgver=2.16.4
+pkgrel=9
+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-exceptions' '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
+}
+
+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 \
+-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
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+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 haskell-authenticate/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:46:33
  Author: felixonmars
Revision: 951777

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 951776, haskell-authenticate/trunk/PKGBUILD)

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

Copied: haskell-authenticate/repos/community-staging-x86_64/PKGBUILD (from rev 
951776, haskell-authenticate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:46:33 UTC (rev 951777)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=authenticate
+pkgname=haskell-authenticate
+pkgver=1.3.5
+pkgrel=343
+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=('12962fcf71c732a7e709e7069d46691917b9ee9f2af6aab5556b76a4556b6ffc39e52082a4fcdbe501c2cbc7cc496b1164b6a9f2c3883597fcdd0a8298d4ac1a')
+
+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 \
+-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 darcs/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:45:40
  Author: felixonmars
Revision: 951774

upgpkg: darcs 2.16.4-9: rebuild with unliftio 0.2.16

Modified:
  darcs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:21:09 UTC (rev 951773)
+++ PKGBUILD2021-05-31 05:45:40 UTC (rev 951774)
@@ -3,7 +3,7 @@
 
 pkgname=darcs
 pkgver=2.16.4
-pkgrel=8
+pkgrel=9
 pkgdesc="A distributed, interactive, smart revision control system"
 url="http://darcs.net;
 license=("GPL")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:18:48
  Author: felixonmars
Revision: 951769

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: taskell/repos/community-staging-x86_64/PKGBUILD (from rev 951768, 
taskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:18:48 UTC (rev 951769)
@@ -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=('89eb3c87e8f74c9719e87fb2303fd66bd0133ba0414f109282b29511b8b5e7efc51f8a263be769892012ac46857a4945e73bb544f4e75c55ef0d72ed05845878')
+
+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=-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 hoogle/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:20:59
  Author: felixonmars
Revision: 951772

upgpkg: hoogle 5.0.18.1-115: rebuild with unliftio 0.2.16

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:20:02 UTC (rev 951771)
+++ PKGBUILD2021-05-31 05:20:59 UTC (rev 951772)
@@ -3,7 +3,7 @@
 
 pkgname=hoogle
 pkgver=5.0.18.1
-pkgrel=114
+pkgrel=115
 pkgdesc="Haskell API Search"
 url="https://www.haskell.org/hoogle/;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:20:02
  Author: felixonmars
Revision: 951771

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 951770, 
xmobar/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:20:02 UTC (rev 951771)
@@ -0,0 +1,64 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributer: Sergej Pupykin 
+# Contributor: Arch Haskell Team 
+
+pkgname=xmobar
+pkgver=0.38
+pkgrel=2
+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-stm' 'haskell-parsec' 
'haskell-parsec-numbers'
+ 'haskell-mtl' 'haskell-regex-base' 'haskell-regex-compat'
+ 'haskell-http' 'haskell-dbus' 'haskell-libmpd' 'haskell-cereal' 
'haskell-netlink'
+ 'haskell-text' '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' 'haskell-hspec' 'haskell-temporary')
+source=(https://github.com/jaor/xmobar/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('6dd142496e71f0e4b222d0b88f4518fe0544d52122ed3b474f6f55c34a0e9c61bf25121c50efbcab481847ca00045f06de1cb5bda0c78c9bc303473a8cac656a')
+
+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=-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)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:19:51
  Author: felixonmars
Revision: 951770

upgpkg: xmobar 0.38-2: rebuild with unliftio 0.2.16

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:18:48 UTC (rev 951769)
+++ PKGBUILD2021-05-31 05:19:51 UTC (rev 951770)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.38
-pkgrel=1
+pkgrel=2
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:18:38
  Author: felixonmars
Revision: 951768

upgpkg: taskell 1.11.0-27: rebuild with unliftio 0.2.16

Modified:
  taskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:17:46 UTC (rev 951767)
+++ PKGBUILD2021-05-31 05:18:38 UTC (rev 951768)
@@ -2,7 +2,7 @@
 
 pkgname=taskell
 pkgver=1.11.0
-pkgrel=26
+pkgrel=27
 pkgdesc='A command-line kanban board/task manager'
 license=(BSD)
 arch=(x86_64)


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:17:46
  Author: felixonmars
Revision: 951767

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

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

Copied: haskell-aws/repos/community-staging-x86_64/PKGBUILD (from rev 951766, 
haskell-aws/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:17:46 UTC (rev 951767)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aws
+pkgname=haskell-aws
+pkgver=0.22
+pkgrel=275
+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 \
+-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)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:17:35
  Author: felixonmars
Revision: 951766

upgpkg: haskell-aws 0.22-275: rebuild with unliftio 0.2.16

Modified:
  haskell-aws/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:16:17 UTC (rev 951765)
+++ PKGBUILD2021-05-31 05:17:35 UTC (rev 951766)
@@ -4,7 +4,7 @@
 _hkgname=aws
 pkgname=haskell-aws
 pkgver=0.22
-pkgrel=274
+pkgrel=275
 pkgdesc="Amazon Web Services (AWS) for Haskell"
 url="https://github.com/aristidb/aws;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:16:17
  Author: felixonmars
Revision: 951765

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

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

Copied: haskell-http-conduit/repos/community-staging-x86_64/PKGBUILD (from rev 
951764, haskell-http-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:16:17 UTC (rev 951765)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-conduit
+pkgname=haskell-http-conduit
+pkgver=2.3.8
+pkgrel=39
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:16:07
  Author: felixonmars
Revision: 951764

upgpkg: haskell-http-conduit 2.3.8-39: rebuild with unliftio 0.2.16

Modified:
  haskell-http-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:15:24 UTC (rev 951763)
+++ PKGBUILD2021-05-31 05:16:07 UTC (rev 951764)
@@ -4,7 +4,7 @@
 _hkgname=http-conduit
 pkgname=haskell-http-conduit
 pkgver=2.3.8
-pkgrel=38
+pkgrel=39
 pkgdesc="HTTP client package with conduit interface and HTTPS support"
 url="https://www.yesodweb.com/book/http-conduit;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:15:24
  Author: felixonmars
Revision: 951763

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-warp-tls/repos/community-staging-x86_64/PKGBUILD (from rev 
951762, haskell-warp-tls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:15:24 UTC (rev 951763)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp-tls
+pkgname=haskell-warp-tls
+pkgver=3.3.1
+pkgrel=3
+pkgdesc="HTTP over TLS support for Warp via the TLS package"
+url="https://github.com/yesodweb/wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-cryptonite" "haskell-data-default-class" 
"haskell-network"
+ "haskell-streaming-commons" "haskell-tls" 
"haskell-tls-session-manager" "haskell-unliftio"
+ "haskell-wai" "haskell-warp")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d13699f89f1e485cb4ad284b8c0b31a66476db17104f640a20f0c96eca6b5c6fa2b44f013e812bea16135e1bb8e24835b0010e9e553d34e1eccdb52b384ac1bc')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:14:38
  Author: felixonmars
Revision: 951760

upgpkg: haskell-wai-middleware-static 0.9.0-138: rebuild with unliftio 0.2.16

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:14:08 UTC (rev 951759)
+++ PKGBUILD2021-05-31 05:14:38 UTC (rev 951760)
@@ -4,7 +4,7 @@
 _hkgname=wai-middleware-static
 pkgname=haskell-wai-middleware-static
 pkgver=0.9.0
-pkgrel=137
+pkgrel=138
 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-warp-tls/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:15:14
  Author: felixonmars
Revision: 951762

upgpkg: haskell-warp-tls 3.3.1-3: rebuild with unliftio 0.2.16

Modified:
  haskell-warp-tls/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:14:48 UTC (rev 951761)
+++ PKGBUILD2021-05-31 05:15:14 UTC (rev 951762)
@@ -4,7 +4,7 @@
 _hkgname=warp-tls
 pkgname=haskell-warp-tls
 pkgver=3.3.1
-pkgrel=2
+pkgrel=3
 pkgdesc="HTTP over TLS support for Warp via the TLS package"
 url="https://github.com/yesodweb/wai;
 license=("MIT")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:14:48
  Author: felixonmars
Revision: 951761

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

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

Copied: haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD 
(from rev 951760, haskell-wai-middleware-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:14:48 UTC (rev 951761)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-middleware-static
+pkgname=haskell-wai-middleware-static
+pkgver=0.9.0
+pkgrel=138
+pkgdesc="WAI middleware that serves requests to static files"
+url="https://github.com/scotty-web/wai-middleware-static;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cryptonite' 'haskell-memory' 
'haskell-expiring-cache-map'
+ 'haskell-http-types' 'haskell-mime-types' 'haskell-old-locale' 
'haskell-wai')
+makedepends=('ghc' '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=('4833afa649ed2e9604f396481dbf5e1f4d96db841fb9c300a9c0b66641241c12c14d8e010860626a3d4bf00507fa0b28b5480d37ac1f8d6daa1c3e96685b654c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' $_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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:14:08
  Author: felixonmars
Revision: 951759

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
951758, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:14:08 UTC (rev 951759)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=138
+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=-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-scotty/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:13:58
  Author: felixonmars
Revision: 951758

upgpkg: haskell-scotty 0.12-138: rebuild with unliftio 0.2.16

Modified:
  haskell-scotty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:13:20 UTC (rev 951757)
+++ PKGBUILD2021-05-31 05:13:58 UTC (rev 951758)
@@ -3,7 +3,7 @@
 _hkgname=scotty
 pkgname=haskell-scotty
 pkgver=0.12
-pkgrel=137
+pkgrel=138
 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-wai-handler-launch/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:13:20
  Author: felixonmars
Revision: 951757

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:13:10
  Author: felixonmars
Revision: 951756

upgpkg: haskell-wai-handler-launch 3.0.3.1-272: rebuild with unliftio 0.2.16

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:12:43 UTC (rev 951755)
+++ PKGBUILD2021-05-31 05:13:10 UTC (rev 951756)
@@ -4,7 +4,7 @@
 _hkgname=wai-handler-launch
 pkgname=haskell-wai-handler-launch
 pkgver=3.0.3.1
-pkgrel=271
+pkgrel=272
 pkgdesc="Launch a web app in the default browser."
 url="https://github.com/yesodweb/wai;
 license=("MIT")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:12:43
  Author: felixonmars
Revision: 951755

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

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 951754, 
haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:12:43 UTC (rev 951755)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.4
+pkgrel=88
+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=('11e1598bbdc8d747615ea00bc8b2dd6b1a6c8402e488b437027b4b5cb8f60b0847327a41f3c220b04b1849267b1bb2ed24cc5ccbb3aeecca3213f1e29de2e575')
+
+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 \
+-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-servant/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:15:37
  Author: felixonmars
Revision: 951685

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant/repos/community-staging-x86_64/PKGBUILD (from rev 
951684, haskell-servant/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:15:37 UTC (rev 951685)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant
+pkgname=haskell-servant
+pkgver=0.18.2
+pkgrel=60
+pkgdesc="A family of combinators for defining webservices APIs"
+url="http://haskell-servant.readthedocs.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 'haskell-attoparsec'
+ 'haskell-bifunctors' 'haskell-case-insensitive' 
'haskell-http-api-data'
+ 'haskell-http-media' 'haskell-http-types' 'haskell-mmorph' 
'haskell-network-uri'
+ 'haskell-quickcheck' 'haskell-tagged' 'haskell-sop-core' 
'haskell-singleton-bool'
+ 'haskell-string-conversions' 'haskell-vault')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('97214847dc3a66d167be93ae28ab711058652b7b0201a14e7b2093b34b21c731f359f2022a6dea2a1f78ba6f27d1ea78332e5b64a03200b6c5e73c1bc44a0c88')
+
+prepare() {
+uusi -u attoparsec -u hspec -u http-api-data -u singleton-bool 
$_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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:12:31
  Author: felixonmars
Revision: 951754

upgpkg: haskell-shake 0.19.4-88: rebuild with unliftio 0.2.16

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:06:07 UTC (rev 951753)
+++ PKGBUILD2021-05-31 05:12:31 UTC (rev 951754)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.4
-pkgrel=87
+pkgrel=88
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:14:14
  Author: felixonmars
Revision: 951681

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-jose/repos/community-staging-x86_64/PKGBUILD (from rev 951680, 
haskell-jose/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:14:14 UTC (rev 951681)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=jose
+pkgname=haskell-jose
+pkgver=0.8.4
+pkgrel=130
+pkgdesc="Javascript Object Signing and Encryption and JSON Web Token library"
+url="https://github.com/frasertweedale/hs-jose;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-concise'
+ 'haskell-cryptonite' 'haskell-lens' 'haskell-memory' 
'haskell-monad-time'
+ 'haskell-safe' 'haskell-aeson' 'haskell-unordered-containers' 
'haskell-network-uri'
+ 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-x509' 
'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4141e8f48b97b0d801fab576c3098b95dc1cc9b7c98815cff6bd62324aa2c6d5a4648734d14a00ef08aa36c523befdc6cb7dfdadb9d92d0dce2b434ef8165882')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:14:04
  Author: felixonmars
Revision: 951680

upgpkg: haskell-jose 0.8.4-130: rebuild with unliftio 0.2.16

Modified:
  haskell-jose/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:13:22 UTC (rev 951679)
+++ PKGBUILD2021-05-31 04:14:04 UTC (rev 951680)
@@ -4,7 +4,7 @@
 _hkgname=jose
 pkgname=haskell-jose
 pkgver=0.8.4
-pkgrel=129
+pkgrel=130
 pkgdesc="Javascript Object Signing and Encryption and JSON Web Token library"
 url="https://github.com/frasertweedale/hs-jose;
 license=("Apache")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:14:53
  Author: felixonmars
Revision: 951683

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-criterion-measurement/repos/community-staging-x86_64/
  haskell-criterion-measurement/repos/community-staging-x86_64/PKGBUILD
(from rev 951682, haskell-criterion-measurement/trunk/PKGBUILD)

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

Copied: haskell-criterion-measurement/repos/community-staging-x86_64/PKGBUILD 
(from rev 951682, haskell-criterion-measurement/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:14:53 UTC (rev 951683)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=criterion-measurement
+pkgname=haskell-criterion-measurement
+pkgver=0.1.2.0
+pkgrel=169
+pkgdesc="Criterion measurement functionality and associated types"
+url="https://github.com/bos/criterion;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat' 'haskell-vector')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('d82196d0b4a501795e8f3498b17db89c5febf6cfd2131da262aacc7b268248bb21c7d4e6530789a40a47c4e74e28e34ab5ff3477b2e28f54ddafd01e7cd5993a')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-structured/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:13:03
  Author: felixonmars
Revision: 951678

upgpkg: haskell-structured 0.1.0.1-23: rebuild with unliftio 0.2.16

Modified:
  haskell-structured/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:12:17 UTC (rev 951677)
+++ PKGBUILD2021-05-31 04:13:03 UTC (rev 951678)
@@ -3,7 +3,7 @@
 _hkgname=structured
 pkgname=haskell-structured
 pkgver=0.1.0.1
-pkgrel=22
+pkgrel=23
 pkgdesc="Structure (hash) of your data types"
 url="https://github.com/phadej/binary-tagged;
 license=('BSD')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:14:43
  Author: felixonmars
Revision: 951682

upgpkg: haskell-criterion-measurement 0.1.2.0-169: rebuild with unliftio 0.2.16

Modified:
  haskell-criterion-measurement/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:14:14 UTC (rev 951681)
+++ PKGBUILD2021-05-31 04:14:43 UTC (rev 951682)
@@ -3,7 +3,7 @@
 _hkgname=criterion-measurement
 pkgname=haskell-criterion-measurement
 pkgver=0.1.2.0
-pkgrel=168
+pkgrel=169
 pkgdesc="Criterion measurement functionality and associated types"
 url="https://github.com/bos/criterion;
 license=('MIT')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:15:27
  Author: felixonmars
Revision: 951684

upgpkg: haskell-servant 0.18.2-60: rebuild with unliftio 0.2.16

Modified:
  haskell-servant/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:14:53 UTC (rev 951683)
+++ PKGBUILD2021-05-31 04:15:27 UTC (rev 951684)
@@ -4,7 +4,7 @@
 _hkgname=servant
 pkgname=haskell-servant
 pkgver=0.18.2
-pkgrel=59
+pkgrel=60
 pkgdesc="A family of combinators for defining webservices APIs"
 url="http://haskell-servant.readthedocs.org/;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:12:17
  Author: felixonmars
Revision: 951677

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-aeson/repos/community-staging-x86_64/PKGBUILD (from rev 951676, 
haskell-aeson/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:12:17 UTC (rev 951677)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-aeson
+_hkgname=aeson
+pkgver=1.5.6.0
+pkgrel=29
+pkgdesc="A JSON parsing and encoding library optimized for ease of use and 
high performance."
+url="https://github.com/haskell/aeson;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-compat-batteries' 
'haskell-data-fix'
+ 'haskell-dlist' 'haskell-hashable' 'haskell-primitive' 
'haskell-scientific'
+ 'haskell-strict' 'haskell-tagged' 'haskell-th-abstraction' 
'haskell-these'
+ 'haskell-time-compat' 'haskell-unordered-containers' 
'haskell-uuid-types' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-integer-logarithms'
+ 'haskell-base-orphans' 'haskell-base16-bytestring' 'haskell-diff'
+ 'haskell-generic-deriving' 'haskell-hashable-time' 'haskell-tasty'
+ 'haskell-tasty-golden' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+sha512sums=('31e0339945aec6d84aec230c09001fe6e7926f008d3444d12264bb323d0a050515303fdc8eeb6563733594209d930cdd2f82eb4dfe4dd4d5c573748aaa71813d')
+
+prepare() {
+  uusi -u attoparsec -u hashable-time $_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 \
+-f-developer -f-fast -f-cffi
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:13:22
  Author: felixonmars
Revision: 951679

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-structured/repos/community-staging-x86_64/PKGBUILD (from rev 
951678, haskell-structured/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:13:22 UTC (rev 951679)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=structured
+pkgname=haskell-structured
+pkgver=0.1.0.1
+pkgrel=23
+pkgdesc="Structure (hash) of your data types"
+url="https://github.com/phadej/binary-tagged;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-hashable'
+ 'haskell-scientific' 'haskell-tagged' 'haskell-time-compat' 
'haskell-unordered-containers'
+ 'haskell-uuid-types' 'haskell-vector')
+makedepends=('ghc' 'uusi')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('511331a7728dfd3e1ad421f90e3128ae92a3e5e9b616d45f71892f24267d29502c67fe43e80c105adf8d34dbbb7d6f39febe0c4c6d877492d1b0427e0a89c096')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:05:33
  Author: felixonmars
Revision: 951751

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 951750, cabal-install/trunk/PKGBUILD)
  
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
(from rev 951750, 
cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)
  cabal-install/repos/community-staging-x86_64/cabal-install-ghc8.10.patch
(from rev 951750, cabal-install/trunk/cabal-install-ghc8.10.patch)

--+
 PKGBUILD |   49 +++
 cabal-install-base16-bytestring1.0.patch |   38 ++
 cabal-install-ghc8.10.patch  |  393 +
 3 files changed, 480 insertions(+)

Copied: cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 951750, 
cabal-install/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:05:33 UTC (rev 951751)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=cabal-install
+pkgver=3.2.0.0
+pkgrel=238
+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' 'haskell-network-uri' 
'haskell-random' 'haskell-resolv'
+ 'haskell-tar' 'haskell-zlib' 'haskell-lukko')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;
+$pkgname-ghc8.10.patch
+$pkgname-base16-bytestring1.0.patch)
+sha512sums=('ad937b2df42b688e4608aa2b91a25daf1042e5573626202e5182cbfeca9acc5933194853405a6396c60d0d28d6d0d5c5276fd85cb6acf4be2c8cd12afe747062'
+
'1adb0494c389acd6176311cd628093dd076a84526963607d485b9aed2ec2d933aa825776678cd1c568b58511e583ae592872a33bce11303d857fb0f172894dd3'
+
'391356a85d78a147a909e9dee5981b46b1f2c5ffa251c070f3bef700d8ac490e02f5fa45ea9674f5fb4e3d3067809dfd72494753dc5d20b01e64c11d6320367f')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p2 -i ../$pkgname-ghc8.10.patch
+patch -p2 -i ../$pkgname-base16-bytestring1.0.patch
+sed -i 's/< *1.2/<2/' $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 951750, 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   
2021-05-31 05:05:33 UTC (rev 951751)
@@ -0,0 +1,38 @@
+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/cabal-install.cabal 
b/cabal-install/cabal-install.cabal
+index ee49fe245..6d423fdb3 100644
+--- a/cabal-install/cabal-install.cabal
 b/cabal-install/cabal-install.cabal
+@@ -319,7 +319,7 @@ executable cabal
+

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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:11:59
  Author: felixonmars
Revision: 951676

upgpkg: haskell-aeson 1.5.6.0-29: rebuild with unliftio 0.2.16

Modified:
  haskell-aeson/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:08:58 UTC (rev 951675)
+++ PKGBUILD2021-05-31 04:11:59 UTC (rev 951676)
@@ -5,7 +5,7 @@
 pkgname=haskell-aeson
 _hkgname=aeson
 pkgver=1.5.6.0
-pkgrel=28
+pkgrel=29
 pkgdesc="A JSON parsing and encoding library optimized for ease of use and 
high performance."
 url="https://github.com/haskell/aeson;
 license=("GPL")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:06:07
  Author: felixonmars
Revision: 951753

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

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

Copied: haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD (from rev 
951752, haskell-js-jquery/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:06:07 UTC (rev 951753)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=js-jquery
+pkgname=haskell-js-jquery
+pkgver=3.3.1
+pkgrel=655
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:05:56
  Author: felixonmars
Revision: 951752

upgpkg: haskell-js-jquery 3.3.1-655: rebuild with unliftio 0.2.16

Modified:
  haskell-js-jquery/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:05:33 UTC (rev 951751)
+++ PKGBUILD2021-05-31 05:05:56 UTC (rev 951752)
@@ -4,7 +4,7 @@
 _hkgname=js-jquery
 pkgname=haskell-js-jquery
 pkgver=3.3.1
-pkgrel=654
+pkgrel=655
 pkgdesc="Obtain minified jQuery code"
 url="https://github.com/ndmitchell/js-jquery#readme;
 license=("MIT")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:03:10
  Author: felixonmars
Revision: 951749

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:02:16
  Author: felixonmars
Revision: 951747

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 951746, haskell-arch-web/trunk/PKGBUILD)

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

Copied: haskell-arch-web/repos/community-staging-x86_64/PKGBUILD (from rev 
951746, haskell-arch-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:02:16 UTC (rev 951747)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=arch-web
+pkgname=haskell-arch-web
+pkgver=0.1.0
+pkgrel=101
+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=-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-install/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:05:18
  Author: felixonmars
Revision: 951750

upgpkg: cabal-install 3.2.0.0-238: rebuild with unliftio 0.2.16

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:03:10 UTC (rev 951749)
+++ PKGBUILD2021-05-31 05:05:18 UTC (rev 951750)
@@ -5,7 +5,7 @@
 
 pkgname=cabal-install
 pkgver=3.2.0.0
-pkgrel=237
+pkgrel=238
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="https://hackage.haskell.org/package/cabal-install;
 license=('BSD')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:57:41
  Author: felixonmars
Revision: 951739

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 951738, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:57:41 UTC (rev 951739)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.3.16
+pkgrel=2
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="https://github.com/yesodweb/wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-auto-update' 'haskell-bsb-http-chunked'
+ 'haskell-case-insensitive' 'haskell-hashable' 'haskell-http-date' 
'haskell-http-types'
+ 'haskell-http2' 'haskell-iproute' 'haskell-network' 
'haskell-simple-sendfile'
+ 'haskell-streaming-commons' 'haskell-time-manager' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-vault' 'haskell-wai' 'haskell-word8' 
'haskell-x509')
+makedepends=('ghc' 'haskell-async' 'haskell-doctest' 'haskell-http-client' 
'haskell-hspec'
+ 'haskell-hunit' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('261fc37f4911bcb3cd335cbd4a1fecc3e03ee18ff5766c5182e2efbed8142cbb38bd404a81cb69eb4132210abb1553a6a5b958bf9808d9566a84e686c292b6a8')
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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-arch-web/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:02:04
  Author: felixonmars
Revision: 951746

upgpkg: haskell-arch-web 0.1.0-101: rebuild with unliftio 0.2.16

Modified:
  haskell-arch-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:01:01 UTC (rev 951745)
+++ PKGBUILD2021-05-31 05:02:04 UTC (rev 951746)
@@ -3,7 +3,7 @@
 _hkgname=arch-web
 pkgname=haskell-arch-web
 pkgver=0.1.0
-pkgrel=100
+pkgrel=101
 pkgdesc="Arch Linux official and AUR web interface binding"
 url="https://github.com/berberman/arch-web;
 license=("MIT")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:59:41
  Author: felixonmars
Revision: 951743

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

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

Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 951742, haskell-servant-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:59:41 UTC (rev 951743)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.18.2
+pkgrel=95
+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=('a8203535a2d4a62b16f717e262fda28685bba466c5e271b2bba991a668a7df4d494de8c10b0843faf3d56e71dba0f88065066ba7acce0e66e16d4a6ba2d96229')
+
+prepare() {
+uusi -u hspec -u http-api-data -u base64-bytestring 
$_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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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-client/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:00:50
  Author: felixonmars
Revision: 951744

upgpkg: haskell-servant-client 0.18.2-97: rebuild with unliftio 0.2.16

Modified:
  haskell-servant-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:59:41 UTC (rev 951743)
+++ PKGBUILD2021-05-31 05:00:50 UTC (rev 951744)
@@ -3,7 +3,7 @@
 _hkgname=servant-client
 pkgname=haskell-servant-client
 pkgver=0.18.2
-pkgrel=96
+pkgrel=97
 pkgdesc="Automatic derivation of querying functions for servant"
 url="http://docs.servant.dev/;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:02:59
  Author: felixonmars
Revision: 951748

upgpkg: haskell-http 4000.3.16-30: rebuild with unliftio 0.2.16

Modified:
  haskell-http/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 05:02:16 UTC (rev 951747)
+++ PKGBUILD2021-05-31 05:02:59 UTC (rev 951748)
@@ -4,7 +4,7 @@
 _hkgname=HTTP
 pkgname=haskell-http
 pkgver=4000.3.16
-pkgrel=29
+pkgrel=30
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:56:22
  Author: felixonmars
Revision: 951736

upgpkg: haskell-hspec-wai 0.11.1-97: rebuild with unliftio 0.2.16

Modified:
  haskell-hspec-wai/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:55:46 UTC (rev 951735)
+++ PKGBUILD2021-05-31 04:56:22 UTC (rev 951736)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai
 pkgname=haskell-hspec-wai
 pkgver=0.11.1
-pkgrel=96
+pkgrel=97
 pkgdesc="Experimental Hspec support for testing WAI applications"
 url="https://github.com/hspec/hspec-wai;
 license=("MIT")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 05:01:01
  Author: felixonmars
Revision: 951745

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

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

Copied: haskell-servant-client/repos/community-staging-x86_64/PKGBUILD (from 
rev 951744, haskell-servant-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 05:01:01 UTC (rev 951745)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=servant-client
+pkgname=haskell-servant-client
+pkgver=0.18.2
+pkgrel=97
+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;)
+sha256sums=('2172febb8d288c7776e20298e21b6c054f41129608147eeb93c2e412abbc9c29')
+
+prepare() {
+  uusi -u QuickCheck -u hspec -u http-client $_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=-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-server/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:59:31
  Author: felixonmars
Revision: 951742

upgpkg: haskell-servant-server 0.18.2-95: rebuild with unliftio 0.2.16

Modified:
  haskell-servant-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:58:27 UTC (rev 951741)
+++ PKGBUILD2021-05-31 04:59:31 UTC (rev 951742)
@@ -4,7 +4,7 @@
 _hkgname=servant-server
 pkgname=haskell-servant-server
 pkgver=0.18.2
-pkgrel=94
+pkgrel=95
 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-wai-app-static/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:58:27
  Author: felixonmars
Revision: 951741

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

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

Copied: haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD (from 
rev 951740, haskell-wai-app-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:58:27 UTC (rev 951741)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-app-static
+pkgname=haskell-wai-app-static
+pkgver=3.1.7.2
+pkgrel=190
+pkgdesc="WAI application for static serving"
+url="https://www.yesodweb.com/book/web-application-interface;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-file-embed' 'haskell-http-date' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-old-locale' 
'haskell-optparse-applicative'
+ 'haskell-unix-compat' 'haskell-unordered-containers' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-mockery' 'haskell-network' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e073d85efc201eab94b9c8be4e40ee71567d07ed2e2907504a946477211bc21aaf2250213cac67525ae58be499b164b09880600c0a6f62b0b1742fb9d730d6d9')
+
+prepare() {
+  uusi $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-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)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:58:16
  Author: felixonmars
Revision: 951740

upgpkg: haskell-wai-app-static 3.1.7.2-190: rebuild with unliftio 0.2.16

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:57:41 UTC (rev 951739)
+++ PKGBUILD2021-05-31 04:58:16 UTC (rev 951740)
@@ -4,7 +4,7 @@
 _hkgname=wai-app-static
 pkgname=haskell-wai-app-static
 pkgver=3.1.7.2
-pkgrel=189
+pkgrel=190
 pkgdesc="WAI application for static serving"
 url="https://www.yesodweb.com/book/web-application-interface;
 license=("MIT")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:55:46
  Author: felixonmars
Revision: 951735

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 951734, 
idris/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:55:46 UTC (rev 951735)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=idris
+pkgver=1.3.3
+pkgrel=233
+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 \
+-fFFI -fGMP -f-release -f-freestanding -f-CI -f-execonly 
--ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd Idris-dev-$pkgver
+# TODO: figure out the tests
+PATH="$PWD/dist/build:$PWD/dist/build/idris:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" IDRIS_LIBRARY_PATH="$PWD/libs" runhaskell 
Setup test || echo "Tests failed"
+}
+
+package() {
+cd Idris-dev-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:57:23
  Author: felixonmars
Revision: 951738

upgpkg: haskell-warp 3.3.16-2: rebuild with unliftio 0.2.16

Modified:
  haskell-warp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:56:33 UTC (rev 951737)
+++ PKGBUILD2021-05-31 04:57:23 UTC (rev 951738)
@@ -4,7 +4,7 @@
 _hkgname=warp
 pkgname=haskell-warp
 pkgver=3.3.16
-pkgrel=1
+pkgrel=2
 pkgdesc="A fast, light-weight web server for WAI applications."
 url="https://github.com/yesodweb/wai;
 license=("MIT")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:56:33
  Author: felixonmars
Revision: 951737

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec-wai/repos/community-staging-x86_64/PKGBUILD (from rev 
951736, haskell-hspec-wai/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:56:33 UTC (rev 951737)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hspec-wai
+pkgname=haskell-hspec-wai
+pkgver=0.11.1
+pkgrel=97
+pkgdesc="Experimental Hspec support for testing WAI applications"
+url="https://github.com/hspec/hspec-wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-base-compat' 
'haskell-case-insensitive'
+ 'haskell-hspec' 'haskell-hspec-core' 'haskell-hspec-expectations' 
'haskell-http-types'
+ 'haskell-wai' 'haskell-wai-extra')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c5c72dee572f6fd7bd80f3beb4e668697d58f3bb045dabb321e65098f4fc3b1d577aa32e5fe607cab3e18433627538582b6c7acc7bb4728a99daeb20afe41b0a')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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-cheapskate/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:42:45
  Author: felixonmars
Revision: 951733

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 951732, haskell-cheapskate/trunk/PKGBUILD)

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

Copied: haskell-cheapskate/repos/community-staging-x86_64/PKGBUILD (from rev 
951732, haskell-cheapskate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:42:45 UTC (rev 951733)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cheapskate
+pkgname=haskell-cheapskate
+pkgver=0.1.1.2
+pkgrel=307
+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 \
+-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-wai-logger/repos/community-staging-x86_64 (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:40:54
  Author: felixonmars
Revision: 951729

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-logger/repos/community-staging-x86_64/PKGBUILD
(from rev 951728, haskell-wai-logger/trunk/PKGBUILD)
Deleted:
  haskell-wai-logger/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-31 04:40:43 UTC (rev 951728)
+++ PKGBUILD2021-05-31 04:40:54 UTC (rev 951729)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=wai-logger
-pkgname=haskell-wai-logger
-pkgver=2.3.6
-pkgrel=359
-pkgdesc="A logging system for WAI"
-url="https://hackage.haskell.org/package/${_hkgname};
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-byteorder' 'haskell-fast-logger'
- 'haskell-http-types' 'haskell-network' 'haskell-wai')
-makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest')
-checkdepends=('haskell-wai-extra')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('0c16120c342321cd686ab7cf9fa7df503a426b0c3d145c16e566013e0df44ef565d9890726d780c1fb73a49507f49bbf5fb886ff4bdccbd19a19b4c00626532e')
-
-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
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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
-}

Copied: haskell-wai-logger/repos/community-staging-x86_64/PKGBUILD (from rev 
951728, haskell-wai-logger/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-31 04:40:54 UTC (rev 951729)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-logger
+pkgname=haskell-wai-logger
+pkgver=2.3.6
+pkgrel=360
+pkgdesc="A logging system for WAI"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-byteorder' 'haskell-fast-logger'
+ 'haskell-http-types' 'haskell-network' 'haskell-wai')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest')
+checkdepends=('haskell-wai-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c16120c342321cd686ab7cf9fa7df503a426b0c3d145c16e566013e0df44ef565d9890726d780c1fb73a49507f49bbf5fb886ff4bdccbd19a19b4c00626532e')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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-cheapskate/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:42:34
  Author: felixonmars
Revision: 951732

upgpkg: haskell-cheapskate 0.1.1.2-307: rebuild with unliftio 0.2.16

Modified:
  haskell-cheapskate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:41:48 UTC (rev 951731)
+++ PKGBUILD2021-05-31 04:42:34 UTC (rev 951732)
@@ -4,7 +4,7 @@
 _hkgname=cheapskate
 pkgname=haskell-cheapskate
 pkgver=0.1.1.2
-pkgrel=306
+pkgrel=307
 pkgdesc="Experimental markdown processor."
 url="https://github.com/jgm/cheapskate;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:41:48
  Author: felixonmars
Revision: 951731

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-extra/repos/community-staging-x86_64/PKGBUILD
(from rev 951730, haskell-wai-extra/trunk/PKGBUILD)
Deleted:
  haskell-wai-extra/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-31 04:41:37 UTC (rev 951730)
+++ PKGBUILD2021-05-31 04:41:48 UTC (rev 951731)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=wai-extra
-pkgname=haskell-wai-extra
-pkgver=3.1.6
-pkgrel=145
-pkgdesc="Provides some basic WAI handlers and middleware."
-url="https://github.com/yesodweb/wai;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-base64-bytestring'
- 'haskell-case-insensitive' 'haskell-cookie' 
'haskell-data-default-class'
- 'haskell-fast-logger' 'haskell-http-types' 'haskell-http2' 
'haskell-iproute'
- 'haskell-network' 'haskell-resourcet' 'haskell-streaming-commons'
- 'haskell-vault' 'haskell-wai' 'haskell-wai-logger' 'haskell-word8' 
'haskell-hunit'
- 'haskell-call-stack')
-makedepends=('ghc' 'haskell-hspec' 'haskell-zlib')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9de9b919b7c62a4e73eabfed952770ce0735b8445cb3e5a4155195fb564ae3da7994b2cdcf297ccbc5b5cd4378200fb1f1fe69b736d8e95c2a7159813e0a4fd0')
-
-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 \
--f-build-example
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-wai-extra/repos/community-staging-x86_64/PKGBUILD (from rev 
951730, haskell-wai-extra/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-31 04:41:48 UTC (rev 951731)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-extra
+pkgname=haskell-wai-extra
+pkgver=3.1.6
+pkgrel=146
+pkgdesc="Provides some basic WAI handlers and middleware."
+url="https://github.com/yesodweb/wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-base64-bytestring'
+ 'haskell-case-insensitive' 'haskell-cookie' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-http-types' 'haskell-http2' 
'haskell-iproute'
+ 'haskell-network' 'haskell-resourcet' 'haskell-streaming-commons'
+ 'haskell-vault' 'haskell-wai' 'haskell-wai-logger' 'haskell-word8' 
'haskell-hunit'
+ 'haskell-call-stack')
+makedepends=('ghc' 'haskell-hspec' 'haskell-zlib')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9de9b919b7c62a4e73eabfed952770ce0735b8445cb3e5a4155195fb564ae3da7994b2cdcf297ccbc5b5cd4378200fb1f1fe69b736d8e95c2a7159813e0a4fd0')
+
+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 \
+-f-build-example
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 

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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:55:35
  Author: felixonmars
Revision: 951734

upgpkg: idris 1.3.3-233: rebuild with unliftio 0.2.16

Modified:
  idris/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:42:45 UTC (rev 951733)
+++ PKGBUILD2021-05-31 04:55:35 UTC (rev 951734)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.3
-pkgrel=232
+pkgrel=233
 pkgdesc="Functional Programming Language with Dependent Types"
 url="https://www.idris-lang.org/;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:41:37
  Author: felixonmars
Revision: 951730

upgpkg: haskell-wai-extra 3.1.6-146: rebuild with unliftio 0.2.16

Modified:
  haskell-wai-extra/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:40:54 UTC (rev 951729)
+++ PKGBUILD2021-05-31 04:41:37 UTC (rev 951730)
@@ -4,7 +4,7 @@
 _hkgname=wai-extra
 pkgname=haskell-wai-extra
 pkgver=3.1.6
-pkgrel=145
+pkgrel=146
 pkgdesc="Provides some basic WAI handlers and middleware."
 url="https://github.com/yesodweb/wai;
 license=("MIT")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:40:43
  Author: felixonmars
Revision: 951728

upgpkg: haskell-wai-logger 2.3.6-360: rebuild with unliftio 0.2.16

Modified:
  haskell-wai-logger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:40:14 UTC (rev 951727)
+++ PKGBUILD2021-05-31 04:40:43 UTC (rev 951728)
@@ -4,7 +4,7 @@
 _hkgname=wai-logger
 pkgname=haskell-wai-logger
 pkgver=2.3.6
-pkgrel=359
+pkgrel=360
 pkgdesc="A logging system for WAI"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:40:03
  Author: felixonmars
Revision: 951726

upgpkg: haskell-wai-extra 3.1.6-145: rebuild with unliftio 0.2.16

Modified:
  haskell-wai-extra/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:39:21 UTC (rev 951725)
+++ PKGBUILD2021-05-31 04:40:03 UTC (rev 951726)
@@ -4,7 +4,7 @@
 _hkgname=wai-extra
 pkgname=haskell-wai-extra
 pkgver=3.1.6
-pkgrel=144
+pkgrel=145
 pkgdesc="Provides some basic WAI handlers and middleware."
 url="https://github.com/yesodweb/wai;
 license=("MIT")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:40:14
  Author: felixonmars
Revision: 951727

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-extra/repos/community-staging-x86_64/
  haskell-wai-extra/repos/community-staging-x86_64/PKGBUILD
(from rev 951726, haskell-wai-extra/trunk/PKGBUILD)

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

Copied: haskell-wai-extra/repos/community-staging-x86_64/PKGBUILD (from rev 
951726, haskell-wai-extra/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:40:14 UTC (rev 951727)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-extra
+pkgname=haskell-wai-extra
+pkgver=3.1.6
+pkgrel=145
+pkgdesc="Provides some basic WAI handlers and middleware."
+url="https://github.com/yesodweb/wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-base64-bytestring'
+ 'haskell-case-insensitive' 'haskell-cookie' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-http-types' 'haskell-http2' 
'haskell-iproute'
+ 'haskell-network' 'haskell-resourcet' 'haskell-streaming-commons'
+ 'haskell-vault' 'haskell-wai' 'haskell-wai-logger' 'haskell-word8' 
'haskell-hunit'
+ 'haskell-call-stack')
+makedepends=('ghc' 'haskell-hspec' 'haskell-zlib')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9de9b919b7c62a4e73eabfed952770ce0735b8445cb3e5a4155195fb564ae3da7994b2cdcf297ccbc5b5cd4378200fb1f1fe69b736d8e95c2a7159813e0a4fd0')
+
+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 \
+-f-build-example
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:39:10
  Author: felixonmars
Revision: 951724

upgpkg: haskell-wai-logger 2.3.6-359: rebuild with unliftio 0.2.16 (rebuild 
pass 1, specified --nocheck)

Modified:
  haskell-wai-logger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:38:44 UTC (rev 951723)
+++ PKGBUILD2021-05-31 04:39:10 UTC (rev 951724)
@@ -4,7 +4,7 @@
 _hkgname=wai-logger
 pkgname=haskell-wai-logger
 pkgver=2.3.6
-pkgrel=358
+pkgrel=359
 pkgdesc="A logging system for WAI"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:38:44
  Author: felixonmars
Revision: 951723

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http2/repos/community-staging-x86_64/PKGBUILD (from rev 951722, 
haskell-http2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:38:44 UTC (rev 951723)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http2
+pkgname=haskell-http2
+pkgver=3.0.1
+pkgrel=14
+pkgdesc="HTTP/2 library"
+url="https://github.com/kazu-yamamoto/http2;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-http-types' 
'haskell-network'
+ 'haskell-network-byte-order' 'haskell-psqueues' 'haskell-time-manager'
+ 'haskell-unix-time')
+makedepends=('ghc' 'haskell-async' 'haskell-aeson' 'haskell-aeson-pretty'
+ 'haskell-base16-bytestring' 'haskell-cryptonite' 'haskell-glob' 
'haskell-hspec'
+ 'haskell-hspec-discover' 'haskell-network-run' 
'haskell-typed-process'
+ 'haskell-unordered-containers' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('aaa32209fb9945cc33c557866acb053df403bbe37c2bd024ac52e7fc6a3e816d0249e48b83e8846017fe0df0998327cf3498f1bc96b57b0fa81ce9c4d35589c6')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Choose another port to bind, 8080 is too easy to conflict with build host
+sed -i 's/"8080"/"59824"/' test2/ServerSpec.hs test/HTTP2/ServerSpec.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 \
+-f-devel
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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-logger/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:39:21
  Author: felixonmars
Revision: 951725

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-logger/repos/community-staging-x86_64/
  haskell-wai-logger/repos/community-staging-x86_64/PKGBUILD
(from rev 951724, haskell-wai-logger/trunk/PKGBUILD)

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

Copied: haskell-wai-logger/repos/community-staging-x86_64/PKGBUILD (from rev 
951724, haskell-wai-logger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:39:21 UTC (rev 951725)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-logger
+pkgname=haskell-wai-logger
+pkgver=2.3.6
+pkgrel=359
+pkgdesc="A logging system for WAI"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-byteorder' 'haskell-fast-logger'
+ 'haskell-http-types' 'haskell-network' 'haskell-wai')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest')
+checkdepends=('haskell-wai-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c16120c342321cd686ab7cf9fa7df503a426b0c3d145c16e566013e0df44ef565d9890726d780c1fb73a49507f49bbf5fb886ff4bdccbd19a19b4c00626532e')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:37:42
  Author: felixonmars
Revision: 951721

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hledger-iadd/repos/community-staging-x86_64/PKGBUILD (from rev 951720, 
hledger-iadd/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:37:42 UTC (rev 951721)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hledger-iadd
+pkgname=hledger-iadd
+pkgver=1.3.14
+pkgrel=24
+pkgdesc="A terminal UI as drop-in replacement for hledger add"
+url="https://github.com/hpdeifel/hledger-iadd#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-brick' 'haskell-free' 'haskell-hledger-lib' 
'haskell-megaparsec'
+ 'haskell-microlens' 'haskell-microlens-th' 
'haskell-optparse-applicative'
+ 'haskell-text-zipper' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-vty'
+ 'haskell-xdg-basedir')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c5472492ec443948762e4e236d91d9057ed23e8f0866c2aa32929997ae479c4d')
+
+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=-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-http2/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:38:34
  Author: felixonmars
Revision: 951722

upgpkg: haskell-http2 3.0.1-14: rebuild with unliftio 0.2.16

Modified:
  haskell-http2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:37:42 UTC (rev 951721)
+++ PKGBUILD2021-05-31 04:38:34 UTC (rev 951722)
@@ -4,7 +4,7 @@
 _hkgname=http2
 pkgname=haskell-http2
 pkgver=3.0.1
-pkgrel=13
+pkgrel=14
 pkgdesc="HTTP/2 library"
 url="https://github.com/kazu-yamamoto/http2;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:34:04
  Author: felixonmars
Revision: 951716

upgpkg: clash-ghc 1.4.2-8: rebuild with unliftio 0.2.16

Modified:
  clash-ghc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:32:20 UTC (rev 951715)
+++ PKGBUILD2021-05-31 04:34:04 UTC (rev 951716)
@@ -2,7 +2,7 @@
 
 pkgname=clash-ghc
 pkgver=1.4.2
-pkgrel=7
+pkgrel=8
 pkgdesc="CAES Language for Synchronous Hardware"
 url="https://clash-lang.org/;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:32:20
  Author: felixonmars
Revision: 951715

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-clash-lib/repos/community-staging-x86_64/
  haskell-clash-lib/repos/community-staging-x86_64/PKGBUILD
(from rev 951714, haskell-clash-lib/trunk/PKGBUILD)

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

Copied: haskell-clash-lib/repos/community-staging-x86_64/PKGBUILD (from rev 
951714, haskell-clash-lib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:32:20 UTC (rev 951715)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=clash-lib
+pkgname=haskell-clash-lib
+pkgver=1.4.2
+pkgrel=8
+pkgdesc="Clash: a functional hardware description language - As a library"
+url="https://clash-lang.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+ 'haskell-attoparsec' 'haskell-base16-bytestring' 
'haskell-clash-prelude'
+ 'haskell-concurrent-supply' 'haskell-cryptohash-sha256' 
'haskell-data-binary-ieee754'
+ 'haskell-data-default' 'haskell-dlist' 'haskell-errors' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-hashable' 'haskell-src-meta' 'haskell-hint' 
'haskell-interpolate' 'haskell-lens'
+ 'haskell-ordered-containers' 'haskell-parsers' 'haskell-pretty-show'
+ 'haskell-prettyprinter' 'haskell-primitive' 'haskell-reducers' 
'haskell-temporary'
+ 'haskell-terminal-size' 'haskell-text-show' 'haskell-trifecta'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector'
+ 'haskell-vector-binary-instances')
+makedepends=('ghc' 'uusi' 'haskell-ghc-typelits-knownnat' 
'haskell-quickcheck-text' 'haskell-src-exts'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ec4a6c2ecb36e806aaf5792ac5d735d2e1e071e72c3a9b7a6726e74b6cc0d1d5c15b84b85ca27be061a47bf68e7b5920bbeb044e689b1b2956618857c29f0e0c')
+
+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=-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-hledger-lib/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:36:40
  Author: felixonmars
Revision: 951719

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hledger-lib/repos/community-staging-x86_64/PKGBUILD (from rev 
951718, haskell-hledger-lib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:36:40 UTC (rev 951719)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hledger-lib
+pkgname=haskell-hledger-lib
+pkgver=1.21
+pkgrel=25
+pkgdesc="A reusable library providing the core functionality of hledger"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+ 'haskell-base-compat-batteries' 'haskell-blaze-markup' 
'haskell-call-stack'
+ 'haskell-cassava' 'haskell-cassava-megaparsec' 'haskell-cmdargs' 
'haskell-data-default'
+ 'haskell-decimal' 'haskell-extra' 'haskell-file-embed' 'haskell-glob'
+ 'haskell-hashtables' 'haskell-megaparsec' 'haskell-old-time' 
'haskell-parser-combinators'
+ 'haskell-pretty-simple' 'haskell-regex-tdfa' 'haskell-safe' 
'haskell-tabular'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-timeit' 
'haskell-uglymemo'
+ 'haskell-unordered-containers' 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('adf51531cefd4108aa4f9c27b6647876a43814876b9617accf0d8ff0fe5cc9757c8a1cbc01aaa497e1806bcfa191860b725c691ccc7c5a3f29197ac1eb436f28')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:34:14
  Author: felixonmars
Revision: 951717

archrelease: copy trunk to community-staging-x86_64

Added:
  clash-ghc/repos/community-staging-x86_64/
  clash-ghc/repos/community-staging-x86_64/PKGBUILD
(from rev 951716, clash-ghc/trunk/PKGBUILD)

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

Copied: clash-ghc/repos/community-staging-x86_64/PKGBUILD (from rev 951716, 
clash-ghc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:34:14 UTC (rev 951717)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+pkgname=clash-ghc
+pkgver=1.4.2
+pkgrel=8
+pkgdesc="CAES Language for Synchronous Hardware"
+url="https://clash-lang.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-clash-lib' 
'haskell-clash-prelude'
+ 'haskell-concurrent-supply' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-typelits-extra'
+ 'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-hashable'
+ 'haskell-lens' 'haskell-primitive' 'haskell-reflection' 
'haskell-split' 'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector')
+makedepends=('ghc')
+conflicts=('clash')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('3d50d7379626af851207e8a838734f6714f816d6e21f3f4c90c3b1062480ce8968bf185a121bc4ebb02058ea428b006e9d7c1ce8a7383c3ec679dad6dd594c28')
+
+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=-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 $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:37:31
  Author: felixonmars
Revision: 951720

upgpkg: hledger-iadd 1.3.14-24: rebuild with unliftio 0.2.16

Modified:
  hledger-iadd/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:36:40 UTC (rev 951719)
+++ PKGBUILD2021-05-31 04:37:31 UTC (rev 951720)
@@ -3,7 +3,7 @@
 _hkgname=hledger-iadd
 pkgname=hledger-iadd
 pkgver=1.3.14
-pkgrel=23
+pkgrel=24
 pkgdesc="A terminal UI as drop-in replacement for hledger add"
 url="https://github.com/hpdeifel/hledger-iadd#readme;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:36:30
  Author: felixonmars
Revision: 951718

upgpkg: haskell-hledger-lib 1.21-25: rebuild with unliftio 0.2.16

Modified:
  haskell-hledger-lib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:34:14 UTC (rev 951717)
+++ PKGBUILD2021-05-31 04:36:30 UTC (rev 951718)
@@ -4,7 +4,7 @@
 _hkgname=hledger-lib
 pkgname=haskell-hledger-lib
 pkgver=1.21
-pkgrel=24
+pkgrel=25
 pkgdesc="A reusable library providing the core functionality of hledger"
 url="http://hledger.org;
 license=("GPL")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:32:08
  Author: felixonmars
Revision: 951714

upgpkg: haskell-clash-lib 1.4.2-8: rebuild with unliftio 0.2.16

Modified:
  haskell-clash-lib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:29:20 UTC (rev 951713)
+++ PKGBUILD2021-05-31 04:32:08 UTC (rev 951714)
@@ -3,7 +3,7 @@
 _hkgname=clash-lib
 pkgname=haskell-clash-lib
 pkgver=1.4.2
-pkgrel=7
+pkgrel=8
 pkgdesc="Clash: a functional hardware description language - As a library"
 url="https://clash-lang.org/;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:29:20
  Author: felixonmars
Revision: 951713

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-31 04:29:09 UTC (rev 951712)
+++ PKGBUILD2021-05-31 04:29:20 UTC (rev 951713)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=http-streams
-pkgname=haskell-http-streams
-pkgver=0.8.7.2
-pkgrel=241
-pkgdesc="An HTTP client using io-streams"
-url="https://github.com/afcowie/http-streams;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
- 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
- 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
- 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
- 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
- 'haskell-system-fileio' 'haskell-system-filepath')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('1028e7a102fc189ddd20d353492306d506f24f0408a234e0ec2b01c11737bc9ffec76a5609e18e355ef838663ec412ce3b358d8223deea7dd4c35ada5223f3ea')
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
951712, haskell-http-streams/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-31 04:29:20 UTC (rev 951713)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.7.2
+pkgrel=242
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/afcowie/http-streams;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
+ 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
+ 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
+ 'haskell-system-fileio' 'haskell-system-filepath')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('1028e7a102fc189ddd20d353492306d506f24f0408a234e0ec2b01c11737bc9ffec76a5609e18e355ef838663ec412ce3b358d8223deea7dd4c35ada5223f3ea')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+

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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:28:31
  Author: felixonmars
Revision: 951711

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
951710, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:28:31 UTC (rev 951711)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=165
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:26:37
  Author: felixonmars
Revision: 951709

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
951708, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:26:37 UTC (rev 951709)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.7.2
+pkgrel=241
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/afcowie/http-streams;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
+ 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
+ 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
+ 'haskell-system-fileio' 'haskell-system-filepath')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('1028e7a102fc189ddd20d353492306d506f24f0408a234e0ec2b01c11737bc9ffec76a5609e18e355ef838663ec412ce3b358d8223deea7dd4c35ada5223f3ea')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:25:24
  Author: felixonmars
Revision: 951705

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-deriving-aeson/repos/community-staging-x86_64/
  haskell-deriving-aeson/repos/community-staging-x86_64/PKGBUILD
(from rev 951704, haskell-deriving-aeson/trunk/PKGBUILD)

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

Copied: haskell-deriving-aeson/repos/community-staging-x86_64/PKGBUILD (from 
rev 951704, haskell-deriving-aeson/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:25:24 UTC (rev 951705)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deriving-aeson
+pkgname=haskell-deriving-aeson
+pkgver=0.2.6.1
+pkgrel=30
+pkgdesc="Type driven generic aeson instance customisation"
+url="https://github.com/fumieval/deriving-aeson.git;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('e56489891cdae22c73a26cd5165ec08f42de717d33c4a26a8278ba0120892c3c9d647a4106bc9c46a416ed3c10e125294c16ed8d32469b7fe857bcb5c9a1946f')
+
+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=-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-http-streams/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:29:09
  Author: felixonmars
Revision: 951712

upgpkg: haskell-http-streams 0.8.7.2-242: rebuild with unliftio 0.2.16

Modified:
  haskell-http-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:28:31 UTC (rev 951711)
+++ PKGBUILD2021-05-31 04:29:09 UTC (rev 951712)
@@ -3,7 +3,7 @@
 _hkgname=http-streams
 pkgname=haskell-http-streams
 pkgver=0.8.7.2
-pkgrel=241
+pkgrel=242
 pkgdesc="An HTTP client using io-streams"
 url="https://github.com/afcowie/http-streams;
 license=('BSD')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:28:20
  Author: felixonmars
Revision: 951710

upgpkg: haskell-snap-server 1.1.2.0-165: rebuild with unliftio 0.2.16

Modified:
  haskell-snap-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:26:37 UTC (rev 951709)
+++ PKGBUILD2021-05-31 04:28:20 UTC (rev 951710)
@@ -3,7 +3,7 @@
 _hkgname=snap-server
 pkgname=haskell-snap-server
 pkgver=1.1.2.0
-pkgrel=164
+pkgrel=165
 pkgdesc="A web server for the Snap Framework"
 url="https://github.com/snapframework/snap-server;
 license=('BSD')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:24:47
  Author: felixonmars
Revision: 951703

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-microlens-aeson/repos/community-staging-x86_64/
  haskell-microlens-aeson/repos/community-staging-x86_64/PKGBUILD
(from rev 951702, haskell-microlens-aeson/trunk/PKGBUILD)

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

Copied: haskell-microlens-aeson/repos/community-staging-x86_64/PKGBUILD (from 
rev 951702, haskell-microlens-aeson/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:24:47 UTC (rev 951703)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=microlens-aeson
+pkgname=haskell-microlens-aeson
+pkgver=2.3.1
+pkgrel=116
+pkgdesc="Law-abiding lenses for Aeson, using microlens"
+url="https://github.com/fosskers/microlens-aeson/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-hashable' 
'haskell-microlens'
+ 'haskell-scientific' 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('8fcf5eab1338dbad84ea3c2747f87a52e4a4a636271ecf9181be6a21b40fa2cdd01cb7c5499e3575be4b3483bd80f04469400e0a634037b9c989a38d3f30c972')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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-aeson-pretty/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:25:59
  Author: felixonmars
Revision: 951707

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-aeson-pretty/repos/community-staging-x86_64/
  haskell-aeson-pretty/repos/community-staging-x86_64/PKGBUILD
(from rev 951706, haskell-aeson-pretty/trunk/PKGBUILD)

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

Copied: haskell-aeson-pretty/repos/community-staging-x86_64/PKGBUILD (from rev 
951706, haskell-aeson-pretty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:25:59 UTC (rev 951707)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-pretty
+pkgname=haskell-aeson-pretty
+pkgver=0.8.8
+pkgrel=167
+pkgdesc="JSON pretty-printing library and command-line tool."
+url="https://github.com/informatikr/aeson-pretty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-attoparsec" "haskell-base-compat" 
"haskell-cmdargs"
+ "haskell-scientific" "haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5867343c5d51d632bb299fcbc00cdb29b0feb1931f0ff9c3cf89c5752f1a103c68c9e6fa65e8538ac19212853c39f6d1d6e0c2d9f0bf49fe001c1bfd792db779')
+
+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 \
+-f-lib-only
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-http-streams/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:26:26
  Author: felixonmars
Revision: 951708

upgpkg: haskell-http-streams 0.8.7.2-241: rebuild with unliftio 0.2.16 (rebuild 
pass 1, specified --nocheck)

Modified:
  haskell-http-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:25:59 UTC (rev 951707)
+++ PKGBUILD2021-05-31 04:26:26 UTC (rev 951708)
@@ -3,7 +3,7 @@
 _hkgname=http-streams
 pkgname=haskell-http-streams
 pkgver=0.8.7.2
-pkgrel=240
+pkgrel=241
 pkgdesc="An HTTP client using io-streams"
 url="https://github.com/afcowie/http-streams;
 license=('BSD')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:25:49
  Author: felixonmars
Revision: 951706

upgpkg: haskell-aeson-pretty 0.8.8-167: rebuild with unliftio 0.2.16

Modified:
  haskell-aeson-pretty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:25:24 UTC (rev 951705)
+++ PKGBUILD2021-05-31 04:25:49 UTC (rev 951706)
@@ -4,7 +4,7 @@
 _hkgname=aeson-pretty
 pkgname=haskell-aeson-pretty
 pkgver=0.8.8
-pkgrel=166
+pkgrel=167
 pkgdesc="JSON pretty-printing library and command-line tool."
 url="https://github.com/informatikr/aeson-pretty;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:24:37
  Author: felixonmars
Revision: 951702

upgpkg: haskell-microlens-aeson 2.3.1-116: rebuild with unliftio 0.2.16

Modified:
  haskell-microlens-aeson/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:24:07 UTC (rev 951701)
+++ PKGBUILD2021-05-31 04:24:37 UTC (rev 951702)
@@ -3,7 +3,7 @@
 _hkgname=microlens-aeson
 pkgname=haskell-microlens-aeson
 pkgver=2.3.1
-pkgrel=115
+pkgrel=116
 pkgdesc="Law-abiding lenses for Aeson, using microlens"
 url="https://github.com/fosskers/microlens-aeson/;
 license=('MIT')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:25:14
  Author: felixonmars
Revision: 951704

upgpkg: haskell-deriving-aeson 0.2.6.1-30: rebuild with unliftio 0.2.16

Modified:
  haskell-deriving-aeson/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:24:47 UTC (rev 951703)
+++ PKGBUILD2021-05-31 04:25:14 UTC (rev 951704)
@@ -3,7 +3,7 @@
 _hkgname=deriving-aeson
 pkgname=haskell-deriving-aeson
 pkgver=0.2.6.1
-pkgrel=29
+pkgrel=30
 pkgdesc="Type driven generic aeson instance customisation"
 url="https://github.com/fumieval/deriving-aeson.git;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:20:54
  Author: felixonmars
Revision: 951693

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hsyaml-aeson/repos/community-staging-x86_64/
  haskell-hsyaml-aeson/repos/community-staging-x86_64/PKGBUILD
(from rev 951692, haskell-hsyaml-aeson/trunk/PKGBUILD)

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

Copied: haskell-hsyaml-aeson/repos/community-staging-x86_64/PKGBUILD (from rev 
951692, haskell-hsyaml-aeson/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:20:54 UTC (rev 951693)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=HsYAML-aeson
+pkgname=haskell-hsyaml-aeson
+pkgver=0.2.0.0
+pkgrel=161
+pkgdesc="JSON to YAML Adapter"
+url="https://github.com/hvr/hsyaml-aeson;
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hsyaml' 'haskell-scientific'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('09da59c38e9fead3b11bbb6752cef803ae2d60392b710ea3958091d6256ff267f0b0f9b27293bbbc96a9d3af08464e463feafcba4a7caab6fd78286127f91527')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/\^>/>/' $_hkgname.cabal
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.GPLv2"
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:24:07
  Author: felixonmars
Revision: 951701

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 951700, haskell-aeson-compat/trunk/PKGBUILD)

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

Copied: haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
951700, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:24:07 UTC (rev 951701)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.9
+pkgrel=220
+pkgdesc="Compatibility layer for aeson"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-attoparsec-iso8601'
+ 'haskell-base-compat' 'haskell-hashable' 'haskell-scientific'
+ 'haskell-tagged' 'haskell-time-locale-compat' 
'haskell-unordered-containers'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-base-orphans' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('84da7cbace32527d0e20d32415ba770d14417ad4dd9ca0f86e8b5f100449af8a51a7b32c7dfdd7b3557764bd7dfc9ae4aa0a95999bc34b074f49d243a4f4bc46')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u QuickCheck -u aeson -u attoparsec -u base -u base-compat -u 
hashable -u tasty -u time $_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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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-aeson-compat/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:23:57
  Author: felixonmars
Revision: 951700

upgpkg: haskell-aeson-compat 0.3.9-220: rebuild with unliftio 0.2.16

Modified:
  haskell-aeson-compat/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:23:26 UTC (rev 951699)
+++ PKGBUILD2021-05-31 04:23:57 UTC (rev 951700)
@@ -4,7 +4,7 @@
 _hkgname=aeson-compat
 pkgname=haskell-aeson-compat
 pkgver=0.3.9
-pkgrel=219
+pkgrel=220
 pkgdesc="Compatibility layer for aeson"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:21:52
  Author: felixonmars
Revision: 951695

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: stylish-haskell/repos/community-staging-x86_64/PKGBUILD (from rev 
951694, stylish-haskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:21:52 UTC (rev 951695)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stylish-haskell
+pkgver=0.12.2.0
+pkgrel=66
+pkgdesc="Haskell code prettifier"
+url="https://github.com/jaspervdj/stylish-haskell;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-file-embed' 'haskell-ghc' 
'haskell-ghc-boot' 'haskell-optparse-applicative'
+ 'haskell-strict' 'haskell-syb' 'haskell-hsyaml' 
'haskell-hsyaml-aeson')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('6867181265aae8d8afba7c06158ab4c21b6eebc6178aa0a119b74e0116138749c114c41ef40eb16bb794010a289a6d49715295c3cd29af7d1ab7aa44d568')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/ghc-lib-parser/ghc, ghc-boot/' $pkgname.cabal
+uusi $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 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-old_base --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:16:29
  Author: felixonmars
Revision: 951687

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-client-core/repos/community-staging-x86_64/PKGBUILD 
(from rev 951686, haskell-servant-client-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:16:29 UTC (rev 951687)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=servant-client-core
+pkgname=haskell-servant-client-core
+pkgver=0.18.2
+pkgrel=62
+pkgdesc="Core functionality and class for client function generation for 
servant APIs"
+url="http://docs.servant.dev/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat' 
'haskell-base64-bytestring' 'haskell-free'
+ 'haskell-http-media' 'haskell-http-types' 'haskell-network-uri' 
'haskell-safe'
+ 'haskell-servant' 'haskell-sop-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('799c40759420b947b860521ea2347da98e2c8bb9a4097651ea1a888f044b842c')
+
+prepare() {
+  uusi -u QuickCheck -u base64-bytestring -u hspec 
$_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=-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-insert-ordered-containers/trunk (PKGBUILD)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:23:16
  Author: felixonmars
Revision: 951698

upgpkg: haskell-insert-ordered-containers 0.2.5-3: rebuild with unliftio 0.2.16

Modified:
  haskell-insert-ordered-containers/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:22:38 UTC (rev 951697)
+++ PKGBUILD2021-05-31 04:23:16 UTC (rev 951698)
@@ -3,7 +3,7 @@
 _hkgname=insert-ordered-containers
 pkgname=haskell-insert-ordered-containers
 pkgver=0.2.5
-pkgrel=2
+pkgrel=3
 pkgdesc="Associative containers retating insertion order for traversals."
 url="https://github.com/phadej/insert-ordered-containers;
 license=('BSD')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:21:42
  Author: felixonmars
Revision: 951694

upgpkg: stylish-haskell 0.12.2.0-66: rebuild with unliftio 0.2.16

Modified:
  stylish-haskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:20:54 UTC (rev 951693)
+++ PKGBUILD2021-05-31 04:21:42 UTC (rev 951694)
@@ -3,7 +3,7 @@
 
 pkgname=stylish-haskell
 pkgver=0.12.2.0
-pkgrel=65
+pkgrel=66
 pkgdesc="Haskell code prettifier"
 url="https://github.com/jaspervdj/stylish-haskell;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:20:16
  Author: felixonmars
Revision: 951691

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-binary-tagged/repos/community-staging-x86_64/
  haskell-binary-tagged/repos/community-staging-x86_64/PKGBUILD
(from rev 951690, haskell-binary-tagged/trunk/PKGBUILD)

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

Copied: haskell-binary-tagged/repos/community-staging-x86_64/PKGBUILD (from rev 
951690, haskell-binary-tagged/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:20:16 UTC (rev 951691)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=binary-tagged
+pkgname=haskell-binary-tagged
+pkgver=0.3
+pkgrel=124
+pkgdesc="Tagged binary serialisation."
+url="https://github.com/phadej/binary-tagged#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-structured' 
'haskell-tagged')
+makedepends=('ghc' 'uusi' 'haskell-binary-instances' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-singleton-bool' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('731f94d53eabd0a00c1c116836a5e2eb9543911561b99f91c85df32534b73d7a441f25fdb5e98d2b6cba5523ceeaa112b5671ca8196535dc35c391943cb58b5e')
+
+prepare() {
+uusi -u base16-bytestring $_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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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-insert-ordered-containers/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:23:26
  Author: felixonmars
Revision: 951699

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-insert-ordered-containers/repos/community-staging-x86_64/
  haskell-insert-ordered-containers/repos/community-staging-x86_64/PKGBUILD
(from rev 951698, haskell-insert-ordered-containers/trunk/PKGBUILD)

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

Copied: 
haskell-insert-ordered-containers/repos/community-staging-x86_64/PKGBUILD (from 
rev 951698, haskell-insert-ordered-containers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:23:26 UTC (rev 951699)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=insert-ordered-containers
+pkgname=haskell-insert-ordered-containers
+pkgver=0.2.5
+pkgrel=3
+pkgdesc="Associative containers retating insertion order for traversals."
+url="https://github.com/phadej/insert-ordered-containers;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat' 'haskell-hashable'
+ 'haskell-indexed-traversable' 'haskell-lens' 'haskell-optics-core' 
'haskell-optics-extra'
+ 'haskell-semigroupoids' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('254492546eedf50a1247739414071ae83bc5683e0f44a7419ca157fda6a7d6953accdeb6419432e6a8aa0787347655aa9276dee779339bbdbcf72eec71ed43ab')
+
+prepare() {
+uusi -d semigroups ${_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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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-hackage-db/repos (3 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:22:38
  Author: felixonmars
Revision: 951697

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hackage-db/repos/community-staging-x86_64/
  haskell-hackage-db/repos/community-staging-x86_64/PKGBUILD
(from rev 951696, haskell-hackage-db/trunk/PKGBUILD)
  
haskell-hackage-db/repos/community-staging-x86_64/fix-parsing-of-preferred-version-ranges.patch
(from rev 951696, 
haskell-hackage-db/trunk/fix-parsing-of-preferred-version-ranges.patch)

---+
 PKGBUILD  |   48 ++
 fix-parsing-of-preferred-version-ranges.patch |   63 
 2 files changed, 111 insertions(+)

Copied: haskell-hackage-db/repos/community-staging-x86_64/PKGBUILD (from rev 
951696, haskell-hackage-db/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:22:38 UTC (rev 951697)
@@ -0,0 +1,48 @@
+# Maintainer: berberman 
+
+_hkgname=hackage-db
+pkgname=haskell-hackage-db
+pkgver=2.1.1
+pkgrel=9
+pkgdesc="Access cabal-install's Hackage database via Data.Map"
+url="https://github.com/peti/hackage-db#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-tar' 'haskell-utf8-string')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+fix-parsing-of-preferred-version-ranges.patch)
+sha512sums=('fada91ffbad436148bfe14c7b44fd2a8682fac6d4ccedd3a86ae49767f1604e723e42b0d712f0edae2797e19c15a80ab6fb4d6e9902ee4125af02b38f3bdbe32'
+
'3987e08584360fe8d28ada30e5424df8406e4783c05787bf6bebac8fc572ef7ddebc959b3877471c6482d8dc2de24b2628410521ce8a0926c0d765d84b785b15')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  # https://github.com/peti/hackage-db/pull/13
+  patch -p1 -i ../fix-parsing-of-preferred-version-ranges.patch
+}
+
+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=-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
+}

Copied: 
haskell-hackage-db/repos/community-staging-x86_64/fix-parsing-of-preferred-version-ranges.patch
 (from rev 951696, 
haskell-hackage-db/trunk/fix-parsing-of-preferred-version-ranges.patch)
===
--- community-staging-x86_64/fix-parsing-of-preferred-version-ranges.patch  
(rev 0)
+++ community-staging-x86_64/fix-parsing-of-preferred-version-ranges.patch  
2021-05-31 04:22:38 UTC (rev 951697)
@@ -0,0 +1,63 @@
+From 4c2efcda723aa7afd8d687a39e704000791e924b Mon Sep 17 00:00:00 2001
+From: Kevin Quick 
+Date: Tue, 11 May 2021 23:49:15 -0700
+Subject: [PATCH 1/2] Fix parsing of preferred version ranges.
+
+The preferred version range starts with the name of the current
+package; this name must be removed to allow a valid parse as a
+VersionRange.
+
+Prior to this change:
+$ cabal run show-package-versions containers
+show-package-versions: HackageDBPackageName (PackageName "containers") 
(InvalidRepresentationOfType "preferred version range" "containers <0.5.8.1 || 
>0.5.8.1 && <0.5.9.1 || >0.5.9.1")
+
+After this change:
+$ cabal run show-package-versions containers
+containers: 0.1.0.0 0.1.0.1 0.2.0.0 0.2.0.1 0.3.0.0 0.4.0.0 0.4.1.0 0.4.2.0 
0.4.2.1 0.5.0.0 0.5.1.0 0.5.2.0 0.5.2.1 0.5.3.0 0.5.3.1 0.5.4.0 0.5.5.0 0.5.5.1 
0.5.6.0 0.5.6.1 0.5.6.2 0.5.6.3 0.5.7.0 0.5.7.1 0.5.8.2 0.5.9.2 0.5.10.1 
0.5.10.2 0.5.11.0 0.6.0.1 0.6.1.1 0.6.2.1 0.6.3.1 0.6.4.1
+---
+ src/Distribution/Hackage/DB/Parsed.hs | 9 -
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/src/Distribution/Hackage/DB/Parsed.hs 
b/src/Distribution/Hackage/DB/Parsed.hs
+index a73863d..8056228 100644
+--- a/src/Distribution/Hackage/DB/Parsed.hs
 b/src/Distribution/Hackage/DB/Parsed.hs
+@@ -55,7 +55,14 @@ parsePackageData pn (U.PackageData pv vs') =
+   Map.filterWithKey (\v _ -> v `withinRange` vr) vs'
+   where
+ vr | BSS.null pv = 

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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:22:23
  Author: felixonmars
Revision: 951696

upgpkg: haskell-hackage-db 2.1.1-9: rebuild with unliftio 0.2.16

Modified:
  haskell-hackage-db/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:21:52 UTC (rev 951695)
+++ PKGBUILD2021-05-31 04:22:23 UTC (rev 951696)
@@ -3,7 +3,7 @@
 _hkgname=hackage-db
 pkgname=haskell-hackage-db
 pkgver=2.1.1
-pkgrel=8
+pkgrel=9
 pkgdesc="Access cabal-install's Hackage database via Data.Map"
 url="https://github.com/peti/hackage-db#readme;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:20:43
  Author: felixonmars
Revision: 951692

upgpkg: haskell-hsyaml-aeson 0.2.0.0-161: rebuild with unliftio 0.2.16

Modified:
  haskell-hsyaml-aeson/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:20:16 UTC (rev 951691)
+++ PKGBUILD2021-05-31 04:20:43 UTC (rev 951692)
@@ -3,7 +3,7 @@
 _hkgname=HsYAML-aeson
 pkgname=haskell-hsyaml-aeson
 pkgver=0.2.0.0
-pkgrel=160
+pkgrel=161
 pkgdesc="JSON to YAML Adapter"
 url="https://github.com/hvr/hsyaml-aeson;
 license=('GPL')


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:20:05
  Author: felixonmars
Revision: 951690

upgpkg: haskell-binary-tagged 0.3-124: rebuild with unliftio 0.2.16

Modified:
  haskell-binary-tagged/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-31 04:19:28 UTC (rev 951689)
+++ PKGBUILD2021-05-31 04:20:05 UTC (rev 951690)
@@ -4,7 +4,7 @@
 _hkgname=binary-tagged
 pkgname=haskell-binary-tagged
 pkgver=0.3
-pkgrel=123
+pkgrel=124
 pkgdesc="Tagged binary serialisation."
 url="https://github.com/phadej/binary-tagged#readme;
 license=("BSD")


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 04:19:28
  Author: felixonmars
Revision: 951689

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-binary-instances/repos/community-staging-x86_64/
  haskell-binary-instances/repos/community-staging-x86_64/PKGBUILD
(from rev 951688, haskell-binary-instances/trunk/PKGBUILD)

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

Copied: haskell-binary-instances/repos/community-staging-x86_64/PKGBUILD (from 
rev 951688, haskell-binary-instances/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 04:19:28 UTC (rev 951689)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=binary-instances
+pkgname=haskell-binary-instances
+pkgver=1.0.1
+pkgrel=81
+pkgdesc="Orphan instances for binary"
+url="https://github.com/phadej/binary-instances;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-binary-orphans' 
'haskell-case-insensitive'
+ 'haskell-hashable' 'haskell-scientific' 'haskell-tagged' 
'haskell-text-binary'
+ 'haskell-time-compat' 'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-vector-binary-instances')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('8282c33d2f7c6dcbf991482c9ae23f316500a60f251e296f5e92488208eaf5f08460c379698bcebd707a61733a13a7b85601587bab4696a24d9ca56ffed1e66b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u tasty $_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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/phadej/binary-instances/issues/7
+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
+}


  1   2   3   4   5   6   7   8   9   10   >