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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:49:12
  Author: felixonmars
Revision: 1107409

upgpkg: haskell-hls-eval-plugin 1.1.2.0-62: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:48:12 UTC (rev 1107408)
+++ PKGBUILD2022-01-17 07:49:12 UTC (rev 1107409)
@@ -3,7 +3,7 @@
 _hkgname=hls-eval-plugin
 pkgname=haskell-hls-eval-plugin
 pkgver=1.1.2.0
-pkgrel=61
+pkgrel=62
 pkgdesc="Eval plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:48:12
  Author: felixonmars
Revision: 1107408

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-call-hierarchy-plugin/repos/community-staging-x86_64/
  haskell-hls-call-hierarchy-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1107407, haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-call-hierarchy-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1107407, haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:48:12 UTC (rev 1107408)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-call-hierarchy-plugin
+pkgname=haskell-hls-call-hierarchy-plugin
+pkgver=1.0.0.0
+pkgrel=61
+pkgdesc="Call hierarchy plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-call-hierarchy-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghcide' 'haskell-hiedb' 'haskell-hls-plugin-api' 
'haskell-lens' 'haskell-lsp'
+ 'haskell-sqlite-simple' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('4b3103a98ec57c9f050ffd1c534a0e23b1bfcbe78dda441c351b874939ce34a8')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-hls-module-name-plugin/repos (2 files)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:49:59
  Author: felixonmars
Revision: 1107412

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-module-name-plugin/repos/community-staging-x86_64/
  haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1107411, haskell-hls-module-name-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1107411, haskell-hls-module-name-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:49:59 UTC (rev 1107412)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-module-name-plugin
+pkgname=haskell-hls-module-name-plugin
+pkgver=1.0.0.1
+pkgrel=61
+pkgdesc="Module name plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-module-name-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0a4d0171df49d2d417dac00853a9f0c58618efb7a5805ab3b95441f0d8c60872947935ca94b33ca75518e311a136a893f0e3744fc49cdb94fba6f55367f3c0be')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  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-language-server/trunk (PKGBUILD)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:52:13
  Author: felixonmars
Revision: 1107413

upgpkg: haskell-language-server 1.3.0.0-70: rebuild with lens 5.1

Modified:
  haskell-language-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:49:59 UTC (rev 1107412)
+++ PKGBUILD2022-01-17 07:52:13 UTC (rev 1107413)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-language-server
 pkgver=1.3.0.0
-pkgrel=69
+pkgrel=70
 pkgdesc="LSP server for GHC"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



[arch-commits] Commit in haskell-hls-module-name-plugin/trunk (PKGBUILD)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:49:51
  Author: felixonmars
Revision: 1107411

upgpkg: haskell-hls-module-name-plugin 1.0.0.1-61: rebuild with lens 5.1

Modified:
  haskell-hls-module-name-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:49:20 UTC (rev 1107410)
+++ PKGBUILD2022-01-17 07:49:51 UTC (rev 1107411)
@@ -3,7 +3,7 @@
 _hkgname=hls-module-name-plugin
 pkgname=haskell-hls-module-name-plugin
 pkgver=1.0.0.1
-pkgrel=60
+pkgrel=61
 pkgdesc="Module name plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-module-name-plugin;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:52:21
  Author: felixonmars
Revision: 1107414

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-language-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 1107413, haskell-language-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:52:21 UTC (rev 1107414)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+
+pkgname=haskell-language-server
+pkgver=1.3.0.0
+pkgrel=70
+pkgdesc="LSP server for GHC"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-async'
+ 'haskell-base16-bytestring' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghc-paths' 'haskell-gitrev'
+ 'haskell-hashable' 'haskell-hie-bios' 'haskell-hiedb'
+ 'haskell-hls-call-hierarchy-plugin' 'haskell-hls-eval-plugin'
+ 'haskell-hls-explicit-imports-plugin' 'haskell-hls-floskell-plugin'
+ 'haskell-hls-fourmolu-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-graph'
+ 'haskell-hls-haddock-comments-plugin' 'haskell-hls-hlint-plugin'
+ 'haskell-hls-module-name-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-plugin-api'
+ 'haskell-hls-pragmas-plugin'
+ 'haskell-hls-retrie-plugin' 'haskell-hls-stylish-haskell-plugin'
+ 'haskell-hslogger' 'haskell-lens' 'haskell-lsp' 
'haskell-optparse-applicative'
+ 'haskell-optparse-simple' 'haskell-regex-tdfa' 
'haskell-safe-exceptions'
+ 'haskell-sqlite-simple' 'haskell-temporary' 
'haskell-unordered-containers')
+# Disabled due to not compatible with GHC 9:
+# 'haskell-hls-brittany-plugin' 'haskell-hls-class-plugin' 
'haskell-hls-splice-plugin' 'haskell-hls-tactics-plugin' 
'haskell-hls-refine-imports-plugin'
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 
'haskell-hspec-expectations' 'haskell-lsp-test'
+ 'haskell-lsp-types')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('2938c4eaf8e2fef72ddf0e116e021b109ab69c4cdd48dc678cb93cd08e03e7f2abf3aaf1dea17a51dd8cb70f69db7ceba9823291d847ffe8bd0c990028fd6da4')
+
+prepare() {
+  cd $pkgname-$pkgver
+  find test/testdata -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+  uusi -u ghc-api-compat $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$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' -f-brittany -f-class -f-refineImports -f-tactic 
-f-splice
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --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
+  
PATH="$PWD/dist/build/haskell-language-server:$PWD/dist/build/haskell-language-server-wrapper:$PATH"
 LD_LIBRARY_PATH="$PWD/dist/build" 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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:49:20
  Author: felixonmars
Revision: 1107410

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-eval-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1107409, haskell-hls-eval-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:49:20 UTC (rev 1107410)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-eval-plugin
+pkgname=haskell-hls-eval-plugin
+pkgver=1.1.2.0
+pkgrel=62
+pkgdesc="Eval plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-quickcheck' 'haskell-aeson' 
'haskell-dlist'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghc-paths' 'haskell-ghcide'
+ 'haskell-hashable' 'haskell-hls-plugin-api' 'haskell-lens' 
'haskell-lsp'
+ 'haskell-lsp-types' 'haskell-megaparsec' 'haskell-parser-combinators'
+ 'haskell-pretty-simple' 'haskell-safe-exceptions' 'haskell-temporary' 
'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('8597144404060b56aa84d2a6549306924de6aa99ff8fa121f0a3e6fbf2facc979e36dc9304fd041833201044f59e1745574eb1a1e3459b22baf0fae3f40d96e1')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  # https://github.com/haskell/haskell-language-server/issues/1809
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:47:07
  Author: felixonmars
Revision: 1107405

upgpkg: haskell-hls-floskell-plugin 1.0.0.1-61: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:46:37 UTC (rev 1107404)
+++ PKGBUILD2022-01-17 07:47:07 UTC (rev 1107405)
@@ -3,7 +3,7 @@
 _hkgname=hls-floskell-plugin
 pkgname=haskell-hls-floskell-plugin
 pkgver=1.0.0.1
-pkgrel=60
+pkgrel=61
 pkgdesc="Integration with the Floskell code formatter"
 url="https://hackage.haskell.org/package/hls-floskell-plugin;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:46:37
  Author: felixonmars
Revision: 1107404

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-fourmolu-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1107403, haskell-hls-fourmolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:46:37 UTC (rev 1107404)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-fourmolu-plugin
+pkgname=haskell-hls-fourmolu-plugin
+pkgver=1.0.0.2
+pkgrel=65
+pkgdesc="Integration with the Fourmolu code formatter"
+url="https://hackage.haskell.org/package/hls-fourmolu-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-fourmolu' 'haskell-ghc' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp' 'haskell-ghc-api-compat')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('88a92c70c34d14699bcc19e7d1ff061955c4e9a6819f32c5b46d8b31d1d1f06b12be65bb84ede6046601a6d8daafcb8fc65725ceb3fc67e7afeef4097094ed46')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-hls-call-hierarchy-plugin/trunk (PKGBUILD)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:48:04
  Author: felixonmars
Revision: 1107407

upgpkg: haskell-hls-call-hierarchy-plugin 1.0.0.0-61: rebuild with lens 5.1

Modified:
  haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:47:15 UTC (rev 1107406)
+++ PKGBUILD2022-01-17 07:48:04 UTC (rev 1107407)
@@ -3,7 +3,7 @@
 _hkgname=hls-call-hierarchy-plugin
 pkgname=haskell-hls-call-hierarchy-plugin
 pkgver=1.0.0.0
-pkgrel=60
+pkgrel=61
 pkgdesc="Call hierarchy plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-call-hierarchy-plugin;
 license=("Apache")



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

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

upgpkg: haskell-hls-fourmolu-plugin 1.0.0.2-65: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:45:58 UTC (rev 1107402)
+++ PKGBUILD2022-01-17 07:46:30 UTC (rev 1107403)
@@ -3,7 +3,7 @@
 _hkgname=hls-fourmolu-plugin
 pkgname=haskell-hls-fourmolu-plugin
 pkgver=1.0.0.2
-pkgrel=64
+pkgrel=65
 pkgdesc="Integration with the Fourmolu code formatter"
 url="https://hackage.haskell.org/package/hls-fourmolu-plugin;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:47:15
  Author: felixonmars
Revision: 1107406

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-floskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1107405, haskell-hls-floskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:47:15 UTC (rev 1107406)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-floskell-plugin
+pkgname=haskell-hls-floskell-plugin
+pkgver=1.0.0.1
+pkgrel=61
+pkgdesc="Integration with the Floskell code formatter"
+url="https://hackage.haskell.org/package/hls-floskell-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-floskell' 'haskell-ghcide' 
'haskell-hls-plugin-api' 'haskell-lsp-types')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0f420355b67447426e77f149a5cf735f613b2c863b08f625e0a0d91a33bcf565684d702f67743ef9d50eaa235551c30c76743fedd78ead9fbed429e838acf113')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  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-hls-haddock-comments-plugin/repos (2 files)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:45:58
  Author: felixonmars
Revision: 1107402

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/
  haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1107401, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1107401, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:45:58 UTC (rev 1107402)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-haddock-comments-plugin
+pkgname=haskell-hls-haddock-comments-plugin
+pkgver=1.0.0.3
+pkgrel=61
+pkgdesc="Haddock comments plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0bc705b51d86d400c2f843330be5ffa9064726da64644cbc1a4c2fead1caaec5812c35ef499877aa9d07417c3854c933187dd227cd8c90f54042ead07f38bcc7')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  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-hls-stylish-haskell-plugin/trunk (PKGBUILD)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:45:11
  Author: felixonmars
Revision: 1107399

upgpkg: haskell-hls-stylish-haskell-plugin 1.0.0.2-62: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:44:40 UTC (rev 1107398)
+++ PKGBUILD2022-01-17 07:45:11 UTC (rev 1107399)
@@ -3,7 +3,7 @@
 _hkgname=hls-stylish-haskell-plugin
 pkgname=haskell-hls-stylish-haskell-plugin
 pkgver=1.0.0.2
-pkgrel=61
+pkgrel=62
 pkgdesc="Integration with the Stylish Haskell code formatter"
 url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-haddock-comments-plugin/trunk (PKGBUILD)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:45:50
  Author: felixonmars
Revision: 1107401

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.3-61: rebuild with lens 5.1

Modified:
  haskell-hls-haddock-comments-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:45:19 UTC (rev 1107400)
+++ PKGBUILD2022-01-17 07:45:50 UTC (rev 1107401)
@@ -3,7 +3,7 @@
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
 pkgver=1.0.0.3
-pkgrel=60
+pkgrel=61
 pkgdesc="Haddock comments plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:45:19
  Author: felixonmars
Revision: 1107400

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: 
haskell-hls-stylish-haskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1107399, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:45:19 UTC (rev 1107400)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-stylish-haskell-plugin
+pkgname=haskell-hls-stylish-haskell-plugin
+pkgver=1.0.0.2
+pkgrel=62
+pkgdesc="Integration with the Stylish Haskell code formatter"
+url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-api-compat' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'stylish-haskell')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d850d4be6cc746b6279512bb359efda197aeebd467a59a21670f3b95977c6ba086852dedde3c48171f0cff8405c8e340dea44fe3e187e4731a06eb112502ad9c')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-ci/repos (2 files)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:42:35
  Author: felixonmars
Revision: 1107394

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ci/repos/community-staging-x86_64/PKGBUILD (from rev 1107393, 
haskell-ci/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:42:35 UTC (rev 1107394)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=haskell-ci
+pkgname=haskell-ci
+pkgver=0.12.1
+pkgrel=115
+pkgdesc="Cabal package script generator for Travis-CI"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base-compat'
+ 'haskell-base16-bytestring' 'haskell-cabal-install-parsers' 
'haskell-cryptohash-sha256'
+ 'haskell-generic-lens-lite' 'haskell-hsyaml' 
'haskell-indexed-traversable'
+ 'haskell-indexed-traversable-instances' 'haskell-ini' 
'haskell-lattices'
+ 'haskell-network-uri' 'haskell-optparse-applicative' 'shellcheck' 
'haskell-temporary'
+ 'haskell-unordered-containers' 'haskell-zinza')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-ansi-terminal' 
'haskell-tasty' 'haskell-tasty-golden')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d93a6b8e880255469b34b568320659802252379f0c5486ed315b366fd07dae935a480047468912bc5a397b9e55b00ea964451790f963d05b8df1d426d871da1c')
+
+prepare(){
+  uusi -u attoparsec -u ShellCheck $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:44:40
  Author: felixonmars
Revision: 1107398

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-ormolu-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1107397, haskell-hls-ormolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:44:40 UTC (rev 1107398)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-ormolu-plugin
+pkgname=haskell-hls-ormolu-plugin
+pkgver=1.0.1.0
+pkgrel=64
+pkgdesc="Integration with the Ormolu code formatter"
+url="https://hackage.haskell.org/package/hls-ormolu-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-api-compat' 'haskell-ghcide'
+ 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 
'haskell-ormolu')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('330242298e6c4608d31bb0eac3ef926cfd7d5ff2bd07ab57cd46a1904c133322181e2e35da3beb01f1f97efd466d653d12a3563939fe86e70d820301aca52661')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-hls-pragmas-plugin/repos (2 files)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:44:04
  Author: felixonmars
Revision: 1107396

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-pragmas-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1107395, haskell-hls-pragmas-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:44:04 UTC (rev 1107396)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-pragmas-plugin
+pkgname=haskell-hls-pragmas-plugin
+pkgver=1.0.1.0
+pkgrel=61
+pkgdesc="Pragmas plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-pragmas-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-fuzzy' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bf284033b7d2c3491b655ca32a7a791a4e62c838a4caafea36e28844052b2a192cf39d97ae1415a698ea22d7ffcc5f0290c37a91bba841b93c1ceabe089d7e07')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  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-hls-ormolu-plugin/trunk (PKGBUILD)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:44:33
  Author: felixonmars
Revision: 1107397

upgpkg: haskell-hls-ormolu-plugin 1.0.1.0-64: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:44:04 UTC (rev 1107396)
+++ PKGBUILD2022-01-17 07:44:33 UTC (rev 1107397)
@@ -3,7 +3,7 @@
 _hkgname=hls-ormolu-plugin
 pkgname=haskell-hls-ormolu-plugin
 pkgver=1.0.1.0
-pkgrel=63
+pkgrel=64
 pkgdesc="Integration with the Ormolu code formatter"
 url="https://hackage.haskell.org/package/hls-ormolu-plugin;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:43:56
  Author: felixonmars
Revision: 1107395

upgpkg: haskell-hls-pragmas-plugin 1.0.1.0-61: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:42:35 UTC (rev 1107394)
+++ PKGBUILD2022-01-17 07:43:56 UTC (rev 1107395)
@@ -3,7 +3,7 @@
 _hkgname=hls-pragmas-plugin
 pkgname=haskell-hls-pragmas-plugin
 pkgver=1.0.1.0
-pkgrel=60
+pkgrel=61
 pkgdesc="Pragmas plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-pragmas-plugin;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:42:28
  Author: felixonmars
Revision: 1107393

upgpkg: haskell-ci 0.12.1-115: rebuild with lens 5.1

Modified:
  haskell-ci/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:41:40 UTC (rev 1107392)
+++ PKGBUILD2022-01-17 07:42:28 UTC (rev 1107393)
@@ -3,7 +3,7 @@
 _hkgname=haskell-ci
 pkgname=haskell-ci
 pkgver=0.12.1
-pkgrel=114
+pkgrel=115
 pkgdesc="Cabal package script generator for Travis-CI"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:41:40
  Author: felixonmars
Revision: 1107392

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

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

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



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:41:32
  Author: felixonmars
Revision: 1107391

upgpkg: hopenpgp-tools 0.23.6-190: rebuild with lens 5.1

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:40:44 UTC (rev 1107390)
+++ PKGBUILD2022-01-17 07:41:32 UTC (rev 1107391)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.6
-pkgrel=189
+pkgrel=190
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools;
 license=("AGPL3")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:40:05
  Author: felixonmars
Revision: 1107388

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-retrie-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1107387, haskell-hls-retrie-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:40:05 UTC (rev 1107388)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-retrie-plugin
+pkgname=haskell-hls-retrie-plugin
+pkgver=1.0.1.1
+pkgrel=61
+pkgdesc="Retrie integration plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-retrie-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghcide' 'haskell-hashable' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ 'haskell-lsp-types' 'haskell-retrie' 'haskell-safe-exceptions'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d5059c9d1e5af9acf1a9842c76270400076f2eb168a2dfd61961cb5328c72e4aaf14ad9a1543a3729d87800d658b941e1daaa15a1bd628d3d72657499dd47488')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:39:58
  Author: felixonmars
Revision: 1107387

upgpkg: haskell-hls-retrie-plugin 1.0.1.1-61: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:39:22 UTC (rev 1107386)
+++ PKGBUILD2022-01-17 07:39:58 UTC (rev 1107387)
@@ -3,7 +3,7 @@
 _hkgname=hls-retrie-plugin
 pkgname=haskell-hls-retrie-plugin
 pkgver=1.0.1.1
-pkgrel=60
+pkgrel=61
 pkgdesc="Retrie integration plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-retrie-plugin;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:40:44
  Author: felixonmars
Revision: 1107390

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD (from 
rev 1107389, haskell-hls-test-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:40:44 UTC (rev 1107390)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-test-utils
+pkgname=haskell-hls-test-utils
+pkgver=1.1.0.0
+pkgrel=62
+pkgdesc="Utilities used in the tests of Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-markup' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghcide' 'haskell-hls-graph' 
'haskell-hls-plugin-api'
+ 'haskell-hspec' 'haskell-hspec-core' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-test'
+ 'haskell-lsp-types' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-rerun' 'haskell-temporary'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('08bb01af48a07b37c6d99c6da42341147259ee3f26aef4737a796a62fabbe9600464fdecb3ae4908a4df24e044abf786bcf30103b15b8d7c72f12f9a0c07fcb5')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u hspec $_hkgname.cabal
+  # https://github.com/haskell/haskell-language-server/issues/1835
+  sed -i '/configOutputFile/d' src/Test/Hls/Util.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:40:36
  Author: felixonmars
Revision: 1107389

upgpkg: haskell-hls-test-utils 1.1.0.0-62: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:40:05 UTC (rev 1107388)
+++ PKGBUILD2022-01-17 07:40:36 UTC (rev 1107389)
@@ -3,7 +3,7 @@
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
 pkgver=1.1.0.0
-pkgrel=61
+pkgrel=62
 pkgdesc="Utilities used in the tests of Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:38:39
  Author: felixonmars
Revision: 1107383

upgpkg: haskell-hls-hlint-plugin 1.0.1.1-61: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:38:01 UTC (rev 1107382)
+++ PKGBUILD2022-01-17 07:38:39 UTC (rev 1107383)
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.0.1.1
-pkgrel=60
+pkgrel=61
 pkgdesc="Hlint integration plugin with Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-hlint-plugin;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:38:47
  Author: felixonmars
Revision: 1107384

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1107383, haskell-hls-hlint-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:38:47 UTC (rev 1107384)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-hlint-plugin
+pkgname=haskell-hls-hlint-plugin
+pkgver=1.0.1.1
+pkgrel=61
+pkgdesc="Hlint integration plugin with Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-hlint-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-apply-refact' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-exactprint' 
'haskell-ghcide' 'haskell-hashable'
+ 'hlint' 'haskell-hls-plugin-api' 'haskell-hslogger' 'haskell-lens' 
'haskell-lsp'
+ 'haskell-regex-tdfa' 'haskell-temporary' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0bed7570e2b543f482f123e2ce19d4a5c5d712bde7875e97e1c4fc6eda481752e4d65f8cd4a998634ac3e85a7ce737f3ef849959d77e1c9f814ddf039f33b807')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -fhlint33
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-explicit-imports-plugin/trunk (PKGBUILD)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:39:14
  Author: felixonmars
Revision: 1107385

upgpkg: haskell-hls-explicit-imports-plugin 1.0.1.0-61: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:38:47 UTC (rev 1107384)
+++ PKGBUILD2022-01-17 07:39:14 UTC (rev 1107385)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.1.0
-pkgrel=60
+pkgrel=61
 pkgdesc="Explicit imports plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:39:22
  Author: felixonmars
Revision: 1107386

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: 
haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1107385, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:39:22 UTC (rev 1107386)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-explicit-imports-plugin
+pkgname=haskell-hls-explicit-imports-plugin
+pkgver=1.0.1.0
+pkgrel=61
+pkgdesc="Explicit imports plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghcide'
+ 'haskell-hls-graph' 'haskell-hls-plugin-api' 'haskell-lsp' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('7691ecc341fb511e51ccb6c1f67cd6f3c908f771b62423d7713d05bf13893b7ac53ae9c453ab8b6ca227ed8c9b42191cd30b9745b57f00c51f3f3646954955b8')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:38:01
  Author: felixonmars
Revision: 1107382

archrelease: copy trunk to community-staging-x86_64

Added:
  shellcheck/repos/community-staging-x86_64/
  shellcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 1107381, shellcheck/trunk/PKGBUILD)

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

Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 1107381, 
shellcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:38:01 UTC (rev 1107382)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.7.2
+pkgrel=146
+pkgdesc="Shell script analysis tool"
+url="https://www.shellcheck.net;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-diff' 'haskell-quickcheck' 
'haskell-regex-tdfa')
+makedepends=('ghc' 'pandoc' 'uusi')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz;)
+sha512sums=('87b7377add4ce37766f9fd812cd9bf03097c9ba452b646e7ae1dc65946a7210c9d24d8c83b4be4146a0f100aff5bc9a3a562b3990c74f1c29ee191e249f97714')
+
+prepare() {
+cd $pkgname-$pkgver
+gen-setup
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option='-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
+
+./manpage
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m644 ${pkgname}.1   "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+install -D -m744 register.sh   
"${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 shellcheck/trunk (PKGBUILD)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:37:52
  Author: felixonmars
Revision: 1107381

upgpkg: shellcheck 0.7.2-146: rebuild with lens 5.1

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:34:52 UTC (rev 1107380)
+++ PKGBUILD2022-01-17 07:37:52 UTC (rev 1107381)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.7.2
-pkgrel=145
+pkgrel=146
 pkgdesc="Shell script analysis tool"
 url="https://www.shellcheck.net;
 license=("GPL")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:34:52
  Author: felixonmars
Revision: 1107380

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
1107379, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:34:52 UTC (rev 1107380)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.12.0
+pkgrel=112
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname};
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-gitrev' 'haskell-microlens'
+ 'haskell-microlens-mtl' 'haskell-microlens-th' 'haskell-open-browser'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 
'haskell-roman-numerals'
+ 'haskell-syb' 'haskell-utility-ht')
+makedepends=('ghc' 'haskell-hspec')
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz;)
+sha512sums=('5e2dbd5d63d0a6b295da9efc97273d3d2c9a08f50ddda3df3f1df31b112be082233011e632c551be34043d50114f7d2373219ef68ffa1fa59a9fb4d31b9351d5')
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+   -f-enable_flaky_tests
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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 pandoc-crossref/trunk (PKGBUILD)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:34:44
  Author: felixonmars
Revision: 1107379

upgpkg: pandoc-crossref 0.3.12.0-112: rebuild with lens 5.1

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:33:50 UTC (rev 1107378)
+++ PKGBUILD2022-01-17 07:34:44 UTC (rev 1107379)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.12.0
-pkgrel=111
+pkgrel=112
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:33:50
  Author: felixonmars
Revision: 1107378

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
1107377, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:33:50 UTC (rev 1107378)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.14.0.0
+pkgrel=185
+pkgdesc="A static website compiler library"
+url="https://jaspervdj.be/hakyll;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' 'haskell-memory' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-random' 
'haskell-regex-tdfa'
+ 'haskell-resourcet' 'haskell-scientific' 'haskell-tagsoup' 
'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' 
'haskell-wai-app-static'
+ 'haskell-warp' 'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5f3f7a952b085cf1a59a646c15e42f29c89d4ed0a5a96f55156d19b86340c2361da6c19ff7a70bde98122423e237dc7082bfcc84bc5e96ab9421fdaef84a8cce')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u cryptonite -u file-embed -u memory -u optparse-applicative -u 
pandoc -u tasty -u template-haskell $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:33:43
  Author: felixonmars
Revision: 1107377

upgpkg: haskell-hakyll 4.14.0.0-185: rebuild with lens 5.1

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:32:53 UTC (rev 1107376)
+++ PKGBUILD2022-01-17 07:33:43 UTC (rev 1107377)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.14.0.0
-pkgrel=184
+pkgrel=185
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:32:53
  Author: felixonmars
Revision: 1107376

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 1107375, haskell-hopenpgp/trunk/PKGBUILD)

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

Copied: haskell-hopenpgp/repos/community-staging-x86_64/PKGBUILD (from rev 
1107375, haskell-hopenpgp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:32:53 UTC (rev 1107376)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hOpenPGP
+pkgname=haskell-hopenpgp
+pkgver=2.9.6
+pkgrel=13
+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=('c9a833e9d56fa0d1ab87be54e3a7b23f4bb93f737ff74d4f99356fcd14ef54afea7db58d3a4b1fd4b382a23ab9153f95ceb4397f03a5c32e4e71355a9e46541c')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-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-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:32:45
  Author: felixonmars
Revision: 1107375

upgpkg: haskell-hopenpgp 2.9.6-13: rebuild with lens 5.1

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:29:21 UTC (rev 1107374)
+++ PKGBUILD2022-01-17 07:32:45 UTC (rev 1107375)
@@ -3,7 +3,7 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.9.6
-pkgrel=12
+pkgrel=13
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/;
 license=('MIT')



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:29:21
  Author: felixonmars
Revision: 1107374

archrelease: copy trunk to community-staging-x86_64

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

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

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

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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:29:11
  Author: felixonmars
Revision: 1107373

upgpkg: stack 2.7.3-115: rebuild with lens 5.1

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:26:14 UTC (rev 1107372)
+++ PKGBUILD2022-01-17 07:29:11 UTC (rev 1107373)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.3
-pkgrel=114
+pkgrel=115
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:26:14
  Author: felixonmars
Revision: 1107372

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghcide/repos/community-staging-x86_64/PKGBUILD (from rev 
1107371, haskell-ghcide/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:26:14 UTC (rev 1107372)
@@ -0,0 +1,81 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghcide
+pkgname=haskell-ghcide
+pkgver=1.4.1.0
+pkgrel=61
+pkgdesc="The core of an IDE"
+url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-async' 'haskell-base16-bytestring' 
'haskell-bytestring-encoding'
+ 'haskell-case-insensitive' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-dependent-map' 'haskell-dependent-sum' 'haskell-dlist' 
'haskell-extra'
+ 'haskell-fingertree' 'haskell-fuzzy' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghc-check' 'haskell-ghc-exactprint' 'haskell-ghc-paths' 
'haskell-ghc-trace-events'
+ 'haskell-gitrev' 'haskell-haddock-library' 'haskell-hashable' 
'haskell-heapsize'
+ 'haskell-hie-bios' 'haskell-hie-compat' 'haskell-hiedb' 
'haskell-hls-graph'
+ 'haskell-hls-plugin-api' 'haskell-hslogger' 
'haskell-implicit-hie-cradle' 'haskell-lens'
+ 'haskell-lsp' 'haskell-lsp-test' 'haskell-lsp-types' 
'haskell-network-uri'
+ 'haskell-opentelemetry' 'haskell-optparse-applicative' 
'haskell-parallel'
+ 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal' 
'haskell-regex-tdfa'
+ 'haskell-retrie' 'haskell-rope-utf16-splay' 'haskell-safe' 
'haskell-safe-exceptions'
+ 'haskell-sorted-list' 'haskell-sqlite-simple' 'haskell-syb' 
'haskell-unliftio'
+ 'haskell-unliftio-core' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-ghc-typelits-knownnat'
+ 'haskell-implicit-hie' 'haskell-quickcheck-instances' 
'haskell-record-dot-preprocessor'
+ 'haskell-record-hasfield' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('cea048a756cef35df6d90137b3cd70567cfbad485d4858a86e502770813c1e85e18f9971c46a9c8f25cca46445677343cbf57d6e43009848434bca1721b5f036')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  find test/data -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+
+  uusi -u extra -r ghc:ghc,ghc-api-compat -u hiedb $_hkgname.cabal
+
+  # extra 1.7.10
+  sed -i "s/hiding (modifyVar, modifyVar_)/hiding (modifyVar, modifyVar_, 
modifyVar')/" src/Control/Concurrent/Strict.hs
+
+  # TODO: Skipped some broken tests for now
+  sed -i '/, benchmarkTests/d;/, findDefinitionAndHoverTests/d;/, 
bootTests/d;s/, simpleMultiDefTest//;s/echo A.hs/echo -dynamic > 
$HIE_BIOS_OUTPUT/' test/exe/Main.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  cabal update
+  # Random test failures "Received an illegal message between the initialize 
request and response"
+  # th-linking-test-unboxed always fails too
+  PATH="$PWD/dist/build/ghcide:$PWD/dist/build/ghcide-test-preprocessor:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f 

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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:26:06
  Author: felixonmars
Revision: 1107371

upgpkg: haskell-ghcide 1.4.1.0-61: rebuild with lens 5.1

Modified:
  haskell-ghcide/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:17:40 UTC (rev 1107370)
+++ PKGBUILD2022-01-17 07:26:06 UTC (rev 1107371)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.4.1.0
-pkgrel=60
+pkgrel=61
 pkgdesc="The core of an IDE"
 
url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme;
 license=("Apache")



[arch-commits] Commit in grub/repos (6 files)

2022-01-16 Thread Tobias Powalowski via arch-commits
Date: Monday, January 17, 2022 @ 07:21:06
  Author: tpowa
Revision: 434590

archrelease: copy trunk to testing-x86_64

Added:
  grub/repos/testing-x86_64/
  grub/repos/testing-x86_64/0001-00_header-add-GRUB_COLOR_-variables.patch
(from rev 434589, grub/trunk/0001-00_header-add-GRUB_COLOR_-variables.patch)
  grub/repos/testing-x86_64/0002-10_linux-detect-archlinux-initramfs.patch
(from rev 434589, grub/trunk/0002-10_linux-detect-archlinux-initramfs.patch)
  grub/repos/testing-x86_64/PKGBUILD
(from rev 434589, grub/trunk/PKGBUILD)
  grub/repos/testing-x86_64/grub.default
(from rev 434589, grub/trunk/grub.default)
  grub/repos/testing-x86_64/grub.install
(from rev 434589, grub/trunk/grub.install)

+
 0001-00_header-add-GRUB_COLOR_-variables.patch |   41 +++
 0002-10_linux-detect-archlinux-initramfs.patch |   62 
 PKGBUILD   |  314 +++
 grub.default   |   63 
 grub.install   |   28 ++
 5 files changed, 508 insertions(+)

Copied: 
grub/repos/testing-x86_64/0001-00_header-add-GRUB_COLOR_-variables.patch (from 
rev 434589, grub/trunk/0001-00_header-add-GRUB_COLOR_-variables.patch)
===
--- testing-x86_64/0001-00_header-add-GRUB_COLOR_-variables.patch   
(rev 0)
+++ testing-x86_64/0001-00_header-add-GRUB_COLOR_-variables.patch   
2022-01-17 07:21:06 UTC (rev 434590)
@@ -0,0 +1,41 @@
+From 21e5bcf22ab1a9f08c63e2a0212219d7482f77c1 Mon Sep 17 00:00:00 2001
+From: Christian Hesse 
+Date: Wed, 10 Mar 2021 18:42:25 +0100
+Subject: [PATCH] 00_header: add GRUB_COLOR_* variables
+---
+ util/grub-mkconfig.in| 2 ++
+ util/grub.d/00_header.in | 8 
+ 2 files changed, 10 insertions(+)
+
+diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in
+index f8cbb8d7a..1189d95f9 100644
+--- a/util/grub-mkconfig.in
 b/util/grub-mkconfig.in
+@@ -246,6 +246,8 @@ export GRUB_DEFAULT \
+   GRUB_BACKGROUND \
+   GRUB_THEME \
+   GRUB_GFXPAYLOAD_LINUX \
++  GRUB_COLOR_NORMAL \
++  GRUB_COLOR_HIGHLIGHT \
+   GRUB_INIT_TUNE \
+   GRUB_SAVEDEFAULT \
+   GRUB_ENABLE_CRYPTODISK \
+diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
+index 93a90233e..c5955df00 100644
+--- a/util/grub.d/00_header.in
 b/util/grub.d/00_header.in
+@@ -125,6 +125,14 @@ cat <
+Date: Mon, 26 Apr 2021 11:10:01 +0200
+Subject: [PATCH 1/1] 10_linux: detect archlinux initramfs
+---
+ util/grub.d/10_linux.in | 29 -
+ 1 file changed, 28 insertions(+), 1 deletion(-)
+
+diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
+index e8b01c0d0..9b60af944 100644
+--- a/util/grub.d/10_linux.in
 b/util/grub.d/10_linux.in
+@@ -91,6 +91,10 @@ linux_entry ()
+   fi
+   if [ x$type != xsimple ] ; then
+   case $type in
++booster)
++title="$(gettext_printf "%s, with Linux %s (booster initramfs)" 
"${os}" "${version}")" ;;
++fallback)
++title="$(gettext_printf "%s, with Linux %s (fallback initramfs)" 
"${os}" "${version}")" ;;
+ recovery)
+ title="$(gettext_printf "%s, with Linux %s (recovery mode)" 
"${os}" "${version}")" ;;
+ *)
+@@ -198,7 +202,7 @@ while [ "x$list" != "x" ] ; do
+   basename=`basename $linux`
+   dirname=`dirname $linux`
+   rel_dirname=`make_system_path_relative_to_its_root $dirname`
+-  version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
++  version=`echo $basename | sed -e "s,vmlinuz-,,g"`
+   alt_version=`echo $version | sed -e "s,\.old$,,g"`
+   linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
+ 
+@@ -285,6 +289,29 @@ while [ "x$list" != "x" ] ; do
+ 
+   linux_entry "${OS}" "${version}" advanced \
+   "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
++
++  if test -e "${dirname}/initramfs-${version}-fallback.img" ; then
++initrd="${initrd_early} initramfs-${version}-fallback.img"
++
++if test -n "${initrd}" ; then
++  gettext_printf "Found fallback initrd image(s) in %s:%s\n" "${dirname}" 
"${initrd_extra} ${initrd}" >&2
++fi
++
++linux_entry "${OS}" "${version}" fallback \
++"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
++  fi
++
++  if test -e "${dirname}/booster-${version}.img" ; then
++initrd="${initrd_early} booster-${version}.img"
++
++if test -n "${initrd}" ; then
++  gettext_printf "Found booster initrd image(s) in %s:%s\n" "${dirname}" 
"${initrd_extra} ${initrd}" >&2
++fi
++
++linux_entry "${OS}" "${version}" booster \
++"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
++  fi
++
+   if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
+ linux_entry "${OS}" "${version}" recovery \
+ "single ${GRUB_CMDLINE_LINUX}"

Copied: grub/repos/testing-x86_64/PKGBUILD (from rev 434589, 
grub/trunk/PKGBUILD)

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

2022-01-16 Thread George Rawlinson via arch-commits
Date: Monday, January 17, 2022 @ 07:17:40
  Author: grawlinson
Revision: 1107370

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-17 07:17:08 UTC (rev 1107369)
+++ PKGBUILD2022-01-17 07:17:40 UTC (rev 1107370)
@@ -1,33 +0,0 @@
-# Maintainer: George Rawlinson 
-# Contributor: Justin Vreeland 
-# Contributor: Mike Javorski (javmorin) 
-# Contributor: Johannes Dewender   arch at JonnyJD dot net
-
-pkgname=python-debian
-pkgver=0.1.42
-pkgrel=3
-pkgdesc='Python module to work with Debian-related data formats'
-arch=('any')
-url='https://salsa.debian.org/python-debian-team/python-debian'
-license=('GPL')
-depends=('python-chardet' 'python-six')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('b7f27dda52f110006c0397144ba725194d14947d78484e4846a9a2d1edb75b134aca409db3452cffbffbb8f592b3ba4eaf5d4c7531896b7cb8999fe0174b29fd')
-b2sums=('f2fa589462c17a41118f0f3408b62af0dd171ad25f537b1f8b7110e75f0924ac5c46cddd43a3a8521bff4f0de9f76fcd614081321a971c2953c6c598ddd43187')
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  rm lib/debian/tests/test_deb{822,file}.py # remove failing tests .. for now
-  python -m unittest discover --verbose lib/
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-debian/repos/community-any/PKGBUILD (from rev 1107369, 
python-debian/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-17 07:17:40 UTC (rev 1107370)
@@ -0,0 +1,33 @@
+# Maintainer: George Rawlinson 
+# Contributor: Justin Vreeland 
+# Contributor: Mike Javorski (javmorin) 
+# Contributor: Johannes Dewender   arch at JonnyJD dot net
+
+pkgname=python-debian
+pkgver=0.1.43
+pkgrel=1
+pkgdesc='Python module to work with Debian-related data formats'
+arch=('any')
+url='https://salsa.debian.org/python-debian-team/python-debian'
+license=('GPL')
+depends=('python-chardet' 'python-six')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('e07584ee7b989be6a225980734b87d5100719b2dd989c174023f31d3cdff51b9ab486676ff03e1895ccf44c12ddfabbb707e30d51ce1afbadb0fcc828a156e64')
+b2sums=('fc0c43a25c4ba5d8a07e8a8e1745c88020c3f3f08de5f4d3ecae2d1697059f0fff7060c627b2eec9a6781990c95494283af2a3ee77ac75c7d4ec501e5842edfe')
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  rm lib/debian/tests/test_deb{822,file}.py # remove failing tests .. for now
+  python -m unittest discover --verbose lib/
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



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

2022-01-16 Thread Caleb Maclennan via arch-commits
Date: Monday, January 17, 2022 @ 07:17:08
  Author: alerque
Revision: 1107369

archrelease: copy trunk to community-x86_64

Added:
  btop/repos/community-x86_64/PKGBUILD
(from rev 1107368, btop/trunk/PKGBUILD)
Deleted:
  btop/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-17 07:16:53 UTC (rev 1107368)
+++ PKGBUILD2022-01-17 07:17:08 UTC (rev 1107369)
@@ -1,24 +0,0 @@
-# Maintainer: Caleb Maclennan 
-
-pkgname=btop
-pkgver=1.1.4
-pkgrel=1
-pkgdesc='A monitor of system resources, bpytop ported to C++'
-arch=(x86_64 aarch64 i686)
-url="https://github.com/aristocratos/$pkgname;
-license=(Apache)
-depends=(gcc-libs)
-_archive="$pkgname-$pkgver"
-source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('f5e039ed235aaa24c7c7f8492043b6a251913ce8db688defc46aa83091d40ba1')
-
-build() {
-   cd "$_archive"
-   make all
-}
-
-package() {
-   cd "$_archive"
-   make DESTDIR="$pkgdir" PREFIX=/usr install
-}
-

Copied: btop/repos/community-x86_64/PKGBUILD (from rev 1107368, 
btop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-17 07:17:08 UTC (rev 1107369)
@@ -0,0 +1,24 @@
+# Maintainer: Caleb Maclennan 
+
+pkgname=btop
+pkgver=1.2.0
+pkgrel=1
+pkgdesc='A monitor of system resources, bpytop ported to C++'
+arch=(x86_64)
+url="https://github.com/aristocratos/$pkgname;
+license=(Apache)
+depends=(gcc-libs)
+_archive="$pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('59a87b9d0bb0f5010d53f0ac72ddee9fd7b5a4039bce51b94b262313e946df02')
+
+build() {
+   cd "$_archive"
+   make all
+}
+
+package() {
+   cd "$_archive"
+   make DESTDIR="$pkgdir" PREFIX=/usr install
+}
+



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

2022-01-16 Thread George Rawlinson via arch-commits
Date: Monday, January 17, 2022 @ 07:16:53
  Author: grawlinson
Revision: 1107368

upgpkg: python-debian 0.1.43-1

New upstream release.

Modified:
  python-debian/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:16:14 UTC (rev 1107367)
+++ PKGBUILD2022-01-17 07:16:53 UTC (rev 1107368)
@@ -4,8 +4,8 @@
 # Contributor: Johannes Dewender   arch at JonnyJD dot net
 
 pkgname=python-debian
-pkgver=0.1.42
-pkgrel=3
+pkgver=0.1.43
+pkgrel=1
 pkgdesc='Python module to work with Debian-related data formats'
 arch=('any')
 url='https://salsa.debian.org/python-debian-team/python-debian'
@@ -13,8 +13,8 @@
 depends=('python-chardet' 'python-six')
 makedepends=('python-setuptools')
 
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('b7f27dda52f110006c0397144ba725194d14947d78484e4846a9a2d1edb75b134aca409db3452cffbffbb8f592b3ba4eaf5d4c7531896b7cb8999fe0174b29fd')
-b2sums=('f2fa589462c17a41118f0f3408b62af0dd171ad25f537b1f8b7110e75f0924ac5c46cddd43a3a8521bff4f0de9f76fcd614081321a971c2953c6c598ddd43187')
+sha512sums=('e07584ee7b989be6a225980734b87d5100719b2dd989c174023f31d3cdff51b9ab486676ff03e1895ccf44c12ddfabbb707e30d51ce1afbadb0fcc828a156e64')
+b2sums=('fc0c43a25c4ba5d8a07e8a8e1745c88020c3f3f08de5f4d3ecae2d1697059f0fff7060c627b2eec9a6781990c95494283af2a3ee77ac75c7d4ec501e5842edfe')
 
 build() {
   cd "$pkgname-$pkgver"



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

2022-01-16 Thread Caleb Maclennan via arch-commits
Date: Monday, January 17, 2022 @ 07:16:14
  Author: alerque
Revision: 1107367

upgpkg: btop 1.2.0-1

Modified:
  btop/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:12:04 UTC (rev 1107366)
+++ PKGBUILD2022-01-17 07:16:14 UTC (rev 1107367)
@@ -1,16 +1,16 @@
 # Maintainer: Caleb Maclennan 
 
 pkgname=btop
-pkgver=1.1.4
+pkgver=1.2.0
 pkgrel=1
 pkgdesc='A monitor of system resources, bpytop ported to C++'
-arch=(x86_64 aarch64 i686)
+arch=(x86_64)
 url="https://github.com/aristocratos/$pkgname;
 license=(Apache)
 depends=(gcc-libs)
 _archive="$pkgname-$pkgver"
-source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('f5e039ed235aaa24c7c7f8492043b6a251913ce8db688defc46aa83091d40ba1')
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('59a87b9d0bb0f5010d53f0ac72ddee9fd7b5a4039bce51b94b262313e946df02')
 
 build() {
cd "$_archive"



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:11:57
  Author: felixonmars
Revision: 1107365

upgpkg: dhall-lsp-server 1.0.17-9: rebuild with lens 5.1

Modified:
  dhall-lsp-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:11:13 UTC (rev 1107364)
+++ PKGBUILD2022-01-17 07:11:57 UTC (rev 1107365)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-lsp-server
 pkgver=1.0.17
-pkgrel=8
+pkgrel=9
 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 grub/trunk (PKGBUILD)

2022-01-16 Thread Tobias Powalowski via arch-commits
Date: Monday, January 17, 2022 @ 07:13:03
  Author: tpowa
Revision: 434589

upgpkg: grub 2:2.06-4: correct optdepend to lzop

Modified:
  grub/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:37:20 UTC (rev 434588)
+++ PKGBUILD2022-01-17 07:13:03 UTC (rev 434589)
@@ -23,7 +23,7 @@
 _unifont_ver='14.0.01'
 _pkgver=2.06
 pkgver=${_pkgver/-/}
-pkgrel=3
+pkgrel=4
 url='https://www.gnu.org/software/grub/'
 arch=('x86_64')
 license=('GPL3')



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:12:04
  Author: felixonmars
Revision: 1107366

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 1107365, dhall-lsp-server/trunk/PKGBUILD)

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

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



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:10:15
  Author: felixonmars
Revision: 1107362

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-summoner-tui/repos/community-staging-x86_64/
  haskell-summoner-tui/repos/community-staging-x86_64/PKGBUILD
(from rev 1107361, haskell-summoner-tui/trunk/PKGBUILD)

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

Copied: haskell-summoner-tui/repos/community-staging-x86_64/PKGBUILD (from rev 
1107361, haskell-summoner-tui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:10:15 UTC (rev 1107362)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=summoner-tui
+pkgname=haskell-summoner-tui
+pkgver=2.0.1.1
+pkgrel=277
+pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
+url="https://github.com/kowainik/summoner;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-brick' 'haskell-colourista' 'haskell-microlens' 
'haskell-microlens-th'
+ 'haskell-relude' 'haskell-summoner' 'haskell-validation-selective' 
'haskell-vty')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9f840f25d72c54b4b5ed0c5e6755e52ca71e9961759de6bd0046d567bd1f2c27')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  uusi $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:11:05
  Author: felixonmars
Revision: 1107363

upgpkg: cabal-plan 0.7.2.0-97: rebuild with lens 5.1

Modified:
  cabal-plan/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:10:15 UTC (rev 1107362)
+++ PKGBUILD2022-01-17 07:11:05 UTC (rev 1107363)
@@ -3,7 +3,7 @@
 _hkgname=cabal-plan
 pkgname=cabal-plan
 pkgver=0.7.2.0
-pkgrel=96
+pkgrel=97
 pkgdesc="Library and utility for processing cabal's plan.json file"
 url="https://github.com/hvr/cabal-plan;
 license=("GPL")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:11:13
  Author: felixonmars
Revision: 1107364

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: cabal-plan/repos/community-staging-x86_64/PKGBUILD (from rev 1107363, 
cabal-plan/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:11:13 UTC (rev 1107364)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-plan
+pkgname=cabal-plan
+pkgver=0.7.2.0
+pkgrel=97
+pkgdesc="Library and utility for processing cabal's plan.json file"
+url="https://github.com/hvr/cabal-plan;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-async' 
'haskell-base-compat'
+ 'haskell-base16-bytestring' 'haskell-cabal-install-parsers' 
'haskell-optics-core'
+ 'haskell-optparse-applicative' 'haskell-semialign' 
'haskell-singleton-bool' 'haskell-tar'
+ 'haskell-these' 'haskell-topograph' 'haskell-vector' 'haskell-zlib')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('233a3d1460732fe3486169023758e431d37c5c9156fb28d829decaf7b9170f85')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base -u Cabal -u optics-core -u semialign $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fexe -flicense-report
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.GPLv2
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:10:07
  Author: felixonmars
Revision: 1107361

upgpkg: haskell-summoner-tui 2.0.1.1-277: rebuild with lens 5.1

Modified:
  haskell-summoner-tui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:09:31 UTC (rev 1107360)
+++ PKGBUILD2022-01-17 07:10:07 UTC (rev 1107361)
@@ -4,7 +4,7 @@
 _hkgname=summoner-tui
 pkgname=haskell-summoner-tui
 pkgver=2.0.1.1
-pkgrel=276
+pkgrel=277
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:09:23
  Author: felixonmars
Revision: 1107359

upgpkg: pandoc 2.14.2-8: rebuild with lens 5.1

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:04:48 UTC (rev 1107358)
+++ PKGBUILD2022-01-17 07:09:23 UTC (rev 1107359)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.14.2
-pkgrel=7
+pkgrel=8
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')



[arch-commits] Commit in kicad/repos/community-x86_64 (4 files)

2022-01-16 Thread George Rawlinson via arch-commits
Date: Monday, January 17, 2022 @ 07:03:46
  Author: grawlinson
Revision: 1107356

archrelease: copy trunk to community-x86_64

Added:
  kicad/repos/community-x86_64/PKGBUILD
(from rev 1107355, kicad/trunk/PKGBUILD)
  kicad/repos/community-x86_64/fix-archive-permissions.patch
(from rev 1107355, kicad/trunk/fix-archive-permissions.patch)
  kicad/repos/community-x86_64/fix-version-string.patch
(from rev 1107355, kicad/trunk/fix-version-string.patch)
Deleted:
  kicad/repos/community-x86_64/PKGBUILD

---+
 PKGBUILD  |  125 ++--
 fix-archive-permissions.patch |   11 +++
 fix-version-string.patch  |   15 
 3 files changed, 109 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-17 07:02:35 UTC (rev 1107355)
+++ PKGBUILD2022-01-17 07:03:46 UTC (rev 1107356)
@@ -1,42 +0,0 @@
-# Maintainer: Filipe Laíns 
-# Contributor: Rachel Mant 
-
-pkgname=kicad
-pkgver=6.0.0
-pkgrel=2
-pkgdesc='Electronic schematic and printed circuit board (PCB) design tools'
-arch=('x86_64')
-url='http://kicad.org/'
-license=('GPL')
-depends=('wxgtk3' 'python' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice' 
'opencascade' 'python-wxpython')
-makedepends=('cmake' 'mesa' 'boost' 'swig' 'ninja')
-optdepends=('kicad-library: for footprints and symbols'
-'kicad-library-3d: for 3d models of components')
-source=("https://gitlab.com/kicad/code/kicad/-/archive/$pkgver/kicad-$pkgver.tar.bz2;)
-sha512sums=('1267b7cd35a63a3f26c2e9b0695722cbb9b279d1326f52f0b8497bd3011d79a5732e6da27f6413fb72064fe2aca72da95252011c6cb0b70c209f296f40a77b90')
-
-build()
-{
-  mkdir $pkgname-$pkgver/build
-  cd $pkgname-$pkgver/build
-
-  cmake .. -G Ninja \
--DCMAKE_BUILD_TYPE=Release \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=lib \
--DKICAD_USE_OCC=ON \
--DKICAD_SCRIPTING_WXPYTHON=ON \
--DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
--Wno-dev
-
-  ninja
-}
-
-package()
-{
-  cd $pkgname-$pkgver/build
-
-  DESTDIR="$pkgdir" ninja install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: kicad/repos/community-x86_64/PKGBUILD (from rev 1107355, 
kicad/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-17 07:03:46 UTC (rev 1107356)
@@ -0,0 +1,83 @@
+# Maintainer: Kyle Keen 
+# Maintainer: George Rawlinson 
+# Maintainer: Filipe Laíns 
+# Contributor: Marq Schneider 
+# Contributor: Nick Østergaard
+# Contributor: Rachel Mant 
+
+pkgname=kicad
+pkgver=6.0.1
+pkgrel=2
+pkgdesc='Electronic schematic and printed circuit board (PCB) design tools'
+arch=('x86_64')
+url='http://kicad.org/'
+license=('GPL')
+depends=(
+  'boost-libs'
+  'curl'
+  'glew'
+  'glm'
+  'ngspice'
+  'opencascade'
+  'python'
+  'python-wxpython'
+  'wxgtk3'
+)
+makedepends=(
+  'git'
+  'cmake'
+  'mesa'
+  'boost'
+  'swig'
+)
+optdepends=(
+  'kicad-library: for footprints, symbols and templates'
+  'kicad-library-3d: for 3D models of components'
+)
+_commit='0a9271f98e154202d3f4d1ddfbbea6e57abef955'
+source=(
+  "$pkgname::git+https://gitlab.com/kicad/code/kicad.git#commit=$_commit;
+  'fix-archive-permissions.patch'
+  'fix-version-string.patch'
+)
+sha512sums=('SKIP'
+
'e655d37f743e131e60ea8143b78c195ea5233b1336a0cd73c3388bf27848240622843e31c895467fcb8af5d74e351676b353c524c835b9dde49e1e6bc85e0dce'
+
'229559222b96f7ff4334e69142934b1ac74cfdb01b76dd16f1d56fcf70dfe06fa928de4bb9ffb46e023f4a3918bceb04fa39758e2673f51354304ebd2ef6d8b0')
+b2sums=('SKIP'
+
'fd1312d6adc0a9d00734a95a76fd0ed82824cfae0e626bfa2e0a24a710dd7a9f30d8d9d8b80a278d94aab8dd6d06bfe5edb41f03bb3bb8d4c3b5e9f066d49a84'
+
'bad6ad3b0278e24717cf8b1c5a30989cb9a329aa7e0fd36c9b2197c2031783c4873b1e0fb5ad9827c15cf93271fb910afddac2c853153e9f7f98bd703725732b')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed "s/^v//"
+}
+
+prepare() {
+  cd "$pkgname"
+  patch -p1 -i ../fix-archive-permissions.patch
+  patch -p1 -i ../fix-version-string.patch
+}
+
+build() {
+  cmake \
+-S "$pkgname" \
+-B build \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DKICAD_USE_OCC=ON \
+-DKICAD_SCRIPTING_WXPYTHON=ON \
+-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
+-DKICAD_BUILD_I18N=ON \
+-DKICAD_I18N_UNIX_STRICT_PATH=ON \
+-DKICAD_BUILD_QA_TESTS=OFF \
+-Wno-dev
+
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}
+
+# vim:set ts=2 sw=2 et:

Copied: kicad/repos/community-x86_64/fix-archive-permissions.patch (from rev 
1107355, kicad/trunk/fix-archive-permissions.patch)
===
--- fix-archive-permissions.patch   (rev 0)
+++ fix-archive-permissions.patch 

[arch-commits] Commit in kicad/trunk (PKGBUILD fix-version-string.patch)

2022-01-16 Thread George Rawlinson via arch-commits
Date: Monday, January 17, 2022 @ 07:02:35
  Author: grawlinson
Revision: 1107355

upgpkg: kicad 6.0.1-2; fix version string

Version string includes 'makepkg' as branch, this is due to
how makepkg interacts with a git source. Fixed this particular
issue.

Added:
  kicad/trunk/fix-version-string.patch
Modified:
  kicad/trunk/PKGBUILD

--+
 PKGBUILD |   33 +++--
 fix-version-string.patch |   15 +++
 2 files changed, 42 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 07:01:24 UTC (rev 1107354)
+++ PKGBUILD2022-01-17 07:02:35 UTC (rev 1107355)
@@ -7,25 +7,45 @@
 
 pkgname=kicad
 pkgver=6.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Electronic schematic and printed circuit board (PCB) design tools'
 arch=('x86_64')
 url='http://kicad.org/'
 license=('GPL')
-depends=('wxgtk3' 'python' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice' 
'opencascade' 'python-wxpython')
-makedepends=('git' 'cmake' 'mesa' 'boost' 'swig')
+depends=(
+  'boost-libs'
+  'curl'
+  'glew'
+  'glm'
+  'ngspice'
+  'opencascade'
+  'python'
+  'python-wxpython'
+  'wxgtk3'
+)
+makedepends=(
+  'git'
+  'cmake'
+  'mesa'
+  'boost'
+  'swig'
+)
 optdepends=(
   'kicad-library: for footprints, symbols and templates'
   'kicad-library-3d: for 3D models of components'
 )
+_commit='0a9271f98e154202d3f4d1ddfbbea6e57abef955'
 source=(
-  
"$pkgname::git+https://gitlab.com/kicad/code/kicad.git#commit=0a9271f98e154202d3f4d1ddfbbea6e57abef955;
+  "$pkgname::git+https://gitlab.com/kicad/code/kicad.git#commit=$_commit;
   'fix-archive-permissions.patch'
+  'fix-version-string.patch'
 )
 sha512sums=('SKIP'
-
'e655d37f743e131e60ea8143b78c195ea5233b1336a0cd73c3388bf27848240622843e31c895467fcb8af5d74e351676b353c524c835b9dde49e1e6bc85e0dce')
+
'e655d37f743e131e60ea8143b78c195ea5233b1336a0cd73c3388bf27848240622843e31c895467fcb8af5d74e351676b353c524c835b9dde49e1e6bc85e0dce'
+
'229559222b96f7ff4334e69142934b1ac74cfdb01b76dd16f1d56fcf70dfe06fa928de4bb9ffb46e023f4a3918bceb04fa39758e2673f51354304ebd2ef6d8b0')
 b2sums=('SKIP'
-
'fd1312d6adc0a9d00734a95a76fd0ed82824cfae0e626bfa2e0a24a710dd7a9f30d8d9d8b80a278d94aab8dd6d06bfe5edb41f03bb3bb8d4c3b5e9f066d49a84')
+
'fd1312d6adc0a9d00734a95a76fd0ed82824cfae0e626bfa2e0a24a710dd7a9f30d8d9d8b80a278d94aab8dd6d06bfe5edb41f03bb3bb8d4c3b5e9f066d49a84'
+
'bad6ad3b0278e24717cf8b1c5a30989cb9a329aa7e0fd36c9b2197c2031783c4873b1e0fb5ad9827c15cf93271fb910afddac2c853153e9f7f98bd703725732b')
 
 pkgver() {
   cd "$pkgname"
@@ -35,6 +55,7 @@
 prepare() {
   cd "$pkgname"
   patch -p1 -i ../fix-archive-permissions.patch
+  patch -p1 -i ../fix-version-string.patch
 }
 
 build() {

Added: fix-version-string.patch
===
--- fix-version-string.patch(rev 0)
+++ fix-version-string.patch2022-01-17 07:02:35 UTC (rev 1107355)
@@ -0,0 +1,15 @@
+--- a/CMakeModules/CreateGitVersionHeader.cmake
 b/CMakeModules/CreateGitVersionHeader.cmake
+@@ -32,10 +32,10 @@ macro( create_git_version_header _git_src_path )
+ set( _Git_SAVED_LC_ALL "$ENV{LC_ALL}" )
+ set( ENV{LC_ALL} C )
+ 
+-# Use `git describe --dirty` to create the KiCad version string.
++# Use `git describe` to create the KiCad version string.
+ execute_process(
+ COMMAND
+-${GIT_EXECUTABLE} describe --dirty
++${GIT_EXECUTABLE} describe
+ WORKING_DIRECTORY ${_git_src_path}
+ OUTPUT_VARIABLE _git_DESCRIBE
+ ERROR_VARIABLE _git_log_error



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:01:24
  Author: felixonmars
Revision: 1107354

archrelease: copy trunk to community-staging-x86_64

Added:
  cryptol/repos/community-staging-x86_64/
  cryptol/repos/community-staging-x86_64/PKGBUILD
(from rev 1107353, cryptol/trunk/PKGBUILD)
  cryptol/repos/community-staging-x86_64/ghc9.patch
(from rev 1107353, cryptol/trunk/ghc9.patch)

+
 PKGBUILD   |   51 +++
 ghc9.patch |  841 +++
 2 files changed, 892 insertions(+)

Copied: cryptol/repos/community-staging-x86_64/PKGBUILD (from rev 1107353, 
cryptol/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 07:01:24 UTC (rev 1107354)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+pkgname=cryptol
+pkgver=2.11.0
+pkgrel=122
+pkgdesc="The Language of Cryptography"
+url="https://www.cryptol.net;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'z3' 'haskell-arithmoi' 'haskell-async' 
'haskell-base-compat' 'haskell-bv-sized'
+ 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' 
'haskell-gitrev'
+ 'haskell-graphscc' 'haskell-heredoc' 'haskell-libbf' 
'haskell-memotrie'
+ 'haskell-monad-control' 'haskell-monadlib' 
'haskell-optparse-applicative'
+ 'haskell-parameterized-utils' 'haskell-panic' 'haskell-random' 
'haskell-sbv'
+ 'haskell-simple-smt' 'haskell-strict' 'haskell-temporary' 
'haskell-tf-random'
+ 'haskell-transformers-base' 'haskell-what4' 'haskell-ansi-terminal' 
'haskell-blaze-html')
+makedepends=('ghc' 'alex' 'happy' 'uusi')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/GaloisInc/cryptol/archive/$pkgver.tar.gz;
+ghc9.patch)
+sha512sums=('4e8e9dec727c02e76043ee390b91d0a740df747a8f49b2551686ac7db3cc0c94c36e20316b59e7e50e28b838f3f9bf7202095cf6ce683d83fd47826702381649'
+
'cf201d5d633101343399bb43e264e482e9f7e4615512ff658455772add3055d14571954f20ddf2cb2e35704c5638e7d2a3dab494bbb981229c519dcf88867e17')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../ghc9.patch
+uusi -u sbv -u what4 $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-static -f-relocatable --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Copied: cryptol/repos/community-staging-x86_64/ghc9.patch (from rev 1107353, 
cryptol/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2022-01-17 07:01:24 UTC (rev 1107354)
@@ -0,0 +1,841 @@
+From 889bfd65116b8817bd97b18e8a1e66db57c135cf Mon Sep 17 00:00:00 2001
+From: Rob Dockins 
+Date: Wed, 14 Jul 2021 22:44:53 -0700
+Subject: [PATCH 1/2] First take at GHC 9.* compatibility.
+
+There's a lot here that can be cleaned up, and we need
+some backward compatiblity layer, but this is just a first
+try.
+
+Something in the PrimeEC module is causing hard crashes
+during the test suite, so I'll have to figure out what's
+going on there.
+---
+ cryptol-remote-api/cryptol-remote-api.cabal |   7 +-
+ cryptol.cabal   |   5 +-
+ cryptol/OptParser.hs|   1 -
+ src/Cryptol/Backend/Concrete.hs |  13 +-
+ src/Cryptol/Backend/SBV.hs  |   9 +-
+ src/Cryptol/Backend/What4.hs|   9 +-
+ src/Cryptol/Eval/Concrete.hs|   4 +-
+ src/Cryptol/Eval/Reference.lhs  |  10 +-
+ src/Cryptol/ModuleSystem/Name.hs|   4 +-
+ src/Cryptol/PrimeEC.hs  | 259 
+ src/Cryptol/TypeCheck/Solver/Numeric.hs |   8 +-
+ 11 files changed, 138 insertions(+), 191 deletions(-)
+
+diff --git a/cryptol-remote-api/cryptol-remote-api.cabal 
b/cryptol-remote-api/cryptol-remote-api.cabal
+index f0f75d18e..4cd02c5e6 100644
+--- 

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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 07:01:15
  Author: felixonmars
Revision: 1107353

upgpkg: cryptol 2.11.0-122: rebuild with lens 5.1

Modified:
  cryptol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:58:34 UTC (rev 1107352)
+++ PKGBUILD2022-01-17 07:01:15 UTC (rev 1107353)
@@ -2,7 +2,7 @@
 
 pkgname=cryptol
 pkgver=2.11.0
-pkgrel=121
+pkgrel=122
 pkgdesc="The Language of Cryptography"
 url="https://www.cryptol.net;
 license=("BSD")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:58:26
  Author: felixonmars
Revision: 1107351

upgpkg: haskell-ixset-typed 0.5-221: rebuild with lens 5.1

Modified:
  haskell-ixset-typed/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:57:51 UTC (rev 1107350)
+++ PKGBUILD2022-01-17 06:58:26 UTC (rev 1107351)
@@ -3,7 +3,7 @@
 _hkgname=ixset-typed
 pkgname=haskell-ixset-typed
 pkgver=0.5
-pkgrel=220
+pkgrel=221
 pkgdesc="Efficient relational queries on Haskell sets"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:58:34
  Author: felixonmars
Revision: 1107352

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 1107351, haskell-ixset-typed/trunk/PKGBUILD)
  haskell-ixset-typed/repos/community-staging-x86_64/ghc9.patch
(from rev 1107351, haskell-ixset-typed/trunk/ghc9.patch)

+
 PKGBUILD   |   49 +
 ghc9.patch |   54 ++
 2 files changed, 103 insertions(+)

Copied: haskell-ixset-typed/repos/community-staging-x86_64/PKGBUILD (from rev 
1107351, haskell-ixset-typed/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:58:34 UTC (rev 1107352)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ixset-typed
+pkgname=haskell-ixset-typed
+pkgver=0.5
+pkgrel=221
+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
+ghc9.patch)
+sha512sums=('0f25a540835805cdea68b46de5956afa887172cf16135f7d13e1c1f59e750652defae74d3ecebdacdb606ddf3bdc515c370e0b57f7ada21e3aa3f6e1b62fe582'
+
'4febefe2d34337482033ad4bfb28ec037323b176127e4a015244d630f8c5071a685d967a633cf64016865b095eb8f473abd5ec829bdf51c431e00ccd478abb0a')
+
+prepare() {
+patch -d $_hkgname-$pkgver -p1 < ghc9.patch
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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"
+}

Copied: haskell-ixset-typed/repos/community-staging-x86_64/ghc9.patch (from rev 
1107351, haskell-ixset-typed/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2022-01-17 06:58:34 UTC (rev 1107352)
@@ -0,0 +1,54 @@
+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) 

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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:57:51
  Author: felixonmars
Revision: 1107350

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 1107349, git-annex/trunk/PKGBUILD)

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 1107349, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:57:51 UTC (rev 1107350)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=8.20210803
+pkgrel=91
+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-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-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:57:43
  Author: felixonmars
Revision: 1107349

upgpkg: git-annex 8.20210803-91: rebuild with lens 5.1

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:55:50 UTC (rev 1107348)
+++ PKGBUILD2022-01-17 06:57:43 UTC (rev 1107349)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20210803
-pkgrel=90
+pkgrel=91
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:55:50
  Author: felixonmars
Revision: 1107348

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
1107347, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:55:50 UTC (rev 1107348)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.2
+pkgrel=22
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('763ab60bfd99c08b21b291af6b4da17c9265c09659c1c1d14c0b5d5871583f28db5eca4385b66107ed7d9d9c547429a0bbc88048f28d1f6ee80c988cf63fff98')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:55:43
  Author: felixonmars
Revision: 1107347

upgpkg: haskell-mustache 2.3.2-22: rebuild with lens 5.1

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:55:01 UTC (rev 1107346)
+++ PKGBUILD2022-01-17 06:55:43 UTC (rev 1107347)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.2
-pkgrel=21
+pkgrel=22
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache;
 license=('BSD')



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:55:01
  Author: felixonmars
Revision: 1107346

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 
1107345, haskell-lsp-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:55:01 UTC (rev 1107346)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp-test
+pkgname=haskell-lsp-test
+pkgver=0.14.0.1
+pkgrel=42
+pkgdesc="Functional test framework for LSP servers."
+url="https://github.com/haskell/lsp/blob/master/lsp-test/README.md;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 
'haskell-conduit-parse'
+ 'haskell-data-default' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-types'
+ 'haskell-parser-combinators' 'haskell-some' 'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0159cb688617658653588c4d5e1599440e27fc37705227ae920c8a5d280ef4effefc80e2f40ca64da0cf62a2ab05b4463490c2dbb92b8300f1e777a973b98169')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  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-lsp-test/trunk (PKGBUILD)

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:54:53
  Author: felixonmars
Revision: 1107345

upgpkg: haskell-lsp-test 0.14.0.1-42: rebuild with lens 5.1

Modified:
  haskell-lsp-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:53:12 UTC (rev 1107344)
+++ PKGBUILD2022-01-17 06:54:53 UTC (rev 1107345)
@@ -3,7 +3,7 @@
 _hkgname=lsp-test
 pkgname=haskell-lsp-test
 pkgver=0.14.0.1
-pkgrel=41
+pkgrel=42
 pkgdesc="Functional test framework for LSP servers."
 url="https://github.com/haskell/lsp/blob/master/lsp-test/README.md;
 license=("BSD")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:53:12
  Author: felixonmars
Revision: 1107344

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD (from 
rev 1107343, haskell-hls-plugin-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:53:12 UTC (rev 1107344)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-plugin-api
+pkgname=haskell-hls-plugin-api
+pkgver=1.2.0.0
+pkgrel=50
+pkgdesc="Haskell Language Server API for plugin communication"
+url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-data-default' 
'haskell-dependent-map'
+ 'haskell-dependent-sum' 'haskell-dlist' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-hashable' 'haskell-hls-graph' 'haskell-hslogger' 
'haskell-lens' 'haskell-lsp'
+ 'haskell-optparse-applicative' 'haskell-opentelemetry' 
'haskell-regex-tdfa'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('71e6addec81ba84bb26d8048107cb60a94ddb01ac4879640ec7ab7db8586515f1e0419db79e5fe3d8bfc0b37679f307c0c6e97e83739723439c48b14d2124d96')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:53:05
  Author: felixonmars
Revision: 1107343

upgpkg: haskell-hls-plugin-api 1.2.0.0-50: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:52:33 UTC (rev 1107342)
+++ PKGBUILD2022-01-17 06:53:05 UTC (rev 1107343)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=1.2.0.0
-pkgrel=49
+pkgrel=50
 pkgdesc="Haskell Language Server API for plugin communication"
 url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
 license=("Apache")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:52:33
  Author: felixonmars
Revision: 1107342

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: clash-ghc/repos/community-staging-x86_64/PKGBUILD (from rev 1107341, 
clash-ghc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:52:33 UTC (rev 1107342)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+pkgname=clash-ghc
+pkgver=1.4.3
+pkgrel=61
+pkgdesc="CAES Language for Synchronous Hardware"
+url="https://clash-lang.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-clash-lib' 
'haskell-clash-prelude'
+ 'haskell-concurrent-supply' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-typelits-extra'
+ 'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-hashable'
+ 'haskell-lens' 'haskell-primitive' 'haskell-reflection' 
'haskell-split' 'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector')
+makedepends=('ghc' 'uusi')
+conflicts=('clash')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('1805df7a57ec2b9f291f0561a35e55d776dab67717afb10293e0c29aa7607433b7f1fee30172450f93d3d6fc795b6245648b1241f6c46c79242cd0c6e2d14d4f')
+
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u ghc-bignum $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:52:25
  Author: felixonmars
Revision: 1107341

upgpkg: clash-ghc 1.4.3-61: rebuild with lens 5.1

Modified:
  clash-ghc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:50:43 UTC (rev 1107340)
+++ PKGBUILD2022-01-17 06:52:25 UTC (rev 1107341)
@@ -2,7 +2,7 @@
 
 pkgname=clash-ghc
 pkgver=1.4.3
-pkgrel=60
+pkgrel=61
 pkgdesc="CAES Language for Synchronous Hardware"
 url="https://clash-lang.org/;
 license=("BSD")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:50:43
  Author: felixonmars
Revision: 1107340

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:50:35
  Author: felixonmars
Revision: 1107339

upgpkg: postgrest 8.0.0-90: rebuild with lens 5.1

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:46:14 UTC (rev 1107338)
+++ PKGBUILD2022-01-17 06:50:35 UTC (rev 1107339)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=8.0.0
-pkgrel=89
+pkgrel=90
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")
@@ -28,7 +28,7 @@
 
 prepare() {
 cd $pkgname-$pkgver
-uusi -u base -u hspec -u retry $pkgname.cabal
+uusi -u base -u hspec -u lens -u retry $pkgname.cabal
 }
 
 build() {



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:46:07
  Author: felixonmars
Revision: 1107337

upgpkg: haskell-lsp0-test 0.11.0.7-95: rebuild with lens 5.1

Modified:
  haskell-lsp0-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:44:15 UTC (rev 1107336)
+++ PKGBUILD2022-01-17 06:46:07 UTC (rev 1107337)
@@ -3,7 +3,7 @@
 _hkgname=lsp-test
 pkgname=haskell-lsp0-test
 pkgver=0.11.0.7
-pkgrel=94
+pkgrel=95
 pkgdesc="Functional test framework for LSP servers (Legacy 0.x version)"
 url="https://github.com/bubba/lsp-test#readme;
 license=("BSD")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:43:11
  Author: felixonmars
Revision: 1107334

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-summoner/repos/community-staging-x86_64/PKGBUILD (from rev 
1107333, haskell-summoner/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:43:11 UTC (rev 1107334)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=summoner
+pkgname=haskell-summoner
+pkgver=2.0.1.1
+pkgrel=253
+pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects."
+url="https://github.com/kowainik/summoner;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-colourista' 
'haskell-generic-data' 'haskell-gitrev'
+ 'haskell-neat-interpolation' 'haskell-optparse-applicative' 
'haskell-relude'
+ 'haskell-shellmet' 'haskell-tomland' 'haskell-validation-selective')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog' 'haskell-tree-diff')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('5b6eee2848e2fb0b65d34f4a980ecd6e7766629a42394348dc2166e2216fc496')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  uusi $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test || :
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:44:15
  Author: felixonmars
Revision: 1107336

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD 
(from rev 1107335, haskell-cabal-install-parsers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:44:15 UTC (rev 1107336)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-install-parsers
+pkgname=haskell-cabal-install-parsers
+pkgver=0.4.2
+pkgrel=68
+pkgdesc="Utilities to work with cabal-install files"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL" "BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-binary-instances'
+ 'haskell-cryptohash-sha256' 'haskell-lukko' 'haskell-network-uri' 
'haskell-tar')
+makedepends=('ghc' 'uusi' 'haskell-ansi-terminal' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tree-diff')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f41dd0fe65994330aca0b372f96e370eeaf5b7f9909682aa7d394244e4144358b70e482b2d4cd54ba78068b202155fb6dacd38b81eadeaa877c6bc5bbf2ba8fb')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  cabal update  # Generate cabal config for tests
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:44:07
  Author: felixonmars
Revision: 1107335

upgpkg: haskell-cabal-install-parsers 0.4.2-68: rebuild with lens 5.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:43:11 UTC (rev 1107334)
+++ PKGBUILD2022-01-17 06:44:07 UTC (rev 1107335)
@@ -3,7 +3,7 @@
 _hkgname=cabal-install-parsers
 pkgname=haskell-cabal-install-parsers
 pkgver=0.4.2
-pkgrel=67
+pkgrel=68
 pkgdesc="Utilities to work with cabal-install files"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL" "BSD")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:46:14
  Author: felixonmars
Revision: 1107338

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp0-test/repos/community-staging-x86_64/PKGBUILD (from rev 
1107337, haskell-lsp0-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:46:14 UTC (rev 1107338)
@@ -0,0 +1,65 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp-test
+pkgname=haskell-lsp0-test
+pkgver=0.11.0.7
+pkgrel=95
+pkgdesc="Functional test framework for LSP servers (Legacy 0.x version)"
+url="https://github.com/bubba/lsp-test#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 
'haskell-conduit-parse'
+ 'haskell-data-default' 'haskell-lsp0' 'haskell-lens' 
'haskell-parser-combinators'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+# Hackage source is missing test data
+source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u haskell-lsp $_hkgname.cabal
+
+  sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs
+
+  # haskell-lsp 0.24.0.0
+  sed -i 's/"deleteThis" Nothing))/"deleteThis" Nothing)) Nothing Nothing/' 
test/dummy-server/Main.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  # We need to enable dummy-server here for tests, but it shouldn't be 
installed...
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fdummyserver
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --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
+
+  # Remove dummy-server
+  rm -r "$pkgdir"/usr/libexec
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:42:12
  Author: felixonmars
Revision: 1107331

upgpkg: haskell-haddock-library 1.10.0-86: rebuild with lens 5.1

Modified:
  haskell-haddock-library/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:41:08 UTC (rev 1107330)
+++ PKGBUILD2022-01-17 06:42:12 UTC (rev 1107331)
@@ -3,7 +3,7 @@
 _hkgname=haddock-library
 pkgname=haskell-haddock-library
 pkgver=1.10.0
-pkgrel=85
+pkgrel=86
 pkgdesc="A documentation-generation tool for Haskell libraries"
 url="https://www.haskell.org/haddock/;
 license=("BSD")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:42:20
  Author: felixonmars
Revision: 1107332

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-haddock-library/repos/community-staging-x86_64/
  haskell-haddock-library/repos/community-staging-x86_64/PKGBUILD
(from rev 1107331, haskell-haddock-library/trunk/PKGBUILD)

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

Copied: haskell-haddock-library/repos/community-staging-x86_64/PKGBUILD (from 
rev 1107331, haskell-haddock-library/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:42:20 UTC (rev 1107332)
@@ -0,0 +1,48 @@
+# Maintainer: Sergej Pupykin 
+
+_hkgname=haddock-library
+pkgname=haskell-haddock-library
+pkgver=1.10.0
+pkgrel=86
+pkgdesc="A documentation-generation tool for Haskell libraries"
+url="https://www.haskell.org/haddock/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck' 'haskell-optparse-applicative' 
'haskell-tree-diff')
+source=("https://hackage.haskell.org/packages/archive/haddock-library/${pkgver}/haddock-library-${pkgver}.tar.gz;)
+sha512sums=('dac536a2b8e2764de1a1b1a16fc328e15455656c2992fb3b3bccdeae2bb6ac81fe94e164aa2a70cff7cea3b97347b8510aadb5fa1c0564bb2429947f0aace0d1')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u tree-diff -u QuickCheck -u hspec -u optparse-applicative 
$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:43:04
  Author: felixonmars
Revision: 1107333

upgpkg: haskell-summoner 2.0.1.1-253: rebuild with lens 5.1

Modified:
  haskell-summoner/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:42:20 UTC (rev 1107332)
+++ PKGBUILD2022-01-17 06:43:04 UTC (rev 1107333)
@@ -4,7 +4,7 @@
 _hkgname=summoner
 pkgname=haskell-summoner
 pkgver=2.0.1.1
-pkgrel=252
+pkgrel=253
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:41:01
  Author: felixonmars
Revision: 1107329

upgpkg: haskell-what4 1.2.1-74: rebuild with lens 5.1

Modified:
  haskell-what4/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:36:08 UTC (rev 1107328)
+++ PKGBUILD2022-01-17 06:41:01 UTC (rev 1107329)
@@ -3,7 +3,7 @@
 _hkgname=what4
 pkgname=haskell-what4
 pkgver=1.2.1
-pkgrel=73
+pkgrel=74
 pkgdesc="Solver-agnostic symbolic values support for issuing queries"
 url="https://github.com/GaloisInc/what4;
 license=('BSD')



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:41:08
  Author: felixonmars
Revision: 1107330

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-what4/repos/community-staging-x86_64/PKGBUILD (from rev 
1107329, haskell-what4/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:41:08 UTC (rev 1107330)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+_hkgname=what4
+pkgname=haskell-what4
+pkgver=1.2.1
+pkgrel=74
+pkgdesc="Solver-agnostic symbolic values support for issuing queries"
+url="https://github.com/GaloisInc/what4;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-bimap' 'haskell-bifunctors' 
'haskell-bv-sized'
+ 'haskell-config-value' 'haskell-deriving-compat' 
'haskell-data-binary-ieee754'
+ 'haskell-extra' 'haskell-fingertree' 'haskell-hashable' 
'haskell-hashtables'
+ 'haskell-io-streams' 'haskell-lens' 'haskell-libbf' 'haskell-panic'
+ 'haskell-parameterized-utils' 'haskell-prettyprinter' 
'haskell-scientific'
+ 'haskell-temporary' 'haskell-th-abstraction' 'haskell-th-lift' 
'haskell-th-lift-instances'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector' 
'haskell-versions'
+ 'haskell-zenc')
+makedepends=('ghc' 'uusi' 'haskell-contravariant' 'haskell-exceptions' 
'haskell-hedgehog'
+ 'haskell-lumberjack' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-checklist'
+ 'haskell-tasty-hedgehog' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-sugar')
+checkdepends=('cvc4' 'yices' 'z3')
+optdepends=('cvc4' 'yices' 'z3')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('494e030c0302997205bf4ac3cbd877cd107b22cc3dcb1ca64a075434f95c0a993a82ac27ad5098e616a2f72f8cb9d6234d41a2c5e0335eb874953963281d1318')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:36:08
  Author: felixonmars
Revision: 1107328

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD (from 
rev 1107327, haskell-servant-swagger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:36:08 UTC (rev 1107328)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-swagger
+pkgname=haskell-servant-swagger
+pkgver=1.1.10
+pkgrel=218
+pkgdesc="Generate Swagger specification for your servant API."
+url="https://github.com/haskell-servant/servant-swagger;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-servant'
+ 'haskell-singleton-bool' 'haskell-swagger2' 
'haskell-unordered-containers'
+ 'haskell-hspec' 'haskell-quickcheck')
+makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-cabal-doctest' 
'haskell-doctest'
+ 'haskell-hspec-discover' 'haskell-lens-aeson' 
'haskell-utf8-string' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+
$_hkgname-fragment-instance.patch::https://github.com/haskell-servant/servant-swagger/commit/cce6bf064e01ade21a7a8f283beca41595792446.patch)
+sha512sums=('df3b397ce03dbb4c852598d4d188bcddde40fd9bd762eac53c837267420876ba3aa4d07fb638ffe0d0fa60c9cf080ad483508bf0359b45120f807ed65331f3bc'
+
'96bd6acdd78a9ff777c81c0e1d507167dc9ea4d27c905bc41afecc9c5fef75ca293e9e5621efe5e62319b2fb96b39bc690682dd841839b87240acdd7f588f34a')
+
+prepare() {
+cd $_hkgname-$pkgver
+# https://github.com/haskell-servant/servant-swagger/issues/129
+patch -p1 -i ../$_hkgname-fragment-instance.patch
+uusi -u base -u doctest -u lens -u hspec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# json ordering issue
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Tobias Powalowski via arch-commits
Date: Monday, January 17, 2022 @ 06:37:16
  Author: tpowa
Revision: 434587

upgpkg: archboot-arm 2022.01-45: bump to latest version

Modified:
  archboot-arm/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:36:31 UTC (rev 434586)
+++ PKGBUILD2022-01-17 06:37:16 UTC (rev 434587)
@@ -2,7 +2,7 @@
 
 pkgname=archboot-arm
 pkgver=2022.01
-pkgrel=44
+pkgrel=45
 pkgdesc="Advanced, modular arch boot/install image creation utility with 
aarch64 depends"
 arch=(any)
 license=('GPL')



[arch-commits] Commit in archboot-arm/repos/extra-any (4 files)

2022-01-16 Thread Tobias Powalowski via arch-commits
Date: Monday, January 17, 2022 @ 06:37:20
  Author: tpowa
Revision: 434588

archrelease: copy trunk to extra-any

Added:
  archboot-arm/repos/extra-any/PKGBUILD
(from rev 434587, archboot-arm/trunk/PKGBUILD)
  archboot-arm/repos/extra-any/archboot.install
(from rev 434587, archboot-arm/trunk/archboot.install)
Deleted:
  archboot-arm/repos/extra-any/PKGBUILD
  archboot-arm/repos/extra-any/archboot.install

--+
 PKGBUILD |   96 ++---
 archboot.install |   38 ++--
 2 files changed, 67 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-17 06:37:16 UTC (rev 434587)
+++ PKGBUILD2022-01-17 06:37:20 UTC (rev 434588)
@@ -1,48 +0,0 @@
-# Maintainer : Tobias Powalowski 
-
-pkgname=archboot-arm
-pkgver=2022.01
-pkgrel=44
-pkgdesc="Advanced, modular arch boot/install image creation utility with 
aarch64 depends"
-arch=(any)
-license=('GPL')
-url="https://wiki.archlinux.org/title/Archboot;
-depends=('mkinitcpio' 'wget' 'bash' 'coreutils' 'cryptsetup' 'dialog' 
'e2fsprogs' 'findutils' 'gawk' 'grep' 'iputils' 'jfsutils'
- 'less' 'lvm2' 'mdadm' 'kmod' 'nano' 'ncurses' 'net-tools' 
'gnu-netcat' 'procps-ng' 'psmisc' 'reiserfsprogs' 'sed' 'snarf'
- 'tar' 'util-linux' 'bind' 'which' 'kbd' 'wireless_tools' 'xfsprogs' 
'hdparm' 'inetutils'
- 'openssh' 'hwdetect' 'shadow' 'bridge-utils' 'dosfstools' 'glibc' 
'linux' 'kexec-tools' 'ppp' 'rp-pppoe'
- 'ntfs-3g' 'pciutils' 'usbutils' 'vpnc' 'openvpn' 'b43-fwcutter' 
'wpa_supplicant' 'rsync' 'gzip' 'libarchive'
-'device-mapper' 'screen' 'elfutils' 'pam' 'cracklib' 'nfs-utils' 
'nfsidmap' 'readline' 'acl' 'attr' 'pcre' 'cpio'
-'fuse' 'libusb' 'vim' 'lzo' 'lzop' 'libsasl' 'libldap' 'gpm' 
'libevent' 'gcc-libs' 'sdparm' 'licenses' 'pptpclient' 
-'smbclient'  'dhcpcd' 'openssl' 'dmraid' 'linux-atm' 'netctl' 'parted' 
'tzdata' 'ntp' 'libgcrypt' 'iw' 'crda'
-'libnl' 'iproute2' 'wireless-regdb' 'dhclient' 'mtools' 'fsarchiver' 
'xz' 'libtirpc' 'rpcbind' 'testdisk'
-'wipe' 'ddrescue' 'ifplugd' 'libgssglue' 'mkinitcpio-nfs-utils' 
'gptfdisk' 'nilfs-utils' 'btrfs-progs'
-'iana-etc' 'keyutils' 'libisoburn' 'file' 'curl'  'smartmontools' 
'dnsmasq' 
-'openconnect' 'libxml2' 'libproxy' 'tcpdump' 'nmap' 'lua' 'gnutls' 
'nettle' 'libtasn1' 'expat' 'progsreiserfs'
-'glib2' 'freetype2' 'libssh2' 'libedit' 'talloc' 'libjpeg-turbo' 
'dmidecode' 'gnupg' 'libksba' 'libassuan' 'pinentry'
-'gpgme' 'ldns' 'dnssec-anchors' 'hwdata' 'systemd' 'haveged' 'pambase' 
'traceroute' 'grub' 
-'systemd-sysvcompat' 'arch-install-scripts' 'zsh' 'gdbm' 
'grml-zsh-config' 'cpupower' 'wvdial' 'xl2tpd' 
-'usb_modeswitch' 'efibootmgr' 'f2fs-tools' 'efitools' 'efivar' 
'ethtool' 'exfatprogs' 
-'fuse3' 'flex' 'expac' 'amd-ucode' 'cdrtools' 'mktorrent' 'nvme-cli' 
'fatresize' 'iwd' 'elinks' 'lshw' 
-'sbsigntools' 'openresolv' 'mokutil')
-makedepends=('git')
-optdepends=('archboot-linux-firmware: for stripped down firmware inclusion on 
image file'
-'linux-firmware: for firmware inclusion on image file')
-source=("git+https://gitlab.archlinux.org/tpowa/archboot.git#tag=${pkgver}-${pkgrel}?signed;)
-backup=('etc/archboot/x86_64.conf'
-'etc/archboot/aarch64.conf'
-'etc/archboot/x86_64-latest.conf'
-'etc/archboot/aarch64-latest.conf'
-'etc/archboot/presets/x86_64'
-'etc/archboot/presets/aarch64'
-'etc/archboot/presets/x86_64-latest'
-'etc/archboot/presets/aarch64-latest')
-install=archboot.install
-sha256sums=('SKIP')
-validgpgkeys=('5B7E3FB71B7F10329A1C03AB771DF6627EDF681F' # Tobias Powalowski 

- )
-package()
-{
-  cd "$srcdir/archboot"
-  mv etc/ usr/ "$pkgdir/"
-}

Copied: archboot-arm/repos/extra-any/PKGBUILD (from rev 434587, 
archboot-arm/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-17 06:37:20 UTC (rev 434588)
@@ -0,0 +1,48 @@
+# Maintainer : Tobias Powalowski 
+
+pkgname=archboot-arm
+pkgver=2022.01
+pkgrel=45
+pkgdesc="Advanced, modular arch boot/install image creation utility with 
aarch64 depends"
+arch=(any)
+license=('GPL')
+url="https://wiki.archlinux.org/title/Archboot;
+depends=('mkinitcpio' 'wget' 'bash' 'coreutils' 'cryptsetup' 'dialog' 
'e2fsprogs' 'findutils' 'gawk' 'grep' 'iputils' 'jfsutils'
+ 'less' 'lvm2' 'mdadm' 'kmod' 'nano' 'ncurses' 'net-tools' 
'gnu-netcat' 'procps-ng' 'psmisc' 'reiserfsprogs' 'sed' 'snarf'
+ 'tar' 'util-linux' 'bind' 'which' 'kbd' 'wireless_tools' 'xfsprogs' 
'hdparm' 'inetutils'
+ 'openssh' 'hwdetect' 'shadow' 'bridge-utils' 'dosfstools' 'glibc' 
'linux' 'kexec-tools' 'ppp' 'rp-pppoe'
+ 'ntfs-3g' 'pciutils' 'usbutils' 'vpnc' 'openvpn' 

[arch-commits] Commit in archboot/repos/extra-any (4 files)

2022-01-16 Thread Tobias Powalowski via arch-commits
Date: Monday, January 17, 2022 @ 06:36:31
  Author: tpowa
Revision: 434586

archrelease: copy trunk to extra-any

Added:
  archboot/repos/extra-any/PKGBUILD
(from rev 434585, archboot/trunk/PKGBUILD)
  archboot/repos/extra-any/archboot.install
(from rev 434585, archboot/trunk/archboot.install)
Deleted:
  archboot/repos/extra-any/PKGBUILD
  archboot/repos/extra-any/archboot.install

--+
 PKGBUILD |   98 ++---
 archboot.install |   38 ++--
 2 files changed, 68 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-17 06:36:26 UTC (rev 434585)
+++ PKGBUILD2022-01-17 06:36:31 UTC (rev 434586)
@@ -1,49 +0,0 @@
-# Maintainer : Tobias Powalowski 
-
-pkgname=archboot
-pkgver=2022.01
-pkgrel=44
-pkgdesc="Advanced, modular arch boot/install image creation utility"
-arch=(any)
-license=('GPL')
-url="https://wiki.archlinux.org/title/Archboot;
-depends=('mkinitcpio' 'wget' 'bash' 'coreutils' 'cryptsetup' 'dialog' 
'e2fsprogs' 'findutils' 'gawk' 'grep' 'iputils' 'jfsutils'
- 'less' 'lvm2' 'mdadm' 'kmod' 'nano' 'ncurses' 'net-tools' 
'gnu-netcat' 'procps-ng' 'psmisc' 'reiserfsprogs' 'sed' 'snarf'
- 'tar' 'util-linux' 'bind' 'which' 'kbd' 'wireless_tools' 'xfsprogs' 
'hdparm' 'inetutils'
- 'openssh' 'hwdetect' 'shadow' 'bridge-utils'  'dosfstools' 'glibc' 
'linux' 'kexec-tools' 'ppp' 'rp-pppoe'
- 'ntfs-3g' 'pciutils' 'usbutils' 'vpnc' 'openvpn' 'b43-fwcutter' 
'wpa_supplicant' 'rsync' 'gzip' 'libarchive'
-'device-mapper' 'screen' 'elfutils' 'pam' 'cracklib' 'nfs-utils' 
'nfsidmap' 'readline' 'acl' 'attr' 'pcre' 'cpio'
-'fuse' 'libusb' 'vim' 'lzo' 'lzop' 'libsasl' 'libldap' 'gpm' 
'libevent' 'gcc-libs' 'sdparm' 'licenses' 'pptpclient' 'ipw2100-fw'
-'ipw2200-fw' 'smbclient'  'dhcpcd' 'openssl' 'dmraid' 'linux-atm' 
'netctl' 'parted' 'tzdata' 'ntp' 'libgcrypt' 'iw' 'crda'
-'libnl' 'iproute2' 'wireless-regdb' 'dhclient' 'mtools' 'fsarchiver' 
'xz' 'libtirpc' 'rpcbind' 'testdisk'
-'wipe' 'ddrescue' 'ifplugd' 'libgssglue' 'mkinitcpio-nfs-utils' 
'gptfdisk' 'nilfs-utils' 'btrfs-progs'
-'iana-etc' 'keyutils' 'libisoburn' 'file' 'curl'  'smartmontools' 
'dnsmasq'
-'openconnect' 'libxml2' 'libproxy' 'tcpdump' 'nmap' 'lua' 'gnutls' 
'nettle' 'libtasn1' 'expat' 'progsreiserfs'
-'glib2' 'freetype2' 'libssh2' 'libedit' 'talloc' 'libjpeg-turbo' 
'dmidecode' 'gnupg' 'libksba' 'libassuan' 'pinentry'
-'gpgme' 'ldns' 'dnssec-anchors' 'hwdata' 'systemd' 'archlinux-keyring' 
'haveged' 'pambase' 'chntpw' 'traceroute' 'grub' 
-'systemd-sysvcompat' 'intel-ucode' 'arch-install-scripts' 'zsh' 'gdbm' 
'grml-zsh-config' 'cpupower' 'wvdial' 'xl2tpd' 
-'usb_modeswitch' 'refind' 'efibootmgr' 'f2fs-tools' 'efitools' 
'efivar' 'ethtool' 'exfatprogs' 'broadcom-wl'
-'fuse3' 'flex' 'expac' 'amd-ucode' 'edk2-shell' 'cdrtools' 'mktorrent' 
'nvme-cli' 'fatresize' 'iwd' 'elinks' 'lshw' 
-'sbsigntools' 'openresolv' 'mokutil')
-makedepends=('git')
-optdepends=('archboot-linux-firmware: for stripped down firmware inclusion on 
image file'
-'linux-firmware: for firmware inclusion on image file'
-'archboot-qemu-aarch64: for aarch64 image building on x86_64')
-source=("git+https://gitlab.archlinux.org/tpowa/archboot.git#tag=${pkgver}-${pkgrel}?signed;)
-backup=('etc/archboot/x86_64.conf'
-'etc/archboot/aarch64.conf'
-'etc/archboot/x86_64-latest.conf'
-'etc/archboot/aarch64-latest.conf'
-'etc/archboot/presets/x86_64'
-'etc/archboot/presets/aarch64'
-'etc/archboot/presets/x86_64-latest'
-'etc/archboot/presets/aarch64-latest')
-install=archboot.install
-sha256sums=('SKIP')
-validgpgkeys=('5B7E3FB71B7F10329A1C03AB771DF6627EDF681F' # Tobias Powalowski 

- )
-package()
-{
-  cd "$srcdir/archboot"
-  mv etc/ usr/ "$pkgdir/"
-}

Copied: archboot/repos/extra-any/PKGBUILD (from rev 434585, 
archboot/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-17 06:36:31 UTC (rev 434586)
@@ -0,0 +1,49 @@
+# Maintainer : Tobias Powalowski 
+
+pkgname=archboot
+pkgver=2022.01
+pkgrel=45
+pkgdesc="Advanced, modular arch boot/install image creation utility"
+arch=(any)
+license=('GPL')
+url="https://wiki.archlinux.org/title/Archboot;
+depends=('mkinitcpio' 'wget' 'bash' 'coreutils' 'cryptsetup' 'dialog' 
'e2fsprogs' 'findutils' 'gawk' 'grep' 'iputils' 'jfsutils'
+ 'less' 'lvm2' 'mdadm' 'kmod' 'nano' 'ncurses' 'net-tools' 
'gnu-netcat' 'procps-ng' 'psmisc' 'reiserfsprogs' 'sed' 'snarf'
+ 'tar' 'util-linux' 'bind' 'which' 'kbd' 'wireless_tools' 'xfsprogs' 
'hdparm' 'inetutils'
+ 'openssh' 'hwdetect' 'shadow' 'bridge-utils'  'dosfstools' 'glibc' 
'linux' 

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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:35:24
  Author: felixonmars
Revision: 1107326

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-safecopy/repos/community-staging-x86_64/PKGBUILD (from rev 
1107325, haskell-safecopy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:35:24 UTC (rev 1107326)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safecopy
+pkgname=haskell-safecopy
+pkgver=0.10.4.2
+pkgrel=81
+pkgdesc="Binary serialization with version control."
+url="http://acid-state.seize.it/safecopy;
+license=('custom:PublicDomain')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-generic-data' 'haskell-old-time' 
'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-lens' 'haskell-lens-action' 
'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2b6ae8488ac00bb5048e63886433aea6c2b13c9bea252fb8622ee1b673bce9e259639fbb68ef47a17ceac65edec2631ee95bc34a665c039f5c651d6192418bf5')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u lens $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-01-16 Thread Tobias Powalowski via arch-commits
Date: Monday, January 17, 2022 @ 06:36:26
  Author: tpowa
Revision: 434585

upgpkg: archboot 2022.01-45: bump to latest version

Modified:
  archboot/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:31:20 UTC (rev 434584)
+++ PKGBUILD2022-01-17 06:36:26 UTC (rev 434585)
@@ -2,7 +2,7 @@
 
 pkgname=archboot
 pkgver=2022.01
-pkgrel=44
+pkgrel=45
 pkgdesc="Advanced, modular arch boot/install image creation utility"
 arch=(any)
 license=('GPL')



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:36:01
  Author: felixonmars
Revision: 1107327

upgpkg: haskell-servant-swagger 1.1.10-218: rebuild with lens 5.1

Modified:
  haskell-servant-swagger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:35:24 UTC (rev 1107326)
+++ PKGBUILD2022-01-17 06:36:01 UTC (rev 1107327)
@@ -4,7 +4,7 @@
 _hkgname=servant-swagger
 pkgname=haskell-servant-swagger
 pkgver=1.1.10
-pkgrel=217
+pkgrel=218
 pkgdesc="Generate Swagger specification for your servant API."
 url="https://github.com/haskell-servant/servant-swagger;
 license=("BSD")



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:31:58
  Author: felixonmars
Revision: 1107324

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: arch-hs/repos/community-staging-x86_64/PKGBUILD (from rev 1107323, 
arch-hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 06:31:58 UTC (rev 1107324)
@@ -0,0 +1,68 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+pkgname=arch-hs
+pkgver=0.9.1.0
+pkgrel=99
+pkgdesc="Distribute hackage packages to archlinux"
+arch=('x86_64')
+url="https://github.com/berberman/arch-hs;
+license=('MIT')
+depends=('ghc-libs' 'pacman' 'haskell-diff' 'haskell-aeson' 
'haskell-algebraic-graphs'
+ 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-hackage-db'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 
'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-neat-interpolation' 
'haskell-optparse-simple'
+ 'haskell-polysemy' 'haskell-prettyprinter' 
'haskell-prettyprinter-ansi-terminal'
+ 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('aa7b011dd2753b596df53f4adce4a131ef42fffe37eb5bfd815678b1d34bc87f83f1af36a9fc9db34b5c7d5b68e48120bab7abedfe92e0cc7530feba91c04f83')
+
+_gen_comp(){
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
+}
+
+_install_comp(){
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
+  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
+  install -D -m644 fish${1} 
"$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
+}
+
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u megaparsec $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 \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -falpm
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+  
+  _gen_comp
+  _gen_comp "-diff"
+  _gen_comp "-sync"
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+  
+  _install_comp
+  _install_comp "-diff"
+  _install_comp "-sync"
+} 



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:31:50
  Author: felixonmars
Revision: 1107323

upgpkg: arch-hs 0.9.1.0-99: rebuild with lens 5.1

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:30:50 UTC (rev 1107322)
+++ PKGBUILD2022-01-17 06:31:50 UTC (rev 1107323)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.9.1.0
-pkgrel=98
+pkgrel=99
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:35:08
  Author: felixonmars
Revision: 1107325

upgpkg: haskell-safecopy 0.10.4.2-81: rebuild with lens 5.1

Modified:
  haskell-safecopy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:31:58 UTC (rev 1107324)
+++ PKGBUILD2022-01-17 06:35:08 UTC (rev 1107325)
@@ -3,17 +3,22 @@
 _hkgname=safecopy
 pkgname=haskell-safecopy
 pkgver=0.10.4.2
-pkgrel=80
+pkgrel=81
 pkgdesc="Binary serialization with version control."
 url="http://acid-state.seize.it/safecopy;
 license=('custom:PublicDomain')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-cereal' 'haskell-generic-data' 'haskell-old-time' 
'haskell-vector')
-makedepends=('ghc' 'haskell-hunit' 'haskell-lens' 'haskell-lens-action' 
'haskell-quickcheck'
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-lens' 'haskell-lens-action' 
'haskell-quickcheck'
  'haskell-quickcheck-instances' 'haskell-tasty' 
'haskell-tasty-quickcheck')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
 
sha512sums=('2b6ae8488ac00bb5048e63886433aea6c2b13c9bea252fb8622ee1b673bce9e259639fbb68ef47a17ceac65edec2631ee95bc34a665c039f5c651d6192418bf5')
 
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u lens $_hkgname.cabal
+}
+
 build() {
 cd $_hkgname-$pkgver
 



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

2022-01-16 Thread Tobias Powalowski via arch-commits
Date: Monday, January 17, 2022 @ 06:31:15
  Author: tpowa
Revision: 434583

upgpkg: archboot-arm 2022.01-44: bump to latest version

Modified:
  archboot-arm/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:30:30 UTC (rev 434582)
+++ PKGBUILD2022-01-17 06:31:15 UTC (rev 434583)
@@ -2,7 +2,7 @@
 
 pkgname=archboot-arm
 pkgver=2022.01
-pkgrel=43
+pkgrel=44
 pkgdesc="Advanced, modular arch boot/install image creation utility with 
aarch64 depends"
 arch=(any)
 license=('GPL')



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:30:50
  Author: felixonmars
Revision: 1107322

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 06:30:43
  Author: felixonmars
Revision: 1107321

upgpkg: xmobar 0.39-60: rebuild with lens 5.1

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-17 06:29:18 UTC (rev 1107320)
+++ PKGBUILD2022-01-17 06:30:43 UTC (rev 1107321)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.39
-pkgrel=59
+pkgrel=60
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')



[arch-commits] Commit in archboot-arm/repos/extra-any (4 files)

2022-01-16 Thread Tobias Powalowski via arch-commits
Date: Monday, January 17, 2022 @ 06:31:20
  Author: tpowa
Revision: 434584

archrelease: copy trunk to extra-any

Added:
  archboot-arm/repos/extra-any/PKGBUILD
(from rev 434583, archboot-arm/trunk/PKGBUILD)
  archboot-arm/repos/extra-any/archboot.install
(from rev 434583, archboot-arm/trunk/archboot.install)
Deleted:
  archboot-arm/repos/extra-any/PKGBUILD
  archboot-arm/repos/extra-any/archboot.install

--+
 PKGBUILD |   96 ++---
 archboot.install |   38 ++--
 2 files changed, 67 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-17 06:31:15 UTC (rev 434583)
+++ PKGBUILD2022-01-17 06:31:20 UTC (rev 434584)
@@ -1,48 +0,0 @@
-# Maintainer : Tobias Powalowski 
-
-pkgname=archboot-arm
-pkgver=2022.01
-pkgrel=43
-pkgdesc="Advanced, modular arch boot/install image creation utility with 
aarch64 depends"
-arch=(any)
-license=('GPL')
-url="https://wiki.archlinux.org/title/Archboot;
-depends=('mkinitcpio' 'wget' 'bash' 'coreutils' 'cryptsetup' 'dialog' 
'e2fsprogs' 'findutils' 'gawk' 'grep' 'iputils' 'jfsutils'
- 'less' 'lvm2' 'mdadm' 'kmod' 'nano' 'ncurses' 'net-tools' 
'gnu-netcat' 'procps-ng' 'psmisc' 'reiserfsprogs' 'sed' 'snarf'
- 'tar' 'util-linux' 'bind' 'which' 'kbd' 'wireless_tools' 'xfsprogs' 
'hdparm' 'inetutils'
- 'openssh' 'hwdetect' 'shadow' 'bridge-utils' 'dosfstools' 'glibc' 
'linux' 'kexec-tools' 'ppp' 'rp-pppoe'
- 'ntfs-3g' 'pciutils' 'usbutils' 'vpnc' 'openvpn' 'b43-fwcutter' 
'wpa_supplicant' 'rsync' 'gzip' 'libarchive'
-'device-mapper' 'screen' 'elfutils' 'pam' 'cracklib' 'nfs-utils' 
'nfsidmap' 'readline' 'acl' 'attr' 'pcre' 'cpio'
-'fuse' 'libusb' 'vim' 'lzo' 'lzop' 'libsasl' 'libldap' 'gpm' 
'libevent' 'gcc-libs' 'sdparm' 'licenses' 'pptpclient' 
-'smbclient'  'dhcpcd' 'openssl' 'dmraid' 'linux-atm' 'netctl' 'parted' 
'tzdata' 'ntp' 'libgcrypt' 'iw' 'crda'
-'libnl' 'iproute2' 'wireless-regdb' 'dhclient' 'mtools' 'fsarchiver' 
'xz' 'libtirpc' 'rpcbind' 'testdisk'
-'wipe' 'ddrescue' 'ifplugd' 'libgssglue' 'mkinitcpio-nfs-utils' 
'gptfdisk' 'nilfs-utils' 'btrfs-progs'
-'iana-etc' 'keyutils' 'libisoburn' 'file' 'curl'  'smartmontools' 
'dnsmasq' 
-'openconnect' 'libxml2' 'libproxy' 'tcpdump' 'nmap' 'lua' 'gnutls' 
'nettle' 'libtasn1' 'expat' 'progsreiserfs'
-'glib2' 'freetype2' 'libssh2' 'libedit' 'talloc' 'libjpeg-turbo' 
'dmidecode' 'gnupg' 'libksba' 'libassuan' 'pinentry'
-'gpgme' 'ldns' 'dnssec-anchors' 'hwdata' 'systemd' 'haveged' 'pambase' 
'traceroute' 'grub' 
-'systemd-sysvcompat' 'arch-install-scripts' 'zsh' 'gdbm' 
'grml-zsh-config' 'cpupower' 'wvdial' 'xl2tpd' 
-'usb_modeswitch' 'efibootmgr' 'f2fs-tools' 'efitools' 'efivar' 
'ethtool' 'exfatprogs' 
-'fuse3' 'flex' 'expac' 'amd-ucode' 'cdrtools' 'mktorrent' 'nvme-cli' 
'fatresize' 'iwd' 'elinks' 'lshw' 
-'sbsigntools' 'openresolv' 'mokutil')
-makedepends=('git')
-optdepends=('archboot-linux-firmware: for stripped down firmware inclusion on 
image file'
-'linux-firmware: for firmware inclusion on image file')
-source=("git+https://gitlab.archlinux.org/tpowa/archboot.git#tag=${pkgver}-${pkgrel}?signed;)
-backup=('etc/archboot/x86_64.conf'
-'etc/archboot/aarch64.conf'
-'etc/archboot/x86_64-latest.conf'
-'etc/archboot/aarch64-latest.conf'
-'etc/archboot/presets/x86_64'
-'etc/archboot/presets/aarch64'
-'etc/archboot/presets/x86_64-latest'
-'etc/archboot/presets/aarch64-latest')
-install=archboot.install
-sha256sums=('SKIP')
-validgpgkeys=('5B7E3FB71B7F10329A1C03AB771DF6627EDF681F' # Tobias Powalowski 

- )
-package()
-{
-  cd "$srcdir/archboot"
-  mv etc/ usr/ "$pkgdir/"
-}

Copied: archboot-arm/repos/extra-any/PKGBUILD (from rev 434583, 
archboot-arm/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-17 06:31:20 UTC (rev 434584)
@@ -0,0 +1,48 @@
+# Maintainer : Tobias Powalowski 
+
+pkgname=archboot-arm
+pkgver=2022.01
+pkgrel=44
+pkgdesc="Advanced, modular arch boot/install image creation utility with 
aarch64 depends"
+arch=(any)
+license=('GPL')
+url="https://wiki.archlinux.org/title/Archboot;
+depends=('mkinitcpio' 'wget' 'bash' 'coreutils' 'cryptsetup' 'dialog' 
'e2fsprogs' 'findutils' 'gawk' 'grep' 'iputils' 'jfsutils'
+ 'less' 'lvm2' 'mdadm' 'kmod' 'nano' 'ncurses' 'net-tools' 
'gnu-netcat' 'procps-ng' 'psmisc' 'reiserfsprogs' 'sed' 'snarf'
+ 'tar' 'util-linux' 'bind' 'which' 'kbd' 'wireless_tools' 'xfsprogs' 
'hdparm' 'inetutils'
+ 'openssh' 'hwdetect' 'shadow' 'bridge-utils' 'dosfstools' 'glibc' 
'linux' 'kexec-tools' 'ppp' 'rp-pppoe'
+ 'ntfs-3g' 'pciutils' 'usbutils' 'vpnc' 'openvpn' 

  1   2   3   4   5   6   7   8   9   10   >