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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 13:54:58
  Author: felixonmars
Revision: 797129

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
797128, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 13:54:58 UTC (rev 797129)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.5.1.4
+pkgrel=39
+pkgdesc="Content addressable Haskell package management"
+url="https://github.com/commercialhaskell/pantry;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-digest' 'haskell-filelock' 
'haskell-generic-deriving'
+ 'haskell-hackage-security' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mono-traversable' 'haskell-network-uri' 'haskell-path' 
'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+ 'haskell-primitive' 'haskell-resourcet' 'haskell-rio' 
'haskell-rio-orphans'
+ 'haskell-rio-prettyprint' 'haskell-tar-conduit' 'haskell-text-metrics'
+ 'haskell-unix-compat' 'haskell-unliftio' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-yaml' 'haskell-zip-archive')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-hspec' 'haskell-quickcheck' 
'haskell-raw-strings-qq')
+checkdepends=('git' 'mercurial')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e8285a3c1228b36898d957e56c726dd2b6d8e8d9283f08fe77c800f2030095a00ce76dde8277654a5dfd7523483f6ccd83beeefa2481c5a1bd56dc660312e239')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 13:50:31
  Author: felixonmars
Revision: 797123

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

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

Copied: haskell-authenticate/repos/community-staging-x86_64/PKGBUILD (from rev 
797122, haskell-authenticate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 13:50:31 UTC (rev 797123)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=authenticate
+pkgname=haskell-authenticate
+pkgver=1.3.5
+pkgrel=236
+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 haskell-scotty/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 13:47:38
  Author: felixonmars
Revision: 797115

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
797114, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 13:47:38 UTC (rev 797115)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=32
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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-warp/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 13:44:07
  Author: felixonmars
Revision: 797107

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 797106, haskell-warp/trunk/PKGBUILD)

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

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 797106, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 13:44:07 UTC (rev 797107)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.3.13
+pkgrel=126
+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-async' '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-vault'
+ 'haskell-wai' 'haskell-word8' 'haskell-x509')
+makedepends=('ghc' 'haskell-doctest' 'haskell-http-client' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-lifted-base' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ac37e1f274d26b2c846429960074d27010c0864efd87da6d79f03e3f833aca3269176bb99301ab8cb59c4476ff12bae35b26e0fe602e7b0e2cad2837592e07b1')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 13:27:42
  Author: felixonmars
Revision: 797097

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

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

Copied: haskell-cheapskate/repos/community-staging-x86_64/PKGBUILD (from rev 
797096, haskell-cheapskate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 13:27:42 UTC (rev 797097)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cheapskate
+pkgname=haskell-cheapskate
+pkgver=0.1.1.2
+pkgrel=214
+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-esqueleto/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 13:19:49
  Author: felixonmars
Revision: 797077

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD (from rev 
797076, haskell-esqueleto/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 13:19:49 UTC (rev 797077)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=esqueleto
+pkgname=haskell-esqueleto
+pkgver=3.4.0.1
+pkgrel=24
+pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
+url="https://github.com/bitemyapp/esqueleto;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-blaze-html' 
'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-unliftio' 'haskell-unordered-containers')
+makedepends=('ghc')  # 'haskell-vector')  # Not enabled yet
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4e00f8820203a96b5cb4130df0ede03e27149007fa92bd96f4f9d20a4290f6623c86940e48ec4b56827f22d4e1a177a3ad3398bea1ed275d5b837031b2d0f69f')
+
+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-mysql -f-postgresql
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-dns/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 13:21:26
  Author: felixonmars
Revision: 797081

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-dns/repos/community-staging-x86_64/PKGBUILD (from rev 797080, 
haskell-dns/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 13:21:26 UTC (rev 797081)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=dns
+pkgname=haskell-dns
+pkgver=4.0.1
+pkgrel=91
+pkgdesc="DNS library in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-auto-update' 'haskell-attoparsec'
+ 'haskell-base16-bytestring' 'haskell-base64-bytestring' 
'haskell-cryptonite'
+ 'haskell-hourglass' 'haskell-iproute' 'haskell-network' 
'haskell-psqueues')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-word8' 
'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5c3d86c95aeb61ffdf951472a18ce2878b9dad1069efdf02fd7aff4065cf88c93c13d197488af65811440c674a75601b0c3336a6de6a9bff98cca018254b6e9c')
+
+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/kazu-yamamoto/dns/issues/102
+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-http2/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 13:23:27
  Author: felixonmars
Revision: 797087

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 797086, haskell-http2/trunk/PKGBUILD)

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

Copied: haskell-http2/repos/community-staging-x86_64/PKGBUILD (from rev 797086, 
haskell-http2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 13:23:27 UTC (rev 797087)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http2
+pkgname=haskell-http2
+pkgver=2.0.5
+pkgrel=63
+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')
+makedepends=('ghc' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-base16-bytestring'
+ 'haskell-doctest' 'haskell-glob' 'haskell-hspec' 
'haskell-unordered-containers'
+ 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+
http2-base16-bytestring-1.0.patch::https://github.com/kazu-yamamoto/http2/commit/e8f218ee42e575bb124613fdbd6b9aec8398cdf9.patch)
+sha512sums=('94a45aa97090db4a12eb64a0a1e8596049182d8011b6a1edb22c4841e7164fbd6c118770a638605f999296e71e796ec660c1701e7bc25d4c4a8d4c801b3b773e'
+
'f0a2b0ffe081760a5da874dca4fa9bff359f9e95f833f48d4195285c11069eca5aba453d7cb8b342557c00458ae18157c6e29160189473bb2671e53c2cd6bc37')
+
+prepare() {
+patch -d $_hkgname-$pkgver -p1 < http2-base16-bytestring-1.0.patch || :
+}
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 13:13:14
  Author: felixonmars
Revision: 797065

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent/repos/community-staging-x86_64/PKGBUILD (from rev 
797064, haskell-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 13:13:14 UTC (rev 797065)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent
+pkgname=haskell-persistent
+pkgver=2.11.0.2
+pkgrel=11
+pkgdesc="Type-safe, multi-backend data serialization"
+url="http://www.yesodweb.com/book/persistent;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-conduit' 'haskell-fast-logger' 
'haskell-http-api-data'
+ 'haskell-monad-logger' 'haskell-path-pieces' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-scientific' 'haskell-silently' 'haskell-unordered-containers'
+ 'haskell-unliftio' 'haskell-unliftio-core' 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec' 'haskell-shakespeare')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bba29f0812e1c1a94c224c3e48377e3b8ea35d43e3954fc48012791db50f42e9c4302da58060ac717524d7d0cb1da8f7152e0acb9afb93ce89ff862fa568b675')
+
+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-nooverlap
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-criterion/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:58:26
  Author: felixonmars
Revision: 796945

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-criterion/repos/community-staging-x86_64/PKGBUILD (from rev 
796944, haskell-criterion/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:58:26 UTC (rev 796945)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=criterion
+pkgname=haskell-criterion
+pkgver=1.5.9.0
+pkgrel=17
+pkgdesc="Robust, reliable performance measurement and analysis"
+url="http://www.serpentine.com/criterion;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-wl-pprint' 
'haskell-base-compat-batteries'
+ 'haskell-binary-orphans' 'haskell-cassava' 'haskell-code-page'
+ 'haskell-criterion-measurement' 'haskell-glob' 'haskell-js-chart'
+ 'haskell-microstache' 'haskell-mwc-random' 
'haskell-optparse-applicative'
+ 'haskell-statistics' 'haskell-transformers-compat' 'haskell-vector'
+ 'haskell-vector-algorithms')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ba8550073977ac829d35e327bc976a6a914694d2e9eb29f25c40811ec4064249dba746ac7a3df1b21532ca64c62375d9b35c201c7e259801f21ccde883647ca8')
+
+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-fast -f-embed-data-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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-statistics/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:57:02
  Author: felixonmars
Revision: 796943

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-statistics/repos/community-staging-x86_64/PKGBUILD (from rev 
796942, haskell-statistics/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:57:02 UTC (rev 796943)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=statistics
+pkgname=haskell-statistics
+pkgver=0.15.2.0
+pkgrel=90
+pkgdesc="A library of statistical types, data, and functions"
+url="https://github.com/bos/statistics;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-base-orphans' 
'haskell-data-default-class'
+ 'haskell-dense-linear-algebra' 'haskell-math-functions' 
'haskell-monad-par'
+ 'haskell-mwc-random' 'haskell-primitive' 'haskell-vector' 
'haskell-vector-algorithms'
+ 'haskell-vector-binary-instances' 'haskell-vector-th-unbox')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-erf' 
'haskell-ieee754'
+ 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('7afa3e3edb15e02ff59c72601175d25f1a8baeaa1dd8561322e8e26781dbfbfcc03b2ade773269bab027d7399375f01595145fd2e2f252f3e73abc87f9baed41')
+
+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-lukko/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:55:07
  Author: felixonmars
Revision: 796941

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lukko/repos/community-staging-x86_64/PKGBUILD (from rev 796940, 
haskell-lukko/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:55:07 UTC (rev 796941)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lukko
+pkgname=haskell-lukko
+pkgver=0.1.1.2
+pkgrel=47
+pkgdesc="Access to platform dependent file locking APIs"
+url="https://github.com/phadej/lukko;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-async' 'haskell-singleton-bool' 'haskell-tasty'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('fe3a6687b741491ebaeace29c8d4d01307fad43f0e649c087fef24ec227eb231541fa1500e1685c814eb2a1ea472546033e837ce84fa64df79f00b19f8abebb6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/1.2.3/1.3/;s/\^>=0.11.1.2/>=0.11/' $_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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-hslua/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:52:45
  Author: felixonmars
Revision: 796933

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hslua/repos/community-staging-x86_64/PKGBUILD (from rev 796932, 
haskell-hslua/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:52:45 UTC (rev 796933)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hslua
+pkgname=haskell-hslua
+pkgver=1.3.0
+pkgrel=12
+pkgdesc="A Lua language interpreter embedding in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'lua53')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ee8325992415a9c057111053ce8ec025560d7687abb1f49608f29f26d66717ec4335d9d56f55666bb598caa0d630672029ad2df9b1dab6ce4b2c79890f787302')
+
+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 \
+-fsystem-lua -fpkg-config
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-bz2/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:50:28
  Author: felixonmars
Revision: 796929

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 796928, 
haskell-bz2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:50:28 UTC (rev 796929)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bz2
+pkgname=haskell-bz2
+pkgver=1.0.1.0
+pkgrel=53
+pkgdesc="Bindings to libbz2"
+url="https://hub.darcs.net/vmchale/bz2;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'bzip2')
+makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 
'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+
+# Use system libbz2
+sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \
extra-libraries: bz2' $_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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-shelly/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:46:56
  Author: felixonmars
Revision: 796921

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-shelly/repos/community-staging-x86_64/PKGBUILD (from rev 
796920, haskell-shelly/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:46:56 UTC (rev 796921)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shelly
+pkgname=haskell-shelly
+pkgver=1.9.0
+pkgrel=24
+pkgdesc="Shell-like (systems) programming in Haskell"
+url="https://github.com/yesodweb/Shelly.hs;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-unix-compat' 'haskell-monad-control' 
'haskell-lifted-base'
+ 'haskell-lifted-async' 'haskell-enclosed-exceptions'
+ 'haskell-async' 'haskell-transformers-base')
+makedepends=('ghc' 'haskell-hunit' 'haskell-hspec' 'haskell-hspec-contrib')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('7c1eb25439e08095187746d0101fd92ad56ebb5a706820bad7330667cfc806066d4675c677e5d267440d4af7b517f36449e8f5e75332521780b564edc1586254')
+
+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-lifted -f-build-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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-fsnotify/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:47:31
  Author: felixonmars
Revision: 796923

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 
796922, haskell-fsnotify/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:47:31 UTC (rev 796923)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fsnotify
+pkgname=haskell-fsnotify
+pkgver=0.3.0.1
+pkgrel=150
+pkgdesc="Cross platform library for file change notification."
+url="https://github.com/haskell-fswatch/hfsnotify;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly'
+ "haskell-unix-compat")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a')
+
+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-relude/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:45:55
  Author: felixonmars
Revision: 796919

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
796918, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:45:55 UTC (rev 796919)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=35
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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-brick/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:44:59
  Author: felixonmars
Revision: 796917

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-brick/repos/community-staging-x86_64/PKGBUILD (from rev 796916, 
haskell-brick/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:44:59 UTC (rev 796917)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=brick
+pkgname=haskell-brick
+pkgver=0.57.1
+pkgrel=18
+pkgdesc="A declarative terminal user interface library"
+url="https://github.com/jtdaugherty/brick;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-vty' 'haskell-data-clist' 'haskell-dlist' 
'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-microlens-mtl' 'haskell-config-ini' 
'haskell-vector'
+ 'haskell-contravariant' 'haskell-text-zipper' 'haskell-word-wrap')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d9dcef9eee604289e7f36c19d128d443384d19b725e5de282f9085c3ff16dde65b1ba689e88749ea350eecf57d7225e7bd554bb84e367900fe0686b07626f9e7')
+
+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-demos
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-hedgehog/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:38:56
  Author: felixonmars
Revision: 796901

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hedgehog/repos/community-staging-x86_64/PKGBUILD (from rev 
796900, haskell-hedgehog/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:38:56 UTC (rev 796901)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hedgehog
+pkgname=haskell-hedgehog
+pkgver=1.0.4
+pkgrel=5
+pkgdesc="A modern property-based testing system"
+url="https://hedgehog.qa;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-async' 
'haskell-concurrent-output'
+ 'haskell-erf' 'haskell-lifted-async' 'haskell-mmorph' 
'haskell-monad-control'
+ 'haskell-pretty-show' 'haskell-primitive' 'haskell-random' 
'haskell-resourcet'
+ 'haskell-transformers-base' 'haskell-wl-pprint-annotated')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('71eb946550c0189e598d2a4205547c007cc4fd101e1cfab38f79535e7c158dfa3b43dec6dde2331d5fe9cb5b0d4c6212f51b820ec146e47ecd9823a99f0f8133')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-floskell/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:36:14
  Author: felixonmars
Revision: 796893

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-floskell/repos/community-staging-x86_64/PKGBUILD (from rev 
796892, haskell-floskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:36:14 UTC (rev 796893)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=floskell
+pkgname=haskell-floskell
+pkgver=0.10.5
+pkgrel=22
+pkgdesc="A flexible Haskell source code pretty printer"
+url="https://github.com/ennocramer/floskell;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-data-default' 'haskell-src-exts' 'haskell-monad-dijkstra'
+ 'haskell-optparse-applicative' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://github.com/ennocramer/floskell/archive/floskell-$pkgver.tar.gz;)
+sha256sums=('91aa7caa269d1df60c7b21226721e0bd0e8595308b0d3f56dfd5e775b2d1f9ab')
+
+build() {
+  cd $_hkgname-floskell-$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-floskell-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-floskell-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:34:31
  Author: felixonmars
Revision: 796891

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-interpolate/repos/community-staging-x86_64/PKGBUILD (from rev 
796890, haskell-interpolate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:34:31 UTC (rev 796891)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=interpolate
+pkgname=haskell-interpolate
+pkgver=0.2.1
+pkgrel=61
+pkgdesc="String interpolation done right"
+url="https://github.com/sol/interpolate;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1cfeef31d5f41b598763001f9571a60fee7069528479b652cea162c582085f60172e8c5fe7d60ddb2eaf800ab9133dd76710d29564e9ecf638ecc2e2a54adc7b')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-here/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:33:51
  Author: felixonmars
Revision: 796889

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-here/repos/community-staging-x86_64/PKGBUILD (from rev 796888, 
haskell-here/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:33:51 UTC (rev 796889)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=here
+pkgname=haskell-here
+pkgver=1.2.13
+pkgrel=176
+pkgdesc="Here docs & interpolated strings via quasiquotation"
+url="https://github.com/tmhedberg/here;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-src-meta")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('aa6ddfad039a90950389c50699dd5f7230bd1ac9b2b9345d5d0c8e8470707216093553dfe89480c31f19374b905e319b8216b8939051278ae41d79ccc5b160fb')
+
+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-hjsonpointer/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:27:40
  Author: felixonmars
Revision: 796879

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hjsonpointer/repos/community-staging-x86_64/PKGBUILD (from rev 
796878, haskell-hjsonpointer/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:27:40 UTC (rev 796879)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hjsonpointer
+pkgname=haskell-hjsonpointer
+pkgver=1.5.0
+pkgrel=156
+pkgdesc="JSON Pointer library"
+url="https://github.com/haskell-foundation/foundation;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hashable' 
'haskell-unordered-containers'
+ 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec' 'haskell-http-types' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dd47b98884982d06892c82f76385650ab76ae4ade31ef9ead1e1dcdb4f0d24d9c2268023cc0f232e7febd7ea5f7058b2561922b8e99a04eb8afd9e96935d7336')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "MIT-LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE.txt"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/MIT-LICENSE.txt"
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:24:51
  Author: felixonmars
Revision: 796871

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sbv/repos/community-staging-x86_64/PKGBUILD (from rev 796870, 
haskell-sbv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:24:51 UTC (rev 796871)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=sbv
+pkgname=haskell-sbv
+pkgver=8.9
+pkgrel=31
+pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
+url="https://leventerkok.github.com/sbv;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-cracknum' 'haskell-async' 
'haskell-random'
+ 'haskell-syb' 'haskell-uniplate')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'hlint' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+checkdepends=('abc' 'cvc4' 'yices' 'z3')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('be90cce34973bc22fa2e9d6b95ea949b3ba53124ee666845587970003a3b194351f48bdd275dc691a288d79f09647fbf08893d53112519b376de4f157d43ece1')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Remove SMT solvers not in the repos
+sed -i 's/, boolector//;s/, mathSAT//;s/, dReal//' 
SBVTestSuite/SBVConnectionTest.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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-ipynb/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:17:40
  Author: felixonmars
Revision: 796867

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ipynb/repos/community-staging-x86_64/PKGBUILD (from rev 796866, 
haskell-ipynb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:17:40 UTC (rev 796867)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ipynb
+pkgname=haskell-ipynb
+pkgver=0.1.0.1
+pkgrel=132
+pkgdesc="Data structure for working with Jupyter notebooks (ipynb)"
+url="https://github.com/jgm/ipynb;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base64-bytestring' 
'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-aeson-diff' 'haskell-microlens' 
'haskell-microlens-aeson'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b1e547ac9353c84619832c723586146d2fd72c85c75d11b9ff99c16852ae2dfd1a2d61382ab9cc54bc9ad2bf8e1c3c0a8dc50d49c034d525e7a3393057a0275b')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 12:25:05
  Author: felixonmars
Revision: 796998

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-dav/repos/community-staging-x86_64/PKGBUILD (from rev 796996, 
haskell-dav/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 12:25:05 UTC (rev 796998)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=DAV
+pkgname=haskell-dav
+pkgver=1.3.4
+pkgrel=224
+pkgdesc="RFC 4918 WebDAV support"
+url="http://floss.scru.org/hDAV;
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-case-insensitive" "haskell-data-default"
+ "haskell-haskeline" "haskell-http-client" "haskell-http-client-tls" 
"haskell-http-types"
+ "haskell-lens" "haskell-network" "haskell-network-uri"
+ "haskell-optparse-applicative" "haskell-transformers-base" 
"haskell-transformers-compat"
+ "haskell-utf8-string" "haskell-xml-conduit" "haskell-xml-hamlet")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('95bb567488bed2fef3813597ea9c080781bbc25117995901ff7264c0f04bf4db1bad6c9c94c4d1fbea968245041752b2b720d4c42b4c23191eda5e3dc0c292b6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-mtl-compat
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 12:23:44
  Author: felixonmars
Revision: 796993

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-githash/repos/community-staging-x86_64/PKGBUILD (from rev 
796992, haskell-githash/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 12:23:44 UTC (rev 796993)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=githash
+pkgname=haskell-githash
+pkgver=0.1.5.0
+pkgrel=38
+pkgdesc="Some handy Template Haskell splices for including the current git 
hash and branch in the code of your project"
+url="https://github.com/snoyberg/githash;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'git')
+makedepends=('ghc' 'haskell-hpack' 'haskell-hspec' 'haskell-temporary' 
'haskell-unliftio')
+source=("git+https://github.com/snoyberg/githash.git#tag=githash-$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+cd $_hkgname
+hpack
+}
+
+build() {
+cd $_hkgname
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 12:23:02
  Author: felixonmars
Revision: 796991

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 12:15:26
  Author: felixonmars
Revision: 796975

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp/repos/community-staging-x86_64/PKGBUILD (from rev 796974, 
haskell-lsp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 12:15:26 UTC (rev 796975)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=haskell-lsp
+pkgname=haskell-lsp
+pkgver=0.23.0.0
+pkgrel=50
+pkgdesc="Haskell library for the Microsoft Language Server Protocol"
+url="https://github.com/alanz/haskell-lsp;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-attoparsec' 
'haskell-data-default'
+ 'haskell-hashable' 'haskell-lsp-types' 'haskell-hslogger' 
'haskell-lens'
+ 'haskell-network-uri' 'haskell-rope-utf16-splay' 'haskell-sorted-list'
+ 'haskell-temporary' 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('12b62e833f33bee80f586ee65e01b4927da8267a652929f13a6268fe18728981a5b1675f880eb14409dc23ecff252b71d184e1a567d7781ddb3dc8d1fd7b910c')
+
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 12:06:16
  Author: felixonmars
Revision: 796961

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

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

Copied: haskell-servant/repos/community-staging-x86_64/PKGBUILD (from rev 
796960, haskell-servant/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 12:06:16 UTC (rev 796961)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant
+pkgname=haskell-servant
+pkgver=0.18.1
+pkgrel=26
+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' 'haskell-hspec' 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6839030812345ea8ab7d936a2832a043af73138e587bc94263c9e4a728784aeace826e28cc13ad7224012fac1c83b03915aef1882427530805ada665a1928dd2')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-texmath/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 12:05:27
  Author: felixonmars
Revision: 796959

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-texmath/repos/community-staging-x86_64/PKGBUILD (from rev 
796958, haskell-texmath/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 12:05:27 UTC (rev 796959)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=texmath
+pkgname=haskell-texmath
+pkgver=0.12.0.3
+pkgrel=53
+pkgdesc="Conversion between formats used to represent mathematics."
+url="https://github.com/jgm/texmath;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network-uri' 'haskell-pandoc-types'
+ 'haskell-syb' 'haskell-xml')
+makedepends=('ghc' 'haskell-temporary' 'haskell-utf8-string')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('54b4789559dc7c6973854c290b018e7c00dd0ff1c06d8045b5d0a2304436bb59a951e93ab2c9d1d133a9d7c5197cc456334d40dc112c6c6a8f8e9370ab8aa190')
+
+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 \
+-fnetwork-uri -f-executable
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup 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-jose/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 12:01:25
  Author: felixonmars
Revision: 796951

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 796950, haskell-jose/trunk/PKGBUILD)

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

Copied: haskell-jose/repos/community-staging-x86_64/PKGBUILD (from rev 796950, 
haskell-jose/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 12:01:25 UTC (rev 796951)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=jose
+pkgname=haskell-jose
+pkgver=0.8.4
+pkgrel=52
+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-yaml/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:13:21
  Author: felixonmars
Revision: 796857

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yaml/repos/community-staging-x86_64/PKGBUILD (from rev 796856, 
haskell-yaml/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:13:21 UTC (rev 796857)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yaml
+pkgname=haskell-yaml
+pkgver=0.11.5.0
+pkgrel=51
+pkgdesc="Support for parsing and rendering YAML documents."
+url="https://github.com/snoyberg/yaml/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-conduit' 
'haskell-libyaml'
+ 'haskell-vector' 'haskell-resourcet' 'haskell-scientific' 
'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-mockery' 
'haskell-base-compat'
+ 'haskell-raw-strings-qq' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a4209cdbe75413191aed5a72f13a0cc4af04906a3e8ce629711689624f334b31681dcfc2fc89fdae20a874c5e6831e9663a30188d34d8067491ff8958912930b')
+
+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
+LC_CTYPE=en_US.UTF-8 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-swagger2/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:12:28
  Author: felixonmars
Revision: 796855

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-swagger2/repos/community-staging-x86_64/PKGBUILD (from rev 
796854, haskell-swagger2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:12:28 UTC (rev 796855)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=swagger2
+pkgname=haskell-swagger2
+pkgver=2.6
+pkgrel=82
+pkgdesc="Swagger 2.0 data model"
+url="https://github.com/GetShopTV/swagger2;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-base-compat-batteries'
+ 'haskell-cookie' 'haskell-hashable' 'haskell-generics-sop' 
'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-network' 
'haskell-optics-core'
+ 'haskell-optics-th' 'haskell-quickcheck' 'haskell-scientific'
+ 'haskell-transformers-compat' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-uuid-types')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 
'haskell-quickcheck-instances'
+ 'haskell-hspec-discover' 'haskell-doctest' 
'haskell-cabal-doctest' 'haskell-glob'
+ 'haskell-utf8-string')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d7ca7710ad1c1b42c7f9066b94a3abaf22be6826a84255dbbcbb0c0bbae3612cd934432fa907b4f650049e83fae94d6ead602e93f29e739f14c17144fe5a2101')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *2.14/<3/;s/< *1.5/<2/' $_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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-microstache/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:08:18
  Author: felixonmars
Revision: 796849

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-microstache/repos/community-staging-x86_64/PKGBUILD (from rev 
796848, haskell-microstache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:08:18 UTC (rev 796849)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=microstache
+pkgname=haskell-microstache
+pkgver=1.0.1.2
+pkgrel=10
+pkgdesc="Mustache templates for Haskell"
+url="https://github.com/phadej/microstache;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-unordered-containers' 
'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5b8bacdc29fcf40b54e7efad12fe955a2781ee914b747108d95c61f0ec0321be90883de739463d4a7acd2b0715904fd711016763dcc6ff6e72939dd8d7d70150')
+
+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-shakespeare/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:05:49
  Author: felixonmars
Revision: 796843

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-shakespeare/repos/community-staging-x86_64/PKGBUILD (from rev 
796842, haskell-shakespeare/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:05:49 UTC (rev 796843)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shakespeare
+pkgname=haskell-shakespeare
+pkgver=2.0.25
+pkgrel=43
+pkgdesc="A toolkit for making compile-time interpolated templates"
+url="https://www.yesodweb.com/book/shakespearean-templates;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-blaze-html' 'haskell-blaze-markup'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-unordered-containers'
+ 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('26805c070c712a7bd549a2923f7b39cf9eaf7c9a3451c0c672eeff3b22e4d3f696887f3846e39c73f1c0add6a21becae9e58bb2821c0158298e105e0a1bf8ac2')
+
+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-test_roy -f-test_coffee -f-test_export
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:04:02
  Author: felixonmars
Revision: 796839

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 796838, haskell-structured/trunk/PKGBUILD)

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

Copied: haskell-structured/repos/community-staging-x86_64/PKGBUILD (from rev 
796838, haskell-structured/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:04:02 UTC (rev 796839)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=structured
+pkgname=haskell-structured
+pkgver=0.1
+pkgrel=58
+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=('52a1834a7c9ac1b62241bc9f424d63b1a541e791b13937f61d15da35b9ab024d3df39949f156b2f23293d397d961cb91c8fa38a5585db4f740a20b52b6dcc49d')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u aeson -u base16-bytestring $_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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-serialise/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:01:28
  Author: felixonmars
Revision: 796831

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-serialise/repos/community-staging-x86_64/PKGBUILD (from rev 
796830, haskell-serialise/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:01:28 UTC (rev 796831)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=serialise
+pkgname=haskell-serialise
+pkgver=0.2.3.0
+pkgrel=73
+pkgdesc="A binary serialisation library for Haskell values"
+url="https://github.com/well-typed/cborg;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cborg' 'haskell-half' 'haskell-hashable' 
'haskell-primitive'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' '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=('2bcee386d81f7606d7dad8a903ae39c9f5fda493caa08755f8f0ceabe24563bcba9bb28709972664370eef5987dfcd6957dee2444da8dbe5b8558edc0b0547ae')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *1.5/<2/' $_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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.txt
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:59:39
  Author: felixonmars
Revision: 796827

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cborg/repos/community-staging-x86_64/PKGBUILD (from rev 796826, 
haskell-cborg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:59:39 UTC (rev 796827)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cborg
+pkgname=haskell-cborg
+pkgver=0.2.4.0
+pkgrel=57
+pkgdesc="Concise Binary Object Representation (CBOR)"
+url="https://github.com/well-typed/cborg;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-half' 'haskell-primitive')
+makedepends=('ghc' 'uusi' 'haskell-aeson' 'haskell-base-orphans' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-quickcheck' 
'haskell-scientific' 'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2a1b5bb935595ff692aa345a0e3d156fbb2d30afc116cb3b267f299c42b9f97f513bf08468cd5162e0be5ebffa45e683fffd7085c8259c0129d618a0efbeecda')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u base16-bytestring -u base64-bytestring $_hkgname.cabal
+sed -i 's/fst (Base16.decode encoded16)/Base16.decodeLenient encoded16/' 
tests/Tests/Reference/TestVectors.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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.txt
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:58:18
  Author: felixonmars
Revision: 796825

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 
796824, haskell-fourmolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:58:18 UTC (rev 796825)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fourmolu
+pkgname=haskell-fourmolu
+pkgver=0.3.0.0
+pkgrel=16
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/parsonsmatt/fourmolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 
'haskell-dlist'
+ 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 
'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:41:46
  Author: felixonmars
Revision: 796795

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
796794, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:41:46 UTC (rev 796795)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=16
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:39:55
  Author: felixonmars
Revision: 796791

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-path/repos/community-staging-x86_64/PKGBUILD (from rev 796790, 
haskell-path/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:39:55 UTC (rev 796791)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=path
+pkgname=haskell-path
+pkgver=0.8.0
+pkgrel=68
+pkgdesc="Path"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hashable')
+makedepends=('ghc' 'haskell-genvalidity' 'haskell-genvalidity-hspec' 
'haskell-genvalidity-property'
+ 'haskell-hspec' 'haskell-quickcheck' 'haskell-validity')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('624c67d0f2779a4470c806d50666a122476d9553f304f1f69fafd3b11cd0acb588c0e246f5ed77d947f0e1ec59b95edbef8a95ff1190dca7a78e0b299b1ec063')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-sourcemap/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:39:05
  Author: felixonmars
Revision: 796789

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sourcemap/repos/community-staging-x86_64/PKGBUILD (from rev 
796788, haskell-sourcemap/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:39:05 UTC (rev 796789)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=sourcemap
+pkgname=haskell-sourcemap
+pkgver=0.1.6
+pkgrel=246
+pkgdesc="Implementation of source maps as proposed by Google and Mozilla."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-attoparsec" 
"haskell-unordered-containers"
+ "haskell-utf8-string")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('b9a04cccb4fe7eea8b37a2eaf2bc776eae5640038ab76fb948c5a3ea09a9ce7a')
+
+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-aeson/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:37:41
  Author: felixonmars
Revision: 796785

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 796784, haskell-aeson/trunk/PKGBUILD)

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

Copied: haskell-aeson/repos/community-staging-x86_64/PKGBUILD (from rev 796784, 
haskell-aeson/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:37:41 UTC (rev 796785)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-aeson
+_hkgname=aeson
+pkgver=1.5.4.1
+pkgrel=30
+pkgdesc="A JSON parsing and encoding library optimized for ease of use and 
high performance."
+url="https://github.com/bos/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' '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=('71c16b00879c7ff6c71d59d9f96a89120b372d678df4e29405014c2dcd54de13aab3aca4d66c1cfb7e2b2850ee63f6f7bfb04b0243cb9d7f07efd22f08b49a17')
+
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$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-descriptive/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:38:26
  Author: felixonmars
Revision: 796787

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-descriptive/repos/community-staging-x86_64/PKGBUILD (from rev 
796786, haskell-descriptive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:38:26 UTC (rev 796787)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=descriptive
+pkgname=haskell-descriptive
+pkgver=0.9.5
+pkgrel=171
+pkgdesc="Self-describing consumers/parsers; forms, cmd-line args, JSON, etc."
+url="https://github.com/chrisdone/descriptive;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-bifunctors" "haskell-scientific"
+ "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('259761b86f0f0c517baf80942e81820e6665b45548a3e7970a19d0ce344781f48e9f35b73748a6d5fe7afcc35bc5d0feb7634e56cb408d03d92e1d0cac1fdd1b')
+
+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-hjsmin/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:33:12
  Author: felixonmars
Revision: 796779

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hjsmin/repos/community-staging-x86_64/PKGBUILD (from rev 
796778, haskell-hjsmin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:33:12 UTC (rev 796779)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hjsmin
+pkgname=haskell-hjsmin
+pkgver=0.2.0.4
+pkgrel=63
+pkgdesc="Haskell implementation of a javascript minifier"
+url="https://github.com/erikd/hjsmin;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-language-javascript' 
'haskell-optparse-applicative')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('11534fd3f351cb1b73e9f166ee42737eb31c10f8f49b2b8d593f9a5a07d08d6b070f71204ec41257d02f38b0dc1172f48bd95d59b553b9f602b90018a795b07c')
+
+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-resolv/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:30:38
  Author: felixonmars
Revision: 796771

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-resolv/repos/community-staging-x86_64/PKGBUILD (from rev 
796770, haskell-resolv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:30:38 UTC (rev 796771)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=resolv
+pkgname=haskell-resolv
+pkgver=0.1.2.0
+pkgrel=45
+pkgdesc="Domain Name Service (DNS) lookup via the libresolv standard library 
routines"
+url="https://github.com/hvr/resolv;
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('fae2d0717a109b0d6cc19c51c773bc68c64c0048b9d930528cf5622ee270ebaddec180c1d444542e8eb036262611f5b88deadeea223fb2ef2b15b41369a2376e')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u base16-bytestring -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
+runhaskell Setup 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"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:29:11
  Author: felixonmars
Revision: 796767

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-decimal/repos/community-staging-x86_64/PKGBUILD (from rev 
796766, haskell-decimal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:29:11 UTC (rev 796767)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Decimal
+pkgname=haskell-decimal
+pkgver=0.5.1
+pkgrel=86
+pkgdesc="Decimal numbers with variable precision"
+url="https://github.com/PaulJohnson/Haskell-Decimal;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2' 
'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9ca3d6f1de96ef4eb6e5e2e3bd7002019ea41e7d404ad9f566926b84ed1ff4aa4a57aa071ef82f00764008469476b5ca196d7c43553885732663f7608c2995fb')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.txt"
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:28:34
  Author: felixonmars
Revision: 796765

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-trifecta/repos/community-staging-x86_64/PKGBUILD (from rev 
796764, haskell-trifecta/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:28:34 UTC (rev 796765)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=trifecta
+pkgname=haskell-trifecta
+pkgver=2.1
+pkgrel=107
+pkgdesc="A modern parser combinator library with convenient diagnostics"
+url="https://github.com/ekmett/trifecta/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-ansi-terminal" "haskell-blaze-builder" 
"haskell-blaze-html"
+ "haskell-blaze-markup" "haskell-charset" "haskell-comonad" 
"haskell-fingertree"
+ "haskell-hashable" "haskell-lens" "haskell-parsers" 
'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' "haskell-profunctors" 
"haskell-reducers"
+ "haskell-unordered-containers" "haskell-utf8-string")
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 
'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0929ee4a3d9a53c211b13a711814b4b6ea488ad40f373befdc7e8a479b2a95c4e97a19381873af54d377ff2af49782677fa2ea892ea69522c242e245debd3a25')
+
+prepare() {
+sed -i -e '/semigroups/d;s/< *0.17/<1/;s/< *0.11/<1/' 
$_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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-reducers/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:27:35
  Author: felixonmars
Revision: 796763

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-reducers/repos/community-staging-x86_64/PKGBUILD (from rev 
796762, haskell-reducers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:27:35 UTC (rev 796763)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=reducers
+pkgname=haskell-reducers
+pkgver=3.12.3
+pkgrel=139
+pkgdesc="Semigroups, specialized containers and a general map/reduce framework"
+url="https://github.com/ekmett/reducers/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-fingertree" "haskell-hashable" 
"haskell-semigroupoids"
+ "haskell-unordered-containers")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('7bb78ccf107d7bc6bce8d68c3766b799ce2c2a41587ee4d2b7197c2dae1d27a6ce47110f1abd655108d7fcc306e9069a25562e53b00ff97704af0b8aac9139d9')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' -e 's/< *1.3/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-fingertree/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:27:00
  Author: felixonmars
Revision: 796761

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fingertree/repos/community-staging-x86_64/PKGBUILD (from rev 
796760, haskell-fingertree/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:27:00 UTC (rev 796761)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fingertree
+pkgname=haskell-fingertree
+pkgver=0.1.4.2
+pkgrel=76
+pkgdesc="Generic finger-tree structure, with example instances"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 
'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=('016a772830c0bb27ec15fa99c9dff280c210f288a1f2dc15828224a6a8cdad87ade816191320aa59c876eba6b33cdb47a778572e66a8f3c989984cea2f4970ac')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-gtk3/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:24:14
  Author: felixonmars
Revision: 796753

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-gtk3/repos/community-staging-x86_64/PKGBUILD (from rev 796752, 
haskell-gtk3/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:24:14 UTC (rev 796753)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin 
+
+pkgname=haskell-gtk3
+pkgver=0.15.5
+pkgrel=23
+pkgdesc="Binding to the gtk library for Gtk2Hs."
+url="https://hackage.haskell.org/package/gtk3;
+license=('LGPL2.1')
+arch=('x86_64')
+depends=('ghc-libs' 'gtk3' 'haskell-pango')
+makedepends=('ghc' 'haskell-gtk2hs-buildtools')
+provides=('gtk2hs-gtk' 'haskell-gtk')
+replaces=('gtk2hs-gtk' 'haskell-gtk')
+conflicts=('gtk2hs-gtk' 'haskell-gtk')
+source=("https://hackage.haskell.org/packages/archive/gtk3/${pkgver}/gtk3-${pkgver}.tar.gz;)
+sha512sums=('937b250f04e797b821d560a768f9eaee448f2d2d98571b6ef401de44177f50861f557e653afc7f055dfa2e15180dca9d82e36469f0fb97dff5a170ebc6c62519')
+
+build() {
+cd "${srcdir}/gtk3-${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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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}/gtk3-${pkgver}"
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:17:49
  Author: felixonmars
Revision: 796743

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-heapsize/repos/community-staging-x86_64/PKGBUILD (from rev 
796742, haskell-heapsize/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:17:49 UTC (rev 796743)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=heapsize
+pkgname=haskell-heapsize
+pkgver=0.3.0.1
+pkgrel=7
+pkgdesc="Determine the size of runtime data structures"
+url="https://github.com/pepeiborra/heapsize.git;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-hashtables' 'haskell-primitive'
+ 'haskell-unordered-containers')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('1e68f7c7a67e2565308e19505c61a378118ec5b24a9ebfbe669766dbd867686c')
+
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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-glib/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:20:21
  Author: felixonmars
Revision: 796749

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-glib/repos/community-staging-x86_64/PKGBUILD (from rev 796748, 
haskell-glib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:20:21 UTC (rev 796749)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin 
+
+pkgname=haskell-glib
+pkgver=0.13.8.1
+pkgrel=41
+pkgdesc="Binding to the GLIB library for Gtk2Hs."
+url="https://hackage.haskell.org/package/glib;
+license=('LGPL2.1')
+arch=('x86_64')
+depends=('ghc-libs' 'glib2' 'haskell-utf8-string')
+makedepends=('ghc' "haskell-gtk2hs-buildtools")
+provides=('gtk2hs-glib')
+replaces=('gtk2hs-glib')
+conflicts=('gtk2hs-glib')
+source=(https://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz)
+sha512sums=('00558dc9dfbc507d7ac19ac4e1634317a41f465abf8b1bbb2594a96253eb4633b976aa9e1960af1260148f6a64d017acf535fef8b95789a058b762813940b5b7')
+
+build() {
+cd "${srcdir}/glib-${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 "${srcdir}/glib-${pkgver}"
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:19:41
  Author: felixonmars
Revision: 796747

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cairo/repos/community-staging-x86_64/PKGBUILD (from rev 796746, 
haskell-cairo/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:19:41 UTC (rev 796747)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin 
+
+pkgname=haskell-cairo
+pkgver=0.13.8.1
+pkgrel=41
+pkgdesc="Binding to the cairo library for Gtk2Hs."
+url="https://hackage.haskell.org/package/cairo;
+license=('LGPL2.1')
+arch=('x86_64')
+depends=('ghc-libs' 'cairo' 'haskell-utf8-string')
+makedepends=("haskell-gtk2hs-buildtools" "mesa" 'ghc')
+conflicts=('gtk2hs-cairo')
+provides=('gtk2hs-cairo')
+replaces=('gtk2hs-cairo')
+source=("https://hackage.haskell.org/packages/archive/cairo/${pkgver}/cairo-${pkgver}.tar.gz;)
+sha512sums=('9c4ec738fe6e335f635c3fa47a26edb9264ec5a9713ff8c0109f2cf321e21331009402d3715321b63f5423e32ad90a0dd3ca9ca83544d554be5463c9784ab727')
+
+build() {
+cd "${srcdir}/cairo-${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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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}/cairo-${pkgver}"
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:21:09
  Author: felixonmars
Revision: 796751

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pango/repos/community-staging-x86_64/PKGBUILD (from rev 796750, 
haskell-pango/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:21:09 UTC (rev 796751)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin 
+
+_hkgname=pango
+pkgname=haskell-pango
+pkgver=0.13.8.1
+pkgrel=41
+pkgdesc="Binding to the pango library for Gtk2Hs."
+url="https://hackage.haskell.org/package/pango;
+license=('LGPL2.1')
+arch=('x86_64')
+depends=('ghc-libs' 'pango' 'haskell-glib' 'haskell-cairo')
+makedepends=('ghc' "haskell-gtk2hs-buildtools" "mesa")
+provides=('gtk2hs-pango')
+replaces=('gtk2hs-pango')
+conflicts=('gtk2hs-pango')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b17938143332976d048793db5c43647b2a7278713821166c1f13aa74f3c8a77e7c990481add77090418d260dd4b80df7b1eb9b0fdcc415df47b64198e3c1f5fb')
+
+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"
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:17:13
  Author: felixonmars
Revision: 796741

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hashtables/repos/community-staging-x86_64/PKGBUILD (from rev 
796740, haskell-hashtables/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:17:13 UTC (rev 796741)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hashtables
+pkgname=haskell-hashtables
+pkgver=1.2.4.1
+pkgrel=23
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh' 'haskell-hashable' 'haskell-primitive' 
'haskell-vector')
+makedepends=('ghc' 'haskell-mwc-random' 'haskell-quickcheck' 'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-quickcheck2'
+ 'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e88fb8f9c8a51be31e5d07ca1fef3d1a05a347942878f84a500d8c224b1118a2be97f9a947f17834a8331f296f302eafeef34d1f151360361675ecf5204b38f6')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-citeproc/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:53:31
  Author: felixonmars
Revision: 796815

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
796814, haskell-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:53:31 UTC (rev 796815)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=citeproc
+pkgname=haskell-citeproc
+pkgver=0.2
+pkgrel=13
+pkgdesc="Generates citations and bibliography from CSL styles."
+url="https://github.com/jgm/citeproc;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-data-default' 'haskell-file-embed'
+ 'haskell-pandoc-types' 'haskell-safe' 'haskell-scientific' 
'haskell-text-icu'
+ 'haskell-uniplate' 'haskell-vector' 'haskell-xml-conduit')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-timeit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('cc1c6efc35dd947aac7d2c5d45f66c2934ae28ec8ea61bae2ddaf1101a72f30726714576585e44096f013b1cc041a657e6cafb77aae52fd30f8adb62ee04dc1f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -fexecutable -ficu
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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-protolude/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:13:38
  Author: felixonmars
Revision: 796733

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-protolude/repos/community-staging-x86_64/PKGBUILD (from rev 
796732, haskell-protolude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:13:38 UTC (rev 796733)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=protolude
+pkgname=haskell-protolude
+pkgver=0.3.0
+pkgrel=42
+pkgdesc="A sensible set of defaults for writing custom Preludes."
+url="https://github.com/sdiehl/protolude;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-hashable'
+ 'haskell-transformers-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0941e344320e09fca457ce0be31b1fbb7c715a11ea371263d029942cb649bfb1194b012493e31697c5a05bd3e4de5108bcd2c82c79c9f2f30b260959ec8f0738')
+
+prepare() {
+sed -e '/mtl-compat/d' -i $_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 \
+--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-concise/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:12:28
  Author: felixonmars
Revision: 796729

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-concise/repos/community-staging-x86_64/PKGBUILD (from rev 
796728, haskell-concise/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:12:28 UTC (rev 796729)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=concise
+pkgname=haskell-concise
+pkgver=0.1.0.1
+pkgrel=233
+pkgdesc="Utilities for Control.Lens.Cons"
+url="https://github.com/frasertweedal/hs-concise;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-lens')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1ca4aacd319107b6a0031e7d0604563a6be68c4c1a2df6e31e7336e8c29f8efd94d5517e31e9a986b9607eb059f74e33b1d8a307d5a23194daf5e88350d560d7')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-safecopy/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:09:51
  Author: felixonmars
Revision: 796721

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-safecopy/repos/community-staging-x86_64/PKGBUILD (from rev 
796720, haskell-safecopy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:09:51 UTC (rev 796721)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safecopy
+pkgname=haskell-safecopy
+pkgver=0.10.3
+pkgrel=70
+pkgdesc="Binary serialization with version control."
+url="http://acid-state.seize.it/safecopy;
+license=('custom:PublicDomain')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-generic-data' 'haskell-old-time' 
'haskell-vector')
+makedepends=('ghc' 'haskell-hunit' 'haskell-lens' 'haskell-lens-action' 
'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bc90f4555b63c561003d5f87b230160005b2a505370322dbd2a5117261671efcac701ebe7578b20ee585989b2c13256363c13036710e5feaced56b593ce7e323')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:08:54
  Author: felixonmars
Revision: 796719

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lattices/repos/community-staging-x86_64/PKGBUILD (from rev 
796718, haskell-lattices/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:08:54 UTC (rev 796719)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lattices
+pkgname=haskell-lattices
+pkgver=2.0.2
+pkgrel=29
+pkgdesc="Fine-grained library for constructing and manipulating lattices"
+url="http://github.com/phadej/lattices/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-base-compat' 
'haskell-hashable'
+ 'haskell-integer-logarithms' 'haskell-semigroupoids' 'haskell-tagged'
+ 'haskell-universe-base' 'haskell-universe-reverse-instances' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck-instances' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('SKIP')
+
+prepare() {
+  uusi $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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-parsers/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:03:54
  Author: felixonmars
Revision: 796711

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-parsers/repos/community-staging-x86_64/PKGBUILD (from rev 
796710, haskell-parsers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:03:54 UTC (rev 796711)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=parsers
+pkgname=haskell-parsers
+pkgver=0.12.10
+pkgrel=97
+pkgdesc="Parsing combinators"
+url="https://github.com/ekmett/parsers/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-orphans' 
'haskell-charset'
+ 'haskell-scientific' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('99ff90de4e60be3c03c8e1e5ae7902a37424c3139ccf566ff1cbc363d176787bd60bb709ef6c56f5b446f1f1b7eca65aa5d431897a0f82a9d6f7fe77fd2ee49f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-cassava/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:02:23
  Author: felixonmars
Revision: 796707

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cassava/repos/community-staging-x86_64/PKGBUILD (from rev 
796706, haskell-cassava/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:02:23 UTC (rev 796707)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cassava
+pkgname=haskell-cassava
+pkgver=0.5.2.0
+pkgrel=79
+pkgdesc="A CSV parsing and encoding library"
+url="https://github.com/tibbe/cassava;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-attoparsec" "haskell-hashable" "haskell-only" 
"haskell-scientific"
+ "haskell-text-short" "haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f7f3fc2ebf58491847fb20b21ecf18595933d296bfd4c48249d35c52e72988c4e2758d7a6d2095a9edb3bed8e154a11170920a7c08262270c9f60cb853085383')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-bytestring--LT-0_10_4
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:58:30
  Author: felixonmars
Revision: 796697

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wai/repos/community-staging-x86_64/PKGBUILD (from rev 796696, 
haskell-wai/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:58:30 UTC (rev 796697)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai
+pkgname=haskell-wai
+pkgver=3.2.2.1
+pkgrel=144
+pkgdesc="Web Application Interface."
+url="https://github.com/yesodweb/wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-http-types" "haskell-network"
+ "haskell-vault")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('72c92389d3faff234003f835206ff6eae3f8e3d885d7519706f8b78df3cb1c92121c5de7e8272436aed22ade8440baaefb14d50a10f2f233badadf16d1b5e431')
+
+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-dbus/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:55:02
  Author: felixonmars
Revision: 796687

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-dbus/repos/community-staging-x86_64/PKGBUILD (from rev 796686, 
haskell-dbus/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:55:02 UTC (rev 796687)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=dbus
+pkgname=haskell-dbus
+pkgver=1.2.16
+pkgrel=78
+pkgdesc="A client library for the D-Bus IPC system"
+url="https://john-millikin.com/software/haskell-dbus/;
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-conduit' 'haskell-lens'
+ 'haskell-network' 'haskell-random' 'haskell-split' 'haskell-th-lift'
+ 'haskell-vector' 'haskell-xml-conduit' 'haskell-xml-types')
+makedepends=('ghc' 'haskell-extra' 'haskell-quickcheck' 'haskell-resourcet' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+checkdepends=('dbus')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fbcddba41d5a6ea3c93841f56b80c43e968758eb8979412cd15a3e6f384bb042a025dc4850dc2e584b459b0c7b99db791d1a9b17090108c004f657f7e125e441')
+
+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 || : # 
https://github.com/rblaze/haskell-dbus/issues/51
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:53:52
  Author: felixonmars
Revision: 796685

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-filepattern/repos/community-staging-x86_64/PKGBUILD (from rev 
796684, haskell-filepattern/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:53:52 UTC (rev 796685)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=filepattern
+pkgname=haskell-filepattern
+pkgver=0.1.2
+pkgrel=73
+pkgdesc="File path glob-like matching"
+url="https://github.com/ndmitchell/filepattern;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra')
+makedepends=('ghc' 'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('16866d70efdf55ee4e6b246eb7f7300c9ad4c148d8136d817f601b9c0cac95eb1ddaf57ab0b6fad539298b55128fe5c255c31fd152a713bf312488eae823da23')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-extra/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:48:12
  Author: felixonmars
Revision: 796677

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-extra/repos/community-staging-x86_64/PKGBUILD (from rev 796676, 
haskell-extra/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:48:12 UTC (rev 796677)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=extra
+pkgname=haskell-extra
+pkgver=1.7.9
+pkgrel=6
+pkgdesc="Extra functions I use."
+url="https://github.com/ndmitchell/extra#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-clock')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bc231e72f40a357c8c64c2c33fa2c3d64f67a6eb2bbbd903a5415152497011d0ee7d597de8dc02f5e5b82c4a8a5d7f61fecdbba7f1e07981182d7c05547a7546')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-prettyprinter/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:45:21
  Author: felixonmars
Revision: 796669

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-prettyprinter/repos/community-staging-x86_64/PKGBUILD (from rev 
796668, haskell-prettyprinter/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:45:21 UTC (rev 796669)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=prettyprinter
+pkgname=haskell-prettyprinter
+pkgver=1.7.0
+pkgrel=38
+pkgdesc="A modern, easy to use, well-documented, extensible prettyprinter."
+url="https://github.com/hspec/prettyprinter;
+license=('custom:BSD2')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-doctest' 'haskell-pgp-wordlist' 
'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=('4f1b756b3284a0319bb73229e8445f6d92c3d3d12a879f651df5624389bd6c449b2d9bc440dbf70d8752a6ba574d0539f91950d4bafbe7f9d3fd79d0d30ec95d')
+
+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-buildReadme
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:38:12
  Author: felixonmars
Revision: 796653

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-megaparsec/repos/community-staging-x86_64/PKGBUILD (from rev 
796652, haskell-megaparsec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:38:12 UTC (rev 796653)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=megaparsec
+pkgname=haskell-megaparsec
+pkgver=9.0.1
+pkgrel=7
+pkgdesc="Monadic parser combinators"
+url="https://github.com/mrkkrp/megaparsec;
+license=("custom:BSD2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-parser-combinators'
+ 'haskell-scientific')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('24ae5f291611a06ff69199d642de32d6dc5efc40cf6c6ccddcc59ff9d210a7bbd061ca17f1b5e04c2dded72108f140785f4ccfa64898b41f4ac7e21784c7b074')
+
+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-dev
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:38:57
  Author: felixonmars
Revision: 796655

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
796654, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:38:57 UTC (rev 796655)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=40
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-libmpd/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:33:14
  Author: felixonmars
Revision: 796639

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-libmpd/repos/community-staging-x86_64/PKGBUILD (from rev 
796638, haskell-libmpd/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:33:14 UTC (rev 796639)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak 
+# Contributer: Colin Woodbury 
+# Contributer: Leif Warner 
+# Contributor: Cedric Girard 
+# Contributor: Arch Haskell Team 
+
+_hkgname=libmpd
+pkgname=haskell-libmpd
+pkgver=0.9.2.0
+pkgrel=24
+pkgdesc='Client library for MPD, the Music Player Daemon'
+url='https://hackage.haskell.org/package/libmpd'
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'gmp' 'haskell-attoparsec' 'haskell-bytestring' 
'haskell-containers' 'haskell-data-default'
+ 'haskell-filepath' 'haskell-network' 'haskell-safe-exceptions' 
'haskell-time' 'haskell-utf8-string'
+ 'haskell-primitive')
+makedepends=('ghc')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/vimus/libmpd-haskell/archive/v${pkgver}.tar.gz)
+sha512sums=('de02e7688aabf3bd060d44201d3cbf7c86672d5c21e5b60742d29c8c49aa26bdd9d08f76141c396b3a4dd4b7d3ab6d60d8e827de84d4defc94f5966bc38e51c7')
+
+build() {
+  cd ${_hkgname}-haskell-${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 haddock
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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}-haskell-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md changelog.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:33:55
  Author: felixonmars
Revision: 796641

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-configurator/repos/community-staging-x86_64/PKGBUILD (from rev 
796640, haskell-configurator/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:33:55 UTC (rev 796641)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+
+_hkgname=configurator
+pkgname=haskell-configurator
+pkgver=0.3.0.0
+pkgrel=160
+pkgdesc="Configuration management"
+url="https://github.com/bos/configurator;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-hashable' 
'haskell-unix-compat'
+ 'haskell-unordered-containers')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c4c95b3182874c87c4b6b8e74bf8e39ec7528b49f06e9a02baed5fa4aa90a22a9504f59e881c17616ef95a1aa5450b431df8cc9317ef837d8e821f330e303c9')
+
+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" 
\
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-developer
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-ini/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:31:20
  Author: felixonmars
Revision: 796633

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ini/repos/community-staging-x86_64/PKGBUILD (from rev 796632, 
haskell-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:31:20 UTC (rev 796633)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ini
+pkgname=haskell-ini
+pkgver=0.4.1
+pkgrel=98
+pkgdesc="Quick and easy configuration files in the INI format."
+url="https://github.com/chrisdone/ini;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ac61a17a29ba82827287aad641f2afcb51ab6b26dab024d761ef0bcbaf960d0288f4715c7a87c1751ecfabc586f43ca3206d0abde2e6b7005cf8e1dd9ece5301')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:27:52
  Author: felixonmars
Revision: 796623

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-gi/repos/community-staging-x86_64/PKGBUILD (from rev 796622, 
haskell-gi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:27:52 UTC (rev 796623)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=haskell-gi
+pkgname=haskell-gi
+pkgver=0.24.7
+pkgrel=3
+pkgdesc="Generate Haskell bindings for GObject Introspection capable libraries"
+url="https://github.com/haskell-gi/haskell-gi;
+license=("LGPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'glib2' 'gobject-introspection-runtime' 'haskell-gi-base'
+ 'haskell-ansi-terminal' 'haskell-attoparsec' 'haskell-pretty-show' 
'haskell-safe'
+ 'haskell-xdg-basedir' 'haskell-xml-conduit' 'haskell-regex-tdfa')
+makedepends=('ghc' 'gobject-introspection' 'haskell-cabal-doctest' 
'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0f5a1749f41cac8430dd8e0dc63aa69f248809ddadac88bba5d1db39e7cc8c0e25dde8a3ce6ca3627215bc584c68e8e0b70b32f50e11bb06fdbd504c26c4c61d')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$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-websockets/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:19:21
  Author: felixonmars
Revision: 796605

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-websockets/repos/community-staging-x86_64/PKGBUILD (from rev 
796604, haskell-websockets/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:19:21 UTC (rev 796605)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=websockets
+pkgname=haskell-websockets
+pkgver=0.12.7.2
+pkgrel=10
+pkgdesc="A sensible and clean way to write WebSocket-capable servers in 
Haskell."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-case-insensitive' 'haskell-clock' 'haskell-entropy' 
'haskell-network'
+ 'haskell-random' 'haskell-sha' 'haskell-streaming-commons')
+makedepends=('ghc' 'uusi' 'haskell-hunit' '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=('35f52a85cbbd57bc5302a7396711ad1f405a96481bc326754986edb581466849d052e1e2da9f473880cf59d07a4fa576ae2995fb83f754b8ef368ee616fda29e')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder $_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-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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENCE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:18:29
  Author: felixonmars
Revision: 796603

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
796602, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:18:29 UTC (rev 796603)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.11.1
+pkgrel=5
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dd70a762184b714fa53fd906ac192edcf990d8ff7674be1369eace38ee750da5eb6f4c5c2b7c6e5fab980f4bee96a7de4e2e38a27702cef28875a09bde8e5dd2')
+
+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 \
+--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-attoparsec/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:17:05
  Author: felixonmars
Revision: 796599

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-attoparsec/repos/community-staging-x86_64/PKGBUILD (from rev 
796598, haskell-attoparsec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:17:05 UTC (rev 796599)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=attoparsec
+pkgname=haskell-attoparsec
+pkgver=0.13.2.4
+pkgrel=45
+pkgdesc="Fast combinator parsing for bytestrings and text"
+url="https://github.com/bos/attoparsec;
+license=("BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-scientific')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-unicode' 
'haskell-tasty'
+ 'haskell-tasty-quickcheck' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c2f94792ab4e68cfdbfbc92dfdc2cff08c9b96ef9b39608ed58bf25ba602e0ffd687c74b2d92045ff384e6c927cefb3774365218aebe9af01c153bdd3a29d946')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *2.14/<3/' $_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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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, possibly due to unmet 
dependency version on QuickCheck"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-scientific/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:15:15
  Author: felixonmars
Revision: 796595

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scientific/repos/community-staging-x86_64/PKGBUILD (from rev 
796594, haskell-scientific/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:15:15 UTC (rev 796595)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=scientific
+pkgname=haskell-scientific
+pkgver=0.3.6.2
+pkgrel=62
+pkgdesc="Numbers represented using scientific notation"
+url="https://github.com/basvandijk/scientific;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-hashable" "haskell-integer-logarithms" 
"haskell-primitive")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('47a74524c8fb25d381adf868d823a6b6772f3f69b0b3cf9f9de015a03bc941857ef3fca1b4f8cbf23e998164e71a914e167221e753c6f32dc8644047d1ef57ee')
+
+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-integer-simple -f-bytestring-builder
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:14:38
  Author: felixonmars
Revision: 796593

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pipes/repos/community-staging-x86_64/PKGBUILD (from rev 796592, 
haskell-pipes/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:14:38 UTC (rev 796593)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=pipes
+pkgname=haskell-pipes
+pkgver=4.3.14
+pkgrel=36
+pkgdesc="Compositional pipelines"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-mmorph' 'haskell-void')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4dac195772876c62d187a123c99ec2c624ce9f5b4c8ea8de9621d01c4eaaaf99a2f856a2c9faf94ec35c531df29f0e82aa9015ad8dd4eb2b2d7478a0da4bacf5')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-store/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:13:18
  Author: felixonmars
Revision: 796589

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-store/repos/community-staging-x86_64/PKGBUILD (from rev 796588, 
haskell-store/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:13:18 UTC (rev 796589)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=store
+pkgname=haskell-store
+pkgver=0.7.9
+pkgrel=4
+pkgdesc="Fast binary serialization"
+url="https://github.com/fpco/store;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
+ 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free'
+ 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
+ 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck'
+ 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
+ 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b19ce4b350becb6b2b84b3802e2f45010568e9a99d3e6203db115ebbefa1ff5805310b88b05c9d0d65c51d497de7e3131edcb1e4c69c7b59f75b968c611369f0')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d nats $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-comparison-bench -f-small-bench
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-pointed/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:09:10
  Author: felixonmars
Revision: 796581

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pointed/repos/community-staging-x86_64/PKGBUILD (from rev 
796580, haskell-pointed/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:09:10 UTC (rev 796581)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=pointed
+pkgname=haskell-pointed
+pkgver=5.0.2
+pkgrel=29
+pkgdesc="Pointed and copointed data"
+url="https://github.com/ekmett/pointed/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-comonad' 'haskell-data-default-class' 
'haskell-hashable'
+ 'haskell-kan-extensions' 'haskell-semigroupoids' 'haskell-tagged'
+ 'haskell-transformers-compat' 'haskell-unordered-containers')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc1c60108cf13f089c66511c6cc6cc695de3614fcaa93be54f9b71eb2ed07d4b3b8d9a550e9ba4d73322445eda36679d7abc554ec807755a2e13722cc68627e0')
+
+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 \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcomonad -fcontainers -fkan-extensions -fsemigroupoids 
-fsemigroups \
+-fstm -ftagged -ftransformers -funordered-containers
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-lens/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:05:51
  Author: felixonmars
Revision: 796573

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lens/repos/community-staging-x86_64/PKGBUILD (from rev 796572, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:05:51 UTC (rev 796573)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.19.2
+pkgrel=56
+pkgdesc="Lenses, Folds and Traversals"
+url="https://github.com/ekmett/lens/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-bifunctors' 
'haskell-call-stack' 'haskell-comonad'
+ 'haskell-contravariant' 'haskell-distributive' 'haskell-free'
+ 'haskell-hashable' 'haskell-kan-extensions' 'haskell-parallel' 
'haskell-profunctors'
+ 'haskell-reflection' 'haskell-semigroupoids' 'haskell-tagged' 
'haskell-th-abstraction'
+ 'haskell-transformers-compat' 'haskell-unordered-containers' 
'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-cabal-doctest' 'haskell-doctest' 
'haskell-generic-deriving' 'haskell-hunit'
+ 'haskell-quickcheck' 'haskell-simple-reflect' 
'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=('f1627c950457c38b0363a71717b76c0c84eafdcebaf14904da632ea295195dee1fd11db07ca524988729254b0e018da4417e40c0cb4f8ff086fbe412ce89f4c6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/nats/d;/semigroups *>= 0.9/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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit \
+-ftest-doctests -f-dump-splices -f-old-inline-pragmas -finlining \
+-f-benchmark-uniplate
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-adjunctions/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:03:05
  Author: felixonmars
Revision: 796569

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-adjunctions/repos/community-staging-x86_64/PKGBUILD (from rev 
796568, haskell-adjunctions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:03:05 UTC (rev 796569)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=adjunctions
+pkgname=haskell-adjunctions
+pkgver=4.4
+pkgrel=187
+pkgdesc="Adjunctions and representable functors"
+url="https://github.com/ekmett/adjunctions/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-comonad' 'haskell-contravariant' 
'haskell-distributive' 'haskell-free'
+ 'haskell-profunctors' 'haskell-semigroupoids' 'haskell-tagged'
+ 'haskell-transformers-compat' 'haskell-void')
+makedepends=('ghc' 'haskell-generic-deriving' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('30f4fb8a30d8428e032d322a9a627e7ebc44b2c737e87670907134a5aa6019145f2c3e6b2e7f8e00d5ffbe1ce4b4a5c812c3ee976257419d7d429b19db28918c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' -e 's/< *0.6/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-dec/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:01:19
  Author: felixonmars
Revision: 796563

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-dec/repos/community-staging-x86_64/PKGBUILD (from rev 796562, 
haskell-dec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:01:19 UTC (rev 796563)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=dec
+pkgname=haskell-dec
+pkgver=0.0.3
+pkgrel=48
+pkgdesc="Decidable propositions"
+url="https://github.com/phadej/dec;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-void')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('446911a59287b48d8b98acf588671e6ed19fc12ed8adeabdab8f21c1fefb80cac7b59b9fea52a4671b997aa63d2eadda5181490e6901e99e9882de572abdc595')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+
+sed -i 's/< *4.13/<5/' $_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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-void/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:59:50
  Author: felixonmars
Revision: 796559

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-void/repos/community-staging-x86_64/PKGBUILD (from rev 796558, 
haskell-void/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:59:50 UTC (rev 796559)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=void
+pkgname=haskell-void
+pkgver=0.7.3
+pkgrel=48
+pkgdesc="A Haskell 98 logically uninhabited data type"
+url="https://github.com/ekmett/void;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-hashable")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d9ecf726c6f7806d25d7d3f759a94d8b82c21c348b1cb7943c48d799bbdfdc01d9d729f1a64aebbf66d52275f2e69fa2b060db2fcb408b83a23ccff2730d8a11')
+
+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 \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-safe
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-psqueues/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:59:18
  Author: felixonmars
Revision: 796557

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-psqueues/repos/community-staging-x86_64/PKGBUILD (from rev 
796556, haskell-psqueues/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:59:18 UTC (rev 796557)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=psqueues
+pkgname=haskell-psqueues
+pkgver=0.2.7.2
+pkgrel=68
+pkgdesc="Pure priority search queues"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('cc70bc22568d24b8618d43be7a2261ab7b55005e7e68a49a4d09b323e03954c05fe8d4de2c344760cdfef26b04bc6937bc331f7e310e1bc9b6b512068eed3be3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *2.14/<3/;s/< *1.3/<2/' $_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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-uuid/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:58:30
  Author: felixonmars
Revision: 796555

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-uuid/repos/community-staging-x86_64/PKGBUILD (from rev 796554, 
haskell-uuid/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:58:30 UTC (rev 796555)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=uuid
+pkgname=haskell-uuid
+pkgver=1.3.13
+pkgrel=74
+pkgdesc="For creating, comparing, parsing and printing Universally Unique 
Identifiers"
+url="https://github.com/aslatter/uuid;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-cryptohash-md5" "haskell-cryptohash-sha1" 
"haskell-entropy"
+ "haskell-network-info" "haskell-random" "haskell-uuid-types")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e888e6350a32c6496b0b57384797925c78ab1c4dc674d296972981fa81338b4705d21a96960a63771aa5b9a785efd507ecaad195767dba7847fcab5ca7f3f923')
+
+prepare() {
+sed -i -e 's/time>= 1.1  && < 1.8,/time>= 
1.1,/' -e 's/<.*0.4/<1/;s/< *1.2/<2/' $_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 \
+--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-constraints/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:55:44
  Author: felixonmars
Revision: 796545

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-constraints/repos/community-staging-x86_64/PKGBUILD (from rev 
796544, haskell-constraints/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:55:44 UTC (rev 796545)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=constraints
+pkgname=haskell-constraints
+pkgver=0.12
+pkgrel=46
+pkgdesc="Constraint manipulation"
+url="https://github.com/ekmett/constraints/;
+license=("custom:BSD2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-transformers-compat' 
'haskell-type-equality')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9c016cba65315d94fc5516490781f403b93cb928e7a0f2a26164ed5191a3609752fe1ecfa0fdb71ef8057fbafee4e1c13257b0148c0f851d0e337b804fa2b0dd')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-hinotify/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:51:30
  Author: felixonmars
Revision: 796531

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hinotify/repos/community-staging-x86_64/PKGBUILD (from rev 
796530, haskell-hinotify/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:51:30 UTC (rev 796531)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hinotify
+pkgname=haskell-hinotify
+pkgver=0.4.1
+pkgrel=16
+pkgdesc="Haskell binding to inotify"
+url="https://github.com/kolmodin/hinotify;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-async")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2f4627a3604ac6ec5d745ba6f4fd11e39a094ad54a5ab4d5040fe6c7c2a8823e42be575b9be95dc6848db99b421bac70798f8eb5f9ba6841f06f6156afe8797b')
+
+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-filelock/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:50:55
  Author: felixonmars
Revision: 796529

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-filelock/repos/community-staging-x86_64/PKGBUILD (from rev 
796528, haskell-filelock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:50:55 UTC (rev 796529)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=filelock
+pkgname=haskell-filelock
+pkgver=0.1.1.5
+pkgrel=37
+pkgdesc="Portable interface to file locking (flock / LockFileEx)"
+url="https://github.com/takano-akio/filelock;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-async')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6ccd0b671cec8d1c2daa3115a5b2d8cd10a31db0a1dc1c15e6cb80d679bd2e09208be8bebc0f4bb64d7cdd0fad2e7e170e8283b6be61edd5017b788f94a41048')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-cryptohash/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:47:17
  Author: felixonmars
Revision: 796519

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cryptohash/repos/community-staging-x86_64/PKGBUILD (from rev 
796518, haskell-cryptohash/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:47:17 UTC (rev 796519)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cryptohash
+pkgname=haskell-cryptohash
+pkgver=0.11.9
+pkgrel=177
+pkgdesc="Collection of crypto hashes, fast, pure and practical"
+url="https://github.com/vincenthz/hs-cryptohash;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-byteable" "haskell-cryptonite" "haskell-memory")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d0eb07f59ae893df1a92a4dc45a98142e507ba3da25057ae4acf781b1b6200a2fb68dd2a19f1ba5f9395217bc81e7be1311a479dc3dcb4ec5338518a2f5239af')
+
+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-tls/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:45:31
  Author: felixonmars
Revision: 796513

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tls/repos/community-staging-x86_64/PKGBUILD (from rev 796512, 
haskell-tls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:45:31 UTC (rev 796513)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tls
+pkgname=haskell-tls
+pkgver=1.5.4
+pkgrel=56
+pkgdesc="TLS/SSL protocol native implementation (Server and Client)"
+url="https://github.com/vincenthz/hs-tls;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-asn1-encoding" "haskell-asn1-types" 
"haskell-async" "haskell-cereal"
+ "haskell-cryptonite" "haskell-data-default-class" 'haskell-hourglass' 
"haskell-memory"
+ "haskell-network" "haskell-x509" "haskell-x509-store" 
"haskell-x509-validation")
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fb95ab6012ed95d82a41810b83e6f779645fa56d46c57f34a954a6885c295737808edcdcdca9e88e5b3c663f5aee71f104fe1fdd9ab35fb6a8ade4a202376d4a')
+
+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-hans -fnetwork -fcompat
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-connection/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:46:41
  Author: felixonmars
Revision: 796517

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-connection/repos/community-staging-x86_64/PKGBUILD (from rev 
796516, haskell-connection/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:46:41 UTC (rev 796517)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=connection
+pkgname=haskell-connection
+pkgver=0.3.1
+pkgrel=76
+pkgdesc="Simple and easy network connections API"
+url="https://github.com/vincenthz/hs-connection;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-basement" "haskell-data-default-class" 
"haskell-network" "haskell-socks"
+ "haskell-tls" "haskell-x509" "haskell-x509-store" 
"haskell-x509-system"
+ "haskell-x509-validation")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('06da91d39e0d9a556a78da77a7ca31d520d5e7e8fd65509f82be926ad2c34282ef1f4d03aa6065c5834bc89417cf51b573f3cf4529fe3ead72eb1e80cc6d7a98')
+
+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-cryptonite/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:42:19
  Author: felixonmars
Revision: 796505

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cryptonite/repos/community-staging-x86_64/PKGBUILD (from rev 
796504, haskell-cryptonite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:42:19 UTC (rev 796505)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cryptonite
+pkgname=haskell-cryptonite
+pkgver=0.27
+pkgrel=41
+pkgdesc="Cryptography Primitives sink"
+url="https://github.com/vincenthz/cryptonite;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement' 'haskell-memory')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-kat'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ce7391bb5e8686c1362e6c23b6073b6aefd10fe02a5f42f9f2fe871ca0a4aa8d71072a1a609566fa6184527c61d1be48d67b794da562e4909806548095acf8ac')
+
+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 \
+-fsupport_deepseq -finteger-gmp -f-support_pclmuldq 
-fsupport_rdrand \
+-fsupport_aesni -f-old_toolchain_inliner -f-check_alignment 
-fsupport_sse
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-x509/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:42:58
  Author: felixonmars
Revision: 796507

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-x509/repos/community-staging-x86_64/PKGBUILD (from rev 796506, 
haskell-x509/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:42:58 UTC (rev 796507)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=x509
+pkgname=haskell-x509
+pkgver=1.7.5
+pkgrel=101
+pkgdesc="X509 reader and writer"
+url="https://github.com/vincenthz/hs-certificate;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-asn1-encoding" "haskell-asn1-parse" 
"haskell-asn1-types"
+ "haskell-cryptonite" "haskell-hourglass" "haskell-memory" 
"haskell-pem")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e1caa84944294ca412b18269eef19f1b511f0e317b25431102b8b757ce266ab4ec48f805d4d251ff46a85f3b20ef368b176d8b93a92456fc9b8885a85695c537')
+
+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-spdx/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:39:49
  Author: felixonmars
Revision: 796501

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-spdx/repos/community-staging-x86_64/PKGBUILD (from rev 796500, 
haskell-spdx/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:39:49 UTC (rev 796501)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=spdx
+pkgname=haskell-spdx
+pkgver=1.0.0.2
+pkgrel=44
+pkgdesc="SPDX license expression language, Extras"
+url="https://github.com/phadej/spdx;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2fb48d204a0c85269d4dbd6bd98efefb0691adc3eb654228b90b244c0d062e0e2f23c42e5f7ef9ab27a2f988654485fec11c3bdc0642b9b17d35791dd80f1548')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/\^//;s/< *1.3/<2/' $_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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-equivalence/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:39:10
  Author: felixonmars
Revision: 796499

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-equivalence/repos/community-staging-x86_64/PKGBUILD (from rev 
796498, haskell-equivalence/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:39:10 UTC (rev 796499)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=equivalence
+pkgname=haskell-equivalence
+pkgver=0.3.5
+pkgrel=62
+pkgdesc="Maintaining an equivalence relation implemented as union-find using 
STT."
+url="https://bitbucket.org/paba/equivalence/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-stmonadtrans" "haskell-transformers-compat")
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f8a073c9ddc49a8c1d60a280b84f97947a23ed6a021b92d4028100ed308cf1dfcd0b26889a6cbbde0e77f00b777b2d1af0fa2410422641e0a03395692a9ebefc')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/, fail//' -e '/fail/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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-stmonadtrans/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:38:29
  Author: felixonmars
Revision: 796497

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-stmonadtrans/repos/community-staging-x86_64/PKGBUILD (from rev 
796496, haskell-stmonadtrans/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:38:29 UTC (rev 796497)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=STMonadTrans
+pkgname=haskell-stmonadtrans
+pkgver=0.4.4
+pkgrel=67
+pkgdesc="A monad transformer version of the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3ab7ff50223f975066cde1227fb23e00263786fa8c5b9d0276fdcc265bb1ac2e5cea97f3fb7fd51aaf25872b126645312c4c622084947dea430d214eac44938b')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *1.3/<2/' $_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 \
+-fsplitbase
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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-commonmark/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 08:36:28
  Author: felixonmars
Revision: 796491

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-commonmark/repos/community-staging-x86_64/PKGBUILD (from rev 
796490, haskell-commonmark/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 08:36:28 UTC (rev 796491)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=commonmark
+pkgname=haskell-commonmark
+pkgver=0.1.1.2
+pkgrel=11
+pkgdesc="Pure Haskell commonmark parser"
+url="https://github.com/jgm/commonmark-hs;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('746539c055ef84b4458e910bf260222498c7081f62f421ca63aa2652a1297c3ad6b518cc27a3783868b8db3df39fe454e78f6ebf51439e73495ab4699c5c8427')
+
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/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   >