[arch-commits] Commit in python-anyio/repos/community-any (PKGBUILD PKGBUILD)

2022-05-13 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 14, 2022 @ 06:38:35
  Author: yan12125
Revision: 1203272

archrelease: copy trunk to community-any

Added:
  python-anyio/repos/community-any/PKGBUILD
(from rev 1203271, python-anyio/trunk/PKGBUILD)
Deleted:
  python-anyio/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 06:38:19 UTC (rev 1203271)
+++ PKGBUILD2022-05-14 06:38:35 UTC (rev 1203272)
@@ -1,42 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=python-anyio
-# https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst
-pkgver=3.5.0
-pkgrel=1
-pkgdesc='High level compatibility layer for multiple asynchronous event loop 
implementations'
-arch=(any)
-url='https://github.com/agronholm/anyio'
-license=(MIT)
-depends=(python python-idna python-sniffio)
-makedepends=(python-setuptools python-setuptools-scm)
-checkdepends=(python-pytest python-trustme python-hypothesis python-uvloop
-  python-curio python-trio python-pytest-mock)
-optdepends=(
-  'python-curio: curio backend'
-  'python-trio: trio backend'
-)
-source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz)
-sha256sums=('55a37ea9eb2092d435af148b42a10005ee62ec7eb7d7a12d73c88e2b8aca5e38')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd anyio-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd anyio-$pkgver
-  # Install to a temporary root as the test suite requires the entry point for
-  # its pytest plugin
-  pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
-  python setup.py install --root="$PWD/tmp_install" --skip-build
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python$pyver/site-packages" pytest
-}
-
-package() {
-  cd anyio-$pkgver
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-anyio/repos/community-any/PKGBUILD (from rev 1203271, 
python-anyio/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 06:38:35 UTC (rev 1203272)
@@ -0,0 +1,42 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-anyio
+# https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst
+pkgver=3.6.1
+pkgrel=1
+pkgdesc='High level compatibility layer for multiple asynchronous event loop 
implementations'
+arch=(any)
+url='https://github.com/agronholm/anyio'
+license=(MIT)
+depends=(python python-idna python-sniffio)
+makedepends=(python-setuptools python-setuptools-scm)
+checkdepends=(python-pytest python-trustme python-hypothesis python-uvloop
+  python-trio python-pytest-mock)
+optdepends=(
+  'python-trio: trio backend'
+  'python-uvloop: use uvloop for asyncio backend'
+)
+source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz)
+sha256sums=('8e09cf634e7877741fa760b93fb46c352f888d7d3b5a8c9f2d60ca1031f03e42')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd anyio-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd anyio-$pkgver
+  # Install to a temporary root as the test suite requires the entry point for
+  # its pytest plugin
+  pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
+  python setup.py install --root="$PWD/tmp_install" --skip-build
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python$pyver/site-packages" pytest
+}
+
+package() {
+  cd anyio-$pkgver
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



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

2022-05-13 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 14, 2022 @ 06:38:19
  Author: yan12125
Revision: 1203271

upgpkg: python-anyio 3.6.1-1; update deps

uvloop support has been there for a long time, and curio support was
dropped as of anyio 3.0 [1]

[1] 
https://anyio.readthedocs.io/en/stable/faq.html#why-is-curio-not-supported-as-a-backend

Modified:
  python-anyio/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 06:16:42 UTC (rev 1203270)
+++ PKGBUILD2022-05-14 06:38:19 UTC (rev 1203271)
@@ -2,7 +2,7 @@
 
 pkgname=python-anyio
 # https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst
-pkgver=3.5.0
+pkgver=3.6.1
 pkgrel=1
 pkgdesc='High level compatibility layer for multiple asynchronous event loop 
implementations'
 arch=(any)
@@ -11,13 +11,13 @@
 depends=(python python-idna python-sniffio)
 makedepends=(python-setuptools python-setuptools-scm)
 checkdepends=(python-pytest python-trustme python-hypothesis python-uvloop
-  python-curio python-trio python-pytest-mock)
+  python-trio python-pytest-mock)
 optdepends=(
-  'python-curio: curio backend'
   'python-trio: trio backend'
+  'python-uvloop: use uvloop for asyncio backend'
 )
 
source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz)
-sha256sums=('55a37ea9eb2092d435af148b42a10005ee62ec7eb7d7a12d73c88e2b8aca5e38')
+sha256sums=('8e09cf634e7877741fa760b93fb46c352f888d7d3b5a8c9f2d60ca1031f03e42')
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 



[arch-commits] Commit in bash-language-server/repos/community-x86_64 (2 files)

2022-05-13 Thread Daniel M. Capella via arch-commits
Date: Saturday, May 14, 2022 @ 06:16:42
  Author: polyzen
Revision: 1203270

archrelease: copy trunk to community-x86_64

Added:
  bash-language-server/repos/community-x86_64/PKGBUILD
(from rev 1203269, bash-language-server/trunk/PKGBUILD)
Deleted:
  bash-language-server/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 06:16:16 UTC (rev 1203269)
+++ PKGBUILD2022-05-14 06:16:42 UTC (rev 1203270)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan 
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Maintainer: Daniel M. Capella 
-
-pkgname=bash-language-server
-pkgver=2.1.0
-pkgrel=1
-pkgdesc="Bash language server implementation based on Tree Sitter and its 
grammar for Bash"
-arch=("x86_64")
-url="https://github.com/bash-lsp/$pkgname";
-license=("MIT")
-depends=("nodejs<18.1.0" "acorn")
-makedepends=("yarn" "typescript" "git")
-optdepends=('bash-completion: for CLI args completion')
-source=("$url/archive/server-$pkgver.tar.gz")
-sha512sums=('4a1814636345595b6561a8bb4a0a7cf48e52a9a86e6ea16120b3ef55d37502561be9fcaa4bc03e6eedbdaaee08d97398f17d02c6c4683c8810ef0aeb36e0dc15')
-
-build() {
-cd "$pkgname-server-$pkgver"
-yarn
-yarn run compile
-}
-
-package() {
-install -d "$pkgdir/usr/lib/$pkgname"
-cd "$pkgdir/usr/lib/$pkgname"
-cp -a "$srcdir/$pkgname-server-$pkgver/server/"* .
-install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" 
"$srcdir/$pkgname-server-$pkgver/LICENSE"
-
-rm -r node_modules/acorn
-mkdir -p node_modules/acorn/bin
-ln -s /usr/bin/acorn node_modules/acorn/bin/acorn
-
-install -d "$pkgdir/usr/bin"
-ln -s "/usr/lib/$pkgname/bin/main.js" "$pkgdir/usr/bin/$pkgname"
-}

Copied: bash-language-server/repos/community-x86_64/PKGBUILD (from rev 1203269, 
bash-language-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 06:16:42 UTC (rev 1203270)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan 
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Maintainer: Daniel M. Capella 
+
+pkgname=bash-language-server
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="Bash language server implementation based on Tree Sitter and its 
grammar for Bash"
+arch=("x86_64")
+url="https://github.com/bash-lsp/$pkgname";
+license=("MIT")
+depends=("nodejs")
+makedepends=("yarn" "typescript" "git")
+optdepends=('bash-completion: for CLI args completion'
+'shellcheck: to enable linting')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/server-$pkgver.tar.gz")
+sha512sums=('ac6bbf9ddac6511cf6b95d0f2549c2c4ac55ad5bd0a66a92856cc9e9c33b718e6165089b0b5e2b446b4855a3640f2a6b7c8b9b01bf3f0fe11974f7aaef505f1b')
+
+build() {
+cd "$pkgname-server-$pkgver"
+yarn
+yarn run compile
+}
+
+package() {
+install -d "$pkgdir/usr/lib/$pkgname"
+cd "$pkgdir/usr/lib/$pkgname"
+cp -a "$srcdir/$pkgname-server-$pkgver/server/"* .
+install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" 
"$srcdir/$pkgname-server-$pkgver/LICENSE"
+
+install -d "$pkgdir/usr/bin"
+ln -s "/usr/lib/$pkgname/bin/main.js" "$pkgdir/usr/bin/$pkgname"
+}



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

2022-05-13 Thread Daniel M. Capella via arch-commits
Date: Saturday, May 14, 2022 @ 06:16:16
  Author: polyzen
Revision: 1203269

upgpkg: bash-language-server 3.0.2-1

Modified:
  bash-language-server/trunk/PKGBUILD

--+
 PKGBUILD |   15 ++-
 1 file changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 05:39:42 UTC (rev 1203268)
+++ PKGBUILD2022-05-14 06:16:16 UTC (rev 1203269)
@@ -3,17 +3,18 @@
 # Maintainer: Daniel M. Capella 
 
 pkgname=bash-language-server
-pkgver=2.1.0
+pkgver=3.0.2
 pkgrel=1
 pkgdesc="Bash language server implementation based on Tree Sitter and its 
grammar for Bash"
 arch=("x86_64")
 url="https://github.com/bash-lsp/$pkgname";
 license=("MIT")
-depends=("nodejs<18.1.0" "acorn")
+depends=("nodejs")
 makedepends=("yarn" "typescript" "git")
-optdepends=('bash-completion: for CLI args completion')
-source=("$url/archive/server-$pkgver.tar.gz")
-sha512sums=('4a1814636345595b6561a8bb4a0a7cf48e52a9a86e6ea16120b3ef55d37502561be9fcaa4bc03e6eedbdaaee08d97398f17d02c6c4683c8810ef0aeb36e0dc15')
+optdepends=('bash-completion: for CLI args completion'
+'shellcheck: to enable linting')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/server-$pkgver.tar.gz")
+sha512sums=('ac6bbf9ddac6511cf6b95d0f2549c2c4ac55ad5bd0a66a92856cc9e9c33b718e6165089b0b5e2b446b4855a3640f2a6b7c8b9b01bf3f0fe11974f7aaef505f1b')
 
 build() {
 cd "$pkgname-server-$pkgver"
@@ -27,10 +28,6 @@
 cp -a "$srcdir/$pkgname-server-$pkgver/server/"* .
 install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" 
"$srcdir/$pkgname-server-$pkgver/LICENSE"
 
-rm -r node_modules/acorn
-mkdir -p node_modules/acorn/bin
-ln -s /usr/bin/acorn node_modules/acorn/bin/acorn
-
 install -d "$pkgdir/usr/bin"
 ln -s "/usr/lib/$pkgname/bin/main.js" "$pkgdir/usr/bin/$pkgname"
 }



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 05:31:03
  Author: felixonmars
Revision: 1203265

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 05:30:51
  Author: felixonmars
Revision: 1203264

upgpkg: hopenpgp-tools 0.23.6-264: rebuild with ixset-typed 0.5.1.0

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 05:29:35 UTC (rev 1203263)
+++ PKGBUILD2022-05-14 05:30:51 UTC (rev 1203264)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.6
-pkgrel=263
+pkgrel=264
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools";
 license=("AGPL3")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 05:29:35
  Author: felixonmars
Revision: 1203263

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hopenpgp/repos/community-staging-x86_64/PKGBUILD (from rev 
1203262, haskell-hopenpgp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 05:29:35 UTC (rev 1203263)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hOpenPGP
+pkgname=haskell-hopenpgp
+pkgver=2.9.7
+pkgrel=58
+pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
+url="http://floss.scru.org/hOpenPGP/";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-asn1-encoding' 
'haskell-attoparsec'
+ 'haskell-base16-bytestring' 'haskell-bifunctors' 'haskell-bz2' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite'
+ 'haskell-crypto-cipher-types' 'haskell-errors' 'haskell-hashable'
+ 'haskell-incremental-parser' 'haskell-ixset-typed' 'haskell-lens' 
'haskell-memory'
+ 'haskell-monad-loops' 'haskell-nettle' 'haskell-network-uri'
+ 'haskell-openpgp-asciiarmor' 'haskell-prettyprinter' 
'haskell-resourcet' 'haskell-split'
+ 'haskell-time-locale-compat' 'haskell-unliftio-core' 
'haskell-unordered-containers'
+ 'haskell-zlib')
+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=('c8589b9bbbc8e211594946a1cad81bda51375f388f7252fab8d87c64ae2cc62e3fb038b405329fee8e7887335b17cf0f82014dc31c60ca1cf34c808d4f0e9b26')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 05:29:24
  Author: felixonmars
Revision: 1203262

upgpkg: haskell-hopenpgp 2.9.7-58: rebuild with ixset-typed 0.5.1.0

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 05:24:51 UTC (rev 1203261)
+++ PKGBUILD2022-05-14 05:29:24 UTC (rev 1203262)
@@ -3,7 +3,7 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.9.7
-pkgrel=57
+pkgrel=58
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/";
 license=('MIT')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 05:24:51
  Author: felixonmars
Revision: 1203261

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ixset-typed/repos/community-staging-x86_64/
  haskell-ixset-typed/repos/community-staging-x86_64/PKGBUILD
(from rev 1203260, haskell-ixset-typed/trunk/PKGBUILD)

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

Copied: haskell-ixset-typed/repos/community-staging-x86_64/PKGBUILD (from rev 
1203260, haskell-ixset-typed/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 05:24:51 UTC (rev 1203261)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ixset-typed
+pkgname=haskell-ixset-typed
+pkgver=0.5.1.0
+pkgrel=1
+pkgdesc="Efficient relational queries on Haskell sets"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-safecopy' 'haskell-syb')
+makedepends=('ghc' '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=('af14bad6b5e6dad55390cf8f70653279cdbb4ec909d0a0812e54bec72678acb2deb7ba9a1c26afbea199ddf1d9c36b739e83e0ca96bdbfbf33a18136428b3ca4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "COPYING" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}



[arch-commits] Commit in haskell-ixset-typed/trunk (PKGBUILD ghc9.patch)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 05:24:40
  Author: felixonmars
Revision: 1203260

upgpkg: haskell-ixset-typed 0.5.1.0-1: rebuild with ixset-typed 0.5.1.0

Modified:
  haskell-ixset-typed/trunk/PKGBUILD
Deleted:
  haskell-ixset-typed/trunk/ghc9.patch

+
 PKGBUILD   |   14 --
 ghc9.patch |   54 --
 2 files changed, 4 insertions(+), 64 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 05:21:59 UTC (rev 1203259)
+++ PKGBUILD2022-05-14 05:24:40 UTC (rev 1203260)
@@ -2,8 +2,8 @@
 
 _hkgname=ixset-typed
 pkgname=haskell-ixset-typed
-pkgver=0.5
-pkgrel=260
+pkgver=0.5.1.0
+pkgrel=1
 pkgdesc="Efficient relational queries on Haskell sets"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('BSD')
@@ -11,15 +11,9 @@
 depends=('ghc-libs' 'haskell-safecopy' 'haskell-syb')
 makedepends=('ghc' '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
-ghc9.patch)
-sha512sums=('0f25a540835805cdea68b46de5956afa887172cf16135f7d13e1c1f59e750652defae74d3ecebdacdb606ddf3bdc515c370e0b57f7ada21e3aa3f6e1b62fe582'
-
'4febefe2d34337482033ad4bfb28ec037323b176127e4a015244d630f8c5071a685d967a633cf64016865b095eb8f473abd5ec829bdf51c431e00ccd478abb0a')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('af14bad6b5e6dad55390cf8f70653279cdbb4ec909d0a0812e54bec72678acb2deb7ba9a1c26afbea199ddf1d9c36b739e83e0ca96bdbfbf33a18136428b3ca4')
 
-prepare() {
-patch -d $_hkgname-$pkgver -p1 < ghc9.patch
-}
-
 build() {
 cd $_hkgname-$pkgver
 

Deleted: ghc9.patch
===
--- ghc9.patch  2022-05-14 05:21:59 UTC (rev 1203259)
+++ ghc9.patch  2022-05-14 05:24:40 UTC (rev 1203260)
@@ -1,54 +0,0 @@
-commit fb8a9ae632ae7685e7fe9e1f9024b22f2e980b4a
-Author: Felix Yan 
-Date:   Tue Jun 22 09:59:29 2021 +0800
-
-Add support for template-haskell 2.17
-
-diff --git a/ixset-typed.cabal b/ixset-typed.cabal
-index 458577b..43c784c 100644
 a/ixset-typed.cabal
-+++ b/ixset-typed.cabal
-@@ -38,7 +38,7 @@ library
-  deepseq  >= 1.3 && < 2,
-  safecopy >= 0.8 && < 0.11,
-  syb  >= 0.4 && < 1,
-- template-haskell >= 2.8 && < 2.17
-+ template-haskell >= 2.8 && < 2.18
- 
-   hs-source-dirs:src
-   exposed-modules:
-diff --git a/src/Data/IxSet/Typed.hs b/src/Data/IxSet/Typed.hs
-index 75be66d..fc628ea 100644
 a/src/Data/IxSet/Typed.hs
-+++ b/src/Data/IxSet/Typed.hs
-@@ -594,7 +594,13 @@ inferIxSet ixset typeName calName entryPoints
-getCalType t' = error ("Unexpected type in getCalType: " 
++ pprint t')
--}
-mkEntryPoint n = (conE 'Ix) `appE`
--(sigE (varE 'Map.empty) (forallT binders 
(return context) $
-+(sigE (varE 'Map.empty) (forallT
-+#if MIN_VERSION_template_haskell(2,17,0)
-+ (map 
(SpecifiedSpec <$) binders)
-+#else
-+ binders
-+#endif
-+ (return context) 
$
-  appT (appT (conT 
''Map) (conT n))
-   (appT 
(conT ''Set) typeCon))) `appE`
- (varE 'flattenWithCalcs `appE` varE 
calName)
-@@ -610,9 +616,15 @@ inferIxSet ixset typeName calName entryPoints
-  return $ [i, ixType']  -- ++ d
-_ -> error "IxSet.inferIxSet calInfo unexpected match"
- 
-+#if MIN_VERSION_template_haskell(2,17,0)
-+tyVarBndrToName :: TyVarBndr () -> Name
-+tyVarBndrToName (PlainTV nm _) = nm
-+tyVarBndrToName (KindedTV nm _ _) = nm
-+#else
- tyVarBndrToName :: TyVarBndr -> Name
- tyVarBndrToName (PlainTV nm) = nm
- tyVarBndrToName (KindedTV nm _) = nm
-+#endif
- 
- -- | Generically traverses the argument to find all occurences of
- -- values of type @b@ and returns them as a list.



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:56:27
  Author: felixonmars
Revision: 1203256

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-butcher/repos/community-staging-x86_64/PKGBUILD (from rev 
1203255, haskell-butcher/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:56:27 UTC (rev 1203256)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=butcher
+pkgname=haskell-butcher
+pkgver=1.3.3.2
+pkgrel=196
+pkgdesc="Chops a command or program invocation into digestable pieces."
+url="https://github.com/lspitzner/butcher/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-deque' 'haskell-extra' 
'haskell-free'
+ 'haskell-microlens' 'haskell-microlens-th' 'haskell-multistate' 
'haskell-unsafe'
+ 'haskell-void')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('1d0f8e8e498b012c4a859671eebf34a6e965e8ed99b3c90d3aad1d8898c40f1b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:56:15
  Author: felixonmars
Revision: 1203255

upgpkg: haskell-butcher 1.3.3.2-196: rebuild with strict-list 0.1.7

Modified:
  haskell-butcher/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:55:30 UTC (rev 1203254)
+++ PKGBUILD2022-05-14 04:56:15 UTC (rev 1203255)
@@ -3,7 +3,7 @@
 _hkgname=butcher
 pkgname=haskell-butcher
 pkgver=1.3.3.2
-pkgrel=195
+pkgrel=196
 pkgdesc="Chops a command or program invocation into digestable pieces."
 url="https://github.com/lspitzner/butcher/";
 license=("BSD")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:55:30
  Author: felixonmars
Revision: 1203254

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-deque/repos/community-staging-x86_64/PKGBUILD (from rev 
1203253, haskell-deque/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:55:30 UTC (rev 1203254)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deque
+pkgname=haskell-deque
+pkgver=0.4.4
+pkgrel=62
+pkgdesc="Double-ended queues"
+url="https://github.com/nikita-volkov/deque";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-strict-list')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('8c771c3906235b6c9d46c96c0c40126cfaef763df59407c87c95431ae34a8b3f051840243b2439a65e9a8f2683c1d884e72d8b716c90246d1c82d0e9e7592047')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:55:17
  Author: felixonmars
Revision: 1203253

upgpkg: haskell-deque 0.4.4-62: rebuild with strict-list 0.1.7

Modified:
  haskell-deque/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:54:40 UTC (rev 1203252)
+++ PKGBUILD2022-05-14 04:55:17 UTC (rev 1203253)
@@ -3,7 +3,7 @@
 _hkgname=deque
 pkgname=haskell-deque
 pkgver=0.4.4
-pkgrel=61
+pkgrel=62
 pkgdesc="Double-ended queues"
 url="https://github.com/nikita-volkov/deque";
 license=("MIT")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:54:40
  Author: felixonmars
Revision: 1203252

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-strict-list/repos/community-staging-x86_64/
  haskell-strict-list/repos/community-staging-x86_64/PKGBUILD
(from rev 1203251, haskell-strict-list/trunk/PKGBUILD)

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

Copied: haskell-strict-list/repos/community-staging-x86_64/PKGBUILD (from rev 
1203251, haskell-strict-list/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:54:40 UTC (rev 1203252)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=strict-list
+pkgname=haskell-strict-list
+pkgver=0.1.7
+pkgrel=1
+pkgdesc="Strict linked list"
+url="https://github.com/nikita-volkov/strict-list";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-semigroupoids')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('9e44808ea7b88079117cd63c136732fa793e3a1e7d6cc2097d2c99f037e6022eac906135b26b10d706b1a2b1361a00832d9b1c37f765657db585df2daed71f33')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:54:28
  Author: felixonmars
Revision: 1203251

upgpkg: haskell-strict-list 0.1.7-1: rebuild with strict-list 0.1.7

Modified:
  haskell-strict-list/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:50:40 UTC (rev 1203250)
+++ PKGBUILD2022-05-14 04:54:28 UTC (rev 1203251)
@@ -2,18 +2,23 @@
 
 _hkgname=strict-list
 pkgname=haskell-strict-list
-pkgver=0.1.6
-pkgrel=65
+pkgver=0.1.7
+pkgrel=1
 pkgdesc="Strict linked list"
 url="https://github.com/nikita-volkov/strict-list";
 license=("MIT")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-hashable' 'haskell-semigroupoids')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
  'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
-sha512sums=('f58cf2cfec7b9f8e397bbacf2acb13743eca76cfe2992270a39bf0456eea79bc1abe838d824f55e7f19e6bbb945609d46ec0ac8a4e2b30df60dfa6a0ced7469b')
+sha512sums=('9e44808ea7b88079117cd63c136732fa793e3a1e7d6cc2097d2c99f037e6022eac906135b26b10d706b1a2b1361a00832d9b1c37f765657db585df2daed71f33')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
 build() {
   cd $_hkgname-$pkgver
 



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:45:02
  Author: felixonmars
Revision: 1203243

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-lsp-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1203242, dhall-lsp-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:45:02 UTC (rev 1203243)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-lsp-server
+pkgver=1.0.18
+pkgrel=29
+pkgdesc="Language Server Protocol (LSP) server for Dhall"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme";
+license=("custom:MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-data-default' 'dhall'
+ 'dhall-json' 'haskell-lsp0' 'haskell-hslogger' 'haskell-lens' 
'haskell-lens-family-core'
+ 'haskell-megaparsec' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-prettyprinter' 'haskell-rope-utf16-splay' 
'haskell-unordered-containers'
+ 'haskell-uri-encode')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-doctest' 'haskell-hspec' 
'haskell-lsp0-types'
+ 'haskell-lsp0-test' 'haskell-tasty' 'haskell-tasty-hspec')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('c0f5ac4c7d2a5c0f228968df354c0a55cff7f8d021a8fbffe9ff97657c5ad2528ad1969468fed43fdc10c369668ca795a9997494b8a5df4e942d11bdc22d2fa9')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  LD_LIBRARY_PATH="$PWD/dist/build" 
PATH="$PWD/dist/build/dhall-lsp-server:$PATH" runhaskell Setup test 
--show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:44:50
  Author: felixonmars
Revision: 1203242

upgpkg: dhall-lsp-server 1.0.18-29: rebuild with tasty-silver 3.3.1.1

Modified:
  dhall-lsp-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:44:36 UTC (rev 1203241)
+++ PKGBUILD2022-05-14 04:44:50 UTC (rev 1203242)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-lsp-server
 pkgver=1.0.18
-pkgrel=28
+pkgrel=29
 pkgdesc="Language Server Protocol (LSP) server for Dhall"
 
url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme";
 license=("custom:MIT")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:44:36
  Author: felixonmars
Revision: 1203241

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-yaml/repos/community-staging-x86_64/PKGBUILD (from rev 1203240, 
dhall-yaml/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:44:36 UTC (rev 1203241)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-yaml
+pkgver=1.2.10
+pkgrel=25
+pkgdesc="Convert between Dhall and YAML"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml";
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 
'haskell-ansi-terminal'
+ 'dhall' 'dhall-json' 'haskell-optparse-applicative' 
'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('d475e2ba0c7f5b03dfba7b6faf563b270ef558cb5a2dde9c7e29707a2a44028ad33fb02284ae140b96b9f2ac6722a6d17ef6e5a1ac8610328dfa8e22b8505733')
+
+prepare() {
+  cd $pkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+  
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:44:26
  Author: felixonmars
Revision: 1203240

upgpkg: dhall-yaml 1.2.10-25: rebuild with tasty-silver 3.3.1.1

Modified:
  dhall-yaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:43:28 UTC (rev 1203239)
+++ PKGBUILD2022-05-14 04:44:26 UTC (rev 1203240)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-yaml
 pkgver=1.2.10
-pkgrel=24
+pkgrel=25
 pkgdesc="Convert between Dhall and YAML"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml";
 license=("GPL3")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:43:28
  Author: felixonmars
Revision: 1203239

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:43:18
  Author: felixonmars
Revision: 1203238

upgpkg: dhall-json 1.7.10-25: rebuild with tasty-silver 3.3.1.1

Modified:
  dhall-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:41:36 UTC (rev 1203237)
+++ PKGBUILD2022-05-14 04:43:18 UTC (rev 1203238)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-json
 pkgver=1.7.10
-pkgrel=24
+pkgrel=25
 pkgdesc='Convert between Dhall and JSON or YAML'
 url='https://dhall-lang.org'
 license=('BSD')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:41:36
  Author: felixonmars
Revision: 1203237

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-docs/repos/community-staging-x86_64/PKGBUILD (from rev 1203236, 
dhall-docs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:41:36 UTC (rev 1203237)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-docs
+pkgver=1.0.9
+pkgrel=31
+pkgdesc="Generate HTML docs from a dhall package"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-docs";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-cryptohash-sha256' 
'dhall'
+ 'haskell-file-embed' 'haskell-lens-family-core' 'haskell-lucid' 
'haskell-megaparsec'
+ 'haskell-mmark' 'haskell-optparse-applicative' 'haskell-path' 
'haskell-path-io'
+ 'haskell-prettyprinter')
+makedepends=('ghc' 'haskell-doctest' 'haskell-foldl' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-silver' 'haskell-turtle')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('ad03a2b8130f1ecc17e4a647f70e7fdee7e49dc7451f980f090d0364b724ee26ee39ee7e87683e9765bba947371d96b64f4411132d8f8a24d3a169684b10fbf0')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:41:25
  Author: felixonmars
Revision: 1203236

upgpkg: dhall-docs 1.0.9-31: rebuild with tasty-silver 3.3.1.1

Modified:
  dhall-docs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:41:00 UTC (rev 1203235)
+++ PKGBUILD2022-05-14 04:41:25 UTC (rev 1203236)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-docs
 pkgver=1.0.9
-pkgrel=30
+pkgrel=31
 pkgdesc="Generate HTML docs from a dhall package"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-docs";
 license=("BSD")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:41:00
  Author: felixonmars
Revision: 1203235

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:40:49
  Author: felixonmars
Revision: 1203234

upgpkg: dhall-bash 1.0.40-29: rebuild with tasty-silver 3.3.1.1

Modified:
  dhall-bash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:39:23 UTC (rev 1203233)
+++ PKGBUILD2022-05-14 04:40:49 UTC (rev 1203234)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-bash
 pkgver=1.0.40
-pkgrel=28
+pkgrel=29
 pkgdesc='Compile Dhall to Bash'
 url='https://dhall-lang.org'
 license=('BSD')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:39:23
  Author: felixonmars
Revision: 1203233

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:39:12
  Author: felixonmars
Revision: 1203232

upgpkg: dhall 1.41.1-24: rebuild with tasty-silver 3.3.1.1

Modified:
  dhall/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:28:40 UTC (rev 1203231)
+++ PKGBUILD2022-05-14 04:39:12 UTC (rev 1203232)
@@ -2,7 +2,7 @@
 
 pkgname=dhall
 pkgver=1.41.1
-pkgrel=23
+pkgrel=24
 pkgdesc='A configuration language guaranteed to terminate'
 url='https://dhall-lang.org'
 license=('BSD')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:28:40
  Author: felixonmars
Revision: 1203231

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-silver/repos/community-staging-x86_64/
  haskell-tasty-silver/repos/community-staging-x86_64/PKGBUILD
(from rev 1203230, haskell-tasty-silver/trunk/PKGBUILD)

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

Copied: haskell-tasty-silver/repos/community-staging-x86_64/PKGBUILD (from rev 
1203230, haskell-tasty-silver/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:28:40 UTC (rev 1203231)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-silver
+pkgname=haskell-tasty-silver
+pkgver=3.3.1.1
+pkgrel=1
+pkgdesc="A fancy test runner, including support for golden tests"
+url="https://github.com/phile314/tasty-silver";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-async' 
'haskell-optparse-applicative'
+ 'haskell-process-extras' 'haskell-regex-tdfa' 'haskell-silently' 
'haskell-tagged'
+ 'haskell-tasty' 'haskell-temporary')
+makedepends=('ghc' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('ce4a83904b5e81063b9fc31704b6cc0e0db00f5d9abb2243c48f51441a5d8d5f33dc836da4300290d1b6c8b02600849d4b80aa64a914589cf1be1bba8d9ead28')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:28:29
  Author: felixonmars
Revision: 1203230

upgpkg: haskell-tasty-silver 3.3.1.1-1: rebuild with tasty-silver 3.3.1.1

Modified:
  haskell-tasty-silver/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:21:25 UTC (rev 1203229)
+++ PKGBUILD2022-05-14 04:28:29 UTC (rev 1203230)
@@ -2,8 +2,8 @@
 
 _hkgname=tasty-silver
 pkgname=haskell-tasty-silver
-pkgver=3.3.1
-pkgrel=38
+pkgver=3.3.1.1
+pkgrel=1
 pkgdesc="A fancy test runner, including support for golden tests"
 url="https://github.com/phile314/tasty-silver";
 license=("MIT")
@@ -13,7 +13,7 @@
  'haskell-tasty' 'haskell-temporary')
 makedepends=('ghc' 'haskell-tasty-hunit')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha512sums=('d2cad2269dcf7710ade6cd8ff4c76880d86bba3b62c4bf69825ef6c624db948d3f0c604fb33d7408794d5bd0c7d0d48c39997112ddf638bb3009b2c7915d0a23')
+sha512sums=('ce4a83904b5e81063b9fc31704b6cc0e0db00f5d9abb2243c48f51441a5d8d5f33dc836da4300290d1b6c8b02600849d4b80aa64a914589cf1be1bba8d9ead28')
 
 build() {
 cd $_hkgname-$pkgver



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:20:02
  Author: felixonmars
Revision: 1203219

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1203218, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:20:02 UTC (rev 1203219)
@@ -0,0 +1,73 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=8.0.0
+pkgrel=186
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-ranged-sets' 'haskell-aeson' 
'haskell-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-fast-logger' 
'haskell-gitrev' 'haskell-hasql'
+ 'haskell-hasql-dynamic-statements' 'haskell-hasql-notifications' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+ 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-protolude' 'haskell-regex-tdfa' 'haskell-scientific'
+ 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-logger' 
'haskell-wai-middleware-static'
+ 'haskell-auto-update' 'haskell-retry' 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
+ 'haskell-hspec-wai-json' 'haskell-monad-control' 
'haskell-transformers-base')
+checkdepends=('pifpaf' 'postgresql' 'procps-ng')
+source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal
+
+# TODO: not a proper fix. probably newly added "column" should be shown too
+sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-CI --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgrest_test
+# https://github.com/PostgREST/postgrest/issues/1857
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test 
--show-details=direct || echo "Tests failed"
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:19:52
  Author: felixonmars
Revision: 1203218

upgpkg: postgrest 8.0.0-186: rebuild with conversion-bytestring 1.0.1.1

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:18:01 UTC (rev 1203217)
+++ PKGBUILD2022-05-14 04:19:52 UTC (rev 1203218)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=8.0.0
-pkgrel=185
+pkgrel=186
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest";
 license=("MIT")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:18:01
  Author: felixonmars
Revision: 1203217

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-notifications/repos/community-staging-x86_64/
  haskell-hasql-notifications/repos/community-staging-x86_64/PKGBUILD
(from rev 1203216, haskell-hasql-notifications/trunk/PKGBUILD)

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

Copied: haskell-hasql-notifications/repos/community-staging-x86_64/PKGBUILD 
(from rev 1203216, haskell-hasql-notifications/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:18:01 UTC (rev 1203217)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-notifications
+pkgname=haskell-hasql-notifications
+pkgver=0.2.0.0
+pkgrel=111
+pkgdesc="LISTEN/NOTIFY support for Hasql"
+url="https://github.com/diogob/hasql-notifications";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-hasql' 
'haskell-hasql-pool'
+ 'haskell-postgresql-libpq')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('b133e38b7a27e66385332791bb03c4a3cf4f85994412318d08cd820577db3ffe')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  eval $(pifpaf run postgresql --host 127.0.0.1)
+  createuser -s postgres
+  createdb hasql_notifications_test
+  runhaskell Setup test --show-details=direct
+  pifpaf_stop
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:17:50
  Author: felixonmars
Revision: 1203216

upgpkg: haskell-hasql-notifications 0.2.0.0-111: rebuild with 
conversion-bytestring 1.0.1.1

Modified:
  haskell-hasql-notifications/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:16:48 UTC (rev 1203215)
+++ PKGBUILD2022-05-14 04:17:50 UTC (rev 1203216)
@@ -3,7 +3,7 @@
 _hkgname=hasql-notifications
 pkgname=haskell-hasql-notifications
 pkgver=0.2.0.0
-pkgrel=110
+pkgrel=111
 pkgdesc="LISTEN/NOTIFY support for Hasql"
 url="https://github.com/diogob/hasql-notifications";
 license=("BSD")



[arch-commits] Commit in haskell-hasql-dynamic-statements/repos (2 files)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:16:48
  Author: felixonmars
Revision: 1203215

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-dynamic-statements/repos/community-staging-x86_64/
  haskell-hasql-dynamic-statements/repos/community-staging-x86_64/PKGBUILD
(from rev 1203214, haskell-hasql-dynamic-statements/trunk/PKGBUILD)

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

Copied: 
haskell-hasql-dynamic-statements/repos/community-staging-x86_64/PKGBUILD (from 
rev 1203214, haskell-hasql-dynamic-statements/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:16:48 UTC (rev 1203215)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-dynamic-statements
+pkgname=haskell-hasql-dynamic-statements
+pkgver=0.3.1
+pkgrel=108
+pkgdesc="Toolkit for constructing Hasql statements dynamically"
+url="https://github.com/nikita-volkov/hasql-dynamic-statements";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-implicits' 'haskell-ptr')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('0c7a7c01c9bd01ad15655635e8bbded57198ba0515b1e72391a27930bb5b45bb')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u hasql $_hkgname.cabal
+  sed -i 's/5432/9824/' test/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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  eval $(pifpaf run postgresql --host 127.0.0.1)
+  createuser -s postgres
+  runhaskell Setup test --show-details=direct
+  pifpaf_stop
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hasql-dynamic-statements/trunk (PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:16:36
  Author: felixonmars
Revision: 1203214

upgpkg: haskell-hasql-dynamic-statements 0.3.1-108: rebuild with 
conversion-bytestring 1.0.1.1

Modified:
  haskell-hasql-dynamic-statements/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:16:02 UTC (rev 1203213)
+++ PKGBUILD2022-05-14 04:16:36 UTC (rev 1203214)
@@ -3,7 +3,7 @@
 _hkgname=hasql-dynamic-statements
 pkgname=haskell-hasql-dynamic-statements
 pkgver=0.3.1
-pkgrel=107
+pkgrel=108
 pkgdesc="Toolkit for constructing Hasql statements dynamically"
 url="https://github.com/nikita-volkov/hasql-dynamic-statements";
 license=("MIT")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:16:02
  Author: felixonmars
Revision: 1203213

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-implicits/repos/community-staging-x86_64/
  haskell-hasql-implicits/repos/community-staging-x86_64/PKGBUILD
(from rev 1203212, haskell-hasql-implicits/trunk/PKGBUILD)

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

Copied: haskell-hasql-implicits/repos/community-staging-x86_64/PKGBUILD (from 
rev 1203212, haskell-hasql-implicits/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:16:02 UTC (rev 1203213)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-implicits
+pkgname=haskell-hasql-implicits
+pkgver=0.1.0.3
+pkgrel=20
+pkgdesc="Implicit definitions for Hasql, such as default codecs for standard 
types"
+url="https://github.com/nikita-volkov/hasql-implicits";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hasql' 'haskell-network-ip' 
'haskell-scientific'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('42cfd03f80172bc7de36c13fdba28dbf5a6f4095b1a4cc0a40ac294382f78777')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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-hasql-implicits/trunk (PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:15:51
  Author: felixonmars
Revision: 1203212

upgpkg: haskell-hasql-implicits 0.1.0.3-20: rebuild with conversion-bytestring 
1.0.1.1

Modified:
  haskell-hasql-implicits/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:15:44 UTC (rev 1203211)
+++ PKGBUILD2022-05-14 04:15:51 UTC (rev 1203212)
@@ -3,7 +3,7 @@
 _hkgname=hasql-implicits
 pkgname=haskell-hasql-implicits
 pkgver=0.1.0.3
-pkgrel=19
+pkgrel=20
 pkgdesc="Implicit definitions for Hasql, such as default codecs for standard 
types"
 url="https://github.com/nikita-volkov/hasql-implicits";
 license=("MIT")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:15:44
  Author: felixonmars
Revision: 1203211

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-transaction/repos/community-staging-x86_64/
  haskell-hasql-transaction/repos/community-staging-x86_64/PKGBUILD
(from rev 1203210, haskell-hasql-transaction/trunk/PKGBUILD)

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

Copied: haskell-hasql-transaction/repos/community-staging-x86_64/PKGBUILD (from 
rev 1203210, haskell-hasql-transaction/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:15:44 UTC (rev 1203211)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-transaction
+pkgname=haskell-hasql-transaction
+pkgver=1.0.1.1
+pkgrel=50
+pkgdesc="A composable abstraction over the retryable transactions for Hasql"
+url="https://github.com/nikita-volkov/hasql-transaction";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bytestring-tree-builder' 'haskell-contravariant'
+ 'haskell-contravariant-extras' 'haskell-hasql')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('c37c463c3cce859cb3afb35ab3ac6a55db27209bbed4209f77b027ace2c21888b544223ceabf86cde92d60c26e65d03df26c2974bcbca99b466f3ccc683f0583')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' conflicts-test/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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:15:30
  Author: felixonmars
Revision: 1203210

upgpkg: haskell-hasql-transaction 1.0.1.1-50: rebuild with 
conversion-bytestring 1.0.1.1

Modified:
  haskell-hasql-transaction/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:15:23 UTC (rev 1203209)
+++ PKGBUILD2022-05-14 04:15:30 UTC (rev 1203210)
@@ -3,7 +3,7 @@
 _hkgname=hasql-transaction
 pkgname=haskell-hasql-transaction
 pkgver=1.0.1.1
-pkgrel=49
+pkgrel=50
 pkgdesc="A composable abstraction over the retryable transactions for Hasql"
 url="https://github.com/nikita-volkov/hasql-transaction";
 license=('MIT')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:15:23
  Author: felixonmars
Revision: 1203209

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-pool/repos/community-staging-x86_64/
  haskell-hasql-pool/repos/community-staging-x86_64/PKGBUILD
(from rev 1203208, haskell-hasql-pool/trunk/PKGBUILD)

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

Copied: haskell-hasql-pool/repos/community-staging-x86_64/PKGBUILD (from rev 
1203208, haskell-hasql-pool/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:15:23 UTC (rev 1203209)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql-pool
+pkgname=haskell-hasql-pool
+pkgver=0.5.2.2
+pkgrel=32
+pkgdesc="A pool of connections for Hasql"
+url="https://github.com/nikita-volkov/hasql-pool";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-hasql' 
'haskell-resource-pool')
+makedepends=('ghc' 'haskell-hspec')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('4e3336ab6fac3b2023f83f28e53a2d44cc961f164e51d1420fba3745d95e874c7f2300358b3a8568bef1506d46f468343e78b58f7c1d39a3673a7565cefc2092')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' test/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 --datasubdir=$pkgname 
--disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+#runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:15:12
  Author: felixonmars
Revision: 1203208

upgpkg: haskell-hasql-pool 0.5.2.2-32: rebuild with conversion-bytestring 
1.0.1.1

Modified:
  haskell-hasql-pool/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:14:32 UTC (rev 1203207)
+++ PKGBUILD2022-05-14 04:15:12 UTC (rev 1203208)
@@ -4,7 +4,7 @@
 _hkgname=hasql-pool
 pkgname=haskell-hasql-pool
 pkgver=0.5.2.2
-pkgrel=31
+pkgrel=32
 pkgdesc="A pool of connections for Hasql"
 url="https://github.com/nikita-volkov/hasql-pool";
 license=('MIT')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:14:32
  Author: felixonmars
Revision: 1203207

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql/repos/community-staging-x86_64/PKGBUILD (from rev 
1203206, haskell-hasql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:14:32 UTC (rev 1203207)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql
+pkgname=haskell-hasql
+pkgver=1.5
+pkgrel=23
+pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
+url="https://github.com/nikita-volkov/hasql";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-bytestring-strict-builder' 
'haskell-contravariant'
+ 'haskell-dlist' 'haskell-hashable' 'haskell-hashtables' 
'haskell-postgresql-binary'
+ 'haskell-postgresql-libpq' 'haskell-profunctors' 
'haskell-text-builder' 'haskell-vector')
+makedepends=('ghc' 'haskell-contravariant-extras' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck-instances' 
'haskell-quickcheck'
+ 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('22d0395c754ee763d53129ba43993e7f02504edf880b2b84f2ef8d79438ec8f7541777691786859da5451fcb1cb6f73e5ecc206b0b291ed21718ef6058da21cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/*.hs threads-test/*.hs profiling/*.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:14:21
  Author: felixonmars
Revision: 1203206

upgpkg: haskell-hasql 1.5-23: rebuild with conversion-bytestring 1.0.1.1

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:13:19 UTC (rev 1203205)
+++ PKGBUILD2022-05-14 04:14:21 UTC (rev 1203206)
@@ -4,7 +4,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.5
-pkgrel=22
+pkgrel=23
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql";
 license=('MIT')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:13:19
  Author: felixonmars
Revision: 1203205

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD (from 
rev 1203204, haskell-postgresql-binary/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:13:19 UTC (rev 1203205)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=postgresql-binary
+pkgname=haskell-postgresql-binary
+pkgver=0.12.4.1
+pkgrel=92
+pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
+url="https://github.com/nikita-volkov/postgresql-binary";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-binary-parser' 
'haskell-bytestring-strict-builder'
+ 'haskell-network-ip' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc' 'haskell-postgresql-libpq' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-json-ast' 'haskell-conversion' 
'haskell-conversion-bytestring'
+ 'haskell-conversion-text' 'haskell-rerebase' 'pifpaf' 
'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('dd1357c1c282d7f906ef1e5af8d47403a24cc31169abee4b559fd2f605bf00a32c710e49fe5f23fc5695662968ea70b2c4ad7339bee43de41cecaa1c4172820f')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/DB.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:13:07
  Author: felixonmars
Revision: 1203204

upgpkg: haskell-postgresql-binary 0.12.4.1-92: rebuild with 
conversion-bytestring 1.0.1.1

Modified:
  haskell-postgresql-binary/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:12:16 UTC (rev 1203203)
+++ PKGBUILD2022-05-14 04:13:07 UTC (rev 1203204)
@@ -4,7 +4,7 @@
 _hkgname=postgresql-binary
 pkgname=haskell-postgresql-binary
 pkgver=0.12.4.1
-pkgrel=91
+pkgrel=92
 pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
 url="https://github.com/nikita-volkov/postgresql-binary";
 license=("MIT")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:12:16
  Author: felixonmars
Revision: 1203203

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conversion-text/repos/community-staging-x86_64/
  haskell-conversion-text/repos/community-staging-x86_64/PKGBUILD
(from rev 1203202, haskell-conversion-text/trunk/PKGBUILD)

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

Copied: haskell-conversion-text/repos/community-staging-x86_64/PKGBUILD (from 
rev 1203202, haskell-conversion-text/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:12:16 UTC (rev 1203203)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conversion-text
+pkgname=haskell-conversion-text
+pkgver=1.0.1
+pkgrel=24
+pkgdesc="Conversion instances for the text library"
+url="https://github.com/nikita-volkov/conversion-text";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-conversion' 
'haskell-conversion-bytestring')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9595af8753f469824ade973064d1225d93409e3c59aac2b3e14ee15139e11c3f8abd4dff220254e4eb83c91fb98a9faf5041ad065096caf4f34e4e23a4a7e79e')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:12:05
  Author: felixonmars
Revision: 1203202

upgpkg: haskell-conversion-text 1.0.1-24: rebuild with conversion-bytestring 
1.0.1.1

Modified:
  haskell-conversion-text/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:10:48 UTC (rev 1203201)
+++ PKGBUILD2022-05-14 04:12:05 UTC (rev 1203202)
@@ -3,7 +3,7 @@
 _hkgname=conversion-text
 pkgname=haskell-conversion-text
 pkgver=1.0.1
-pkgrel=23
+pkgrel=24
 pkgdesc="Conversion instances for the text library"
 url="https://github.com/nikita-volkov/conversion-text";
 license=('MIT')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:10:48
  Author: felixonmars
Revision: 1203201

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conversion-bytestring/repos/community-staging-x86_64/
  haskell-conversion-bytestring/repos/community-staging-x86_64/PKGBUILD
(from rev 1203200, haskell-conversion-bytestring/trunk/PKGBUILD)

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

Copied: haskell-conversion-bytestring/repos/community-staging-x86_64/PKGBUILD 
(from rev 1203200, haskell-conversion-bytestring/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:10:48 UTC (rev 1203201)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conversion-bytestring
+pkgname=haskell-conversion-bytestring
+pkgver=1.0.1.1
+pkgrel=1
+pkgdesc="Conversion instances for the bytestring library"
+url="https://github.com/nikita-volkov/conversion-bytestring";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-conversion')
+makedepends=('ghc' 'uusi')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('12945dbdeea1c3c98f060b2723df989c9f03c6d94afe74d82c3f81b3bf6b88860a6a0e2312f6a8d8fe37eabe35e9ac100b168ea26ad0209ee872f65f6a835aa3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:10:36
  Author: felixonmars
Revision: 1203200

upgpkg: haskell-conversion-bytestring 1.0.1.1-1: rebuild with 
conversion-bytestring 1.0.1.1

Modified:
  haskell-conversion-bytestring/trunk/PKGBUILD

--+
 PKGBUILD |   20 +++-
 1 file changed, 15 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:06:25 UTC (rev 1203199)
+++ PKGBUILD2022-05-14 04:10:36 UTC (rev 1203200)
@@ -2,22 +2,27 @@
 
 _hkgname=conversion-bytestring
 pkgname=haskell-conversion-bytestring
-pkgver=1.0.1
-pkgrel=23
+pkgver=1.0.1.1
+pkgrel=1
 pkgdesc="Conversion instances for the bytestring library"
 url="https://github.com/nikita-volkov/conversion-bytestring";
 license=('MIT')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-base-prelude' 'haskell-conversion')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('317f167c29935d2138f29ae38dab79a5a0ef9d707d7d56a107fc4b9bd545a73cd873ee5fbb2bdac02670407bb2bec6cfe69c18775eba0d2c99e17cbbc3ca')
+sha512sums=('12945dbdeea1c3c98f060b2723df989c9f03c6d94afe74d82c3f81b3bf6b88860a6a0e2312f6a8d8fe37eabe35e9ac100b168ea26ad0209ee872f65f6a835aa3')
 
+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 --datasubdir=$pkgname \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
 runhaskell Setup build $MAKEFLAGS
 runhaskell Setup register --gen-script
@@ -26,6 +31,11 @@
 sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
 package() {
 cd $_hkgname-$pkgver
 



[arch-commits] Commit in python-cryptography-vectors/repos/community-any (2 files)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:06:25
  Author: felixonmars
Revision: 1203199

archrelease: copy trunk to community-any

Added:
  python-cryptography-vectors/repos/community-any/PKGBUILD
(from rev 1203198, python-cryptography-vectors/trunk/PKGBUILD)
Deleted:
  python-cryptography-vectors/repos/community-any/PKGBUILD

--+
 PKGBUILD |   36 ++--
 1 file changed, 18 insertions(+), 18 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 04:06:19 UTC (rev 1203198)
+++ PKGBUILD2022-05-14 04:06:25 UTC (rev 1203199)
@@ -1,18 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=python-cryptography-vectors
-pkgver=37.0.0
-pkgrel=1
-pkgdesc="Test vectors for the cryptography package"
-arch=('any')
-license=('Apache')
-url="https://pypi.python.org/pypi/cryptography-vectors";
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://pypi.io/packages/source/c/cryptography-vectors/cryptography_vectors-$pkgver.tar.gz";)
-sha512sums=('41f12f0593fe2c57f77bb76226d685c8bb0f7f8de0f0b32e0991d55571842f2639399d719855cc6800e29a85ec4f45a1b93a7b10d290ed66112f5b5d8ddc718c')
-
-package() {
-   cd cryptography_vectors-$pkgver
-   python3 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-cryptography-vectors/repos/community-any/PKGBUILD (from rev 
1203198, python-cryptography-vectors/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 04:06:25 UTC (rev 1203199)
@@ -0,0 +1,18 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-cryptography-vectors
+pkgver=37.0.1
+pkgrel=1
+pkgdesc="Test vectors for the cryptography package"
+arch=('any')
+license=('Apache')
+url="https://pypi.python.org/pypi/cryptography-vectors";
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/c/cryptography-vectors/cryptography_vectors-$pkgver.tar.gz";)
+sha512sums=('ed34add6fd9821412bd03214d197693d66d7e0507c5d9a1ce888c020052776952f1e9f2f3e4c1437198aa77cf459cedf9366f4c56f518211c7e4611760b9558d')
+
+package() {
+   cd cryptography_vectors-$pkgver
+   python3 setup.py install --root="$pkgdir" --optimize=1
+}



[arch-commits] Commit in python-cryptography-vectors/trunk (PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:06:13
  Author: felixonmars
Revision: 1203191

upgpkg: python-cryptography-vectors 37.0.1-1

Modified:
  python-cryptography-vectors/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:06:12 UTC (rev 1203190)
+++ PKGBUILD2022-05-14 04:06:13 UTC (rev 1203191)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-cryptography-vectors
-pkgver=37.0.0
+pkgver=37.0.1
 pkgrel=1
 pkgdesc="Test vectors for the cryptography package"
 arch=('any')
@@ -10,7 +10,7 @@
 depends=('python')
 makedepends=('python-setuptools')
 
source=("https://pypi.io/packages/source/c/cryptography-vectors/cryptography_vectors-$pkgver.tar.gz";)
-sha512sums=('41f12f0593fe2c57f77bb76226d685c8bb0f7f8de0f0b32e0991d55571842f2639399d719855cc6800e29a85ec4f45a1b93a7b10d290ed66112f5b5d8ddc718c')
+sha512sums=('ed34add6fd9821412bd03214d197693d66d7e0507c5d9a1ce888c020052776952f1e9f2f3e4c1437198aa77cf459cedf9366f4c56f518211c7e4611760b9558d')
 
 package() {
cd cryptography_vectors-$pkgver



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:03:41
  Author: felixonmars
Revision: 1203186

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 1203185, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:03:41 UTC (rev 1203186)
@@ -0,0 +1,79 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.7.5
+pkgrel=52
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
+ 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
+ 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
+ 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
+ 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
+ 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
+ 'haskell-persistent-sqlite' 'haskell-primitive' 
'haskell-project-template'
+ 'haskell-retry' 'haskell-rio' 'haskell-rio-prettyprint' 
'haskell-split'
+ 'haskell-streaming-commons' 'haskell-tar' 'haskell-temporary' 
'haskell-text-metrics'
+ 'haskell-th-reify-many' 'haskell-tls' 'haskell-typed-process' 
'haskell-unicode-transforms'
+ 'haskell-unix-compat' 'haskell-unliftio' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-yaml' 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-raw-strings-qq' 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";
+ghc9.patch)
+sha512sums=('SKIP'
+
'5229f2f6a32bf8d317a2fc7a7bb16c0698359255c2ec6cbe74cbc78799aa170d4e174e6e182478e52d7040f12f32b7a2b9c246f185d79b6e3f295ccb59f3f3b8')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../ghc9.patch
+  uusi -d semigroups -d persistent-template $pkgname.cabal
+}
+
+build() {
+  cd $pkgname
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+  -f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
+  --ghc-option='-pie'
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname
+  # cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test --show-details=direct
+  # Integration tests will result in 4 failures on Arch currently
+}
+
+package() {
+  cd $pkgname
+
+  install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  runhaskell Setup copy --destdir="${pkgdir}"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 
stack_completio

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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:03:27
  Author: felixonmars
Revision: 1203185

upgpkg: stack 2.7.5-52: rebuild with rio 0.1.22.0

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 04:00:30 UTC (rev 1203184)
+++ PKGBUILD2022-05-14 04:03:27 UTC (rev 1203185)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.5
-pkgrel=51
+pkgrel=52
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack";
 license=("BSD")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:00:30
  Author: felixonmars
Revision: 1203184

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 1203183, haskell-pantry/trunk/PKGBUILD)

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

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
1203183, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 04:00:30 UTC (rev 1203184)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.5.4
+pkgrel=23
+pkgdesc="Content addressable Haskell package management"
+url="https://github.com/commercialhaskell/pantry";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-digest' 'haskell-filelock' 
'haskell-generic-deriving'
+ 'haskell-hackage-security' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mono-traversable' 'haskell-network-uri' 'haskell-path' 
'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 'haskell-primitive' 
'haskell-resourcet'
+ 'haskell-rio' 'haskell-rio-orphans' 'haskell-rio-prettyprint' 
'haskell-tar-conduit'
+ 'haskell-text-metrics' 'haskell-unix-compat' 'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml' 
'haskell-zip-archive')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-quickcheck'
+ 'haskell-raw-strings-qq')
+checkdepends=('git' 'mercurial')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('609c5c0c2aa8bfafbc65930bf77e0037a003d0268621048a3bbc7290d4a128c9c0698849482205411e09493e89c9811894b225a442addf496ba60eb8e89d3920')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+uusi -d persistent-template $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 04:00:19
  Author: felixonmars
Revision: 1203183

upgpkg: haskell-pantry 0.5.4-23: rebuild with rio 0.1.22.0

Modified:
  haskell-pantry/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:59:18 UTC (rev 1203182)
+++ PKGBUILD2022-05-14 04:00:19 UTC (rev 1203183)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.5.4
-pkgrel=22
+pkgrel=23
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry";
 license=('BSD')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:59:18
  Author: felixonmars
Revision: 1203182

archrelease: copy trunk to community-staging-x86_64

Added:
  git-annex/repos/community-staging-x86_64/
  git-annex/repos/community-staging-x86_64/PKGBUILD
(from rev 1203181, git-annex/trunk/PKGBUILD)

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 1203181, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 03:59:18 UTC (rev 1203182)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=10.20220504
+pkgrel=10
+pkgdesc="Manage files with git, without checking their contents into git"
+url="https://git-annex.branchable.com/";
+license=("AGPL3")
+arch=('x86_64')
+depends=('git' 'lsof' 'rsync' 'ghc-libs' 'haskell-aeson' 
'haskell-ansi-terminal' 'haskell-async'
+ 'haskell-aws' 'haskell-blaze-builder' 'haskell-bloomfilter' 
'haskell-byteable'
+ 'haskell-case-insensitive' 'haskell-clientsession' 
'haskell-concurrent-output'
+ 'haskell-connection' 'haskell-conduit' 'haskell-criterion' 
'haskell-crypto-api'
+ 'haskell-cryptonite' 'haskell-data-default' 'haskell-dav' 
'haskell-dbus'
+ 'haskell-disk-free-space' 'haskell-dlist' 'haskell-edit-distance' 
'haskell-fdo-notify'
+ 'haskell-feed' 'haskell-filepath-bytestring' 'haskell-git-lfs' 
'haskell-hinotify'
+ 'haskell-http-client' 'haskell-http-client-restricted' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-ifelse' 
'haskell-magic'
+ 'haskell-memory' 'haskell-microlens' 'haskell-monad-control' 
'haskell-monad-logger'
+ 'haskell-mountpoints' 'haskell-network' 'haskell-network-info' 
'haskell-network-multicast'
+ 'haskell-network-uri' 'haskell-old-locale' 
'haskell-optparse-applicative'
+ 'haskell-path-pieces' 'haskell-persistent' 
'haskell-persistent-sqlite' 'haskell-quickcheck'
+ 'haskell-random' 'haskell-regex-tdfa' 'haskell-resourcet' 
'haskell-safesemaphore'
+ 'haskell-sandi' 'haskell-securemem' 'haskell-shakespeare' 
'haskell-socks' 'haskell-split'
+ 'haskell-stm-chans' 'haskell-tagsoup' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-rerun' 'haskell-torrent' 
'haskell-unix-compat'
+ 'haskell-unliftio-core' 'haskell-unordered-containers' 
'haskell-utf8-string' 'haskell-uuid'
+ 'haskell-vector' 'haskell-wai' 'haskell-wai-extra' 'haskell-warp' 
'haskell-warp-tls'
+ 'haskell-yesod' 'haskell-yesod-core' 'haskell-yesod-form' 
'haskell-yesod-static')
+makedepends=('chrpath' 'ghc' 'uusi')
+source=("git+https://git.joeyh.name/git/git-annex.git#tag=$pkgver";)
+sha512sums=('SKIP')
+
+prepare() {
+  cd git-annex
+  # persistent-template was merged into persistent
+  uusi -d persistent-template git-annex.cabal
+  sed -i 's/MIN_VERSION_persistent_template/MIN_VERSION_persistent/' 
Database/ContentIdentifier.hs Database/Export.hs Database/Fsck.hs 
Database/Keys/SQL.hs
+}
+
+build() {
+  cd git-annex
+  sed -e 's|--ghc-options|-O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla --docdir=/usr/share/doc/'$pkgname' --ghc-options|' \
+  -i Makefile
+  make GHC="ghc -dynamic" BUILDER=./Setup BUILDEROPTIONS=$MAKEFLAGS
+}
+
+package() {
+  cd git-annex
+  make GHC="ghc -dynamic" BUILDER=./Setup DESTDIR="$pkgdir" install
+
+  rmdir "$pkgdir"/usr/share/doc/git-annex "$pkgdir"/usr/share/doc
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:59:08
  Author: felixonmars
Revision: 1203181

upgpkg: git-annex 10.20220504-10: rebuild with rio 0.1.22.0

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:59:01 UTC (rev 1203180)
+++ PKGBUILD2022-05-14 03:59:08 UTC (rev 1203181)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=10.20220504
-pkgrel=9
+pkgrel=10
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/";
 license=("AGPL3")



[arch-commits] Commit in mlite/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:59:01
  Author: felixonmars
Revision: 1203180

archrelease: copy trunk to community-x86_64

Added:
  mlite/repos/community-x86_64/PKGBUILD
(from rev 1203179, mlite/trunk/PKGBUILD)
Deleted:
  mlite/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 03:58:49 UTC (rev 1203179)
+++ PKGBUILD2022-05-14 03:59:01 UTC (rev 1203180)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=mlite
-pkgver=0.3.8
-pkgrel=1
-pkgdesc="Useful classes originating from MeeGo Touch"
-arch=('x86_64')
-url="https://github.com/sailfishos/mlite";
-license=('LGPL')
-depends=('qt5-base' 'dconf')
-makedepends=('qt5-tools')
-source=("https://github.com/sailfishos/mlite/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('8cbe1e8f216430a19465e50f9a04a6a7cedef984234ea87138963d9d1c6939006302a7cbeaa2bdc6e4fcea864bcbefc81c7f7ae2ef788b13e151b1b6397de6f7')
-
-prepare() {
-  cd mlite-$pkgver
-  sed -i -e 's|/usr/libexec|/usr/lib|' \
-  tools/mliteremoteaction/mliteremoteaction.pro \
-  tools/mliteremoteaction/main.cpp \
-  src/mremoteaction.cpp
-}
-
-build() {
-  cd mlite-$pkgver
-  qmake-qt5 VERSION=$pkgver
-  make
-}
-
-package() {
-  cd mlite-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-
-  # Remove tests
-  rm -r "$pkgdir/opt"
-}

Copied: mlite/repos/community-x86_64/PKGBUILD (from rev 1203179, 
mlite/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 03:59:01 UTC (rev 1203180)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan 
+
+pkgname=mlite
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="Useful classes originating from MeeGo Touch"
+arch=('x86_64')
+url="https://github.com/sailfishos/mlite";
+license=('LGPL')
+depends=('qt5-base' 'dconf')
+makedepends=('qt5-tools')
+source=("https://github.com/sailfishos/mlite/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('c271081e219bacf53224c583b53e38a2ca32174e91b4485b529a21dfe179f7306c2aed0a65091cbd8b60d1fe2971d59fd264dbc8bec32461525eb01d39ab25ee')
+
+prepare() {
+  cd mlite-$pkgver
+  sed -i -e 's|/usr/libexec|/usr/lib|' \
+  tools/mliteremoteaction/mliteremoteaction.pro \
+  tools/mliteremoteaction/main.cpp \
+  src/mremoteaction.cpp
+}
+
+build() {
+  cd mlite-$pkgver
+  qmake-qt5 VERSION=$pkgver
+  make
+}
+
+package() {
+  cd mlite-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Remove tests
+  rm -r "$pkgdir/opt"
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:58:49
  Author: felixonmars
Revision: 1203179

upgpkg: mlite 0.4.0-1

Modified:
  mlite/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:58:43 UTC (rev 1203178)
+++ PKGBUILD2022-05-14 03:58:49 UTC (rev 1203179)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=mlite
-pkgver=0.3.8
+pkgver=0.4.0
 pkgrel=1
 pkgdesc="Useful classes originating from MeeGo Touch"
 arch=('x86_64')
@@ -10,7 +10,7 @@
 depends=('qt5-base' 'dconf')
 makedepends=('qt5-tools')
 
source=("https://github.com/sailfishos/mlite/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('8cbe1e8f216430a19465e50f9a04a6a7cedef984234ea87138963d9d1c6939006302a7cbeaa2bdc6e4fcea864bcbefc81c7f7ae2ef788b13e151b1b6397de6f7')
+sha512sums=('c271081e219bacf53224c583b53e38a2ca32174e91b4485b529a21dfe179f7306c2aed0a65091cbd8b60d1fe2971d59fd264dbc8bec32461525eb01d39ab25ee')
 
 prepare() {
   cd mlite-$pkgver



[arch-commits] Commit in python-flask-login/repos/community-any (PKGBUILD PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:58:43
  Author: felixonmars
Revision: 1203178

archrelease: copy trunk to community-any

Added:
  python-flask-login/repos/community-any/PKGBUILD
(from rev 1203177, python-flask-login/trunk/PKGBUILD)
Deleted:
  python-flask-login/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 03:58:31 UTC (rev 1203177)
+++ PKGBUILD2022-05-14 03:58:43 UTC (rev 1203178)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=python-flask-login
-pkgver=0.6.0
-pkgrel=1
-pkgdesc="User session management for Flask"
-arch=('any')
-url="https://pythonhosted.org/Flask-Login/";
-license=('MIT')
-depends=('python' 'python-flask' 'python-werkzeug')
-makedepends=('python-build' 'python-installer' 'python-wheel')
-checkdepends=('python-nose' 'python-mock' 'python-blinker' 
'python-semantic-version' 'python-asgiref')
-source=("https://github.com/maxcountryman/flask-login/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('0766ef5702105bc2cea7082b2b2a9bebed282a9166757adbc91a02c4adcc291d41a3217e8b9566b6bb4778db4a1d2453edb0b7a727c9bff2673833d27b69148e')
-
-build() {
-  cd flask-login-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd flask-login-$pkgver
-  nosetests3
-}
-
-package() {
-  cd flask-login-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-  install -Dm 644 README.md -t "$pkgdir"/usr/share/docs/$pkgname
-}

Copied: python-flask-login/repos/community-any/PKGBUILD (from rev 1203177, 
python-flask-login/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 03:58:43 UTC (rev 1203178)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-flask-login
+pkgver=0.6.1
+pkgrel=1
+pkgdesc="User session management for Flask"
+arch=('any')
+url="https://pythonhosted.org/Flask-Login/";
+license=('MIT')
+depends=('python' 'python-flask' 'python-werkzeug')
+makedepends=('python-build' 'python-installer' 'python-wheel')
+checkdepends=('python-nose' 'python-mock' 'python-blinker' 
'python-semantic-version' 'python-asgiref')
+source=("https://github.com/maxcountryman/flask-login/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('f220e24079923c669d1ce27fdbc7ff8e07e92bc947e2708034cb349176e33ae0adf36ef6c30e8328f592d9a3eb6d0796dc577033f07c33ef0bc48c13a11a942e')
+
+build() {
+  cd flask-login-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd flask-login-$pkgver
+  nosetests3
+}
+
+package() {
+  cd flask-login-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+  install -Dm 644 README.md -t "$pkgdir"/usr/share/docs/$pkgname
+}



[arch-commits] Commit in python-flask-login/trunk (PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:58:31
  Author: felixonmars
Revision: 1203177

upgpkg: python-flask-login 0.6.1-1

Modified:
  python-flask-login/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:57:18 UTC (rev 1203176)
+++ PKGBUILD2022-05-14 03:58:31 UTC (rev 1203177)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-flask-login
-pkgver=0.6.0
+pkgver=0.6.1
 pkgrel=1
 pkgdesc="User session management for Flask"
 arch=('any')
@@ -11,7 +11,7 @@
 makedepends=('python-build' 'python-installer' 'python-wheel')
 checkdepends=('python-nose' 'python-mock' 'python-blinker' 
'python-semantic-version' 'python-asgiref')
 
source=("https://github.com/maxcountryman/flask-login/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('0766ef5702105bc2cea7082b2b2a9bebed282a9166757adbc91a02c4adcc291d41a3217e8b9566b6bb4778db4a1d2453edb0b7a727c9bff2673833d27b69148e')
+sha512sums=('f220e24079923c669d1ce27fdbc7ff8e07e92bc947e2708034cb349176e33ae0adf36ef6c30e8328f592d9a3eb6d0796dc577033f07c33ef0bc48c13a11a942e')
 
 build() {
   cd flask-login-$pkgver



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:57:08
  Author: felixonmars
Revision: 1203175

upgpkg: tamarin-prover 1.6.1-149: rebuild with rio 0.1.22.0

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:57:00 UTC (rev 1203174)
+++ PKGBUILD2022-05-14 03:57:08 UTC (rev 1203175)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.6.1
-pkgrel=148
+pkgrel=149
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io";
 license=("GPL")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:57:18
  Author: felixonmars
Revision: 1203176

archrelease: copy trunk to community-staging-x86_64

Added:
  tamarin-prover/repos/community-staging-x86_64/
  tamarin-prover/repos/community-staging-x86_64/PKGBUILD
(from rev 1203175, tamarin-prover/trunk/PKGBUILD)

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

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
1203175, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 03:57:18 UTC (rev 1203176)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.6.1
+pkgrel=149
+pkgdesc="The Tamarin prover for security protocol analysis"
+url="https://tamarin-prover.github.io";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'graphviz' 'maude' 'haskell-hunit' 
'haskell-binary-orphans' 'haskell-binary-instances'
+ 'haskell-blaze-builder' 'haskell-blaze-html' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-fclabels' 'haskell-file-embed' 'haskell-gitrev' 
'haskell-http-types'
+ 'haskell-lifted-base' 'haskell-resourcet' 'haskell-safe'
+ 'haskell-shakespeare' 'haskell-threads' 'haskell-wai' 'haskell-warp' 
'haskell-yesod-core'
+ 'haskell-yesod-static' 'haskell-tamarin-prover-utils' 
'haskell-tamarin-prover-term'
+ 'haskell-tamarin-prover-theory' 'haskell-tamarin-prover-sapic')
+optdepends=('ocaml: for sapic support')
+makedepends=('ghc' 'ocaml>=4.13.1')
+source=("https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver/tamarin-prover-$pkgver.tar.gz";)
+sha512sums=('dc6b91b1669055913a0aefc9a969812bf252185480fbf67588e7458289b1e1b64bf0729e9bee043513ecd5a57cd0c9477512e80861c6956c08b5e29d90211f62')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '/cp sapic/d' plugins/sapic/Makefile
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+-fthreaded -ftest-coverage -f-build-tests --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+
+cd plugins/sapic
+make -j1
+}
+
+check() {
+cd $pkgname-$pkgver
+LD_LIBRARY_PATH="$PWD"/dist/build dist/build/tamarin-prover/tamarin-prover 
test
+}
+
+package() {
+cd $pkgname-$pkgver
+runhaskell Setup copy --destdir="${pkgdir}"
+
+install -Dm644 etc/filetype.vim 
"$pkgdir"/usr/share/vim/vimfiles/ftdetect/tamarin.vim
+install -Dm644 etc/syntax/spthy.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+ln -s spthy.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+cd plugins/sapic
+install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:57:00
  Author: felixonmars
Revision: 1203174

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 1203173, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 03:57:00 UTC (rev 1203174)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.25
+pkgrel=61
+pkgdesc="Web-based user interface for the hledger accounting system"
+url="http://hledger.org";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 
'haskell-base64'
+ 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-case-insensitive'
+ 'haskell-clientsession' 'haskell-cmdargs' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-data-default' 'haskell-decimal' 'haskell-extra' 
'haskell-hjsmin'
+ 'haskell-hspec' 'haskell-http-conduit' 'haskell-http-client' 
'haskell-http-types'
+ 'haskell-megaparsec' 'haskell-network' 'haskell-shakespeare' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-wai' 
'haskell-wai-cors'
+ 'haskell-wai-extra' 'haskell-wai-handler-launch' 'haskell-warp' 
'haskell-yesod'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-static' 
'haskell-yesod-test')
+makedepends=('ghc' 'uusi')
+replaces=('hledger-api')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('4be48eb2ba57f3f2e183c27bf6689c9b28d4028e194fcd6c400545d7e2119703cc947a8deaaa0b3a9d07668fda09e78744305f5138d5204330399ce557d4ca4f')
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/$pkgname" --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-dev -f-library-only -fthreaded
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+install -Dm644 hledger-web.1 -t "$pkgdir"/usr/share/man/man1/
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:56:49
  Author: felixonmars
Revision: 1203173

upgpkg: hledger-web 1.25-61: rebuild with rio 0.1.22.0

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:56:26 UTC (rev 1203172)
+++ PKGBUILD2022-05-14 03:56:49 UTC (rev 1203173)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.25
-pkgrel=60
+pkgrel=61
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org";
 license=("GPL")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:56:26
  Author: felixonmars
Revision: 1203172

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-download/repos/community-staging-x86_64/PKGBUILD (from rev 
1203171, haskell-http-download/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 03:56:26 UTC (rev 1203172)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-download
+pkgname=haskell-http-download
+pkgver=0.2.0.0
+pkgrel=444
+pkgdesc="Verified downloads with retries"
+url="https://github.com/commercialhaskell/http-download";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base64-bytestring' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit'
+ 'haskell-http-client' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-path' 'haskell-path-io' 'haskell-retry' 'haskell-rio' 
'haskell-rio-prettyprint')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b31caa48c1ea2a01f1301ca63b2e0c135cd0d3d392b92518c7d70d89fd83da7fd95cffa3cb374900a45fb2da8d17f748de0de72fb4beb8ad11e203676f9864ae')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:56:16
  Author: felixonmars
Revision: 1203171

upgpkg: haskell-http-download 0.2.0.0-444: rebuild with rio 0.1.22.0

Modified:
  haskell-http-download/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:55:56 UTC (rev 1203170)
+++ PKGBUILD2022-05-14 03:56:16 UTC (rev 1203171)
@@ -3,7 +3,7 @@
 _hkgname=http-download
 pkgname=haskell-http-download
 pkgver=0.2.0.0
-pkgrel=443
+pkgrel=444
 pkgdesc="Verified downloads with retries"
 url="https://github.com/commercialhaskell/http-download";
 license=('MIT')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:55:56
  Author: felixonmars
Revision: 1203170

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
1203169, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 03:55:56 UTC (rev 1203170)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.1.0
+pkgrel=441
+pkgdesc="Static file serving subsite for Yesod Web Framework."
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-builder' 'haskell-conduit' 'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-css-text' 'haskell-data-default'
+ 'haskell-file-embed' 'haskell-hashable' 'haskell-hjsmin' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-mime-types' 'haskell-rio' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-wai-extra' 
'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('66037ec28eac83e374161c1b306a4d20805ecb35ccfc4878e7894d961daaf30d9936c6e209641ff323d7e3dd5626f5a24a12915d4205417c496e272a2e969f6e')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:55:46
  Author: felixonmars
Revision: 1203169

upgpkg: haskell-yesod-static 1.6.1.0-441: rebuild with rio 0.1.22.0

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:55:39 UTC (rev 1203168)
+++ PKGBUILD2022-05-14 03:55:46 UTC (rev 1203169)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=440
+pkgrel=441
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/";
 license=("MIT")



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:55:39
  Author: felixonmars
Revision: 1203168

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-rio-prettyprint/repos/community-staging-x86_64/
  haskell-rio-prettyprint/repos/community-staging-x86_64/PKGBUILD
(from rev 1203167, haskell-rio-prettyprint/trunk/PKGBUILD)

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

Copied: haskell-rio-prettyprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 1203167, haskell-rio-prettyprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 03:55:39 UTC (rev 1203168)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=rio-prettyprint
+pkgname=haskell-rio-prettyprint
+pkgver=0.1.1.0
+pkgrel=207
+pkgdesc="Pretty-printing for RIO"
+url="https://github.com/commercialhaskell/rio-prettyprint";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-colour' 'haskell-path' 'haskell-rio')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('3f519fa0dd4ea51af565221504358ca5728b9ebe07df8a2b34b83198bb19d6653c048cd45701fed6d99b5204da05449f35c0be8e98df2da1c34ea99023f06bf4')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:55:28
  Author: felixonmars
Revision: 1203167

upgpkg: haskell-rio-prettyprint 0.1.1.0-207: rebuild with rio 0.1.22.0

Modified:
  haskell-rio-prettyprint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:55:22 UTC (rev 1203166)
+++ PKGBUILD2022-05-14 03:55:28 UTC (rev 1203167)
@@ -3,7 +3,7 @@
 _hkgname=rio-prettyprint
 pkgname=haskell-rio-prettyprint
 pkgver=0.1.1.0
-pkgrel=206
+pkgrel=207
 pkgdesc="Pretty-printing for RIO"
 url="https://github.com/commercialhaskell/rio-prettyprint";
 license=('MIT')



[arch-commits] Commit in haskell-hi-file-parser/repos (2 files)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:55:22
  Author: felixonmars
Revision: 1203166

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hi-file-parser/repos/community-staging-x86_64/
  haskell-hi-file-parser/repos/community-staging-x86_64/PKGBUILD
(from rev 1203165, haskell-hi-file-parser/trunk/PKGBUILD)

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

Copied: haskell-hi-file-parser/repos/community-staging-x86_64/PKGBUILD (from 
rev 1203165, haskell-hi-file-parser/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 03:55:22 UTC (rev 1203166)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hi-file-parser
+pkgname=haskell-hi-file-parser
+pkgver=0.1.2.0
+pkgrel=79
+pkgdesc="Parser for GHC's hi files"
+url="https://github.com/commercialhaskell/hi-file-parser";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-rio' 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('a0e04ec071083c23e850264d9beb5d0346f3c2ed8ae99c86d1d4f0980cc5fe431ff8101beb94b03bf3bae6b5d6595070edd692596869252852ee2a45180fdb6a')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hi-file-parser/trunk (PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:55:11
  Author: felixonmars
Revision: 1203165

upgpkg: haskell-hi-file-parser 0.1.2.0-79: rebuild with rio 0.1.22.0

Modified:
  haskell-hi-file-parser/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:55:05 UTC (rev 1203164)
+++ PKGBUILD2022-05-14 03:55:11 UTC (rev 1203165)
@@ -3,7 +3,7 @@
 _hkgname=hi-file-parser
 pkgname=haskell-hi-file-parser
 pkgver=0.1.2.0
-pkgrel=78
+pkgrel=79
 pkgdesc="Parser for GHC's hi files"
 url="https://github.com/commercialhaskell/hi-file-parser";
 license=('BSD')



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-rio-orphans/repos/community-staging-x86_64/
  haskell-rio-orphans/repos/community-staging-x86_64/PKGBUILD
(from rev 1203163, haskell-rio-orphans/trunk/PKGBUILD)

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

Copied: haskell-rio-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 
1203163, haskell-rio-orphans/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 03:55:05 UTC (rev 1203164)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=rio-orphans
+pkgname=haskell-rio-orphans
+pkgver=0.1.2.0
+pkgrel=133
+pkgdesc="Orphan instances for the RIO type in the rio package"
+url="https://github.com/commercialhaskell/rio";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-fast-logger' 'haskell-monad-control'
+ 'haskell-monad-logger' 'haskell-resourcet' 'haskell-rio' 
'haskell-transformers-base'
+ 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('85e883977e161161e5ba8f4fa6d13026d71f7367bac262307f9a8cfdc0316b71a490fcb6c15737919a6b4e73b3355b413161e09f5167c95b1f0c5a22c045f7ac')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:54:53
  Author: felixonmars
Revision: 1203163

upgpkg: haskell-rio-orphans 0.1.2.0-133: rebuild with rio 0.1.22.0

Modified:
  haskell-rio-orphans/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:54:02 UTC (rev 1203162)
+++ PKGBUILD2022-05-14 03:54:53 UTC (rev 1203163)
@@ -3,7 +3,7 @@
 _hkgname=rio-orphans
 pkgname=haskell-rio-orphans
 pkgver=0.1.2.0
-pkgrel=132
+pkgrel=133
 pkgdesc="Orphan instances for the RIO type in the rio package"
 url="https://github.com/commercialhaskell/rio";
 license=('MIT')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:54:02
  Author: felixonmars
Revision: 1203162

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rio/repos/community-staging-x86_64/PKGBUILD (from rev 1203161, 
haskell-rio/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 03:54:02 UTC (rev 1203162)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=rio
+pkgname=haskell-rio
+pkgver=0.1.22.0
+pkgrel=1
+pkgdesc="A standard library for Haskell"
+url="https://github.com/commercialhaskell/rio";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-microlens' 
'haskell-microlens-mtl'
+ 'haskell-primitive' 'haskell-typed-process' 'haskell-unliftio' 
'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('a324bdc62341f7da9300c429712963de3926d5585a5772d412ba50d75503fd1c08edb7e6712d9ddc5d825910a5d59e13d9f0c48a2dca98efe33fead44ec7f8bd')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:53:50
  Author: felixonmars
Revision: 1203161

upgpkg: haskell-rio 0.1.22.0-1: rebuild with rio 0.1.22.0

Modified:
  haskell-rio/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 03:52:27 UTC (rev 1203160)
+++ PKGBUILD2022-05-14 03:53:50 UTC (rev 1203161)
@@ -2,8 +2,8 @@
 
 _hkgname=rio
 pkgname=haskell-rio
-pkgver=0.1.21.0
-pkgrel=58
+pkgver=0.1.22.0
+pkgrel=1
 pkgdesc="A standard library for Haskell"
 url="https://github.com/commercialhaskell/rio";
 license=('MIT')
@@ -13,7 +13,7 @@
  'haskell-unordered-containers' 'haskell-vector')
 makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-quickcheck')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('5a049c7af44f0811e402d641815453be0af1f437a89cada613940085ceb8b8bb66ab92753f31bf400ff16f72ff08a9e83ff422c988e434ffef0c64b4c1cc7224')
+sha512sums=('a324bdc62341f7da9300c429712963de3926d5585a5772d412ba50d75503fd1c08edb7e6712d9ddc5d825910a5d59e13d9f0c48a2dca98efe33fead44ec7f8bd')
 
 prepare() {
 cd $_hkgname-$pkgver



[arch-commits] Commit in python-setuptools/repos/extra-any (PKGBUILD PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:52:30
  Author: felixonmars
Revision: 445436

archrelease: copy trunk to extra-any

Added:
  python-setuptools/repos/extra-any/PKGBUILD
(from rev 445435, python-setuptools/trunk/PKGBUILD)
Deleted:
  python-setuptools/repos/extra-any/PKGBUILD

--+
 PKGBUILD |  166 ++---
 1 file changed, 83 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 03:52:18 UTC (rev 445435)
+++ PKGBUILD2022-05-14 03:52:30 UTC (rev 445436)
@@ -1,83 +0,0 @@
-# Maintainer: Angel Velasquez 
-# Maintainer: Felix Yan 
-# Contributor: Eli Schwartz 
-
-pkgname=python-setuptools
-pkgver=60.0.5
-pkgrel=1
-epoch=1
-pkgdesc="Easily download, build, install, upgrade, and uninstall Python 
packages"
-arch=('any')
-license=('PSF')
-url="https://pypi.org/project/setuptools/";
-depends=('python-appdirs' 'python-more-itertools' 'python-ordered-set' 
'python-packaging'
- 'python-pyparsing')
-makedepends=('git' 'python-setuptools')
-checkdepends=('python-jaraco.envs' 'python-jaraco.path' 'python-mock' 
'python-pip'
-  'python-pytest-fixture-config' 'python-pytest-flake8' 
'python-pytest-virtualenv'
-  'python-wheel' 'python-paver' 'python-pytest-cov' 
'python-sphinx' 'python-build')
-provides=('python-distribute')
-replaces=('python-distribute')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz";)
-sha512sums=('b55f8181b7c76c6b3eb851d8cdb10fd830d151c67775a5aff5c3a1a2e8a3a2ada76ba43d28f82248a2326425000e191fc409bf9047c2626e6233bea1938d0283')
-
-export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
-
-prepare() {
-  rm -r setuptools-$pkgver/{pkg_resources,setuptools}/{extern,_vendor}
-
-  # Upstream devendoring logic is badly broken, see:
-  # https://bugs.archlinux.org/task/58670
-  # https://github.com/pypa/pip/issues/5429
-  # https://github.com/pypa/setuptools/issues/1383
-  # The simplest fix is to simply rewrite import paths to use the canonical
-  # location in the first place
-  for _module in setuptools pkg_resources '' ; do
-  find setuptools-$pkgver -name \*.py -exec sed -i \
-  -e 's/from '$_module.extern' import/import/' \
-  -e 's/from '$_module.extern'./from /' \
-  -e 's/import '$_module.extern'./import /' \
-  -e "s/__import__('$_module.extern./__import__('/" \
-  {} +
-  done
-
-  # Remove post-release tag since we are using stable tags
-  sed -e '/tag_build = .post/d' \
-  -e '/tag_date = 1/d' \
-  -i setuptools-$pkgver/setup.cfg
-
-  # 'Clean' installation is expected to fail since we removed bundled packages
-  sed -i '/^def test_clean_env_install/i @pytest.mark.xfail' 
setuptools-$pkgver/setuptools/tests/test_virtualenv.py
-
-  # Tests failed. Importing an unbundled new setuptools in a virtualenv does 
not work, but this won't
-  # affect normal virtualenv usage (which don't have to import the unbundled 
setuptools in *current*
-  # dir.
-  sed -e '/^def test_pip_upgrade_from_source/i @pytest.mark.xfail' \
-  -e '/^def test_test_command_install_requirements/i @pytest.mark.xfail' \
-  -e '/^def test_no_missing_dependencies/i @pytest.mark.xfail' \
-  -i setuptools-$pkgver/setuptools/tests/test_virtualenv.py
-  
-  cd "$srcdir"/setuptools-$pkgver
-  sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python3|" 
setuptools/command/easy_install.py
-}
-
-build() {
-  cd setuptools-$pkgver
-  python setup.py build
-}
-
-check() { (
-  # Workaround UTF-8 tests by setting LC_CTYPE
-  export LC_CTYPE=en_US.UTF-8
-
-  # https://github.com/pypa/setuptools/pull/810
-  export PYTHONDONTWRITEBYTECODE=1
-
-  cd setuptools-$pkgver
-  SETUPTOOLS_USE_DISTUTILS=stdlib python -m pytest --deselect 
setuptools/tests/test_distutils_adoption.py
-)}
-
-package() {
-  cd setuptools-$pkgver
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 
--skip-build
-}

Copied: python-setuptools/repos/extra-any/PKGBUILD (from rev 445435, 
python-setuptools/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 03:52:30 UTC (rev 445436)
@@ -0,0 +1,83 @@
+# Maintainer: Angel Velasquez 
+# Maintainer: Felix Yan 
+# Contributor: Eli Schwartz 
+
+pkgname=python-setuptools
+pkgver=60.1.0
+pkgrel=1
+epoch=1
+pkgdesc="Easily download, build, install, upgrade, and uninstall Python 
packages"
+arch=('any')
+license=('PSF')
+url="https://pypi.org/project/setuptools/";
+depends=('python-appdirs' 'python-more-itertools' 'python-ordered-set' 
'python-packaging'
+ 'python-pyparsing')
+makedepends=('git' 'python-setuptools')
+checkdepends=('python-jaraco.envs' 'python-jaraco.path' 'python-mock' 
'python-pip'
+  'python-pytest-fixture-config' 'python-pytest-flake8' 
'python-pytest-virtualenv'
+  'pyt

[arch-commits] Commit in python-pypandoc/repos/community-any (PKGBUILD PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:52:27
  Author: felixonmars
Revision: 1203160

archrelease: copy trunk to community-any

Added:
  python-pypandoc/repos/community-any/PKGBUILD
(from rev 1203159, python-pypandoc/trunk/PKGBUILD)
Deleted:
  python-pypandoc/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 03:52:14 UTC (rev 1203159)
+++ PKGBUILD2022-05-14 03:52:27 UTC (rev 1203160)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan 
-# Maintainer: Caleb Maclennan 
-
-pkgname=python-pypandoc
-pkgver=1.7.2
-pkgrel=1
-pkgdesc="Thin wrapper for pandoc"
-arch=('any')
-license=('MIT')
-url="https://github.com/bebraw/pypandoc";
-depends=('pandoc')
-makedepends=('python-setuptools')
-checkdepends=('texlive-core' 'texlive-latexextra')
-source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('e2c5de6d56781484c306214a8757b18f7aa23e64489041ae3876ef8b2c0bf8771cc48246ecc97bf8ae67762364e35d9af5212ca6549f7b81ee16d75b1a85557e')
-
-prepare() {
-  # We don't really need pip and wheel at runtime
-  sed -i "/install_requires = /d" pypandoc-$pkgver/setup.py
-}
-
-build() {
-  cd pypandoc-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pypandoc-$pkgver
-  python setup.py test
-}
-
-package() {
-  cd pypandoc-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-pypandoc/repos/community-any/PKGBUILD (from rev 1203159, 
python-pypandoc/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 03:52:27 UTC (rev 1203160)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+# Maintainer: Caleb Maclennan 
+
+pkgname=python-pypandoc
+pkgver=1.7.4
+pkgrel=1
+pkgdesc="Thin wrapper for pandoc"
+arch=('any')
+license=('MIT')
+url="https://github.com/bebraw/pypandoc";
+depends=('pandoc')
+makedepends=('python-setuptools')
+checkdepends=('texlive-core' 'texlive-latexextra')
+source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('9a31a0c1050ba8ae5b70a404893958da0d7d450a73d9d48fa344c08cc92a69d59b47d63d5d47e1ea060e1df840f68930a293e369b32b9255d67cc54bd26362c5')
+
+prepare() {
+  # We don't really need pip and wheel at runtime
+  sed -i "/install_requires = /d" pypandoc-$pkgver/setup.py
+}
+
+build() {
+  cd pypandoc-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pypandoc-$pkgver
+  # https://github.com/NicklasTegner/pypandoc/issues/278
+  python setup.py test || echo "Tests failed"
+}
+
+package() {
+  cd pypandoc-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:52:14
  Author: felixonmars
Revision: 1203159

upgpkg: python-pypandoc 1.7.4-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:59:12 UTC (rev 1203158)
+++ PKGBUILD2022-05-14 03:52:14 UTC (rev 1203159)
@@ -2,7 +2,7 @@
 # Maintainer: Caleb Maclennan 
 
 pkgname=python-pypandoc
-pkgver=1.7.2
+pkgver=1.7.4
 pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
@@ -12,7 +12,7 @@
 makedepends=('python-setuptools')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('e2c5de6d56781484c306214a8757b18f7aa23e64489041ae3876ef8b2c0bf8771cc48246ecc97bf8ae67762364e35d9af5212ca6549f7b81ee16d75b1a85557e')
+sha512sums=('9a31a0c1050ba8ae5b70a404893958da0d7d450a73d9d48fa344c08cc92a69d59b47d63d5d47e1ea060e1df840f68930a293e369b32b9255d67cc54bd26362c5')
 
 prepare() {
   # We don't really need pip and wheel at runtime
@@ -26,7 +26,8 @@
 
 check() {
   cd pypandoc-$pkgver
-  python setup.py test
+  # https://github.com/NicklasTegner/pypandoc/issues/278
+  python setup.py test || echo "Tests failed"
 }
 
 package() {



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:52:18
  Author: felixonmars
Revision: 445435

upgpkg: python-setuptools 1:60.1.0-1

Modified:
  python-setuptools/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:18:31 UTC (rev 445434)
+++ PKGBUILD2022-05-14 03:52:18 UTC (rev 445435)
@@ -3,7 +3,7 @@
 # Contributor: Eli Schwartz 
 
 pkgname=python-setuptools
-pkgver=60.0.5
+pkgver=60.1.0
 pkgrel=1
 epoch=1
 pkgdesc="Easily download, build, install, upgrade, and uninstall Python 
packages"
@@ -19,7 +19,7 @@
 provides=('python-distribute')
 replaces=('python-distribute')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz";)
-sha512sums=('b55f8181b7c76c6b3eb851d8cdb10fd830d151c67775a5aff5c3a1a2e8a3a2ada76ba43d28f82248a2326425000e191fc409bf9047c2626e6233bea1938d0283')
+sha512sums=('9c74bab1994924131771e99748d7308f602d7a5dc34d71170874f56c534d414cc86da526349a91465666ab8981a5d1d3f2cd89ea1f76cffe2db44d1f5e0e7550')
 
 export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
 



[arch-commits] Commit in sway/repos/community-staging-x86_64 (10 files)

2022-05-13 Thread Brett Cornwall via arch-commits
Date: Saturday, May 14, 2022 @ 02:59:12
  Author: ainola
Revision: 1203158

archrelease: copy trunk to community-staging-x86_64

Added:
  sway/repos/community-staging-x86_64/50-systemd-user.conf
(from rev 1203157, sway/trunk/50-systemd-user.conf)
  sway/repos/community-staging-x86_64/PKGBUILD
(from rev 1203157, sway/trunk/PKGBUILD)
  sway/repos/community-staging-x86_64/sway-session.target
(from rev 1203157, sway/trunk/sway-session.target)
  sway/repos/community-staging-x86_64/sway.install
(from rev 1203157, sway/trunk/sway.install)
  sway/repos/community-staging-x86_64/sway.service
(from rev 1203157, sway/trunk/sway.service)
Deleted:
  sway/repos/community-staging-x86_64/50-systemd-user.conf
  sway/repos/community-staging-x86_64/PKGBUILD
  sway/repos/community-staging-x86_64/sway-session.target
  sway/repos/community-staging-x86_64/sway.install
  sway/repos/community-staging-x86_64/sway.service

--+
 50-systemd-user.conf |   14 ++--
 PKGBUILD |  155 -
 sway-session.target  |   16 ++---
 sway.install |   62 +--
 sway.service |   32 +-
 5 files changed, 140 insertions(+), 139 deletions(-)

Deleted: 50-systemd-user.conf
===
--- 50-systemd-user.conf2022-05-14 02:58:37 UTC (rev 1203157)
+++ 50-systemd-user.conf2022-05-14 02:59:12 UTC (rev 1203158)
@@ -1,7 +0,0 @@
-# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
-# See FS#63021
-# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
-
-exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK 
XDG_CURRENT_DESKTOP
-exec hash dbus-update-activation-environment 2>/dev/null && \
- dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY 
SWAYSOCK XDG_CURRENT_DESKTOP

Copied: sway/repos/community-staging-x86_64/50-systemd-user.conf (from rev 
1203157, sway/trunk/50-systemd-user.conf)
===
--- 50-systemd-user.conf(rev 0)
+++ 50-systemd-user.conf2022-05-14 02:59:12 UTC (rev 1203158)
@@ -0,0 +1,7 @@
+# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
+# See FS#63021
+# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
+
+exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK 
XDG_CURRENT_DESKTOP
+exec hash dbus-update-activation-environment 2>/dev/null && \
+ dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY 
SWAYSOCK XDG_CURRENT_DESKTOP

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 02:58:37 UTC (rev 1203157)
+++ PKGBUILD2022-05-14 02:59:12 UTC (rev 1203158)
@@ -1,77 +0,0 @@
-# Maintainer: Brett Cornwall 
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Alexander F. Rødseth 
-
-pkgname=sway
-pkgver=1.7
-epoch=1
-pkgrel=6
-pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
-arch=(x86_64)
-url='https://swaywm.org/'
-license=(MIT)
-depends=(
-  'cairo'
-  'gdk-pixbuf2'
-  'libevdev.so'
-  'libinput'
-  'libjson-c.so'
-  'libudev.so'
-  'libwayland-server.so'
-  'libwlroots.so'
-  'libxcb'
-  'libxkbcommon.so'
-  'pango'
-  'pcre'
-  'ttf-font'
-)
-makedepends=(meson ninja scdoc setconf wayland-protocols)
-backup=(etc/sway/config)
-optdepends=(
-  'bemenu: Wayland-native alternative to dmenu'
-  'dmenu: Application launcher used in default config'
-  'foot: Terminal emulator used in the default configuration'
-  'i3status: Status line generation'
-  'mako: Lightweight notification daemon'
-  'polkit: System privilege control. Required if not using seatd service'
-  'swaybg: Wallpaper tool for sway'
-  'swayidle: Idle management daemon'
-  'swaylock: Screen locker'
-  'waybar: Highly customizable bar'
-  'xorg-xwayland: X11 support'
-)
-source=("https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz";
-
"https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz.sig";
-"50-systemd-user.conf")
-options=(debug)
-sha512sums=('028cf5d504d5914bfb78d44156d6a290de660c5ed0638f4e2c56e5be76db9b0baeda035e1fa1ae23559016bd7e4312f7ff70c2fb4904df25358577c1a3d21243'
-'SKIP'
-
'c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137')
-validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48'  # Simon Ser
-  '9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A') # Drew DeVault
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  # Set the version information to 'Arch Linux' instead of 'makepkg'
-  sed -i "s/branch \\\'@1@\\\'/Arch Linux/g" meson.build
-}
-
-build() {
-  mkdir -p build
-  arch-meson build "$pkgname-$pkgver" -D sd-bus-provider=libs

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

2022-05-13 Thread Brett Cornwall via arch-commits
Date: Saturday, May 14, 2022 @ 02:58:37
  Author: ainola
Revision: 1203157

Declare the .install file, dummy

Modified:
  sway/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:48:33 UTC (rev 1203156)
+++ PKGBUILD2022-05-14 02:58:37 UTC (rev 1203157)
@@ -5,7 +5,7 @@
 pkgname=sway
 pkgver=1.7
 epoch=1
-pkgrel=6
+pkgrel=7
 pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
 arch=(x86_64)
 url='https://swaywm.org/'
@@ -44,6 +44,7 @@
 
"https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz.sig";
 "50-systemd-user.conf")
 options=(debug)
+install=sway.install
 
sha512sums=('028cf5d504d5914bfb78d44156d6a290de660c5ed0638f4e2c56e5be76db9b0baeda035e1fa1ae23559016bd7e4312f7ff70c2fb4904df25358577c1a3d21243'
 'SKIP'
 
'c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137')



[arch-commits] Commit in sway/repos/community-staging-x86_64 (10 files)

2022-05-13 Thread Brett Cornwall via arch-commits
Date: Saturday, May 14, 2022 @ 02:42:23
  Author: ainola
Revision: 1203151

archrelease: copy trunk to community-staging-x86_64

Added:
  sway/repos/community-staging-x86_64/50-systemd-user.conf
(from rev 1203150, sway/trunk/50-systemd-user.conf)
  sway/repos/community-staging-x86_64/PKGBUILD
(from rev 1203150, sway/trunk/PKGBUILD)
  sway/repos/community-staging-x86_64/sway-session.target
(from rev 1203150, sway/trunk/sway-session.target)
  sway/repos/community-staging-x86_64/sway.install
(from rev 1203150, sway/trunk/sway.install)
  sway/repos/community-staging-x86_64/sway.service
(from rev 1203150, sway/trunk/sway.service)
Deleted:
  sway/repos/community-staging-x86_64/50-systemd-user.conf
  sway/repos/community-staging-x86_64/PKGBUILD
  sway/repos/community-staging-x86_64/sway-session.target
  sway/repos/community-staging-x86_64/sway.install
  sway/repos/community-staging-x86_64/sway.service

--+
 50-systemd-user.conf |   14 ++--
 PKGBUILD |  148 +
 sway-session.target  |   16 ++---
 sway.install |   62 ++--
 sway.service |   32 +-
 5 files changed, 139 insertions(+), 133 deletions(-)

Deleted: 50-systemd-user.conf
===
--- 50-systemd-user.conf2022-05-14 02:41:49 UTC (rev 1203150)
+++ 50-systemd-user.conf2022-05-14 02:42:23 UTC (rev 1203151)
@@ -1,7 +0,0 @@
-# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
-# See FS#63021
-# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
-
-exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK 
XDG_CURRENT_DESKTOP
-exec hash dbus-update-activation-environment 2>/dev/null && \
- dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY 
SWAYSOCK XDG_CURRENT_DESKTOP

Copied: sway/repos/community-staging-x86_64/50-systemd-user.conf (from rev 
1203150, sway/trunk/50-systemd-user.conf)
===
--- 50-systemd-user.conf(rev 0)
+++ 50-systemd-user.conf2022-05-14 02:42:23 UTC (rev 1203151)
@@ -0,0 +1,7 @@
+# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
+# See FS#63021
+# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
+
+exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK 
XDG_CURRENT_DESKTOP
+exec hash dbus-update-activation-environment 2>/dev/null && \
+ dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY 
SWAYSOCK XDG_CURRENT_DESKTOP

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 02:41:49 UTC (rev 1203150)
+++ PKGBUILD2022-05-14 02:42:23 UTC (rev 1203151)
@@ -1,71 +0,0 @@
-# Maintainer: Brett Cornwall 
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Alexander F. Rødseth 
-
-pkgname=sway
-pkgver=1.7
-epoch=1
-pkgrel=5
-pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
-arch=(x86_64)
-url='https://swaywm.org/'
-license=(MIT)
-depends=(
-  'cairo'
-  'gdk-pixbuf2'
-  'json-c'
-  'pango'
-  'pcre'
-  'seatd'
-  'ttf-font'
-  'wlroots'
-)
-makedepends=(git meson ninja scdoc setconf wayland-protocols)
-backup=(etc/sway/config)
-optdepends=(
-  'dmenu: Application launcher'
-  'i3status: Status line'
-  'foot: Terminal emulator used in the default configuration'
-  'mako: Lightweight notification daemon'
-  'polkit: System privilege control. Required if not using seatd service'
-  'swaybg: Wallpaper tool for sway'
-  'swayidle: Idle management daemon'
-  'swaylock: Screen locker'
-  'waybar: Highly customizable bar'
-  'xorg-xwayland: X11 support'
-)
-source=("https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz";
-
"https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz.sig";
-"50-systemd-user.conf")
-options=(debug)
-sha512sums=('028cf5d504d5914bfb78d44156d6a290de660c5ed0638f4e2c56e5be76db9b0baeda035e1fa1ae23559016bd7e4312f7ff70c2fb4904df25358577c1a3d21243'
-'SKIP'
-
'c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137')
-validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48'  # Simon Ser
-  '9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A') # Drew DeVault
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  # Set the version information to 'Arch Linux' instead of 'makepkg'
-  sed -i "s/branch \\\'@1@\\\'/Arch Linux/g" meson.build
-}
-
-build() {
-  mkdir -p build
-  arch-meson build "$pkgname-$pkgver" -D sd-bus-provider=libsystemd -D 
werror=false -D b_ndebug=true
-  ninja -C build
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-  install -Dm644 "$pkgname-$pkgver/LICENSE" 
"$pkgdir/usr/share

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

2022-05-13 Thread Brett Cornwall via arch-commits
Date: Saturday, May 14, 2022 @ 02:41:49
  Author: ainola
Revision: 1203150

Rework dependencies; shared object deps where available

Modified:
  sway/trunk/PKGBUILD

--+
 PKGBUILD |   20 +---
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:33:29 UTC (rev 1203149)
+++ PKGBUILD2022-05-14 02:41:49 UTC (rev 1203150)
@@ -5,7 +5,7 @@
 pkgname=sway
 pkgver=1.7
 epoch=1
-pkgrel=5
+pkgrel=6
 pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
 arch=(x86_64)
 url='https://swaywm.org/'
@@ -13,19 +13,25 @@
 depends=(
   'cairo'
   'gdk-pixbuf2'
-  'json-c'
+  'libevdev.so'
+  'libinput'
+  'libjson-c.so'
+  'libudev.so'
+  'libwayland-server.so'
+  'libwlroots.so'
+  'libxcb'
+  'libxkbcommon.so'
   'pango'
   'pcre'
-  'seatd'
   'ttf-font'
-  'wlroots'
 )
-makedepends=(git meson ninja scdoc setconf wayland-protocols)
+makedepends=(meson ninja scdoc setconf wayland-protocols)
 backup=(etc/sway/config)
 optdepends=(
-  'dmenu: Application launcher'
-  'i3status: Status line'
+  'bemenu: Wayland-native alternative to dmenu'
+  'dmenu: Application launcher used in default config'
   'foot: Terminal emulator used in the default configuration'
+  'i3status: Status line generation'
   'mako: Lightweight notification daemon'
   'polkit: System privilege control. Required if not using seatd service'
   'swaybg: Wallpaper tool for sway'



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:33:29
  Author: felixonmars
Revision: 1203149

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 1203148, haskell-gtk3/trunk/PKGBUILD)

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

Copied: haskell-gtk3/repos/community-staging-x86_64/PKGBUILD (from rev 1203148, 
haskell-gtk3/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 02:33:29 UTC (rev 1203149)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin 
+
+pkgname=haskell-gtk3
+pkgver=0.15.7
+pkgrel=4
+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=('e329bec03b558948e5c346df68ad28a79d41a5abfc9acba06545f5ccea2199e58fa4086e2725ed46e51c85474ffe097e044f09f0cb307d0eb9c48cd47dcf9ccd')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${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-gtk3/trunk (PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:33:18
  Author: felixonmars
Revision: 1203148

upgpkg: haskell-gtk3 0.15.7-4: rebuild with gtk2hs-buildtools 0.13.8.2

Modified:
  haskell-gtk3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:29:28 UTC (rev 1203147)
+++ PKGBUILD2022-05-14 02:33:18 UTC (rev 1203148)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-gtk3
 pkgver=0.15.7
-pkgrel=3
+pkgrel=4
 pkgdesc="Binding to the gtk library for Gtk2Hs."
 url="https://hackage.haskell.org/package/gtk3";
 license=('LGPL2.1')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:29:28
  Author: felixonmars
Revision: 1203147

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 1203146, haskell-pango/trunk/PKGBUILD)

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

Copied: haskell-pango/repos/community-staging-x86_64/PKGBUILD (from rev 
1203146, haskell-pango/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 02:29:28 UTC (rev 1203147)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin 
+
+_hkgname=pango
+pkgname=haskell-pango
+pkgver=0.13.8.2
+pkgrel=9
+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=('32a9030385ffc049503c9a39a00f48650d1a98b0f1beacb798072e0af19371d5178df3001719a67bbfb4a8e597fa11f86b7d419465087c63ee2962eee93f9567')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:29:17
  Author: felixonmars
Revision: 1203146

upgpkg: haskell-pango 0.13.8.2-9: rebuild with gtk2hs-buildtools 0.13.8.2

Modified:
  haskell-pango/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:28:37 UTC (rev 1203145)
+++ PKGBUILD2022-05-14 02:29:17 UTC (rev 1203146)
@@ -3,7 +3,7 @@
 _hkgname=pango
 pkgname=haskell-pango
 pkgver=0.13.8.2
-pkgrel=8
+pkgrel=9
 pkgdesc="Binding to the pango library for Gtk2Hs."
 url="https://hackage.haskell.org/package/pango";
 license=('LGPL2.1')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:28:37
  Author: felixonmars
Revision: 1203145

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 1203144, haskell-cairo/trunk/PKGBUILD)

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

Copied: haskell-cairo/repos/community-staging-x86_64/PKGBUILD (from rev 
1203144, haskell-cairo/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 02:28:37 UTC (rev 1203145)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin 
+
+pkgname=haskell-cairo
+pkgver=0.13.8.1
+pkgrel=143
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${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-cairo/trunk (PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:28:26
  Author: felixonmars
Revision: 1203144

upgpkg: haskell-cairo 0.13.8.1-143: rebuild with gtk2hs-buildtools 0.13.8.2

Modified:
  haskell-cairo/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:27:50 UTC (rev 1203143)
+++ PKGBUILD2022-05-14 02:28:26 UTC (rev 1203144)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-cairo
 pkgver=0.13.8.1
-pkgrel=142
+pkgrel=143
 pkgdesc="Binding to the cairo library for Gtk2Hs."
 url="https://hackage.haskell.org/package/cairo";
 license=('LGPL2.1')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:27:50
  Author: felixonmars
Revision: 1203143

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 1203142, haskell-glib/trunk/PKGBUILD)

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

Copied: haskell-glib/repos/community-staging-x86_64/PKGBUILD (from rev 1203142, 
haskell-glib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 02:27:50 UTC (rev 1203143)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin 
+
+pkgname=haskell-glib
+pkgver=0.13.8.2
+pkgrel=8
+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=('ad1be2434f88f02e65142333ebbc9bac7a5ed94ff4053478c33d5f4abdb67743b9541568ee2df18b82b6e6752f341bc808b8c109d04a68aa3a2068cb4f3cbcbe')
+
+build() {
+cd "${srcdir}/glib-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-glib/trunk (PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:27:40
  Author: felixonmars
Revision: 1203142

upgpkg: haskell-glib 0.13.8.2-8: rebuild with gtk2hs-buildtools 0.13.8.2

Modified:
  haskell-glib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:26:59 UTC (rev 1203141)
+++ PKGBUILD2022-05-14 02:27:40 UTC (rev 1203142)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-glib
 pkgver=0.13.8.2
-pkgrel=7
+pkgrel=8
 pkgdesc="Binding to the GLIB library for Gtk2Hs."
 url="https://hackage.haskell.org/package/glib";
 license=('LGPL2.1')



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:26:59
  Author: felixonmars
Revision: 1203141

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-gtk2hs-buildtools/repos/community-staging-x86_64/
  haskell-gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD
(from rev 1203140, haskell-gtk2hs-buildtools/trunk/PKGBUILD)

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

Copied: haskell-gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD (from 
rev 1203140, haskell-gtk2hs-buildtools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 02:26:59 UTC (rev 1203141)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin 
+
+pkgname=haskell-gtk2hs-buildtools
+pkgver=0.13.8.2
+pkgrel=1
+pkgdesc="Tools to build the Gtk2Hs suite of User Interface libraries."
+url="https://hackage.haskell.org/package/gtk2hs-buildtools";
+license=('GPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-random' 'haskell-hashtables')
+makedepends=('alex' 'happy' 'ghc')
+provides=('gtk2hs-buildtools')
+conflicts=('gtk2hs-buildtools')
+replaces=('gtk2hs-buildtools')
+source=("https://hackage.haskell.org/packages/archive/gtk2hs-buildtools/${pkgver}/gtk2hs-buildtools-${pkgver}.tar.gz";)
+sha512sums=('84e34c71b970418edc3b70dc9b0038b94111ee8b6fe5e428dd49761fb6cbd5fcd7b2ee63863794aed66ba47682a7ba3e9372bd15903f33783c5af43cd7f4d215')
+
+build() {
+cd gtk2hs-buildtools-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid # 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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 gtk2hs-buildtools-$pkgver
+
+install -D -m744 register.sh 
"$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-gtk2hs-buildtools/trunk (PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:26:48
  Author: felixonmars
Revision: 1203140

upgpkg: haskell-gtk2hs-buildtools 0.13.8.2-1: rebuild with gtk2hs-buildtools 
0.13.8.2

Modified:
  haskell-gtk2hs-buildtools/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:21:34 UTC (rev 1203139)
+++ PKGBUILD2022-05-14 02:26:48 UTC (rev 1203140)
@@ -1,8 +1,8 @@
 # Maintainer: Sergej Pupykin 
 
 pkgname=haskell-gtk2hs-buildtools
-pkgver=0.13.8.1
-pkgrel=7
+pkgver=0.13.8.2
+pkgrel=1
 pkgdesc="Tools to build the Gtk2Hs suite of User Interface libraries."
 url="https://hackage.haskell.org/package/gtk2hs-buildtools";
 license=('GPL2')
@@ -13,7 +13,7 @@
 conflicts=('gtk2hs-buildtools')
 replaces=('gtk2hs-buildtools')
 
source=("https://hackage.haskell.org/packages/archive/gtk2hs-buildtools/${pkgver}/gtk2hs-buildtools-${pkgver}.tar.gz";)
-sha512sums=('c646b24f7ccc587a5a368d0877d2c0714e312ee83116a8e0facebb901cccae38445f313b0595dfe5c6b505ac1d6c2765a117337d0d86e23ea3e29b0879d0ae1e')
+sha512sums=('84e34c71b970418edc3b70dc9b0038b94111ee8b6fe5e428dd49761fb6cbd5fcd7b2ee63863794aed66ba47682a7ba3e9372bd15903f33783c5af43cd7f4d215')
 
 build() {
 cd gtk2hs-buildtools-$pkgver



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:18:53
  Author: felixonmars
Revision: 1203113

archrelease: copy trunk to community-staging-x86_64

Added:
  git-annex/repos/community-staging-x86_64/
  git-annex/repos/community-staging-x86_64/PKGBUILD
(from rev 1203112, git-annex/trunk/PKGBUILD)

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 1203112, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 02:18:53 UTC (rev 1203113)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=10.20220504
+pkgrel=9
+pkgdesc="Manage files with git, without checking their contents into git"
+url="https://git-annex.branchable.com/";
+license=("AGPL3")
+arch=('x86_64')
+depends=('git' 'lsof' 'rsync' 'ghc-libs' 'haskell-aeson' 
'haskell-ansi-terminal' 'haskell-async'
+ 'haskell-aws' 'haskell-blaze-builder' 'haskell-bloomfilter' 
'haskell-byteable'
+ 'haskell-case-insensitive' 'haskell-clientsession' 
'haskell-concurrent-output'
+ 'haskell-connection' 'haskell-conduit' 'haskell-criterion' 
'haskell-crypto-api'
+ 'haskell-cryptonite' 'haskell-data-default' 'haskell-dav' 
'haskell-dbus'
+ 'haskell-disk-free-space' 'haskell-dlist' 'haskell-edit-distance' 
'haskell-fdo-notify'
+ 'haskell-feed' 'haskell-filepath-bytestring' 'haskell-git-lfs' 
'haskell-hinotify'
+ 'haskell-http-client' 'haskell-http-client-restricted' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-ifelse' 
'haskell-magic'
+ 'haskell-memory' 'haskell-microlens' 'haskell-monad-control' 
'haskell-monad-logger'
+ 'haskell-mountpoints' 'haskell-network' 'haskell-network-info' 
'haskell-network-multicast'
+ 'haskell-network-uri' 'haskell-old-locale' 
'haskell-optparse-applicative'
+ 'haskell-path-pieces' 'haskell-persistent' 
'haskell-persistent-sqlite' 'haskell-quickcheck'
+ 'haskell-random' 'haskell-regex-tdfa' 'haskell-resourcet' 
'haskell-safesemaphore'
+ 'haskell-sandi' 'haskell-securemem' 'haskell-shakespeare' 
'haskell-socks' 'haskell-split'
+ 'haskell-stm-chans' 'haskell-tagsoup' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-rerun' 'haskell-torrent' 
'haskell-unix-compat'
+ 'haskell-unliftio-core' 'haskell-unordered-containers' 
'haskell-utf8-string' 'haskell-uuid'
+ 'haskell-vector' 'haskell-wai' 'haskell-wai-extra' 'haskell-warp' 
'haskell-warp-tls'
+ 'haskell-yesod' 'haskell-yesod-core' 'haskell-yesod-form' 
'haskell-yesod-static')
+makedepends=('chrpath' 'ghc' 'uusi')
+source=("git+https://git.joeyh.name/git/git-annex.git#tag=$pkgver";)
+sha512sums=('SKIP')
+
+prepare() {
+  cd git-annex
+  # persistent-template was merged into persistent
+  uusi -d persistent-template git-annex.cabal
+  sed -i 's/MIN_VERSION_persistent_template/MIN_VERSION_persistent/' 
Database/ContentIdentifier.hs Database/Export.hs Database/Fsck.hs 
Database/Keys/SQL.hs
+}
+
+build() {
+  cd git-annex
+  sed -e 's|--ghc-options|-O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla --docdir=/usr/share/doc/'$pkgname' --ghc-options|' \
+  -i Makefile
+  make GHC="ghc -dynamic" BUILDER=./Setup BUILDEROPTIONS=$MAKEFLAGS
+}
+
+package() {
+  cd git-annex
+  make GHC="ghc -dynamic" BUILDER=./Setup DESTDIR="$pkgdir" install
+
+  rmdir "$pkgdir"/usr/share/doc/git-annex "$pkgdir"/usr/share/doc
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 02:18:41
  Author: felixonmars
Revision: 1203112

upgpkg: git-annex 10.20220504-9: rebuild with wai-extra 3.1.11

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:18:31 UTC (rev 1203111)
+++ PKGBUILD2022-05-14 02:18:41 UTC (rev 1203112)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=10.20220504
-pkgrel=8
+pkgrel=9
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/";
 license=("AGPL3")



[arch-commits] Commit in librsvg/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2022-05-13 Thread Jan Steffens via arch-commits
Date: Saturday, May 14, 2022 @ 02:18:31
  Author: heftig
Revision: 445434

archrelease: copy trunk to extra-x86_64

Added:
  librsvg/repos/extra-x86_64/PKGBUILD
(from rev 445433, librsvg/trunk/PKGBUILD)
Deleted:
  librsvg/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 02:18:10 UTC (rev 445433)
+++ PKGBUILD2022-05-14 02:18:31 UTC (rev 445434)
@@ -1,66 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) 
-# Contributor: Jan de Groot 
-
-pkgbase=librsvg
-pkgname=(librsvg librsvg-docs)
-pkgver=2.54.2
-pkgrel=1
-epoch=2
-pkgdesc="SVG rendering library"
-url="https://wiki.gnome.org/Projects/LibRsvg";
-arch=(x86_64)
-license=(LGPL)
-depends=(cairo freetype2 gdk-pixbuf2 glib2 harfbuzz libxml2 pango)
-makedepends=(gobject-introspection vala git rust gi-docgen python-docutils)
-checkdepends=(ttf-dejavu)
-options=(debug)
-_commit=a380a1b45c970fb3861ff08431352c2010bf  # tags/2.54.2^0
-source=("git+https://gitlab.gnome.org/GNOME/librsvg.git#commit=$_commit";)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd librsvg
-  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
-  cd librsvg
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-# Use LTO
-export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
-
-# Use debug
-export CARGO_PROFILE_RELEASE_DEBUG=2
-
-build() {
-  cd librsvg
-  ./configure --prefix=/usr --disable-static --enable-vala --enable-gtk-doc
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
-  make
-}
-
-check() {
-  # Test suite is very dependent on the versions of
-  # Cairo, Pango, FreeType and HarfBuzz
-  make -C librsvg check || :
-}
-
-package_librsvg() {
-  provides=(librsvg-${pkgver%%.*}.so)
-
-  make -C librsvg DESTDIR="$pkgdir" install
-
-  mkdir -p doc/usr/share
-  mv {"$pkgdir",doc}/usr/share/doc
-}
-
-package_librsvg-docs() {
-  pkgdesc+=" (documentation)"
-  depends=()
-
-  mv doc/* "$pkgdir"
-}
-
-# vim:set sw=2 et:

Copied: librsvg/repos/extra-x86_64/PKGBUILD (from rev 445433, 
librsvg/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 02:18:31 UTC (rev 445434)
@@ -0,0 +1,66 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Jan de Groot 
+
+pkgbase=librsvg
+pkgname=(librsvg librsvg-docs)
+pkgver=2.54.3
+pkgrel=1
+epoch=2
+pkgdesc="SVG rendering library"
+url="https://wiki.gnome.org/Projects/LibRsvg";
+arch=(x86_64)
+license=(LGPL)
+depends=(cairo freetype2 gdk-pixbuf2 glib2 harfbuzz libxml2 pango)
+makedepends=(gobject-introspection vala git rust gi-docgen python-docutils)
+checkdepends=(ttf-dejavu)
+options=(debug)
+_commit=63ef9f647f02fffed298e46de61a8a671acbd911  # tags/2.54.3^0
+source=("git+https://gitlab.gnome.org/GNOME/librsvg.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd librsvg
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd librsvg
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+# Use LTO
+export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+
+# Use debug
+export CARGO_PROFILE_RELEASE_DEBUG=2
+
+build() {
+  cd librsvg
+  ./configure --prefix=/usr --disable-static --enable-vala --enable-gtk-doc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
+  make
+}
+
+check() {
+  # Test suite is very dependent on the versions of
+  # Cairo, Pango, FreeType and HarfBuzz
+  make -C librsvg check || :
+}
+
+package_librsvg() {
+  provides=(librsvg-${pkgver%%.*}.so)
+
+  make -C librsvg DESTDIR="$pkgdir" install
+
+  mkdir -p doc/usr/share
+  mv {"$pkgdir",doc}/usr/share/doc
+}
+
+package_librsvg-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  mv doc/* "$pkgdir"
+}
+
+# vim:set sw=2 et:



[arch-commits] Commit in lib32-librsvg/repos/multilib-x86_64 (4 files)

2022-05-13 Thread Jan Steffens via arch-commits
Date: Saturday, May 14, 2022 @ 02:18:31
  Author: heftig
Revision: 1203111

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-librsvg/repos/multilib-x86_64/PKGBUILD
(from rev 1203110, lib32-librsvg/trunk/PKGBUILD)
  lib32-librsvg/repos/multilib-x86_64/multilib.diff
(from rev 1203110, lib32-librsvg/trunk/multilib.diff)
Deleted:
  lib32-librsvg/repos/multilib-x86_64/PKGBUILD
  lib32-librsvg/repos/multilib-x86_64/multilib.diff

---+
 PKGBUILD  |  146 
 multilib.diff |   58 +++---
 2 files changed, 102 insertions(+), 102 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 02:18:14 UTC (rev 1203110)
+++ PKGBUILD2022-05-14 02:18:31 UTC (rev 1203111)
@@ -1,73 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) 
-# Contributor: Maxime Gauduin 
-# Contributor: jtts 
-# Contributor: Jan de Groot 
-
-pkgname=lib32-librsvg
-pkgver=2.54.2
-pkgrel=1
-epoch=2
-pkgdesc="SVG rendering library (32-bit)"
-url="https://wiki.gnome.org/Projects/LibRsvg";
-arch=(x86_64)
-license=(LGPL)
-depends=(lib32-cairo lib32-freetype2 lib32-gdk-pixbuf2 lib32-glib2
- lib32-harfbuzz lib32-libxml2 lib32-pango librsvg)
-makedepends=(gobject-introspection git rust lib32-rust-libs)
-checkdepends=(ttf-dejavu)
-options=(debug)
-_commit=a380a1b45c970fb3861ff08431352c2010bf  # tags/2.54.2^0
-source=("git+https://gitlab.gnome.org/GNOME/librsvg.git#commit=$_commit";
-multilib.diff)
-sha256sums=('SKIP'
-'2bf8570948e0ff3da4c26a8c5d600bd3a66f26bc81abcaeb437df28c01aa9a2a')
-
-pkgver() {
-  cd librsvg
-  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
-  cd librsvg
-
-  # Hack to remove docs and cross-compile rust only
-  git apply -3 ../multilib.diff
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-# Use LTO
-export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
-
-# Use debug
-export CARGO_PROFILE_RELEASE_DEBUG=2
-
-build() {
-  cd librsvg
-
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
-  export RUST_TARGET=i686-unknown-linux-gnu
-
-  ./configure --prefix=/usr --disable-static --disable-vala \
---disable-introspection --libdir=/usr/lib32
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
-  make
-}
-
-check() {
-  # Test suite is very dependent on the versions of
-  # Cairo, Pango, FreeType and HarfBuzz
-  make -C librsvg check || :
-}
-
-package() {
-  provides=(librsvg-${pkgver%%.*}.so)
-
-  make -C librsvg DESTDIR="$pkgdir" install
-
-  rm -r "$pkgdir"/usr/{bin,include,share}
-}
-
-# vim:set sw=2 et:

Copied: lib32-librsvg/repos/multilib-x86_64/PKGBUILD (from rev 1203110, 
lib32-librsvg/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 02:18:31 UTC (rev 1203111)
@@ -0,0 +1,73 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Maxime Gauduin 
+# Contributor: jtts 
+# Contributor: Jan de Groot 
+
+pkgname=lib32-librsvg
+pkgver=2.54.3
+pkgrel=1
+epoch=2
+pkgdesc="SVG rendering library (32-bit)"
+url="https://wiki.gnome.org/Projects/LibRsvg";
+arch=(x86_64)
+license=(LGPL)
+depends=(lib32-cairo lib32-freetype2 lib32-gdk-pixbuf2 lib32-glib2
+ lib32-harfbuzz lib32-libxml2 lib32-pango librsvg)
+makedepends=(gobject-introspection git rust lib32-rust-libs)
+checkdepends=(ttf-dejavu)
+options=(debug)
+_commit=63ef9f647f02fffed298e46de61a8a671acbd911  # tags/2.54.3^0
+source=("git+https://gitlab.gnome.org/GNOME/librsvg.git#commit=$_commit";
+multilib.diff)
+sha256sums=('SKIP'
+'2bf8570948e0ff3da4c26a8c5d600bd3a66f26bc81abcaeb437df28c01aa9a2a')
+
+pkgver() {
+  cd librsvg
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd librsvg
+
+  # Hack to remove docs and cross-compile rust only
+  git apply -3 ../multilib.diff
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+# Use LTO
+export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+
+# Use debug
+export CARGO_PROFILE_RELEASE_DEBUG=2
+
+build() {
+  cd librsvg
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+  export RUST_TARGET=i686-unknown-linux-gnu
+
+  ./configure --prefix=/usr --disable-static --disable-vala \
+--disable-introspection --libdir=/usr/lib32
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
+  make
+}
+
+check() {
+  # Test suite is very dependent on the versions of
+  # Cairo, Pango, FreeType and HarfBuzz
+  make -C librsvg check || :
+}
+
+package() {
+  provides=(librsvg-${pkgver%%.*}.so)
+
+  make -C librsvg DESTDIR="$pkgdir" install
+
+  rm -r "$pkgdir"/usr/{bin,include,share}
+}
+
+# vim:set sw=2 et:

Deleted: multilib.diff
===
--- multilib.diff   2022-05-14 

  1   2   3   4   5   6   7   8   9   10   >