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

2022-04-06 Thread Antonio Rojas via arch-commits
Date: Thursday, April 7, 2022 @ 06:49:08
  Author: arojas
Revision: 1182768

archrelease: copy trunk to community-x86_64

Added:
  maliit-keyboard/repos/community-x86_64/PKGBUILD
(from rev 1182767, maliit-keyboard/trunk/PKGBUILD)
Deleted:
  maliit-keyboard/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-07 06:48:52 UTC (rev 1182767)
+++ PKGBUILD2022-04-07 06:49:08 UTC (rev 1182768)
@@ -1,32 +0,0 @@
-# Maintainer: Antonio Rojas 
-
-pkgname=maliit-keyboard
-pkgver=2.2.1
-pkgrel=1
-pkgdesc='Virtual keyboard based on Maliit framework'
-arch=(x86_64)
-url='https://maliit.github.io/'
-license=(LGPL)
-depends=(maliit-framework hunspell presage qt5-multimedia qt5-feedback)
-makedepends=(cmake libpinyin anthy libchewing)
-optdepends=('anthy: japanese language support' 'libpinyin: chinese language 
support' 'libchewing: chinese language support')
-source=(https://github.com/maliit/keyboard/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('064c788a1d823c89121a4a1425274d98f54995b0496401c0e87fd69c52bef0bd')
-options=(debug)
-
-prepare() {
-  mkdir keyboard-$pkgver/data/sounds
-}
-
-build() {
-  cmake -B build -S keyboard-$pkgver \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_CXX_STANDARD=14 \
--Denable-tests=OFF \
--DHUNSPELL_DICT_PATH=/usr/share/myspell/dicts
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: maliit-keyboard/repos/community-x86_64/PKGBUILD (from rev 1182767, 
maliit-keyboard/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-07 06:49:08 UTC (rev 1182768)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=maliit-keyboard
+pkgver=2.2.1.1
+pkgrel=1
+pkgdesc='Virtual keyboard based on Maliit framework'
+arch=(x86_64)
+url='https://maliit.github.io/'
+license=(LGPL)
+depends=(maliit-framework hunspell presage qt5-multimedia qt5-feedback)
+makedepends=(cmake libpinyin anthy libchewing)
+optdepends=('anthy: japanese language support' 'libpinyin: chinese language 
support' 'libchewing: chinese language support')
+source=(https://github.com/maliit/keyboard/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('32f2fd97fc025c686fbe6fbe9af2b7b751aa9453f3deee668d65a5626e2d4da9')
+options=(debug)
+
+build() {
+  cmake -B build -S keyboard-$pkgver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_CXX_STANDARD=14 \
+-Denable-tests=OFF \
+-DHUNSPELL_DICT_PATH=/usr/share/myspell/dicts
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}



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

2022-04-06 Thread Antonio Rojas via arch-commits
Date: Thursday, April 7, 2022 @ 06:48:52
  Author: arojas
Revision: 1182767

Update to 2.2.1.1

Modified:
  maliit-keyboard/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:51:07 UTC (rev 1182766)
+++ PKGBUILD2022-04-07 06:48:52 UTC (rev 1182767)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=maliit-keyboard
-pkgver=2.2.1
+pkgver=2.2.1.1
 pkgrel=1
 pkgdesc='Virtual keyboard based on Maliit framework'
 arch=(x86_64)
@@ -11,13 +11,9 @@
 makedepends=(cmake libpinyin anthy libchewing)
 optdepends=('anthy: japanese language support' 'libpinyin: chinese language 
support' 'libchewing: chinese language support')
 
source=(https://github.com/maliit/keyboard/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('064c788a1d823c89121a4a1425274d98f54995b0496401c0e87fd69c52bef0bd')
+sha256sums=('32f2fd97fc025c686fbe6fbe9af2b7b751aa9453f3deee668d65a5626e2d4da9')
 options=(debug)
 
-prepare() {
-  mkdir keyboard-$pkgver/data/sounds
-}
-
 build() {
   cmake -B build -S keyboard-$pkgver \
 -DCMAKE_INSTALL_PREFIX=/usr \



[arch-commits] Commit in xfsprogs/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2022-04-06 Thread Tobias Powalowski via arch-commits
Date: Thursday, April 7, 2022 @ 05:03:37
  Author: tpowa
Revision: 441695

archrelease: copy trunk to testing-x86_64

Added:
  xfsprogs/repos/testing-x86_64/
  xfsprogs/repos/testing-x86_64/PKGBUILD
(from rev 441694, xfsprogs/trunk/PKGBUILD)

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

Copied: xfsprogs/repos/testing-x86_64/PKGBUILD (from rev 441694, 
xfsprogs/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-04-07 05:03:37 UTC (rev 441695)
@@ -0,0 +1,34 @@
+# Maintainer : Tobias Powalowski 
+pkgname=xfsprogs
+pkgver=5.15.0
+pkgrel=1
+pkgdesc="XFS filesystem utilities"
+arch=('x86_64')
+license=('LGPL')
+url="https://xfs.org";
+depends=('sh' 'util-linux-libs' 'icu' 'device-mapper' 'libinih' 'liburcu')
+optdepends=('python: for xfs_scrub_all script'
+'smtp-forwarder: for xfs_scrub_fail script')
+makedepends=('git')
+options=('!makeflags')
+source=("git+https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git#tag=v${pkgver}";)
+md5sums=('SKIP')
+
+build() {
+  cd ${pkgname}-dev
+  make configure
+  export OPTIMIZER="-march=${CARCH/_/-} -O1"
+  export DEBUG=-DNDEBUG
+  ./configure --prefix=/usr --sbindir=/usr/bin 
--with-systemd-unit-dir=/usr/lib/systemd/system
+  make
+}
+
+package() {
+  cd ${pkgname}-dev
+  make DIST_ROOT="${pkgdir}" PKG_ROOT_SBIN_DIR="/usr/bin" install install-dev
+  chown -R root "$pkgdir"
+  chgrp -R root "$pkgdir"
+  # add hack as we cannot set rootlibdir
+  mv "${pkgdir}"/lib/libhandle.so* "${pkgdir}/usr/lib/"
+  rm -rf "${pkgdir}/lib"
+}



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

2022-04-06 Thread Tobias Powalowski via arch-commits
Date: Thursday, April 7, 2022 @ 05:03:20
  Author: tpowa
Revision: 441694

upgpkg: xfsprogs 5.15.0-1: bump to latest version

Modified:
  xfsprogs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:01:23 UTC (rev 441693)
+++ PKGBUILD2022-04-07 05:03:20 UTC (rev 441694)
@@ -1,6 +1,6 @@
 # Maintainer : Tobias Powalowski 
 pkgname=xfsprogs
-pkgver=5.14.2
+pkgver=5.15.0
 pkgrel=1
 pkgdesc="XFS filesystem utilities"
 arch=('x86_64')



[arch-commits] Commit in mailman/repos/community-x86_64 (43 files)

2022-04-06 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 6, 2022 @ 23:51:07
  Author: foutrelis
Revision: 1182766

archrelease: copy trunk to community-x86_64

Added:
  mailman/repos/community-x86_64/01-mailman-2.1-build.patch
(from rev 1182765, mailman/trunk/01-mailman-2.1-build.patch)
  mailman/repos/community-x86_64/02-fix-500-error-for-non-member.patch
(from rev 1182765, mailman/trunk/02-fix-500-error-for-non-member.patch)
  mailman/repos/community-x86_64/PKGBUILD
(from rev 1182765, mailman/trunk/PKGBUILD)
  mailman/repos/community-x86_64/mailman-checkdbs.service
(from rev 1182765, mailman/trunk/mailman-checkdbs.service)
  mailman/repos/community-x86_64/mailman-checkdbs.timer
(from rev 1182765, mailman/trunk/mailman-checkdbs.timer)
  mailman/repos/community-x86_64/mailman-cullbadshunt.service
(from rev 1182765, mailman/trunk/mailman-cullbadshunt.service)
  mailman/repos/community-x86_64/mailman-cullbadshunt.timer
(from rev 1182765, mailman/trunk/mailman-cullbadshunt.timer)
  mailman/repos/community-x86_64/mailman-disabled.service
(from rev 1182765, mailman/trunk/mailman-disabled.service)
  mailman/repos/community-x86_64/mailman-disabled.timer
(from rev 1182765, mailman/trunk/mailman-disabled.timer)
  mailman/repos/community-x86_64/mailman-gatenews.service
(from rev 1182765, mailman/trunk/mailman-gatenews.service)
  mailman/repos/community-x86_64/mailman-gatenews.timer
(from rev 1182765, mailman/trunk/mailman-gatenews.timer)
  mailman/repos/community-x86_64/mailman-mailpasswds.service
(from rev 1182765, mailman/trunk/mailman-mailpasswds.service)
  mailman/repos/community-x86_64/mailman-mailpasswds.timer
(from rev 1182765, mailman/trunk/mailman-mailpasswds.timer)
  mailman/repos/community-x86_64/mailman-nightlygzip.service
(from rev 1182765, mailman/trunk/mailman-nightlygzip.service)
  mailman/repos/community-x86_64/mailman-nightlygzip.timer
(from rev 1182765, mailman/trunk/mailman-nightlygzip.timer)
  mailman/repos/community-x86_64/mailman-senddigests.service
(from rev 1182765, mailman/trunk/mailman-senddigests.service)
  mailman/repos/community-x86_64/mailman-senddigests.timer
(from rev 1182765, mailman/trunk/mailman-senddigests.timer)
  mailman/repos/community-x86_64/mailman.install
(from rev 1182765, mailman/trunk/mailman.install)
  mailman/repos/community-x86_64/mailman.profile.csh
(from rev 1182765, mailman/trunk/mailman.profile.csh)
  mailman/repos/community-x86_64/mailman.profile.sh
(from rev 1182765, mailman/trunk/mailman.profile.sh)
  mailman/repos/community-x86_64/mailman.service
(from rev 1182765, mailman/trunk/mailman.service)
  mailman/repos/community-x86_64/mailman.sysusers
(from rev 1182765, mailman/trunk/mailman.sysusers)
Deleted:
  mailman/repos/community-x86_64/01-mailman-2.1-build.patch
  mailman/repos/community-x86_64/PKGBUILD
  mailman/repos/community-x86_64/mailman-checkdbs.service
  mailman/repos/community-x86_64/mailman-checkdbs.timer
  mailman/repos/community-x86_64/mailman-cullbadshunt.service
  mailman/repos/community-x86_64/mailman-cullbadshunt.timer
  mailman/repos/community-x86_64/mailman-disabled.service
  mailman/repos/community-x86_64/mailman-disabled.timer
  mailman/repos/community-x86_64/mailman-gatenews.service
  mailman/repos/community-x86_64/mailman-gatenews.timer
  mailman/repos/community-x86_64/mailman-mailpasswds.service
  mailman/repos/community-x86_64/mailman-mailpasswds.timer
  mailman/repos/community-x86_64/mailman-nightlygzip.service
  mailman/repos/community-x86_64/mailman-nightlygzip.timer
  mailman/repos/community-x86_64/mailman-senddigests.service
  mailman/repos/community-x86_64/mailman-senddigests.timer
  mailman/repos/community-x86_64/mailman.install
  mailman/repos/community-x86_64/mailman.profile.csh
  mailman/repos/community-x86_64/mailman.profile.sh
  mailman/repos/community-x86_64/mailman.service
  mailman/repos/community-x86_64/mailman.sysusers

---+
 01-mailman-2.1-build.patch| 1388 
 02-fix-500-error-for-non-member.patch |   19 
 PKGBUILD  |  260 +++--
 mailman-checkdbs.service  |   20 
 mailman-checkdbs.timer|   20 
 mailman-cullbadshunt.service  |   20 
 mailman-cullbadshunt.timer|   20 
 mailman-disabled.service  |   20 
 mailman-disabled.timer|   20 
 mailman-gatenews.service  |   20 
 mailman-gatenews.timer|   20 
 mailman-mailpasswds.service   |   20 
 mailman-mailpasswds.timer |   20 
 mailman-nightlygzip.service   |   20 
 mailman-nightlygzip.timer |   20 
 mailman-senddigests.service   |   20 
 mailman-senddigests.timer |   20 
 mailman.install   |   32 
 mailman.profile.csh   |2 
 mailman.profile.sh|6 
 mailman.service   |   32

[arch-commits] Commit in mailman/trunk (2 files)

2022-04-06 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 6, 2022 @ 23:50:49
  Author: foutrelis
Revision: 1182765

upgpkg: mailman 2.1.39-2: backport fix for FS#74372

500 Internal Server Error for non-member with private roster.

Upstream bug: https://launchpad.net/bugs/1961762

Added:
  mailman/trunk/02-fix-500-error-for-non-member.patch
Modified:
  mailman/trunk/PKGBUILD

---+
 02-fix-500-error-for-non-member.patch |   19 +++
 PKGBUILD  |6 --
 2 files changed, 23 insertions(+), 2 deletions(-)

Added: 02-fix-500-error-for-non-member.patch
===
--- 02-fix-500-error-for-non-member.patch   (rev 0)
+++ 02-fix-500-error-for-non-member.patch   2022-04-06 23:50:49 UTC (rev 
1182765)
@@ -0,0 +1,19 @@
+# https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1887
+# https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1888
+
+=== modified file 'Mailman/Cgi/options.py'
+--- old/Mailman/Cgi/options.py 2021-11-24 03:38:19 +
 new/Mailman/Cgi/options.py 2022-02-22 18:10:03 +
+@@ -169,8 +169,9 @@
+ if not mlist.isMember(user):
+ if mlist.private_roster == 0:
+ doc.addError(_('No such member: %(safeuser)s.'))
+-loginpage(mlist, doc, None, language)
+-print doc.Format()
++user = None
++loginpage(mlist, doc, user, language)
++print doc.Format()
+ return
+ 
+ # Avoid cross-site scripting attacks
+

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:43:04 UTC (rev 1182764)
+++ PKGBUILD2022-04-06 23:50:49 UTC (rev 1182765)
@@ -3,7 +3,7 @@
 
 pkgname=mailman
 pkgver=2.1.39
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Mailing List Manager'
 arch=(x86_64)
 license=('GPL')
@@ -34,6 +34,7 @@
 'mailman-senddigests.service'
 'mailman-senddigests.timer'
 '01-mailman-2.1-build.patch'
+'02-fix-500-error-for-non-member.patch'
 )
 validpgpkeys=('C638CAEF0AC21563736B5A22555B975E953B8693') # Mark Sapiro 

 sha256sums=('7b8e9222364abdfd25cb2053c422319aac7b620c287dd979703e0399d72f4390'
@@ -56,7 +57,8 @@
 '4e22a0fec29e6e13d3bcf91a3e89e943aa4a67026f1b818438744cb9925d017e'
 '1c01dc43807366e2cdd9f95bb6ae257641f45946a7b33753692de68bba0c1b11'
 '274ec372975a8092ad2d743668b3a2c73e027ebe46d9f51098edeef6e712eaef'
-'50f14274db4eb34a172cb0658903189ed0b7c77b3c0ecdd59e9a11f770051561')
+'50f14274db4eb34a172cb0658903189ed0b7c77b3c0ecdd59e9a11f770051561'
+'aa01f95e6c79cc3c2b82922ee80a7434cfd2f79ad2e1c946df97539460e18b5d')
 
 prepare() {
   cd $pkgname-$pkgver



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:36:17
  Author: felixonmars
Revision: 1182404

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 1182403, haskell-ci/trunk/PKGBUILD)

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:35:55
  Author: felixonmars
Revision: 1182403

upgpkg: haskell-ci 0.12.1-209: rebuild with unordered-containers 0.2.18.0

Modified:
  haskell-ci/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:30:22 UTC (rev 1182402)
+++ PKGBUILD2022-04-06 23:35:55 UTC (rev 1182403)
@@ -4,7 +4,7 @@
 _hkgname=haskell-ci
 pkgname=haskell-ci
 pkgver=0.12.1
-pkgrel=208
+pkgrel=209
 pkgdesc="Cabal package script generator for Travis-CI"
 url="https://haskell-ci.rtfd.org/";
 license=("GPL")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:30:22
  Author: felixonmars
Revision: 1182402

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: darcs/repos/community-staging-x86_64/PKGBUILD (from rev 1182401, 
darcs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:30:22 UTC (rev 1182402)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=darcs
+pkgver=2.16.5
+pkgrel=9
+pkgdesc="A distributed, interactive, smart revision control system"
+url="http://darcs.net";
+license=("GPL")
+arch=('x86_64')
+depends=('curl' 'ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-conduit' 'haskell-constraints' 'haskell-cryptonite' 
'haskell-data-ordlist'
+ 'haskell-fgl' 'haskell-hashable' 'haskell-html' 
'haskell-http-conduit' 'haskell-http-types'
+ 'haskell-knob' 'haskell-memory' 'haskell-mmap' 'haskell-network' 
'haskell-network-uri'
+ 'haskell-old-time' 'haskell-regex-applicative' 'haskell-regex-base' 
'haskell-regex-tdfa'
+ 'haskell-tar' 'haskell-temporary' 'haskell-unix-compat' 
'haskell-utf8-string'
+ 'haskell-vector' 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-cmdargs' 'haskell-findbin' 'haskell-hunit' 
'haskell-leancheck'
+ 'haskell-quickcheck' 'haskell-test-framework' 
'haskell-test-framework-hunit'
+ 'haskell-test-framework-leancheck' 
'haskell-test-framework-quickcheck2'
+ # Added for their bundled shelly
+ 'haskell-monad-control' 'haskell-system-filepath'
+ 'haskell-system-fileio' 'haskell-transformers-base')
+checkdepends=('bc' 'time')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('9116043943315417ff314197f6a143435b5545f614c6e6210c3645987a68c69c31f53f823ee5269cb663ccba393f8caf1834120783f15128e43b132c731a0edb')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -e 's/^ghc /ghc -dynamic /' \
+-e 's/ ghc / ghc -dynamic /' \
+-i tests/*.sh tests/lib
+uusi -u attoparsec -u constraints -u cryptonite -u hashable -u memory 
$pkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-fcurl -fpkgconfig -f-static -fterminfo -fthreaded -fexecutable \
+-f-rts -foptimize -f-warn-as-error -f-libiconv
+LD_LIBRARY_PATH="$srcdir"/$pkgname-$pkgver/dist/build runhaskell Setup 
build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+chmod 644 "${pkgdir}/usr/share/man/man1/darcs.1"
+
+install -Dm644 contrib/darcs_completion 
"${pkgdir}/usr/share/bash-completion/completions/darcs"
+install -Dm644 contrib/_darcs.zsh 
"${pkgdir}/usr/share/zsh/site-functions/_darcs"
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:30:13
  Author: felixonmars
Revision: 1182401

upgpkg: darcs 2.16.5-9: rebuild with unordered-containers 0.2.18.0

Modified:
  darcs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:26:45 UTC (rev 1182400)
+++ PKGBUILD2022-04-06 23:30:13 UTC (rev 1182401)
@@ -3,7 +3,7 @@
 
 pkgname=darcs
 pkgver=2.16.5
-pkgrel=8
+pkgrel=9
 pkgdesc="A distributed, interactive, smart revision control system"
 url="http://darcs.net";
 license=("GPL")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:26:45
  Author: felixonmars
Revision: 1182400

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1182399, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:26:45 UTC (rev 1182400)
@@ -0,0 +1,72 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=8.0.0
+pkgrel=169
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-ranged-sets' 'haskell-aeson' 
'haskell-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-fast-logger' 
'haskell-gitrev' 'haskell-hasql'
+ 'haskell-hasql-dynamic-statements' 'haskell-hasql-notifications' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+ 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-protolude' 'haskell-regex-tdfa' 'haskell-scientific'
+ 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-logger' 
'haskell-wai-middleware-static'
+ 'haskell-auto-update' 'haskell-retry' 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
+ 'haskell-hspec-wai-json' 'haskell-monad-control' 
'haskell-transformers-base')
+checkdepends=('pifpaf' 'postgresql' 'procps-ng')
+source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal
+
+# TODO: not a proper fix. probably newly added "column" should be shown too
+sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-CI --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgrest_test
+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-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:26:35
  Author: felixonmars
Revision: 1182399

upgpkg: postgrest 8.0.0-169: rebuild with unordered-containers 0.2.18.0

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:24:50 UTC (rev 1182398)
+++ PKGBUILD2022-04-06 23:26:35 UTC (rev 1182399)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=8.0.0
-pkgrel=168
+pkgrel=169
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest";
 license=("MIT")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:24:50
  Author: felixonmars
Revision: 1182398

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 1182397, haskell-language-server/trunk/PKGBUILD)

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

Copied: haskell-language-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 1182397, haskell-language-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:24:50 UTC (rev 1182398)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+
+pkgname=haskell-language-server
+pkgver=1.3.0.0
+pkgrel=161
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -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-language-server/trunk (PKGBUILD)

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:24:22
  Author: felixonmars
Revision: 1182397

upgpkg: haskell-language-server 1.3.0.0-161: rebuild with unordered-containers 
0.2.18.0

Modified:
  haskell-language-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:18:34 UTC (rev 1182396)
+++ PKGBUILD2022-04-06 23:24:22 UTC (rev 1182397)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-language-server
 pkgver=1.3.0.0
-pkgrel=160
+pkgrel=161
 pkgdesc="LSP server for GHC"
 url="https://github.com/haskell/haskell-language-server#readme";
 license=("Apache")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:18:34
  Author: felixonmars
Revision: 1182396

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 1182395, 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 1182395, haskell-hls-eval-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:18:34 UTC (rev 1182396)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-eval-plugin
+pkgname=haskell-hls-eval-plugin
+pkgver=1.1.2.0
+pkgrel=141
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  # 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-eval-plugin/trunk (PKGBUILD)

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:18:24
  Author: felixonmars
Revision: 1182395

upgpkg: haskell-hls-eval-plugin 1.1.2.0-141: rebuild with unordered-containers 
0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:18:18 UTC (rev 1182394)
+++ PKGBUILD2022-04-06 23:18:24 UTC (rev 1182395)
@@ -3,7 +3,7 @@
 _hkgname=hls-eval-plugin
 pkgname=haskell-hls-eval-plugin
 pkgver=1.1.2.0
-pkgrel=140
+pkgrel=141
 pkgdesc="Eval plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server";
 license=("Apache")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:18:18
  Author: felixonmars
Revision: 1182394

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 1182393, 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 1182393, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:18:18 UTC (rev 1182394)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-haddock-comments-plugin
+pkgname=haskell-hls-haddock-comments-plugin
+pkgver=1.0.0.3
+pkgrel=139
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:18:08
  Author: felixonmars
Revision: 1182393

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.3-139: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:18:03 UTC (rev 1182392)
+++ PKGBUILD2022-04-06 23:18:08 UTC (rev 1182393)
@@ -3,7 +3,7 @@
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
 pkgver=1.0.0.3
-pkgrel=138
+pkgrel=139
 pkgdesc="Haddock comments 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-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:18:03
  Author: felixonmars
Revision: 1182392

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 1182391, 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 1182391, haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:18:03 UTC (rev 1182392)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-call-hierarchy-plugin
+pkgname=haskell-hls-call-hierarchy-plugin
+pkgver=1.0.0.0
+pkgrel=139
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:17:53
  Author: felixonmars
Revision: 1182391

upgpkg: haskell-hls-call-hierarchy-plugin 1.0.0.0-139: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:17:45 UTC (rev 1182390)
+++ PKGBUILD2022-04-06 23:17:53 UTC (rev 1182391)
@@ -3,7 +3,7 @@
 _hkgname=hls-call-hierarchy-plugin
 pkgname=haskell-hls-call-hierarchy-plugin
 pkgver=1.0.0.0
-pkgrel=138
+pkgrel=139
 pkgdesc="Call hierarchy plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-call-hierarchy-plugin";
 license=("Apache")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:17:45
  Author: felixonmars
Revision: 1182390

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:17:35
  Author: felixonmars
Revision: 1182389

upgpkg: tamarin-prover 1.6.1-132: rebuild with unordered-containers 0.2.18.0

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:17:29 UTC (rev 1182388)
+++ PKGBUILD2022-04-06 23:17:35 UTC (rev 1182389)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.6.1
-pkgrel=131
+pkgrel=132
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io";
 license=("GPL")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:17:29
  Author: felixonmars
Revision: 1182388

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 1182387, 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 1182387, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:17:29 UTC (rev 1182388)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-stylish-haskell-plugin
+pkgname=haskell-hls-stylish-haskell-plugin
+pkgver=1.0.0.2
+pkgrel=140
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:17:19
  Author: felixonmars
Revision: 1182387

upgpkg: haskell-hls-stylish-haskell-plugin 1.0.0.2-140: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:17:13 UTC (rev 1182386)
+++ PKGBUILD2022-04-06 23:17:19 UTC (rev 1182387)
@@ -3,7 +3,7 @@
 _hkgname=hls-stylish-haskell-plugin
 pkgname=haskell-hls-stylish-haskell-plugin
 pkgver=1.0.0.2
-pkgrel=139
+pkgrel=140
 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-explicit-imports-plugin/repos (2 files)

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:17:13
  Author: felixonmars
Revision: 1182386

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 1182385, 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 1182385, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:17:13 UTC (rev 1182386)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-explicit-imports-plugin
+pkgname=haskell-hls-explicit-imports-plugin
+pkgver=1.0.1.0
+pkgrel=139
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:17:03
  Author: felixonmars
Revision: 1182385

upgpkg: haskell-hls-explicit-imports-plugin 1.0.1.0-139: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:16:58 UTC (rev 1182384)
+++ PKGBUILD2022-04-06 23:17:03 UTC (rev 1182385)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.1.0
-pkgrel=138
+pkgrel=139
 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-ormolu-plugin/repos (2 files)

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:16:58
  Author: felixonmars
Revision: 1182384

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 1182383, 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 1182383, haskell-hls-ormolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:16:58 UTC (rev 1182384)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-ormolu-plugin
+pkgname=haskell-hls-ormolu-plugin
+pkgver=1.0.1.0
+pkgrel=143
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:16:47
  Author: felixonmars
Revision: 1182383

upgpkg: haskell-hls-ormolu-plugin 1.0.1.0-143: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:16:38 UTC (rev 1182382)
+++ PKGBUILD2022-04-06 23:16:47 UTC (rev 1182383)
@@ -3,7 +3,7 @@
 _hkgname=hls-ormolu-plugin
 pkgname=haskell-hls-ormolu-plugin
 pkgver=1.0.1.0
-pkgrel=142
+pkgrel=143
 pkgdesc="Integration with the Ormolu code formatter"
 url="https://hackage.haskell.org/package/hls-ormolu-plugin";
 license=("Apache")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:16:38
  Author: felixonmars
Revision: 1182382

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

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:16:28
  Author: felixonmars
Revision: 1182381

upgpkg: git-annex 10.20220322-4: rebuild with unordered-containers 0.2.18.0

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:16:22 UTC (rev 1182380)
+++ PKGBUILD2022-04-06 23:16:28 UTC (rev 1182381)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=10.20220322
-pkgrel=3
+pkgrel=4
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/";
 license=("AGPL3")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:16:22
  Author: felixonmars
Revision: 1182380

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 1182379, 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 1182379, haskell-hls-pragmas-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:16:22 UTC (rev 1182380)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-pragmas-plugin
+pkgname=haskell-hls-pragmas-plugin
+pkgver=1.0.1.0
+pkgrel=139
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:16:07
  Author: felixonmars
Revision: 1182379

upgpkg: haskell-hls-pragmas-plugin 1.0.1.0-139: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:15:51 UTC (rev 1182378)
+++ PKGBUILD2022-04-06 23:16:07 UTC (rev 1182379)
@@ -3,7 +3,7 @@
 _hkgname=hls-pragmas-plugin
 pkgname=haskell-hls-pragmas-plugin
 pkgver=1.0.1.0
-pkgrel=138
+pkgrel=139
 pkgdesc="Pragmas plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-pragmas-plugin";
 license=("Apache")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:15:51
  Author: felixonmars
Revision: 1182378

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 1182377, 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 1182377, haskell-hls-module-name-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:15:51 UTC (rev 1182378)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-module-name-plugin
+pkgname=haskell-hls-module-name-plugin
+pkgver=1.0.0.1
+pkgrel=139
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:15:27
  Author: felixonmars
Revision: 1182377

upgpkg: haskell-hls-module-name-plugin 1.0.0.1-139: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:15:09 UTC (rev 1182376)
+++ PKGBUILD2022-04-06 23:15:27 UTC (rev 1182377)
@@ -3,7 +3,7 @@
 _hkgname=hls-module-name-plugin
 pkgname=haskell-hls-module-name-plugin
 pkgver=1.0.0.1
-pkgrel=138
+pkgrel=139
 pkgdesc="Module name plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-module-name-plugin";
 license=("Apache")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:15:09
  Author: felixonmars
Revision: 1182376

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:14:50
  Author: felixonmars
Revision: 1182375

upgpkg: hledger-web 1.25-43: rebuild with unordered-containers 0.2.18.0

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:14:37 UTC (rev 1182374)
+++ PKGBUILD2022-04-06 23:14:50 UTC (rev 1182375)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.25
-pkgrel=42
+pkgrel=43
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org";
 license=("GPL")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:14:37
  Author: felixonmars
Revision: 1182374

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 1182373, 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 1182373, haskell-hls-fourmolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:14:37 UTC (rev 1182374)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-fourmolu-plugin
+pkgname=haskell-hls-fourmolu-plugin
+pkgver=1.0.0.2
+pkgrel=144
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:14:26
  Author: felixonmars
Revision: 1182373

upgpkg: haskell-hls-fourmolu-plugin 1.0.0.2-144: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:14:20 UTC (rev 1182372)
+++ PKGBUILD2022-04-06 23:14:26 UTC (rev 1182373)
@@ -3,7 +3,7 @@
 _hkgname=hls-fourmolu-plugin
 pkgname=haskell-hls-fourmolu-plugin
 pkgver=1.0.0.2
-pkgrel=143
+pkgrel=144
 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-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:14:20
  Author: felixonmars
Revision: 1182372

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 1182371, 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 1182371, haskell-hls-floskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:14:20 UTC (rev 1182372)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-floskell-plugin
+pkgname=haskell-hls-floskell-plugin
+pkgver=1.0.0.1
+pkgrel=139
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:14:10
  Author: felixonmars
Revision: 1182371

upgpkg: haskell-hls-floskell-plugin 1.0.0.1-139: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:13:58 UTC (rev 1182370)
+++ PKGBUILD2022-04-06 23:14:10 UTC (rev 1182371)
@@ -3,7 +3,7 @@
 _hkgname=hls-floskell-plugin
 pkgname=haskell-hls-floskell-plugin
 pkgver=1.0.0.1
-pkgrel=138
+pkgrel=139
 pkgdesc="Integration with the Floskell code formatter"
 url="https://hackage.haskell.org/package/hls-floskell-plugin";
 license=("Apache")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:13:58
  Author: felixonmars
Revision: 1182370

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 1182369, 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 1182369, haskell-hls-hlint-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:13:58 UTC (rev 1182370)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-hlint-plugin
+pkgname=haskell-hls-hlint-plugin
+pkgver=1.0.1.1
+pkgrel=139
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -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-hlint-plugin/trunk (PKGBUILD)

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:13:46
  Author: felixonmars
Revision: 1182369

upgpkg: haskell-hls-hlint-plugin 1.0.1.1-139: rebuild with unordered-containers 
0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:13:40 UTC (rev 1182368)
+++ PKGBUILD2022-04-06 23:13:46 UTC (rev 1182369)
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.0.1.1
-pkgrel=138
+pkgrel=139
 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-retrie-plugin/repos (2 files)

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:13:40
  Author: felixonmars
Revision: 1182368

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 1182367, 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 1182367, haskell-hls-retrie-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:13:40 UTC (rev 1182368)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-retrie-plugin
+pkgname=haskell-hls-retrie-plugin
+pkgver=1.0.1.1
+pkgrel=139
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:13:28
  Author: felixonmars
Revision: 1182367

upgpkg: haskell-hls-retrie-plugin 1.0.1.1-139: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:13:21 UTC (rev 1182366)
+++ PKGBUILD2022-04-06 23:13:28 UTC (rev 1182367)
@@ -3,7 +3,7 @@
 _hkgname=hls-retrie-plugin
 pkgname=haskell-hls-retrie-plugin
 pkgver=1.0.1.1
-pkgrel=138
+pkgrel=139
 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-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:13:21
  Author: felixonmars
Revision: 1182366

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 1182365, 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 1182365, haskell-hls-test-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:13:21 UTC (rev 1182366)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-test-utils
+pkgname=haskell-hls-test-utils
+pkgver=1.1.0.0
+pkgrel=140
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:13:06
  Author: felixonmars
Revision: 1182365

upgpkg: haskell-hls-test-utils 1.1.0.0-140: rebuild with unordered-containers 
0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 23:12:18 UTC (rev 1182364)
+++ PKGBUILD2022-04-06 23:13:06 UTC (rev 1182365)
@@ -3,7 +3,7 @@
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
 pkgver=1.1.0.0
-pkgrel=139
+pkgrel=140
 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-ghcide/repos (2 files)

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:12:18
  Author: felixonmars
Revision: 1182364

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 1182363, haskell-ghcide/trunk/PKGBUILD)

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

Copied: haskell-ghcide/repos/community-staging-x86_64/PKGBUILD (from rev 
1182363, haskell-ghcide/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 23:12:18 UTC (rev 1182364)
@@ -0,0 +1,81 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghcide
+pkgname=haskell-ghcide
+pkgver=1.4.1.0
+pkgrel=140
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  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 "$pkgdir"/us

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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 23:12:04
  Author: felixonmars
Revision: 1182363

upgpkg: haskell-ghcide 1.4.1.0-140: rebuild with unordered-containers 0.2.18.0

Modified:
  haskell-ghcide/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:56:18 UTC (rev 1182362)
+++ PKGBUILD2022-04-06 23:12:04 UTC (rev 1182363)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.4.1.0
-pkgrel=139
+pkgrel=140
 pkgdesc="The core of an IDE"
 
url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme";
 license=("Apache")



[arch-commits] Commit in gnome-nettool/repos/extra-x86_64 (3 files)

2022-04-06 Thread Jan Steffens via arch-commits
Date: Wednesday, April 6, 2022 @ 23:01:22
  Author: heftig
Revision: 441692

archrelease: copy trunk to extra-x86_64

Added:
  gnome-nettool/repos/extra-x86_64/PKGBUILD
(from rev 441691, gnome-nettool/trunk/PKGBUILD)
  gnome-nettool/repos/extra-x86_64/fix-build.diff
(from rev 441691, gnome-nettool/trunk/fix-build.diff)
Deleted:
  gnome-nettool/repos/extra-x86_64/PKGBUILD

+
 PKGBUILD   |   90 +--
 fix-build.diff |   29 +
 2 files changed, 77 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-06 23:01:11 UTC (rev 441691)
+++ PKGBUILD2022-04-06 23:01:22 UTC (rev 441692)
@@ -1,42 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) 
-# Contributor: Jan de Groot 
-# Contributor: Kritoke 
-
-pkgname=gnome-nettool
-pkgver=3.8.1+205+g8550eef
-pkgrel=3
-pkgdesc="Graphical interface for various networking tools"
-url="https://git.gnome.org/browse/gnome-nettool";
-arch=(x86_64)
-license=(GPL)
-depends=(gtk3 libgtop ldns iputils dconf whois)
-makedepends=(nmap net-tools git meson itstool)
-optdepends=('nmap: Port scanning'
-'net-tools: Network statistics')
-groups=(gnome-extra)
-_commit=8550eef45eb228fb4a4c816bde33ec24da0aa06e  # master
-source=("git+https://git.gnome.org/browse/gnome-nettool#commit=$_commit";)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^gnome-nettool-//;s/-/./;s/-/./;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  arch-meson $pkgname build
-  ninja -C build
-}
-
-check() {
-  cd build
-  meson test
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}

Copied: gnome-nettool/repos/extra-x86_64/PKGBUILD (from rev 441691, 
gnome-nettool/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-06 23:01:22 UTC (rev 441692)
@@ -0,0 +1,48 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Jan de Groot 
+# Contributor: Kritoke 
+
+pkgname=gnome-nettool
+pkgver=42.0
+pkgrel=1
+pkgdesc="Graphical interface for various networking tools"
+url="https://gitlab.gnome.org/GNOME/gnome-nettool";
+arch=(x86_64)
+license=(GPL)
+depends=(gtk3 libgtop iputils whois)
+makedepends=(nmap bind net-tools git meson yelp-tools)
+optdepends=('nmap: Port scanning'
+'bind: DNS lookup'
+'net-tools: Network statistics')
+groups=(gnome-extra)
+options=(debug)
+_commit=5748c0fa632c9caad9e46377ca1aa330dec4b757  # tags/gnome-nettool-42-0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-nettool.git#commit=$_commit";
+fix-build.diff)
+sha256sums=('SKIP'
+'95437116039a453c7c15eb25b90e3818338d6b6a87437f384b3d6aded4a845d7')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^gnome-nettool-//;s/-/./;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # Fix build with recent Meson
+  git apply -3 ../fix-build.diff
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}

Copied: gnome-nettool/repos/extra-x86_64/fix-build.diff (from rev 441691, 
gnome-nettool/trunk/fix-build.diff)
===
--- fix-build.diff  (rev 0)
+++ fix-build.diff  2022-04-06 23:01:22 UTC (rev 441692)
@@ -0,0 +1,29 @@
+diff --git i/data/meson.build w/data/meson.build
+index 585e6d3..c4b35cc 100644
+--- i/data/meson.build
 w/data/meson.build
+@@ -20,21 +20,18 @@ desktop_in = configure_file(input: 
'gnome-nettool.desktop.in.in',
+ output: 'gnome-nettool.desktop.in',
+ configuration: desktop_conf)
+ 
+-i18n.merge_file('desktop',
+-type: 'desktop',
++i18n.merge_file(type: 'desktop',
+ input: desktop_in,
+ output: 'gnome-nettool.desktop',
+ po_dir: po_dir,
+ install: true,
+ install_dir: join_paths(prefix, datadir, 'applications'))
+ 
+-i18n.merge_file('appdata',
+-type: 'xml',
++i18n.merge_file(type: 'xml',
+ input: 'gnome-nettool.appdata.xml.in',
+ output: 'gnome-nettool.appdata.xml',
+ po_dir: po_dir,
+ install: true,
+-install_dir: join_paths(prefix, datadir, 'metainfo'),
+-)
++install_dir: join_paths(prefix, datadir, 'metainfo'))
+ 
+ install_data('org.gnome.gnome-nettool.gschema.xml', install_dir: schemas_dir)



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

2022-04-06 Thread Jan Steffens via arch-commits
Date: Wednesday, April 6, 2022 @ 23:01:23
  Author: heftig
Revision: 441693

archrelease: copy trunk to extra-x86_64

Added:
  ghex/repos/extra-x86_64/PKGBUILD
(from rev 441691, ghex/trunk/PKGBUILD)
Deleted:
  ghex/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-06 23:01:22 UTC (rev 441692)
+++ PKGBUILD2022-04-06 23:01:23 UTC (rev 441693)
@@ -1,39 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) 
-# Contributor: Jan de Groot 
-# Contributor: Tobias Kieslich 
-
-pkgname=ghex
-pkgver=3.41.1
-pkgrel=1
-pkgdesc="A simple binary editor for the Gnome desktop"
-url="https://wiki.gnome.org/Apps/Ghex";
-arch=(x86_64)
-license=(GPL)
-depends=(gtk3)
-makedepends=(git meson yelp-tools)
-groups=(gnome-extra)
-_commit=2bd5cb649e40de5e3b197ce7666ee9bd14ae2c24  # tags/3.41.1^0
-source=("git+https://gitlab.gnome.org/GNOME/ghex.git#commit=$_commit";)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  arch-meson $pkgname build
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  meson install -C build --destdir "$pkgdir"
-}

Copied: ghex/repos/extra-x86_64/PKGBUILD (from rev 441691, ghex/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-06 23:01:23 UTC (rev 441693)
@@ -0,0 +1,53 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Jan de Groot 
+# Contributor: Tobias Kieslich 
+
+pkgbase=ghex
+pkgname=(ghex ghex-docs)
+pkgver=42.0
+pkgrel=1
+pkgdesc="A simple binary editor for the Gnome desktop"
+url="https://wiki.gnome.org/Apps/Ghex";
+arch=(x86_64)
+license=(GPL)
+depends=(gtk4)
+makedepends=(git meson yelp-tools gobject-introspection gi-docgen)
+options=(debug)
+_commit=c28eaa930ee7f88e56b003e81037dd9828ccc5b1  # tags/42.0^0
+source=("git+https://gitlab.gnome.org/GNOME/ghex.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd ghex
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd ghex
+}
+
+build() {
+  arch-meson ghex build -D gtk_doc=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package_ghex() {
+  provides=(libgtkhex-4.so)
+  groups=(gnome-extra)
+
+  meson install -C build --destdir "$pkgdir"
+
+  mkdir -p doc/usr/share
+  mv {"$pkgdir",doc}/usr/share/doc
+}
+
+package_ghex-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  mv doc/* "$pkgdir"
+}



[arch-commits] Commit in gnome-nettool/trunk (PKGBUILD fix-build.diff)

2022-04-06 Thread Jan Steffens via arch-commits
Date: Wednesday, April 6, 2022 @ 23:01:11
  Author: heftig
Revision: 441691

42.0-1

Added:
  gnome-nettool/trunk/fix-build.diff
Modified:
  gnome-nettool/trunk/PKGBUILD

+
 PKGBUILD   |   34 --
 fix-build.diff |   29 +
 2 files changed, 49 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:59:58 UTC (rev 441690)
+++ PKGBUILD2022-04-06 23:01:11 UTC (rev 441691)
@@ -1,42 +1,48 @@
-# Maintainer: Jan Alexander Steffens (heftig) 
+# Maintainer: Jan Alexander Steffens (heftig) 
 # Contributor: Jan de Groot 
 # Contributor: Kritoke 
 
 pkgname=gnome-nettool
-pkgver=3.8.1+205+g8550eef
-pkgrel=3
+pkgver=42.0
+pkgrel=1
 pkgdesc="Graphical interface for various networking tools"
-url="https://git.gnome.org/browse/gnome-nettool";
+url="https://gitlab.gnome.org/GNOME/gnome-nettool";
 arch=(x86_64)
 license=(GPL)
-depends=(gtk3 libgtop ldns iputils dconf whois)
-makedepends=(nmap net-tools git meson itstool)
+depends=(gtk3 libgtop iputils whois)
+makedepends=(nmap bind net-tools git meson yelp-tools)
 optdepends=('nmap: Port scanning'
+'bind: DNS lookup'
 'net-tools: Network statistics')
 groups=(gnome-extra)
-_commit=8550eef45eb228fb4a4c816bde33ec24da0aa06e  # master
-source=("git+https://git.gnome.org/browse/gnome-nettool#commit=$_commit";)
-sha256sums=('SKIP')
+options=(debug)
+_commit=5748c0fa632c9caad9e46377ca1aa330dec4b757  # tags/gnome-nettool-42-0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-nettool.git#commit=$_commit";
+fix-build.diff)
+sha256sums=('SKIP'
+'95437116039a453c7c15eb25b90e3818338d6b6a87437f384b3d6aded4a845d7')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/^gnome-nettool-//;s/-/./;s/-/./;s/-/+/g'
+  git describe --tags | sed 's/^gnome-nettool-//;s/-/./;s/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
   cd $pkgname
+
+  # Fix build with recent Meson
+  git apply -3 ../fix-build.diff
 }
 
 build() {
   arch-meson $pkgname build
-  ninja -C build
+  meson compile -C build
 }
 
 check() {
-  cd build
-  meson test
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  DESTDIR="$pkgdir" ninja -C build install
+  meson install -C build --destdir "$pkgdir"
 }

Added: fix-build.diff
===
--- fix-build.diff  (rev 0)
+++ fix-build.diff  2022-04-06 23:01:11 UTC (rev 441691)
@@ -0,0 +1,29 @@
+diff --git i/data/meson.build w/data/meson.build
+index 585e6d3..c4b35cc 100644
+--- i/data/meson.build
 w/data/meson.build
+@@ -20,21 +20,18 @@ desktop_in = configure_file(input: 
'gnome-nettool.desktop.in.in',
+ output: 'gnome-nettool.desktop.in',
+ configuration: desktop_conf)
+ 
+-i18n.merge_file('desktop',
+-type: 'desktop',
++i18n.merge_file(type: 'desktop',
+ input: desktop_in,
+ output: 'gnome-nettool.desktop',
+ po_dir: po_dir,
+ install: true,
+ install_dir: join_paths(prefix, datadir, 'applications'))
+ 
+-i18n.merge_file('appdata',
+-type: 'xml',
++i18n.merge_file(type: 'xml',
+ input: 'gnome-nettool.appdata.xml.in',
+ output: 'gnome-nettool.appdata.xml',
+ po_dir: po_dir,
+ install: true,
+-install_dir: join_paths(prefix, datadir, 'metainfo'),
+-)
++install_dir: join_paths(prefix, datadir, 'metainfo'))
+ 
+ install_data('org.gnome.gnome-nettool.gschema.xml', install_dir: schemas_dir)



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

2022-04-06 Thread Jan Steffens via arch-commits
Date: Wednesday, April 6, 2022 @ 22:59:58
  Author: heftig
Revision: 441690

42.0-1

Modified:
  ghex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:50:28 UTC (rev 441689)
+++ PKGBUILD2022-04-06 22:59:58 UTC (rev 441690)
@@ -2,31 +2,32 @@
 # Contributor: Jan de Groot 
 # Contributor: Tobias Kieslich 
 
-pkgname=ghex
-pkgver=3.41.1
+pkgbase=ghex
+pkgname=(ghex ghex-docs)
+pkgver=42.0
 pkgrel=1
 pkgdesc="A simple binary editor for the Gnome desktop"
 url="https://wiki.gnome.org/Apps/Ghex";
 arch=(x86_64)
 license=(GPL)
-depends=(gtk3)
-makedepends=(git meson yelp-tools)
-groups=(gnome-extra)
-_commit=2bd5cb649e40de5e3b197ce7666ee9bd14ae2c24  # tags/3.41.1^0
+depends=(gtk4)
+makedepends=(git meson yelp-tools gobject-introspection gi-docgen)
+options=(debug)
+_commit=c28eaa930ee7f88e56b003e81037dd9828ccc5b1  # tags/42.0^0
 source=("git+https://gitlab.gnome.org/GNOME/ghex.git#commit=$_commit";)
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
+  cd ghex
   git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd ghex
 }
 
 build() {
-  arch-meson $pkgname build
+  arch-meson ghex build -D gtk_doc=true
   meson compile -C build
 }
 
@@ -34,6 +35,19 @@
   meson test -C build --print-errorlogs
 }
 
-package() {
+package_ghex() {
+  provides=(libgtkhex-4.so)
+  groups=(gnome-extra)
+
   meson install -C build --destdir "$pkgdir"
+
+  mkdir -p doc/usr/share
+  mv {"$pkgdir",doc}/usr/share/doc
 }
+
+package_ghex-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  mv doc/* "$pkgdir"
+}



[arch-commits] Commit in povray/repos/community-x86_64 (3 files)

2022-04-06 Thread Alexander Rødseth via arch-commits
Date: Wednesday, April 6, 2022 @ 22:56:18
  Author: arodseth
Revision: 1182362

archrelease: copy trunk to community-x86_64

Added:
  povray/repos/community-x86_64/PKGBUILD
(from rev 1182361, povray/trunk/PKGBUILD)
Deleted:
  povray/repos/community-x86_64/PKGBUILD
  povray/repos/community-x86_64/povray-openexr3.patch

---+
 PKGBUILD  |  113 +++-
 povray-openexr3.patch |   65 ---
 2 files changed, 55 insertions(+), 123 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-06 22:56:13 UTC (rev 1182361)
+++ PKGBUILD2022-04-06 22:56:18 UTC (rev 1182362)
@@ -1,58 +0,0 @@
-# Maintainer: Alexander F. Rødseth 
-# Contributor: Tom Newsom 
-# Contributor: tobias 
-# Contributor: red_over_blue
-# Contributor: neri
-
-pkgname=povray
-epoch=2
-pkgver=3.7.0.9
-pkgrel=8
-_v=${pkgver%.*.*} # 3.7
-pkgdesc='Script based raytracer for creating 3D graphics'
-arch=(x86_64)
-license=(AGPL3)
-url='https://povray.org/'
-depends=(boost-libs imath libpng libtiff openexr)
-makedepends=(boost git glu)
-backup=(etc/povray/$_v/povray.conf
-etc/povray/$_v/povray.ini)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/POV-Ray/povray/archive/v$pkgver.tar.gz";
-povray-openexr3.patch)
-b2sums=('42772b8b055e77c3469312a8a1833c4ca79943ac49f59f6b18c2f8ad41e865d65f8ceb52f228628f26d4f653ec27f85264929cafdb753686e86c5f6fac4675cf'
-
'3c9623a12fff3c568e61f29685069a9c92197f13b7e30b8cbf33eb2591a9d28475f95b35089546f21c818d5f567b347c799fa9c04e667aa0512b8785f2070d03')
-
-prepare() {
-  cd $pkgname-$pkgver
-  rm -frv libraries/ilmbase/Imath
-  patch -p1 < "$srcdir/povray-openexr3.patch"
-  cd unix
-  sed 's/automake --w/automake --add-missing --w/g' -i prebuild.sh
-  sed 's/dist-bzip2/dist-bzip2 subdir-objects/g' -i configure.ac
-  ./prebuild.sh
-  cd ..
-  ./bootstrap
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure \
-LIBS="-lboost_system -lboost_thread" \
-COMPILED_BY='Arch Linux' \
---prefix=/usr \
---sysconfdir=/etc
-  make CXXFLAGS+='-std=c++11 -lboost_system -lboost_thread 
-DBOOST_BIND_GLOBAL_PLACEHOLDERS=1 -w'
-}
-
-package() {
-  cd $pkgname-$pkgver
-  install -d "$pkgdir"/usr/share/{doc/,}"$pkgname-$_v"
-  cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-$_v"
-  cp -r doc "$pkgdir/usr/share/doc/$pkgname-$_v"
-  install -Dm755 unix/povray "$pkgdir/usr/bin/povray"
-  install -Dm644 povray.conf "$pkgdir/etc/povray/$_v/povray.conf"
-  install -Dm644 povray.ini "$pkgdir/etc/povray/$_v/povray.ini"
-  install -Dm644 povray.1 "$pkgdir/usr/share/man/man1/povray.1"
-}
-
-# getver: povray.org/documentation

Copied: povray/repos/community-x86_64/PKGBUILD (from rev 1182361, 
povray/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-06 22:56:18 UTC (rev 1182362)
@@ -0,0 +1,55 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Tom Newsom 
+# Contributor: tobias 
+# Contributor: red_over_blue
+# Contributor: neri
+
+pkgname=povray
+epoch=2
+pkgver=3.7.0.10
+pkgrel=1
+_v=${pkgver%.*.*} # 3.7
+pkgdesc='Script based raytracer for creating 3D graphics'
+arch=(x86_64)
+license=(AGPL3)
+url='https://povray.org/'
+depends=(boost-libs imath libpng libtiff openexr)
+makedepends=(boost git glu)
+backup=(etc/povray/$_v/povray.conf
+etc/povray/$_v/povray.ini)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/POV-Ray/povray/archive/v$pkgver.tar.gz";)
+b2sums=('b9b448bafc1664d7378168905125ef8b60ac5e8a3a213d6216dd0219b2fad0bc43a5c6d8f8f3d8172ff43bcc9a3f11806b2ff04d3b965914fd628c929e46560b')
+
+prepare() {
+  cd $pkgname-$pkgver
+  rm -frv libraries/ilmbase/Imath
+  cd unix
+  sed 's/automake --w/automake --add-missing --w/g' -i prebuild.sh
+  sed 's/dist-bzip2/dist-bzip2 subdir-objects/g' -i configure.ac
+  ./prebuild.sh
+  cd ..
+  ./bootstrap
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+LIBS="-lboost_system -lboost_thread" \
+COMPILED_BY='Arch Linux' \
+--prefix=/usr \
+--sysconfdir=/etc
+  make CXXFLAGS+='-std=c++11 -lboost_system -lboost_thread 
-DBOOST_BIND_GLOBAL_PLACEHOLDERS=1 -w'
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -d "$pkgdir"/usr/share/{doc/,}"$pkgname-$_v"
+  cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-$_v"
+  cp -r doc "$pkgdir/usr/share/doc/$pkgname-$_v"
+  install -Dm755 unix/povray "$pkgdir/usr/bin/povray"
+  install -Dm644 povray.conf "$pkgdir/etc/povray/$_v/povray.conf"
+  install -Dm644 povray.ini "$pkgdir/etc/povray/$_v/povray.ini"
+  install -Dm644 povray.1 "$pkgdir/usr/share/man/man1/povray.1"
+}
+
+# getver: povray.org/documentation

Deleted: povray-openexr3.patch
===
--- povray-openexr3.patch   2022-04-06 22:56:13 UTC (rev 1182361)
+++ povray-openexr3.patch 

[arch-commits] Commit in povray/trunk (PKGBUILD povray-openexr3.patch)

2022-04-06 Thread Alexander Rødseth via arch-commits
Date: Wednesday, April 6, 2022 @ 22:56:13
  Author: arodseth
Revision: 1182361

upgpkg: povray 2:3.7.0.10-1

Modified:
  povray/trunk/PKGBUILD
Deleted:
  povray/trunk/povray-openexr3.patch

---+
 PKGBUILD  |   11 ++--
 povray-openexr3.patch |   65 
 2 files changed, 4 insertions(+), 72 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:53:30 UTC (rev 1182360)
+++ PKGBUILD2022-04-06 22:56:13 UTC (rev 1182361)
@@ -6,8 +6,8 @@
 
 pkgname=povray
 epoch=2
-pkgver=3.7.0.9
-pkgrel=8
+pkgver=3.7.0.10
+pkgrel=1
 _v=${pkgver%.*.*} # 3.7
 pkgdesc='Script based raytracer for creating 3D graphics'
 arch=(x86_64)
@@ -17,15 +17,12 @@
 makedepends=(boost git glu)
 backup=(etc/povray/$_v/povray.conf
 etc/povray/$_v/povray.ini)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/POV-Ray/povray/archive/v$pkgver.tar.gz";
-povray-openexr3.patch)
-b2sums=('42772b8b055e77c3469312a8a1833c4ca79943ac49f59f6b18c2f8ad41e865d65f8ceb52f228628f26d4f653ec27f85264929cafdb753686e86c5f6fac4675cf'
-
'3c9623a12fff3c568e61f29685069a9c92197f13b7e30b8cbf33eb2591a9d28475f95b35089546f21c818d5f567b347c799fa9c04e667aa0512b8785f2070d03')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/POV-Ray/povray/archive/v$pkgver.tar.gz";)
+b2sums=('b9b448bafc1664d7378168905125ef8b60ac5e8a3a213d6216dd0219b2fad0bc43a5c6d8f8f3d8172ff43bcc9a3f11806b2ff04d3b965914fd628c929e46560b')
 
 prepare() {
   cd $pkgname-$pkgver
   rm -frv libraries/ilmbase/Imath
-  patch -p1 < "$srcdir/povray-openexr3.patch"
   cd unix
   sed 's/automake --w/automake --add-missing --w/g' -i prebuild.sh
   sed 's/dist-bzip2/dist-bzip2 subdir-objects/g' -i configure.ac

Deleted: povray-openexr3.patch
===
--- povray-openexr3.patch   2022-04-06 22:53:30 UTC (rev 1182360)
+++ povray-openexr3.patch   2022-04-06 22:56:13 UTC (rev 1182361)
@@ -1,65 +0,0 @@
-diff --git a/source/backend/povray.cpp b/source/backend/povray.cpp
-index 7692eff8..7b8bb463 100644
 a/source/backend/povray.cpp
-+++ b/source/backend/povray.cpp
-@@ -68,7 +68,6 @@
-   extern "C" const char* TIFFGetVersion(void);
-   #endif
- #ifndef OPENEXR_MISSING
--#include 
- #include 
- // NOTE:
- //  Versions of OpenEXR and IlmImf prior to 1.7.1 do not seem to have 
a way to get the version number,
-diff --git a/source/base/image/openexr.cpp b/source/base/image/openexr.cpp
-index 5050a897..40002b8f 100644
 a/source/base/image/openexr.cpp
-+++ b/source/base/image/openexr.cpp
-@@ -105,7 +105,7 @@ class POV_EXR_OStream : public Imf::OStream
-   throw POV_EXCEPTION(kFileDataErr, "Error while 
writing EXR output");
-   }
- 
--  Int64 tellp()
-+  uint64_t tellp()
-   {
-   unsigned long pos = os.tellg();
-   if((int) pos == -1)
-@@ -113,7 +113,7 @@ class POV_EXR_OStream : public Imf::OStream
-   return(pos);
-   }
- 
--  void seekp(Int64 pos)
-+  void seekp(uint64_t pos)
-   {
-   if(!os.seekg((unsigned long)pos))
-   throw POV_EXCEPTION(kFileDataErr, "Error when 
writing EXR output");
-@@ -147,7 +147,7 @@ class POV_EXR_IStream : public Imf::IStream
-   return (is.tellg() < fsize);
-   }
- 
--  Int64 tellg()
-+  uint64_t tellg()
-   {
-   unsigned long pos = is.tellg();
-   if((int)pos == -1)
-@@ -155,7 +155,7 @@ class POV_EXR_IStream : public Imf::IStream
-   return pos;
-   }
- 
--  void seekg(Int64 pos)
-+  void seekg(uint64_t pos)
-   {
-   if(!is.seekg((unsigned long)pos))
-   throw POV_EXCEPTION(kFileDataErr, "Error while 
reading EXR file");
-diff --git a/unix/config/ax_check_openexr.m4 b/unix/config/ax_check_openexr.m4
-index 69a2cb64..40ce88bc 100644
 a/unix/config/ax_check_openexr.m4
-+++ b/unix/config/ax_check_openexr.m4
-@@ -56,7 +56,7 @@ AC_DEFUN([AX_CHECK_OPENEXR],
-   # check include file
-   AC_CHECK_HEADER(
- [OpenEXR/ImfCRgbaFile.h],
--[AC_CHECK_LIB([IlmImf], [ImfInputReadPixels], [], 
[ax_check_openexr="not found"])],
-+[AC_CHECK_LIB([OpenEXR], [ImfInputReadPixels], [], 
[ax_check_openexr="not found"])],
- [ax_check_openexr="no headers"]
-   )
- fi



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:53:30
  Author: felixonmars
Revision: 1182360

archrelease: copy trunk to community-staging-x86_64

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

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

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

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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:53:16
  Author: felixonmars
Revision: 1182359

upgpkg: stack 2.7.5-35: rebuild with unordered-containers 0.2.18.0

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:51:20 UTC (rev 1182358)
+++ PKGBUILD2022-04-06 22:53:16 UTC (rev 1182359)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.5
-pkgrel=34
+pkgrel=35
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack";
 license=("BSD")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:51:20
  Author: felixonmars
Revision: 1182358

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:51:11
  Author: felixonmars
Revision: 1182357

upgpkg: haskell-hasql-dynamic-statements 0.3.1-95: rebuild with 
unordered-containers 0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:50:13 UTC (rev 1182356)
+++ PKGBUILD2022-04-06 22:51:11 UTC (rev 1182357)
@@ -3,7 +3,7 @@
 _hkgname=hasql-dynamic-statements
 pkgname=haskell-hasql-dynamic-statements
 pkgver=0.3.1
-pkgrel=94
+pkgrel=95
 pkgdesc="Toolkit for constructing Hasql statements dynamically"
 url="https://github.com/nikita-volkov/hasql-dynamic-statements";
 license=("MIT")



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

2022-04-06 Thread Jan Steffens via arch-commits
Date: Wednesday, April 6, 2022 @ 22:50:28
  Author: heftig
Revision: 441689

archrelease: copy trunk to extra-x86_64

Added:
  sushi/repos/extra-x86_64/PKGBUILD
(from rev 441688, sushi/trunk/PKGBUILD)
Deleted:
  sushi/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-06 22:50:19 UTC (rev 441688)
+++ PKGBUILD2022-04-06 22:50:28 UTC (rev 441689)
@@ -1,43 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) 
-# Contributor: Ionut Biru 
-
-pkgname=sushi
-pkgver=41.1
-pkgrel=1
-pkgdesc="A quick previewer for Nautilus"
-url="https://gitlab.gnome.org/GNOME/sushi";
-arch=(x86_64)
-license=(GPL2)
-groups=(gnome)
-depends=(gtk3 gjs webkit2gtk-4.1 gtksourceview4 evince gst-plugins-base-libs
- gst-plugin-gtk)
-makedepends=(gobject-introspection git meson)
-optdepends=('unoconv: OpenDocument formats')
-options=(debug)
-_commit=23d4c76d8b7346c80198815a65034751ae6cad1b  # tags/41.1^0
-source=("git+https://gitlab.gnome.org/GNOME/sushi.git#commit=$_commit";)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd sushi
-  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
-  cd sushi
-}
-
-build() {
-  arch-meson sushi build
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  meson install -C build --destdir "$pkgdir"
-}
-
-# vim:set sw=2 et:

Copied: sushi/repos/extra-x86_64/PKGBUILD (from rev 441688, 
sushi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-06 22:50:28 UTC (rev 441689)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Ionut Biru 
+
+pkgname=sushi
+pkgver=41.2
+pkgrel=1
+pkgdesc="A quick previewer for Nautilus"
+url="https://gitlab.gnome.org/GNOME/sushi";
+arch=(x86_64)
+license=(GPL2)
+groups=(gnome)
+depends=(gtk3 gjs webkit2gtk-4.1 gtksourceview4 evince gst-plugins-base-libs
+ gst-plugin-gtk)
+makedepends=(gobject-introspection git meson)
+optdepends=('unoconv: OpenDocument formats')
+options=(debug)
+_commit=f7a19f7b9e77d620678fc272b245db8255f813ed  # tags/41.2^0
+source=("git+https://gitlab.gnome.org/GNOME/sushi.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd sushi
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd sushi
+}
+
+build() {
+  arch-meson sushi build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 et:



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

2022-04-06 Thread Jan Steffens via arch-commits
Date: Wednesday, April 6, 2022 @ 22:50:19
  Author: heftig
Revision: 441688

41.2-1

Modified:
  sushi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 21:28:38 UTC (rev 441687)
+++ PKGBUILD2022-04-06 22:50:19 UTC (rev 441688)
@@ -2,7 +2,7 @@
 # Contributor: Ionut Biru 
 
 pkgname=sushi
-pkgver=41.1
+pkgver=41.2
 pkgrel=1
 pkgdesc="A quick previewer for Nautilus"
 url="https://gitlab.gnome.org/GNOME/sushi";
@@ -14,7 +14,7 @@
 makedepends=(gobject-introspection git meson)
 optdepends=('unoconv: OpenDocument formats')
 options=(debug)
-_commit=23d4c76d8b7346c80198815a65034751ae6cad1b  # tags/41.1^0
+_commit=f7a19f7b9e77d620678fc272b245db8255f813ed  # tags/41.2^0
 source=("git+https://gitlab.gnome.org/GNOME/sushi.git#commit=$_commit";)
 sha256sums=('SKIP')
 



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:50:13
  Author: felixonmars
Revision: 1182356

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:50:01
  Author: felixonmars
Revision: 1182355

upgpkg: haskell-hasql-notifications 0.2.0.0-98: rebuild with 
unordered-containers 0.2.18.0

Modified:
  haskell-hasql-notifications/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:49:44 UTC (rev 1182354)
+++ PKGBUILD2022-04-06 22:50:01 UTC (rev 1182355)
@@ -3,7 +3,7 @@
 _hkgname=hasql-notifications
 pkgname=haskell-hasql-notifications
 pkgver=0.2.0.0
-pkgrel=97
+pkgrel=98
 pkgdesc="LISTEN/NOTIFY support for Hasql"
 url="https://github.com/diogob/hasql-notifications";
 license=("BSD")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:49:44
  Author: felixonmars
Revision: 1182354

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:49:35
  Author: felixonmars
Revision: 1182353

upgpkg: haskell-yesod-static 1.6.1.0-424: rebuild with unordered-containers 
0.2.18.0

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:49:29 UTC (rev 1182352)
+++ PKGBUILD2022-04-06 22:49:35 UTC (rev 1182353)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=423
+pkgrel=424
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/";
 license=("MIT")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:49:29
  Author: felixonmars
Revision: 1182352

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql-implicits/repos/community-staging-x86_64/PKGBUILD (from 
rev 1182351, haskell-hasql-implicits/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:49:29 UTC (rev 1182352)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-implicits
+pkgname=haskell-hasql-implicits
+pkgver=0.1.0.3
+pkgrel=7
+pkgdesc="Implicit definitions for Hasql, such as default codecs for standard 
types"
+url="https://github.com/nikita-volkov/hasql-implicits";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hasql' 'haskell-network-ip' 
'haskell-scientific'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('42cfd03f80172bc7de36c13fdba28dbf5a6f4095b1a4cc0a40ac294382f78777')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:49:19
  Author: felixonmars
Revision: 1182351

upgpkg: haskell-hasql-implicits 0.1.0.3-7: rebuild with unordered-containers 
0.2.18.0

Modified:
  haskell-hasql-implicits/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:49:12 UTC (rev 1182350)
+++ PKGBUILD2022-04-06 22:49:19 UTC (rev 1182351)
@@ -3,7 +3,7 @@
 _hkgname=hasql-implicits
 pkgname=haskell-hasql-implicits
 pkgver=0.1.0.3
-pkgrel=6
+pkgrel=7
 pkgdesc="Implicit definitions for Hasql, such as default codecs for standard 
types"
 url="https://github.com/nikita-volkov/hasql-implicits";
 license=("MIT")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:49:12
  Author: felixonmars
Revision: 1182350

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD (from rev 
1182349, haskell-esqueleto/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:49:12 UTC (rev 1182350)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=esqueleto
+pkgname=haskell-esqueleto
+pkgver=3.5.2.1
+pkgrel=127
+pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
+url="https://github.com/bitemyapp/esqueleto";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-blaze-html' 
'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-unliftio' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-core' 'haskell-mysql' 
'haskell-mysql-simple'
+ 'haskell-persistent-mysql' 'haskell-persistent-postgresql' 
'haskell-persistent-sqlite'
+ 'haskell-postgresql-simple')
+checkdepends=('mariadb' 'pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('b8b1d0b06c2ef9ead922be7220d0d1fa6a6de67404bf48c2cfab297d92e187a92cb602e0189f91fbe0561c2f6f268b67d71f9f1512bff7c3218fa4fbab31a301')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/port=5432/port=9824/' test/PostgreSQL/Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-mysql -f-postgresql
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# Copied from haskell-persistent-mysql
+mkdir -p /tmp/mysql_test
+mysql_install_db --datadir=/tmp/mysql_test
+mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql --port 33306 
--skip-grant-tables &
+MYSQL_PID=$!
+sleep 5
+mysql -h 127.0.0.1 -P 33306 -u root -e "create database IF NOT EXISTS 
esqutest;"
+
+# Copied from haskell-persistent-postgresql
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s esqutest
+createdb -O esqutest esqutest
+
+# mysql tests fail the same way as haskell-persistent-mysql, due to 
incompatibility with mariadb
+TRAVIS=true runhaskell Setup test --show-details=direct || echo "Tests 
failed"
+
+kill $MYSQL_PID
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:49:01
  Author: felixonmars
Revision: 1182349

upgpkg: haskell-esqueleto 3.5.2.1-127: rebuild with unordered-containers 
0.2.18.0

Modified:
  haskell-esqueleto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:48:56 UTC (rev 1182348)
+++ PKGBUILD2022-04-06 22:49:01 UTC (rev 1182349)
@@ -4,7 +4,7 @@
 _hkgname=esqueleto
 pkgname=haskell-esqueleto
 pkgver=3.5.2.1
-pkgrel=126
+pkgrel=127
 pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
 url="https://github.com/bitemyapp/esqueleto";
 license=("BSD")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:48:56
  Author: felixonmars
Revision: 1182348

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:48:46
  Author: felixonmars
Revision: 1182347

upgpkg: haskell-hasql-transaction 1.0.1.1-37: rebuild with unordered-containers 
0.2.18.0

Modified:
  haskell-hasql-transaction/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:48:40 UTC (rev 1182346)
+++ PKGBUILD2022-04-06 22:48:46 UTC (rev 1182347)
@@ -3,7 +3,7 @@
 _hkgname=hasql-transaction
 pkgname=haskell-hasql-transaction
 pkgver=1.0.1.1
-pkgrel=36
+pkgrel=37
 pkgdesc="A composable abstraction over the retryable transactions for Hasql"
 url="https://github.com/nikita-volkov/hasql-transaction";
 license=('MIT')



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:48:40
  Author: felixonmars
Revision: 1182346

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
1182345, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:48:40 UTC (rev 1182346)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.12
+pkgrel=297
+pkgdesc="Integration testing for WAI/Yesod Applications"
+url="https://www.yesodweb.com";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-conduit'
+ 'haskell-cookie' 'haskell-hspec-core' 'haskell-html-conduit' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-network' 'haskell-pretty-show' 'haskell-wai'
+ 'haskell-wai-extra' 'haskell-xml-conduit' 'haskell-xml-types' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-yesod-form' 'haskell-hspec' 'haskell-unliftio' 
'haskell-unliftio-core')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('777d112d8c5ae77d667da2b8d1ed91a1cf751850d5b3678e787e7123aca8666d0a4b6d6161b7109491012d56c160603d62563b881a136ccc76a1edd006c423d6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:48:30
  Author: felixonmars
Revision: 1182345

upgpkg: haskell-yesod-test 1.6.12-297: rebuild with unordered-containers 
0.2.18.0

Modified:
  haskell-yesod-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:48:06 UTC (rev 1182344)
+++ PKGBUILD2022-04-06 22:48:30 UTC (rev 1182345)
@@ -3,7 +3,7 @@
 _hkgname=yesod-test
 pkgname=haskell-yesod-test
 pkgver=1.6.12
-pkgrel=296
+pkgrel=297
 pkgdesc="Integration testing for WAI/Yesod Applications"
 url="https://www.yesodweb.com";
 license=('MIT')



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:48:06
  Author: felixonmars
Revision: 1182344

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:47:57
  Author: felixonmars
Revision: 1182343

upgpkg: haskell-hasql-pool 0.5.2.2-19: rebuild with unordered-containers 
0.2.18.0

Modified:
  haskell-hasql-pool/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:47:46 UTC (rev 1182342)
+++ PKGBUILD2022-04-06 22:47:57 UTC (rev 1182343)
@@ -4,7 +4,7 @@
 _hkgname=hasql-pool
 pkgname=haskell-hasql-pool
 pkgver=0.5.2.2
-pkgrel=18
+pkgrel=19
 pkgdesc="A pool of connections for Hasql"
 url="https://github.com/nikita-volkov/hasql-pool";
 license=('MIT')



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:47:46
  Author: felixonmars
Revision: 1182342

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 1182341, arch-hs/trunk/PKGBUILD)

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

Copied: arch-hs/repos/community-staging-x86_64/PKGBUILD (from rev 1182341, 
arch-hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:47:46 UTC (rev 1182342)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+pkgname=arch-hs
+pkgver=0.10.1.0
+pkgrel=2
+pkgdesc="Distribute hackage packages to archlinux"
+arch=('x86_64')
+url="https://github.com/berberman/arch-hs";
+license=('MIT')
+depends=('ghc-libs' 'pacman' 'haskell-diff' 'haskell-aeson' 
'haskell-algebraic-graphs'
+ 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-hackage-db'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 
'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-neat-interpolation' 
'haskell-optparse-simple'
+ 'haskell-polysemy' 'haskell-prettyprinter' 
'haskell-prettyprinter-ansi-terminal'
+ 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('6eb1456a005616fcdec8802d4de40bb950f35c4583684a386767f21419ceb9be2804672655b48cf0163ab141be41ad73fe2370872ac0881224caec9d44e91d44')
+
+_gen_comp(){
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
+}
+
+_install_comp(){
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
+  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
+  install -D -m644 fish${1} 
"$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
+}
+
+build() {
+  cd $pkgname-$pkgver
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$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-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:47:36
  Author: felixonmars
Revision: 1182341

upgpkg: arch-hs 0.10.1.0-2: rebuild with unordered-containers 0.2.18.0

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:47:27 UTC (rev 1182340)
+++ PKGBUILD2022-04-06 22:47:36 UTC (rev 1182341)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.10.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs";



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:47:27
  Author: felixonmars
Revision: 1182340

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-auth/repos/community-staging-x86_64/PKGBUILD (from rev 
1182339, haskell-yesod-auth/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:47:27 UTC (rev 1182340)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-auth
+pkgname=haskell-yesod-auth
+pkgver=1.6.10.5
+pkgrel=4
+pkgdesc="Authentication for Yesod."
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-blaze-builder' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-email-validate' 'haskell-file-embed' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-network-uri' 'haskell-nonce' 'haskell-persistent' 
'haskell-random' 'haskell-safe'
+ 'haskell-shakespeare' 'haskell-unliftio' 'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-yesod-core' 
'haskell-yesod-form'
+ 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('a4df199de85c6efcbe3ff468e7054885414492ea2e9bbe9b39ed3b432a75a4b22ef986e68197efa62ec52c95aa2b7506f9f0e2617913ccd9955405dafc64ce63')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:47:17
  Author: felixonmars
Revision: 1182339

upgpkg: haskell-yesod-auth 1.6.10.5-4: rebuild with unordered-containers 
0.2.18.0

Modified:
  haskell-yesod-auth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:47:11 UTC (rev 1182338)
+++ PKGBUILD2022-04-06 22:47:17 UTC (rev 1182339)
@@ -4,7 +4,7 @@
 _hkgname=yesod-auth
 pkgname=haskell-yesod-auth
 pkgver=1.6.10.5
-pkgrel=3
+pkgrel=4
 pkgdesc="Authentication for Yesod."
 url="http://www.yesodweb.com/";
 license=("MIT")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:47:11
  Author: felixonmars
Revision: 1182338

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 
1182337, haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:47:11 UTC (rev 1182338)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.2
+pkgrel=24
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-conduit' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-file-embed' 'haskell-monad-logger' 
'haskell-shakespeare'
+ 'haskell-streaming-commons' 'haskell-unordered-containers' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-yaml'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7c7a3e191ce91ac4070179bdfdae89c60e91c702d9141bb90fcb7095d175727a3f0648221ea151b6e1f5c37a236f55c37aaf963c526e4ced572c19bd6fb0b3a8')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:47:01
  Author: felixonmars
Revision: 1182337

upgpkg: haskell-yesod 1.6.2-24: rebuild with unordered-containers 0.2.18.0

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:46:26 UTC (rev 1182336)
+++ PKGBUILD2022-04-06 22:47:01 UTC (rev 1182337)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.2
-pkgrel=23
+pkgrel=24
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/";
 license=("MIT")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:46:26
  Author: felixonmars
Revision: 1182336

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:46:16
  Author: felixonmars
Revision: 1182335

upgpkg: haskell-pantry 0.5.4-9: rebuild with unordered-containers 0.2.18.0

Modified:
  haskell-pantry/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:46:03 UTC (rev 1182334)
+++ PKGBUILD2022-04-06 22:46:16 UTC (rev 1182335)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.5.4
-pkgrel=8
+pkgrel=9
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry";
 license=('BSD')



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:46:03
  Author: felixonmars
Revision: 1182334

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-arch-web/repos/community-staging-x86_64/PKGBUILD (from rev 
1182333, haskell-arch-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:46:03 UTC (rev 1182334)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=arch-web
+pkgname=haskell-arch-web
+pkgver=0.1.0
+pkgrel=259
+pkgdesc="Arch Linux official and AUR web interface binding"
+url="https://github.com/berberman/arch-web";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-deriving-aeson' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lens' 
'haskell-servant'
+ 'haskell-servant-client' 'haskell-servant-client-core')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('ffb66a4bee5432799e75f4c637856ae49868b2633e3711b3468a8d78b9263ef2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u http-client -u lens $_hkgname.cabal
+  gen-setup
+
+  sed -i '/CommunityTesting/a \  | KDEUnstable' src/Web/ArchLinux/Types.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:45:53
  Author: felixonmars
Revision: 1182333

upgpkg: haskell-arch-web 0.1.0-259: rebuild with unordered-containers 0.2.18.0

Modified:
  haskell-arch-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:44:45 UTC (rev 1182332)
+++ PKGBUILD2022-04-06 22:45:53 UTC (rev 1182333)
@@ -3,7 +3,7 @@
 _hkgname=arch-web
 pkgname=haskell-arch-web
 pkgver=0.1.0
-pkgrel=258
+pkgrel=259
 pkgdesc="Arch Linux official and AUR web interface binding"
 url="https://github.com/berberman/arch-web";
 license=("MIT")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:44:45
  Author: felixonmars
Revision: 1182332

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:44:36
  Author: felixonmars
Revision: 1182331

upgpkg: haskell-hasql 1.5-10: rebuild with unordered-containers 0.2.18.0

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:42:46 UTC (rev 1182330)
+++ PKGBUILD2022-04-06 22:44:36 UTC (rev 1182331)
@@ -4,7 +4,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.5
-pkgrel=9
+pkgrel=10
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql";
 license=('MIT')



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:42:46
  Author: felixonmars
Revision: 1182330

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-postgresql/repos/community-staging-x86_64/PKGBUILD 
(from rev 1182329, haskell-persistent-postgresql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:42:46 UTC (rev 1182330)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-postgresql
+pkgname=haskell-persistent-postgresql
+pkgver=2.13.0.3
+pkgrel=136
+pkgdesc="Backend for the persistent library using postgresql."
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-postgresql-libpq'
+ 'haskell-postgresql-simple' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-string-conversions' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-fast-logger' 
'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-hspec-expectations-lifted'
+ 'haskell-http-api-data' 'haskell-path-pieces' 
'haskell-persistent-qq'
+ 'haskell-persistent-test' 'haskell-quickcheck-instances' 
'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('9378b05b24fcf491d1afc2c9fd83592c83a4a239cc746a88a08330eed29b1e99ea1c32335c7dd9fe4b23417edc5958ff9c51006475f2c0dd0b24cea3ef2f8ecf')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  # pifpaf's default port
+  sed -i 's/port=5432/port=9824/' test/PgInit.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  eval $(pifpaf run postgresql --host 127.0.0.1)
+  createuser -s postgres
+  createdb test
+  # https://github.com/yesodweb/persistent/issues/1278
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+  pifpaf_stop
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:42:37
  Author: felixonmars
Revision: 1182329

upgpkg: haskell-persistent-postgresql 2.13.0.3-136: rebuild with 
unordered-containers 0.2.18.0

Modified:
  haskell-persistent-postgresql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:42:12 UTC (rev 1182328)
+++ PKGBUILD2022-04-06 22:42:37 UTC (rev 1182329)
@@ -3,7 +3,7 @@
 _hkgname=persistent-postgresql
 pkgname=haskell-persistent-postgresql
 pkgver=2.13.0.3
-pkgrel=135
+pkgrel=136
 pkgdesc="Backend for the persistent library using postgresql."
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:42:12
  Author: felixonmars
Revision: 1182328

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 1182327, 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 1182327, haskell-hls-plugin-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:42:12 UTC (rev 1182328)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-plugin-api
+pkgname=haskell-hls-plugin-api
+pkgver=1.2.0.0
+pkgrel=106
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:42:02
  Author: felixonmars
Revision: 1182327

upgpkg: haskell-hls-plugin-api 1.2.0.0-106: rebuild with unordered-containers 
0.2.18.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:41:56 UTC (rev 1182326)
+++ PKGBUILD2022-04-06 22:42:02 UTC (rev 1182327)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=1.2.0.0
-pkgrel=105
+pkgrel=106
 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 haskell-persistent-mysql/repos (2 files)

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:41:56
  Author: felixonmars
Revision: 1182326

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-mysql/repos/community-staging-x86_64/PKGBUILD (from 
rev 1182325, haskell-persistent-mysql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:41:56 UTC (rev 1182326)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-mysql
+pkgname=haskell-persistent-mysql
+pkgver=2.13.0.1
+pkgrel=148
+pkgdesc="Backend for the persistent library using MySQL database server."
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-blaze-builder' 'haskell-conduit' 
'haskell-monad-logger'
+ 'haskell-mysql' 'haskell-mysql-simple' 'haskell-persistent' 
'haskell-resource-pool'
+ 'haskell-resourcet' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-fast-logger' 
'haskell-hspec'
+ 'haskell-http-api-data' 'haskell-path-pieces' 
'haskell-persistent-qq'
+ 'haskell-persistent-test' 'haskell-quickcheck-instances')
+#checkdepends=('percona-server' 'percona-server-clients')
+checkdepends=('mariadb')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('e726a54704b5eedd3f3c9ccb20516501a9f42c787d3e5e7998e900637f26f0abf7f5bd82900ad66d99091abe9112d0c697460dc536c7b07d24f2476a0e0552b4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  mkdir -p /tmp/mysql_test
+  # TODO: Try to make percona work?
+  #mysqld --no-defaults --initialize-insecure --datadir=/tmp/mysql_test 
+  #mysqld --no-defaults --datadir=/tmp/mysql_test 
--secure-file-priv=/tmp/mysql_test --socket=/tmp/socket.mysql 
--bind-address=127.0.0.1 --skip-grant-tables &
+  
+  mysql_install_db --datadir=/tmp/mysql_test
+  mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql 
--skip-grant-tables &
+  MYSQL_PID=$!
+  sleep 5
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS test;"
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS persistent;"
+
+  # Compatibility issue with mariadb: 
https://github.com/yesodweb/persistent/issues/1158
+  TRAVIS=true runhaskell Setup test --show-details=direct || echo "Tests 
failed"
+
+  kill $MYSQL_PID
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:41:46
  Author: felixonmars
Revision: 1182325

upgpkg: haskell-persistent-mysql 2.13.0.1-148: rebuild with 
unordered-containers 0.2.18.0

Modified:
  haskell-persistent-mysql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:41:31 UTC (rev 1182324)
+++ PKGBUILD2022-04-06 22:41:46 UTC (rev 1182325)
@@ -3,7 +3,7 @@
 _hkgname=persistent-mysql
 pkgname=haskell-persistent-mysql
 pkgver=2.13.0.1
-pkgrel=147
+pkgrel=148
 pkgdesc="Backend for the persistent library using MySQL database server."
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:41:31
  Author: felixonmars
Revision: 1182324

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD (from rev 
1182323, haskell-yesod-form/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:41:31 UTC (rev 1182324)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-form
+pkgname=haskell-yesod-form
+pkgver=1.7.0
+pkgrel=188
+pkgdesc="Form handling support for Yesod Web Framework"
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-byteable' 'haskell-data-default' 
'haskell-email-validate'
+ 'haskell-network-uri' 'haskell-persistent' 'haskell-resourcet' 
'haskell-shakespeare'
+ 'haskell-wai' 'haskell-xss-sanitize' 'haskell-yesod-core' 
'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('dc5373c62e78d79e570171c608fa2e9cfb2092a859b81a881ab69a406c357cc9eeff0ff04d0c08f8cc29cf66ef488ce6b96195d26b9c6dff879a1fea96eff013')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:41:20
  Author: felixonmars
Revision: 1182323

upgpkg: haskell-yesod-form 1.7.0-188: rebuild with unordered-containers 0.2.18.0

Modified:
  haskell-yesod-form/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:41:15 UTC (rev 1182322)
+++ PKGBUILD2022-04-06 22:41:20 UTC (rev 1182323)
@@ -4,7 +4,7 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.7.0
-pkgrel=187
+pkgrel=188
 pkgdesc="Form handling support for Yesod Web Framework"
 url="http://www.yesodweb.com/";
 license=("MIT")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:41:15
  Author: felixonmars
Revision: 1182322

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-graph/repos/community-staging-x86_64/PKGBUILD (from rev 
1182321, haskell-hls-graph/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:41:15 UTC (rev 1182322)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-graph
+pkgname=haskell-hls-graph
+pkgver=1.4.0.0
+pkgrel=131
+pkgdesc="Haskell Language Server internal graph API"
+url="https://github.com/haskell/haskell-language-server#readme";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-shake' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('8ee3bf2a7f11f15741c94a9d40560aa2fe35af3c8fce40166796233322a5a474')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:41:05
  Author: felixonmars
Revision: 1182321

upgpkg: haskell-hls-graph 1.4.0.0-131: rebuild with unordered-containers 
0.2.18.0

Modified:
  haskell-hls-graph/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:40:27 UTC (rev 1182320)
+++ PKGBUILD2022-04-06 22:41:05 UTC (rev 1182321)
@@ -3,7 +3,7 @@
 _hkgname=hls-graph
 pkgname=haskell-hls-graph
 pkgver=1.4.0.0
-pkgrel=130
+pkgrel=131
 pkgdesc="Haskell Language Server internal graph API"
 url="https://github.com/haskell/haskell-language-server#readme";
 license=("Apache")



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:40:27
  Author: felixonmars
Revision: 1182320

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 
1182319, haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 22:40:27 UTC (rev 1182320)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.5
+pkgrel=129
+pkgdesc="Build system library, like Make, but more accurate dependencies."
+url="https://shakebuild.com";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-filepattern' 'haskell-hashable'
+ 'haskell-heaps' 'haskell-js-dgtable' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-primitive' 'haskell-random' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('655c146102ca6479d5a1de11040e7c6b5f18c5386f9bb93d5305c837bc405e6bd3dd9f2e9daec74fb59de6a91272485f83bb708028cd55d9771afb39ff3b9f64')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/ghc --make/ghc -dynamic --make/' 
src/Test/{Command.hs,CloseFileHandles.hs}
+sed -e 's/ghc -package=Cabal/ghc -package=Cabal -dynamic/' \
+-e 's/ghc -fno-code/ghc -dynamic -fno-code/' \
+-e 
's/"configure",/"configure","--enable-executable-dynamic","--disable-library-vanilla",/'
 \
+-i src/Test/Docs.hs
+sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs 
src/Test/SelfMake.hs
+sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
+
+# Not sure about this one:
+sed -i 's/at cmd, called at/at want, called at/' src/Test/Errors.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-portable -f-cloud -f-embed-files
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 22:40:17
  Author: felixonmars
Revision: 1182319

upgpkg: haskell-shake 0.19.5-129: rebuild with unordered-containers 0.2.18.0

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:31:41 UTC (rev 1182318)
+++ PKGBUILD2022-04-06 22:40:17 UTC (rev 1182319)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.5
-pkgrel=128
+pkgrel=129
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com";
 license=("BSD")



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

2022-04-06 Thread Alexander Rødseth via arch-commits
Date: Wednesday, April 6, 2022 @ 22:31:41
  Author: arodseth
Revision: 1182318

archrelease: copy trunk to community-any

Added:
  kotlin/repos/community-any/PKGBUILD
(from rev 1182317, kotlin/trunk/PKGBUILD)
Deleted:
  kotlin/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-06 22:31:36 UTC (rev 1182317)
+++ PKGBUILD2022-04-06 22:31:41 UTC (rev 1182318)
@@ -1,55 +0,0 @@
-# Maintainer: Alexander F. Rødseth 
-# Contributor: Romain Gautier 
-
-pkgname=kotlin
-pkgver=1.6.10
-pkgrel=1
-pkgdesc='Statically typed programming language that can interoperate with Java'
-arch=(any)
-url='https://kotlinlang.org/'
-license=(APACHE custom)
-depends=('java-environment>=8')
-makedepends=(setconf)
-source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver/_/-}/kotlin-compiler-${pkgver/_/-}.zip";)
-b2sums=('8f6bbc18ae8fb03b2450a0c0b58fd29c3c08e8c67cac97c4e77eee2b99ae492f2d71f56192dfbed278501c5595b7dc38fbef1842c9ce962a1572b662734d5a8d')
-
-prepare() {
-  cd ${pkgname}c/bin
-
-  setconf kotlin  DIR /usr/bin
-  setconf kotlinc-js  DIR /usr/bin
-  setconf kotlinc-jvm DIR /usr/bin
-  setconf kotlinc KOTLIN_HOME /usr/share/$pkgname
-}
-
-package() {
-  cd ${pkgname}c
-
-  # executables
-  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlin
-  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc
-  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc-js
-  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc-jvm
-
-  # jar files
-  cd lib
-  install -d "$pkgdir/usr/share/$pkgname/lib"
-  for jar in *.jar; do
-install -Dm644 "$jar" "$pkgdir/usr/share/$pkgname/lib"
-  done
-
-  # licenses
-  cd "$srcdir/${pkgname}c/license"
-  install -d "$pkgdir/usr/share/licenses/$pkgname"
-  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname"
-  install -Dm644 NOTICE.txt "$pkgdir/usr/share/licenses/$pkgname"
-  for txt in third_party/*.txt; do
-install -Dm644 "$txt" "$pkgdir/usr/share/licenses/$pkgname"
-  done
-
-  # build.txt must be installed for for "-version" to work
-  cd $srcdir/${pkgname}c
-  install -Dm644 build.txt "$pkgdir/usr/share/$pkgname"
-}
-
-# getver: github.com/JetBrains/kotlin/releases/latest

Copied: kotlin/repos/community-any/PKGBUILD (from rev 1182317, 
kotlin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-06 22:31:41 UTC (rev 1182318)
@@ -0,0 +1,55 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Romain Gautier 
+
+pkgname=kotlin
+pkgver=1.6.20
+pkgrel=1
+pkgdesc='Statically typed programming language that can interoperate with Java'
+arch=(any)
+url='https://kotlinlang.org/'
+license=(APACHE custom)
+depends=('java-environment>=8')
+makedepends=(setconf)
+source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver/_/-}/kotlin-compiler-${pkgver/_/-}.zip";)
+b2sums=('cbdf1c7720817111927e23a0ac1870059c15bc7bcf50c7510a424d8f5fdaed5b067b9a82f8428ba6539941e968bb522539acd3535bc31325dc0dd863f6e5b915')
+
+prepare() {
+  cd ${pkgname}c/bin
+
+  setconf kotlin  DIR /usr/bin
+  setconf kotlinc-js  DIR /usr/bin
+  setconf kotlinc-jvm DIR /usr/bin
+  setconf kotlinc KOTLIN_HOME /usr/share/$pkgname
+}
+
+package() {
+  cd ${pkgname}c
+
+  # executables
+  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlin
+  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc
+  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc-js
+  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc-jvm
+
+  # jar files
+  cd lib
+  install -d "$pkgdir/usr/share/$pkgname/lib"
+  for jar in *.jar; do
+install -Dm644 "$jar" "$pkgdir/usr/share/$pkgname/lib"
+  done
+
+  # licenses
+  cd "$srcdir/${pkgname}c/license"
+  install -d "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm644 NOTICE.txt "$pkgdir/usr/share/licenses/$pkgname"
+  for txt in third_party/*.txt; do
+install -Dm644 "$txt" "$pkgdir/usr/share/licenses/$pkgname"
+  done
+
+  # build.txt must be installed for for "-version" to work
+  cd $srcdir/${pkgname}c
+  install -Dm644 build.txt "$pkgdir/usr/share/$pkgname"
+}
+
+# getver: github.com/JetBrains/kotlin/releases/latest



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

2022-04-06 Thread Alexander Rødseth via arch-commits
Date: Wednesday, April 6, 2022 @ 22:31:36
  Author: arodseth
Revision: 1182317

upgpkg: kotlin 1.6.20-1

Modified:
  kotlin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-04-06 22:29:26 UTC (rev 1182316)
+++ PKGBUILD2022-04-06 22:31:36 UTC (rev 1182317)
@@ -2,7 +2,7 @@
 # Contributor: Romain Gautier 
 
 pkgname=kotlin
-pkgver=1.6.10
+pkgver=1.6.20
 pkgrel=1
 pkgdesc='Statically typed programming language that can interoperate with Java'
 arch=(any)
@@ -11,7 +11,7 @@
 depends=('java-environment>=8')
 makedepends=(setconf)
 
source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver/_/-}/kotlin-compiler-${pkgver/_/-}.zip";)
-b2sums=('8f6bbc18ae8fb03b2450a0c0b58fd29c3c08e8c67cac97c4e77eee2b99ae492f2d71f56192dfbed278501c5595b7dc38fbef1842c9ce962a1572b662734d5a8d')
+b2sums=('cbdf1c7720817111927e23a0ac1870059c15bc7bcf50c7510a424d8f5fdaed5b067b9a82f8428ba6539941e968bb522539acd3535bc31325dc0dd863f6e5b915')
 
 prepare() {
   cd ${pkgname}c/bin



  1   2   3   4   5   6   7   8   9   >