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

2021-09-16 Thread Antonio Rojas via arch-commits
Date: Friday, September 17, 2021 @ 06:20:52
  Author: arojas
Revision: 424279

archrelease: copy trunk to extra-x86_64

Added:
  qt5-virtualkeyboard/repos/extra-x86_64/PKGBUILD
(from rev 424278, qt5-virtualkeyboard/trunk/PKGBUILD)
Deleted:
  qt5-virtualkeyboard/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-17 06:20:43 UTC (rev 424278)
+++ PKGBUILD2021-09-17 06:20:52 UTC (rev 424279)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan 
-# Maintainer: Antonio Rojas 
-
-pkgname=qt5-virtualkeyboard
-_qtver=5.15.2
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=('x86_64')
-url='https://www.qt.io'
-license=('GPL3')
-pkgdesc='Virtual keyboard framework'
-depends=('qt5-declarative' 'qt5-svg' 'hunspell')
-makedepends=()
-groups=('qt' 'qt5')
-_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz";)
-sha256sums=('9a3193913be30f09a896e3b8c2f9696d2e9b3f88a63ae9ca8c97a2786b68cf55')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-
-  qmake ../${_pkgfqn} CONFIG+="lang-all handwriting"
-  make
-}
-
-package() {
-  cd build
-  make INSTALL_ROOT="$pkgdir" install
-
-  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
-  find "$pkgdir/usr/lib" -type f -name '*.prl' \
--exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
-}

Copied: qt5-virtualkeyboard/repos/extra-x86_64/PKGBUILD (from rev 424278, 
qt5-virtualkeyboard/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-17 06:20:52 UTC (rev 424279)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+
+pkgname=qt5-virtualkeyboard
+_qtver=5.15.2
+pkgver=5.15.2+kde+r4
+pkgrel=1
+_commit=353b75b2e34bdae901625bbddf5c5e3f3e6c0de5
+arch=('x86_64')
+url='https://www.qt.io'
+license=('GPL3')
+pkgdesc='Virtual keyboard framework'
+depends=('qt5-declarative' 'qt5-svg' 'hunspell')
+makedepends=('git')
+groups=('qt' 'qt5')
+_pkgfqn=qtvirtualkeyboard
+source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $_pkgfqn
+  echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit`
+}
+
+prepare() {
+  mkdir -p build
+
+  cd $_pkgfqn
+  git revert -n 94fa973de0ec77d27e144f73bc4b788241644090 # Revert version bump
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn} CONFIG+="lang-all handwriting"
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "$pkgdir/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+}



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

2021-09-16 Thread Antonio Rojas via arch-commits
Date: Friday, September 17, 2021 @ 06:20:43
  Author: arojas
Revision: 424278

Switch to KDE maintenance branch

Modified:
  qt5-virtualkeyboard/trunk/PKGBUILD

--+
 PKGBUILD |   19 ++-
 1 file changed, 14 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-09-17 05:53:34 UTC (rev 424277)
+++ PKGBUILD2021-09-17 06:20:43 UTC (rev 424278)
@@ -3,21 +3,30 @@
 
 pkgname=qt5-virtualkeyboard
 _qtver=5.15.2
-pkgver=${_qtver/-/}
+pkgver=5.15.2+kde+r4
 pkgrel=1
+_commit=353b75b2e34bdae901625bbddf5c5e3f3e6c0de5
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3')
 pkgdesc='Virtual keyboard framework'
 depends=('qt5-declarative' 'qt5-svg' 'hunspell')
-makedepends=()
+makedepends=('git')
 groups=('qt' 'qt5')
-_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz";)
-sha256sums=('9a3193913be30f09a896e3b8c2f9696d2e9b3f88a63ae9ca8c97a2786b68cf55')
+_pkgfqn=qtvirtualkeyboard
+source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $_pkgfqn
+  echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit`
+}
+
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  git revert -n 94fa973de0ec77d27e144f73bc4b788241644090 # Revert version bump
 }
 
 build() {



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

2021-09-16 Thread Evangelos Foutras via arch-commits
Date: Friday, September 17, 2021 @ 04:38:39
  Author: foutrelis
Revision: 424276

archrelease: copy trunk to extra-x86_64

Added:
  pidgin/repos/extra-x86_64/PKGBUILD
(from rev 424275, pidgin/trunk/PKGBUILD)
Deleted:
  pidgin/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  212 ++---
 1 file changed, 106 insertions(+), 106 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-17 04:38:34 UTC (rev 424275)
+++ PKGBUILD2021-09-17 04:38:39 UTC (rev 424276)
@@ -1,106 +0,0 @@
-# Maintainer: Evangelos Foutras 
-# Contributor: Ionut Biru 
-# Contributor: Andrea Scarpino 
-# Contributor: Alexander Fehr 
-# Contributor: Lucien Immink 
-
-pkgname=('pidgin' 'libpurple' 'finch')
-pkgver=2.14.6
-pkgrel=2
-arch=('x86_64')
-url="https://pidgin.im/";
-license=('GPL')
-makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
- 'libidn' 'libgadu' 'python' 'hicolor-icon-theme' 'farstream' 'tk'
- 'libnsl' 'avahi' 'ca-certificates' 'intltool' 'libnm' 'dbus-glib'
- 'libgnt' 'libxcrypt')
-options=('!emptydirs')
-source=(https://downloads.sourceforge.net/project/pidgin/Pidgin/$pkgver/$pkgname-$pkgver.tar.bz2{,.asc})
-sha256sums=('bb45f7c032f9efd6922a5dbf2840995775e5584771b23992d04f6eff7dff5336'
-'SKIP')
-validpgpkeys=('40DE1DC7288FE3F50AB938C548F66AFFD9BDB729') # Gary Kramlich 

-
-prepare() {
-  cd $pkgbase-$pkgver
-}
-
-build() {
-  cd $pkgbase-$pkgver
-
-  ./configure \
---prefix=/usr \
---sysconfdir=/etc \
---disable-schemas-install \
---disable-gevolution \
---disable-meanwhile \
---disable-gnutls \
---enable-cyrus-sasl \
---disable-doxygen \
---enable-nm \
---with-system-ssl-certs=/etc/ssl/certs
-make
-}
-
-package_pidgin(){
-  pkgdesc="Multi-protocol instant messaging client"
-  depends=('libpurple' 'startup-notification' 'gtkspell' 'libxss' 'libsm'
-   'gst-plugins-base' 'gst-plugins-good' 'hicolor-icon-theme')
-  optdepends=('aspell: for spelling correction')
-
-  cd $pkgbase-$pkgver
-
-  # For linking
-  make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES
-
-  make -C pidgin DESTDIR="$pkgdir" install
-  make -C doc DESTDIR="$pkgdir" install
-
-  # Remove files that are packaged in libpurle
-  make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES
-
-  rm "$pkgdir/usr/share/man/man1/finch.1"
-
-  # https://bugs.archlinux.org/task/53770
-  # https://bugs.archlinux.org/task/69026
-  find "$pkgdir/usr/lib/perl5" -name perllocal.pod -delete
-}
-
-package_libpurple(){
-  pkgdesc="IM library extracted from Pidgin"
-  depends=('farstream' 'libsasl' 'libidn' 'libnsl' 'libgadu' 'dbus-glib' 'nss'
-   'libnm' 'libxcrypt')
-  optdepends=('avahi: Bonjour protocol support'
-  'ca-certificates: SSL CA certificates'
-  'python-dbus: for purple-remote and purple-url-handler'
-  'tk: Tcl/Tk scripting support')
-
-  cd $pkgbase-$pkgver
-
-  for _dir in libpurple share/sounds share/ca-certs m4macros po; do
-make -C "$_dir" DESTDIR="$pkgdir" install
-  done
-
-  # https://bugs.archlinux.org/task/53770
-  # https://bugs.archlinux.org/task/69026
-  find "$pkgdir/usr/lib/perl5" -name perllocal.pod -delete
-}
-
-package_finch(){
-  pkgdesc="A ncurses-based messaging client"
-  depends=('libpurple' 'libgnt' 'libx11')
-
-  cd $pkgbase-$pkgver
-
-  # For linking
-  make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES
-
-  make -C finch DESTDIR="$pkgdir" install
-  make -C doc DESTDIR="$pkgdir" install
-
-  # Remove files that are packaged in libpurle
-  make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES
-
-  rm "$pkgdir"/usr/share/man/man1/pidgin.1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pidgin/repos/extra-x86_64/PKGBUILD (from rev 424275, 
pidgin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-17 04:38:39 UTC (rev 424276)
@@ -0,0 +1,106 @@
+# Maintainer: Evangelos Foutras 
+# Contributor: Ionut Biru 
+# Contributor: Andrea Scarpino 
+# Contributor: Alexander Fehr 
+# Contributor: Lucien Immink 
+
+pkgname=('pidgin' 'libpurple' 'finch')
+pkgver=2.14.7
+pkgrel=1
+arch=('x86_64')
+url="https://pidgin.im/";
+license=('GPL')
+makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
+ 'libidn' 'libgadu' 'python' 'hicolor-icon-theme' 'farstream' 'tk'
+ 'libnsl' 'avahi' 'ca-certificates' 'intltool' 'libnm' 'dbus-glib'
+ 'libgnt' 'libxcrypt')
+options=('!emptydirs')
+source=(https://downloads.sourceforge.net/project/pidgin/Pidgin/$pkgver/$pkgname-$pkgver.tar.bz2{,.asc})
+sha256sums=('fea6ab4f0572fe24646049c2b3fecbdca27abca6d06e95bd655e44db99bd69fe'
+'SKIP')
+validpgpkeys=('40DE1DC7288FE3F50AB938C548F66AFFD9BDB729') # Gary Kramlich 

+
+prepare() 

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

2021-09-16 Thread Evangelos Foutras via arch-commits
Date: Friday, September 17, 2021 @ 04:38:34
  Author: foutrelis
Revision: 424275

upgpkg: pidgin 2.14.7-1: new upstream release

Modified:
  pidgin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-17 03:40:24 UTC (rev 424274)
+++ PKGBUILD2021-09-17 04:38:34 UTC (rev 424275)
@@ -5,8 +5,8 @@
 # Contributor: Lucien Immink 
 
 pkgname=('pidgin' 'libpurple' 'finch')
-pkgver=2.14.6
-pkgrel=2
+pkgver=2.14.7
+pkgrel=1
 arch=('x86_64')
 url="https://pidgin.im/";
 license=('GPL')
@@ -16,7 +16,7 @@
  'libgnt' 'libxcrypt')
 options=('!emptydirs')
 
source=(https://downloads.sourceforge.net/project/pidgin/Pidgin/$pkgver/$pkgname-$pkgver.tar.bz2{,.asc})
-sha256sums=('bb45f7c032f9efd6922a5dbf2840995775e5584771b23992d04f6eff7dff5336'
+sha256sums=('fea6ab4f0572fe24646049c2b3fecbdca27abca6d06e95bd655e44db99bd69fe'
 'SKIP')
 validpgpkeys=('40DE1DC7288FE3F50AB938C548F66AFFD9BDB729') # Gary Kramlich 

 



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

2021-09-16 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, September 17, 2021 @ 04:03:55
  Author: yan12125
Revision: 1016736

python-anyio: drop out-dated hack

community/python-pytest-mock is updated! [1]

[1] 
https://github.com/archlinux/svntogit-community/commit/bd4893695e7ed561a45505b8b892d230147e5b90

Modified:
  python-anyio/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-17 00:20:27 UTC (rev 1016735)
+++ PKGBUILD2021-09-17 04:03:55 UTC (rev 1016736)
@@ -25,12 +25,6 @@
 
 prepare() {
   cd anyio-$pkgver
-  # pytest-mock 3.3 comes with an API change [1], and anyio uses the new API,
-  # while python-pytest-mock in Arch is out-dated. Patch the sources to use
-  # the old API.
-  # [1] https://github.com/pytest-dev/pytest-mock/issues/202
-  sed -i 's#MockerFixture#MockFixture#' tests/test_eventloop.py
-
   # Work around https://bugs.python.org/issue45097
   patch -Np1 -i ../bpo-45097.diff
 }



[arch-commits] Commit in sudo/repos (5 files)

2021-09-16 Thread Evangelos Foutras via arch-commits
Date: Friday, September 17, 2021 @ 03:34:52
  Author: foutrelis
Revision: 424273

archrelease: copy trunk to testing-x86_64

Added:
  sudo/repos/testing-x86_64/
  sudo/repos/testing-x86_64/PKGBUILD
(from rev 424272, sudo/trunk/PKGBUILD)
  sudo/repos/testing-x86_64/sudo.install
(from rev 424272, sudo/trunk/sudo.install)
  sudo/repos/testing-x86_64/sudo.pam
(from rev 424272, sudo/trunk/sudo.pam)
  sudo/repos/testing-x86_64/sudo_logsrvd.service
(from rev 424272, sudo/trunk/sudo_logsrvd.service)

--+
 PKGBUILD |   78 +
 sudo.install |9 +
 sudo.pam |4 ++
 sudo_logsrvd.service |   13 
 4 files changed, 104 insertions(+)

Copied: sudo/repos/testing-x86_64/PKGBUILD (from rev 424272, 
sudo/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-09-17 03:34:52 UTC (rev 424273)
@@ -0,0 +1,78 @@
+# Maintainer: Evangelos Foutras 
+# Contributor: Allan McRae 
+# Contributor: Tom Newsom 
+
+pkgname=sudo
+_sudover=1.9.8p1
+pkgrel=1
+pkgver=${_sudover/p/.p}
+pkgdesc="Give certain users the ability to run some commands as root"
+arch=('x86_64')
+url="https://www.sudo.ws/sudo/";
+license=('custom')
+groups=('base-devel')
+depends=('glibc' 'openssl' 'pam' 'libldap' 'zlib')
+backup=('etc/pam.d/sudo'
+'etc/sudo.conf'
+'etc/sudo_logsrvd.conf'
+'etc/sudoers')
+install=$pkgname.install
+source=(https://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
+sudo_logsrvd.service
+sudo.pam)
+sha256sums=('0939ee24df7095a92e0ca4aa3bd53b2a10965a7b921d51a26ab70cdd24388d69'
+'SKIP'
+'8b91733b73171827c360a3e01f4692772b78e62ceca0cf0fd4b770aba35081a1'
+'d1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2')
+validpgpkeys=('59D1E9CCBA2B376704FDD35BA9F4C021CEA470FB')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_sudover"
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_sudover"
+
+  ./configure \
+--prefix=/usr \
+--sbindir=/usr/bin \
+--libexecdir=/usr/lib \
+--with-rundir=/run/sudo \
+--with-vardir=/var/db/sudo \
+--with-logfac=auth \
+--enable-tmpfiles.d \
+--with-pam \
+--with-sssd \
+--with-ldap \
+--with-ldap-conf-file=/etc/openldap/ldap.conf \
+--with-env-editor \
+--with-passprompt="[sudo] password for %p: " \
+--with-all-insults
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$_sudover"
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$_sudover"
+  make DESTDIR="$pkgdir" install
+
+  # sudo_logsrvd service file (taken from sudo-logsrvd-1.9.0-1.el8.x86_64.rpm)
+  install -Dm644 -t "$pkgdir/usr/lib/systemd/system" ../sudo_logsrvd.service
+
+  # Remove sudoers.dist; not needed since pacman manages updates to sudoers
+  rm "$pkgdir/etc/sudoers.dist"
+
+  # Remove /run/sudo directory; we create it using systemd-tmpfiles
+  rmdir "$pkgdir/run/sudo"
+  rmdir "$pkgdir/run"
+
+  install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"
+
+  install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: sudo/repos/testing-x86_64/sudo.install (from rev 424272, 
sudo/trunk/sudo.install)
===
--- testing-x86_64/sudo.install (rev 0)
+++ testing-x86_64/sudo.install 2021-09-17 03:34:52 UTC (rev 424273)
@@ -0,0 +1,9 @@
+pre_upgrade() {
+  # Permissions of /var/db/sudo were changed from 0700 to 0711 in sudo 1.8.10
+  # http://www.sudo.ws/repos/sudo/rev/5c38d77a2d0c
+  if (($(vercmp $2 1.8.10-1) < 0)); then
+chmod 0711 var/db/sudo
+  fi
+}
+
+# vim:set ts=2 sw=2 et:

Copied: sudo/repos/testing-x86_64/sudo.pam (from rev 424272, 
sudo/trunk/sudo.pam)
===
--- testing-x86_64/sudo.pam (rev 0)
+++ testing-x86_64/sudo.pam 2021-09-17 03:34:52 UTC (rev 424273)
@@ -0,0 +1,4 @@
+#%PAM-1.0
+auth   include system-auth
+accountinclude system-auth
+sessioninclude system-auth

Copied: sudo/repos/testing-x86_64/sudo_logsrvd.service (from rev 424272, 
sudo/trunk/sudo_logsrvd.service)
===
--- testing-x86_64/sudo_logsrvd.service (rev 0)
+++ testing-x86_64/sudo_logsrvd.service 2021-09-17 03:34:52 UTC (rev 424273)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Sudo central log server
+Documentation=man:sudo_logsrvd(8) man:sudo_logsrvd.conf(5)
+Documentation=https://www.sudo.ws/man.html
+After=syslog.target network.target auditd.service
+
+[Service]
+ExecStart=/usr/bin/sudo_logsrvd -n
+KillMode=process
+Type=exec
+
+[Install]
+WantedBy=multi-user.target



[arch-commits] Commit in sudo/trunk (PKGBUILD append_defaults-boolean-flags.patch)

2021-09-16 Thread Evangelos Foutras via arch-commits
Date: Friday, September 17, 2021 @ 03:34:45
  Author: foutrelis
Revision: 424272

upgpkg: sudo 1.9.8.p1-1: new upstream release

Modified:
  sudo/trunk/PKGBUILD
Deleted:
  sudo/trunk/append_defaults-boolean-flags.patch

-+
 PKGBUILD|   10 ++-
 append_defaults-boolean-flags.patch |   48 --
 2 files changed, 3 insertions(+), 55 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-09-17 01:24:06 UTC (rev 424271)
+++ PKGBUILD2021-09-17 03:34:45 UTC (rev 424272)
@@ -3,8 +3,8 @@
 # Contributor: Tom Newsom 
 
 pkgname=sudo
-_sudover=1.9.8
-pkgrel=2
+_sudover=1.9.8p1
+pkgrel=1
 pkgver=${_sudover/p/.p}
 pkgdesc="Give certain users the ability to run some commands as root"
 arch=('x86_64')
@@ -18,12 +18,10 @@
 'etc/sudoers')
 install=$pkgname.install
 source=(https://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
-append_defaults-boolean-flags.patch
 sudo_logsrvd.service
 sudo.pam)
-sha256sums=('f1735de999804ea1af068fba6a82cb6674ea64c789813b29266fd3b16cb294e6'
+sha256sums=('0939ee24df7095a92e0ca4aa3bd53b2a10965a7b921d51a26ab70cdd24388d69'
 'SKIP'
-'36648e052a834275636bef75a00197e43cd1baaa07006cd3b426e99cc109b4b9'
 '8b91733b73171827c360a3e01f4692772b78e62ceca0cf0fd4b770aba35081a1'
 'd1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2')
 validpgpkeys=('59D1E9CCBA2B376704FDD35BA9F4C021CEA470FB')
@@ -30,8 +28,6 @@
 
 prepare() {
   cd "$srcdir/$pkgname-$_sudover"
-  # https://bugs.archlinux.org/task/72146
-  patch -Np1 -i ../append_defaults-boolean-flags.patch
 }
 
 build() {

Deleted: append_defaults-boolean-flags.patch
===
--- append_defaults-boolean-flags.patch 2021-09-17 01:24:06 UTC (rev 424271)
+++ append_defaults-boolean-flags.patch 2021-09-17 03:34:45 UTC (rev 424272)
@@ -1,48 +0,0 @@
-From d7cdf1e47c596c3fa6cffedd4904c67919389668 Mon Sep 17 00:00:00 2001
-From: "Todd C. Miller" 
-Date: Tue, 14 Sep 2021 08:02:37 -0600
-Subject: [PATCH] append_defaults() should not be passed a value for boolean
- flags. The operation should simply be set to true/false. Also treat a NULL
- file as coming from the front-end. Bug #993.
-

- plugins/sudoers/defaults.c | 3 +++
- plugins/sudoers/policy.c   | 4 ++--
- 2 files changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/plugins/sudoers/defaults.c b/plugins/sudoers/defaults.c
-index 5739b40e2..95e6fbd30 100644
 a/plugins/sudoers/defaults.c
-+++ b/plugins/sudoers/defaults.c
-@@ -206,6 +206,9 @@ parse_default_entry(struct sudo_defs_types *def, const 
char *val, int op,
- int rc;
- debug_decl(parse_default_entry, SUDOERS_DEBUG_DEFAULTS);
- 
-+if (file == NULL)
-+  file = "front-end";
-+
- sudo_debug_printf(SUDO_DEBUG_INFO, "%s: %s:%d:%d: %s=%s op=%d",
-   __func__, file, line, column, def->name, val ? val : "", op);
- 
-diff --git a/plugins/sudoers/policy.c b/plugins/sudoers/policy.c
-index eb1ce43b7..c8c20735d 100644
 a/plugins/sudoers/policy.c
-+++ b/plugins/sudoers/policy.c
-@@ -224,7 +224,7 @@ sudoers_policy_deserialize_info(void *v, struct 
defaults_list *defaults)
-   if (MATCHES(*cur, "prompt=")) {
-   /* Allow epmpty prompt. */
-   user_prompt = *cur + sizeof("prompt=") - 1;
--  if (!append_default("passprompt_override", "true", true, NULL, 
defaults))
-+  if (!append_default("passprompt_override", NULL, true, NULL, 
defaults))
-   goto oom;
-   continue;
-   }
-@@ -285,7 +285,7 @@ sudoers_policy_deserialize_info(void *v, struct 
defaults_list *defaults)
-   if (MATCHES(*cur, "login_class=")) {
-   CHECK(*cur, "login_class=");
-   login_class = *cur + sizeof("login_class=") - 1;
--  if (!append_default("use_loginclass", "true", true, NULL, defaults))
-+  if (!append_default("use_loginclass", NULL, true, NULL, defaults))
-   goto oom;
-   continue;
-   }



[arch-commits] Commit in openssh/repos (8 files)

2021-09-16 Thread Giancarlo Razzolini via arch-commits
Date: Friday, September 17, 2021 @ 01:24:06
  Author: grazzolini
Revision: 424271

archrelease: copy trunk to testing-x86_64

Added:
  openssh/repos/testing-x86_64/
  openssh/repos/testing-x86_64/PKGBUILD
(from rev 424270, openssh/trunk/PKGBUILD)
  openssh/repos/testing-x86_64/glibc-2.31.patch
(from rev 424270, openssh/trunk/glibc-2.31.patch)
  openssh/repos/testing-x86_64/install
(from rev 424270, openssh/trunk/install)
  openssh/repos/testing-x86_64/sshd.conf
(from rev 424270, openssh/trunk/sshd.conf)
  openssh/repos/testing-x86_64/sshd.pam
(from rev 424270, openssh/trunk/sshd.pam)
  openssh/repos/testing-x86_64/sshd.service
(from rev 424270, openssh/trunk/sshd.service)
  openssh/repos/testing-x86_64/sshdgenkeys.service
(from rev 424270, openssh/trunk/sshdgenkeys.service)

-+
 PKGBUILD|  105 ++
 glibc-2.31.patch|  100 +++
 install |   32 +++
 sshd.conf   |1 
 sshd.pam|6 ++
 sshd.service|   14 ++
 sshdgenkeys.service |   15 +++
 7 files changed, 273 insertions(+)

Copied: openssh/repos/testing-x86_64/PKGBUILD (from rev 424270, 
openssh/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-09-17 01:24:06 UTC (rev 424271)
@@ -0,0 +1,105 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Giancarlo Razzolini 
+# Contributor: Gaetan Bisson 
+# Contributor: Aaron Griffin 
+# Contributor: judd 
+
+pkgname=openssh
+pkgver=8.7p1
+pkgrel=2
+pkgdesc='Premier connectivity tool for remote login with the SSH protocol'
+url='https://www.openssh.com/portable.html'
+license=('custom:BSD')
+arch=('x86_64')
+depends=('glibc' 'krb5' 'openssl' 'libedit' 'ldns' 'libxcrypt' 'libcrypt.so' 
'zlib' 'pam')
+makedepends=('linux-headers' 'libfido2')
+optdepends=('xorg-xauth: X11 forwarding'
+'x11-ssh-askpass: input passphrase in X'
+'libfido2: FIDO/U2F support')
+validpgpkeys=('7168B983815A5EEF59A4ADFD2A3F414E736060BA')
+#source=("git://anongit.mindrot.org/openssh.git?signed#tag=V_8_2_P1"
+source=("https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/${pkgname}-${pkgver}.tar.gz"{,.asc}
+'sshdgenkeys.service'
+'sshd.service'
+'sshd.conf'
+'sshd.pam'
+'glibc-2.31.patch')
+sha256sums=('7ca34b8bb24ae9e50f33792b7091b3841d7e1b440ff57bc9fabddf01e2ed1e24'
+'SKIP'
+'4031577db6416fcbaacf8a26a024ecd3939e5c10fe6a86ee3f0eea5093d533b7'
+'e40f8b7c8e5e2ecf3084b3511a6c36d5b5c9f9e61f2bb13e3726c71dc7d4fbc7'
+'4effac1186cc62617f44385415103021f72f674f8b8e26447fc1139c670090f6'
+'64576021515c0a98b0aaf0a0ae02e0f5ebe8ee525b1e647ab68f369f81ecd846'
+'25b4a4d9e2d9d3289ef30636a30e85fa1c71dd930d5efd712cca1a01a5019f93')
+
+backup=('etc/ssh/ssh_config' 'etc/ssh/sshd_config' 'etc/pam.d/sshd')
+
+install=install
+
+prepare() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+
+   patch -p1 -i ../glibc-2.31.patch
+
+   autoreconf
+}
+
+build() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+
+   ./configure \
+   --prefix=/usr \
+   --sbindir=/usr/bin \
+   --libexecdir=/usr/lib/ssh \
+   --sysconfdir=/etc/ssh \
+   --disable-strip \
+   --with-ldns \
+   --with-libedit \
+   --with-security-key-builtin \
+   --with-ssl-engine \
+   --with-pam \
+   --with-privsep-user=nobody \
+   --with-kerberos5=/usr \
+   --with-xauth=/usr/bin/xauth \
+   --with-md5-passwords \
+   --with-pid-dir=/run \
+   --with-default-path='/usr/local/sbin:/usr/local/bin:/usr/bin' \
+
+   make
+}
+
+check() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+
+   # Tests require openssh to be already installed system-wide,
+   # also connectivity tests will fail under makechrootpkg since
+# it runs as nobody which has /bin/false as login shell.
+
+   if [[ -e /usr/bin/scp && ! -e /.arch-chroot ]]; then
+   make tests
+   fi
+}
+
+package() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+
+   make DESTDIR="${pkgdir}" install
+
+   ln -sf ssh.1.gz "${pkgdir}"/usr/share/man/man1/slogin.1.gz
+   install -Dm644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+
+   install -Dm644 ../sshdgenkeys.service 
"${pkgdir}"/usr/lib/systemd/system/sshdgenkeys.service
+   install -Dm644 ../sshd.service 
"${pkgdir}"/usr/lib/systemd/system/sshd.service
+   install -Dm644 ../sshd.conf "${pkgdir}"/usr/lib/tmpfiles.d/sshd.conf
+   install -Dm644 ../sshd.pam "${pkgdir}"/etc/pam.d/sshd
+
+   install -Dm755 contrib/findssl.sh "${pkgdir}"/usr/bin/findssl.sh
+   

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

2021-09-16 Thread Giancarlo Razzolini via arch-commits
Date: Friday, September 17, 2021 @ 01:23:00
  Author: grazzolini
Revision: 424270

upgpkg: openssh 8.7p1-2

Fix #70390 and #71941

Modified:
  openssh/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 21:27:49 UTC (rev 424269)
+++ PKGBUILD2021-09-17 01:23:00 UTC (rev 424270)
@@ -6,7 +6,7 @@
 
 pkgname=openssh
 pkgver=8.7p1
-pkgrel=1
+pkgrel=2
 pkgdesc='Premier connectivity tool for remote login with the SSH protocol'
 url='https://www.openssh.com/portable.html'
 license=('custom:BSD')
@@ -13,7 +13,6 @@
 arch=('x86_64')
 depends=('glibc' 'krb5' 'openssl' 'libedit' 'ldns' 'libxcrypt' 'libcrypt.so' 
'zlib' 'pam')
 makedepends=('linux-headers' 'libfido2')
-checkdepends=('inetutils')
 optdepends=('xorg-xauth: X11 forwarding'
 'x11-ssh-askpass: input passphrase in X'
 'libfido2: FIDO/U2F support')
@@ -99,7 +98,7 @@
install -Dm644 contrib/ssh-copy-id.1 
"${pkgdir}"/usr/share/man/man1/ssh-copy-id.1
 
sed \
-   -e '/^#ChallengeResponseAuthentication yes$/c 
ChallengeResponseAuthentication no' \
+   -e '/^#KbdInteractiveAuthentication yes$/c 
KbdInteractiveAuthentication no' \
-e '/^#PrintMotd yes$/c PrintMotd no # pam does that' \
-e '/^#UsePAM no$/c UsePAM yes' \
-i "${pkgdir}"/etc/ssh/sshd_config



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Friday, September 17, 2021 @ 00:20:27
  Author: felixonmars
Revision: 1016735

archrelease: copy trunk to community-staging-x86_64

Added:
  hoogle/repos/community-staging-x86_64/
  hoogle/repos/community-staging-x86_64/PKGBUILD
(from rev 1016734, hoogle/trunk/PKGBUILD)
  hoogle/repos/community-staging-x86_64/extra-1.7.10.patch
(from rev 1016734, hoogle/trunk/extra-1.7.10.patch)

+
 PKGBUILD   |   51 +++
 extra-1.7.10.patch |   23 +++
 2 files changed, 74 insertions(+)

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 1016734, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-17 00:20:27 UTC (rev 1016735)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.18.1
+pkgrel=155
+pkgdesc="Haskell API Search"
+url="https://www.haskell.org/hoogle/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cmdargs' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-connection' 'haskell-extra' 'haskell-foundation' 
'haskell-hashable'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-mmap' 'haskell-network' 'haskell-old-locale' 
'haskell-process-extras'
+ 'haskell-resourcet' 'haskell-src-exts' 'haskell-storable-tuple' 
'haskell-tar'
+ 'haskell-uniplate' 'haskell-utf8-string' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls' 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";
+extra-1.7.10.patch)
+sha512sums=('00abbcf557824c604abbd5e9d27a5ca3d4a89e943888b6eef70dea46b8f786dfc851cb1c8f1531c808f4b71b34d3899258f3b009b0a38a385fc5c393a914da17'
+
'5397bcc5554b4e0a1a30947cf646bbc5f010e86113dfb0ecbe7e1024769ae85d8d7401b30306fd588f5f8103837c82978665fcba742578fef7d37deec2982f6d')
+
+prepare() {
+patch -d $pkgname-$pkgver -p1 < extra-1.7.10.patch
+}
+
+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='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Copied: hoogle/repos/community-staging-x86_64/extra-1.7.10.patch (from rev 
1016734, hoogle/trunk/extra-1.7.10.patch)
===
--- community-staging-x86_64/extra-1.7.10.patch (rev 0)
+++ community-staging-x86_64/extra-1.7.10.patch 2021-09-17 00:20:27 UTC (rev 
1016735)
@@ -0,0 +1,23 @@
+From 620da73bc474786b4addf669f17af76142e891f1 Mon Sep 17 00:00:00 2001
+From: Neil Mitchell 
+Date: Mon, 30 Aug 2021 21:25:36 +0100
+Subject: [PATCH] Qualify !? so it doesn't conflict with extra
+
+---
+ CHANGES.txt  | 1 +
+ src/Action/Server.hs | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/Action/Server.hs b/src/Action/Server.hs
+index f05dbc69..935cc313 100644
+--- a/src/Action/Server.hs
 b/src/Action/Server.hs
+@@ -163,7 +163,7 @@ replyServer log local links haddock store cdn home htmlDir 
scope Input{..} = cas
+ html = templateMarkup
+ text = templateMarkup . H.string
+ 
+-tagOptions sel = mconcat [H.option !? (x `elem` sel, H.selected 
"selected") $ H.string x | x <- completionTags store]
++tagOptions sel = mconcat [H.option Text.Blaze.!? (x `elem` sel, 
H.selected "selected") $ H.string x | x <- completionTags store]
+ params =
+ [("cdn", text cdn)
+ ,("home", text home)



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Friday, September 17, 2021 @ 00:20:11
  Author: felixonmars
Revision: 1016734

upgpkg: hoogle 5.0.18.1-155: rebuild with mono-traversable 1.0.15.2

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-17 00:18:47 UTC (rev 1016733)
+++ PKGBUILD2021-09-17 00:20:11 UTC (rev 1016734)
@@ -3,7 +3,7 @@
 
 pkgname=hoogle
 pkgver=5.0.18.1
-pkgrel=154
+pkgrel=155
 pkgdesc="Haskell API Search"
 url="https://www.haskell.org/hoogle/";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Friday, September 17, 2021 @ 00:18:47
  Author: felixonmars
Revision: 1016733

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

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 
1016732, haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-17 00:18:47 UTC (rev 1016733)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.5
+pkgrel=31
+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 \
+-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)

2021-09-16 Thread Felix Yan via arch-commits
Date: Friday, September 17, 2021 @ 00:18:34
  Author: felixonmars
Revision: 1016732

upgpkg: haskell-shake 0.19.5-31: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-17 00:10:59 UTC (rev 1016731)
+++ PKGBUILD2021-09-17 00:18:34 UTC (rev 1016732)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.5
-pkgrel=30
+pkgrel=31
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Friday, September 17, 2021 @ 00:10:59
  Author: felixonmars
Revision: 1016731

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Friday, September 17, 2021 @ 00:10:45
  Author: felixonmars
Revision: 1016730

upgpkg: haskell-http-download 0.2.0.0-328: rebuild with mono-traversable 
1.0.15.2

Modified:
  haskell-http-download/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-17 00:09:40 UTC (rev 1016729)
+++ PKGBUILD2021-09-17 00:10:45 UTC (rev 1016730)
@@ -3,7 +3,7 @@
 _hkgname=http-download
 pkgname=haskell-http-download
 pkgver=0.2.0.0
-pkgrel=327
+pkgrel=328
 pkgdesc="Verified downloads with retries"
 url="https://github.com/commercialhaskell/http-download";
 license=('MIT')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Friday, September 17, 2021 @ 00:09:40
  Author: felixonmars
Revision: 1016729

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Friday, September 17, 2021 @ 00:09:24
  Author: felixonmars
Revision: 1016728

upgpkg: darcs 2.16.4-53: rebuild with mono-traversable 1.0.15.2

Modified:
  darcs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:26:39 UTC (rev 1016727)
+++ PKGBUILD2021-09-17 00:09:24 UTC (rev 1016728)
@@ -3,7 +3,7 @@
 
 pkgname=darcs
 pkgver=2.16.4
-pkgrel=52
+pkgrel=53
 pkgdesc="A distributed, interactive, smart revision control system"
 url="http://darcs.net";
 license=("GPL")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:26:39
  Author: felixonmars
Revision: 1016727

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-aws/repos/community-staging-x86_64/PKGBUILD (from rev 1016726, 
haskell-aws/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:26:39 UTC (rev 1016727)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aws
+pkgname=haskell-aws
+pkgver=0.22
+pkgrel=312
+pkgdesc="Amazon Web Services (AWS) for Haskell"
+url="https://github.com/aristidb/aws";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-blaze-builder' 'haskell-byteable'
+ 'haskell-case-insensitive' 'haskell-cereal' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-data-default' 'haskell-http-conduit'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lifted-base' 
'haskell-memory'
+ 'haskell-monad-control' 'haskell-network' 'haskell-network-bsd' 
'haskell-old-locale'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-scientific' 
'haskell-tagged'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector' 
'haskell-xml-conduit')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-errors' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-transformers-base')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('e7ff376c47a7ca7a65c8f10f19e591d4a4b4d2cfa333b4727f88f0b170d7acb0aff402617f2d617c522fe5d16ce92b249a23f1fb0a8bfe5bbefaef2931b786bd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u attoparsec -u base16-bytestring -u base64-bytestring -u 
http-client $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test || echo "Requires AWS credentials to test"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:26:27
  Author: felixonmars
Revision: 1016726

upgpkg: haskell-aws 0.22-312: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-aws/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:24:35 UTC (rev 1016725)
+++ PKGBUILD2021-09-16 23:26:27 UTC (rev 1016726)
@@ -4,7 +4,7 @@
 _hkgname=aws
 pkgname=haskell-aws
 pkgver=0.22
-pkgrel=311
+pkgrel=312
 pkgdesc="Amazon Web Services (AWS) for Haskell"
 url="https://github.com/aristidb/aws";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:24:35
  Author: felixonmars
Revision: 1016725

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-authenticate/repos/community-staging-x86_64/PKGBUILD (from rev 
1016724, haskell-authenticate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:24:35 UTC (rev 1016725)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=authenticate
+pkgname=haskell-authenticate
+pkgver=1.3.5
+pkgrel=381
+pkgdesc="Authentication methods for Haskell web applications."
+url="https://github.com/yesodweb/authenticate";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-conduit' 'haskell-html-conduit' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-network-uri' 'haskell-resourcet'
+ 'haskell-unordered-containers' 'haskell-xml-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('12962fcf71c732a7e709e7069d46691917b9ee9f2af6aab5556b76a4556b6ffc39e52082a4fcdbe501c2cbc7cc496b1164b6a9f2c3883597fcdd0a8298d4ac1a')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:24:22
  Author: felixonmars
Revision: 1016724

upgpkg: haskell-authenticate 1.3.5-381: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-authenticate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:23:33 UTC (rev 1016723)
+++ PKGBUILD2021-09-16 23:24:22 UTC (rev 1016724)
@@ -4,7 +4,7 @@
 _hkgname=authenticate
 pkgname=haskell-authenticate
 pkgver=1.3.5
-pkgrel=380
+pkgrel=381
 pkgdesc="Authentication methods for Haskell web applications."
 url="https://github.com/yesodweb/authenticate";
 license=("MIT")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:23:33
  Author: felixonmars
Revision: 1016723

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-casa-client/repos/community-staging-x86_64/
  haskell-casa-client/repos/community-staging-x86_64/PKGBUILD
(from rev 1016722, haskell-casa-client/trunk/PKGBUILD)

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

Copied: haskell-casa-client/repos/community-staging-x86_64/PKGBUILD (from rev 
1016722, haskell-casa-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:23:33 UTC (rev 1016723)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=casa-client
+pkgname=haskell-casa-client
+pkgver=0.0.1
+pkgrel=323
+pkgdesc="Content Addressable Storage Archive client"
+url="https://github.com/fpco/casa";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-memory'
+ 'haskell-network-uri' 'haskell-resourcet' 'haskell-th-lift' 
'haskell-unliftio-core'
+ 'haskell-unordered-containers')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2df03a0b1c2e01f2d24728e96fe446a25b630f5495c4e9995bcbde1ee9da530df1c6b40dde954cfaf6de2af6036fa6cfda7d9957b22106316557cc57d64114fa')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:23:19
  Author: felixonmars
Revision: 1016722

upgpkg: haskell-casa-client 0.0.1-323: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-casa-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:22:31 UTC (rev 1016721)
+++ PKGBUILD2021-09-16 23:23:19 UTC (rev 1016722)
@@ -3,7 +3,7 @@
 _hkgname=casa-client
 pkgname=haskell-casa-client
 pkgver=0.0.1
-pkgrel=322
+pkgrel=323
 pkgdesc="Content Addressable Storage Archive client"
 url="https://github.com/fpco/casa";
 license=('MIT')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:22:31
  Author: felixonmars
Revision: 1016721

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:22:18
  Author: felixonmars
Revision: 1016720

upgpkg: xmobar 0.39-9: rebuild with mono-traversable 1.0.15.2

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:20:29 UTC (rev 1016719)
+++ PKGBUILD2021-09-16 23:22:18 UTC (rev 1016720)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.39
-pkgrel=8
+pkgrel=9
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:20:29
  Author: felixonmars
Revision: 1016719

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: taskell/repos/community-staging-x86_64/PKGBUILD (from rev 1016718, 
taskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:20:29 UTC (rev 1016719)
@@ -0,0 +1,44 @@
+# Maintainer: Jelle van der Waa https://hackage.haskell.org/package/$pkgname";
+depends=(ghc-libs haskell-aeson haskell-attoparsec haskell-brick 
haskell-config-ini haskell-file-embed haskell-fold-debounce haskell-http-client 
haskell-http-conduit haskell-http-types haskell-lens haskell-tz haskell-vty 
haskell-classy-prelude)
+makedepends=(ghc haskell-classy-prelude haskell-raw-strings-qq haskell-tasty 
haskell-tasty-discover haskell-tasty-expected-failure haskell-tasty-hunit)
+source=(https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('34d75d01c8e88fbbb932dbe6394e570b454156f1ad02173616616c493f65bfc5c4d28ed4089312410f8cb1760a523052fe132bfcd44b8bbf42e912fe9da2cc10')
+
+build() {
+  cd $pkgname-$pkgver
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--datasubdir=$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+  runghc Setup.hs copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Doc only contains the license
+  rm -rf "$pkgdir/usr/share/doc"
+}
+
+# vim: ts=2 sw=2 et:



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:20:16
  Author: felixonmars
Revision: 1016718

upgpkg: taskell 1.11.4-9: rebuild with mono-traversable 1.0.15.2

Modified:
  taskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:18:54 UTC (rev 1016717)
+++ PKGBUILD2021-09-16 23:20:16 UTC (rev 1016718)
@@ -2,7 +2,7 @@
 
 pkgname=taskell
 pkgver=1.11.4
-pkgrel=8
+pkgrel=9
 pkgdesc='A command-line kanban board/task manager'
 license=(BSD)
 arch=(x86_64)



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:18:54
  Author: felixonmars
Revision: 1016717

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hledger/repos/community-staging-x86_64/PKGBUILD (from rev 1016716, 
hledger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:18:54 UTC (rev 1016717)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger
+pkgver=1.22.2
+pkgrel=17
+pkgdesc="Command-line interface for the hledger accounting system"
+url="http://hledger.org";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-base-compat-batteries'
+ 'haskell-cmdargs' 'haskell-data-default' 'haskell-decimal' 
'haskell-diff' 'haskell-githash'
+ 'haskell-hashable' 'haskell-hledger-lib' 'haskell-lucid' 
'haskell-math-functions'
+ 'haskell-megaparsec' 'haskell-old-time' 'haskell-regex-tdfa'
+ 'haskell-safe' 'haskell-shakespeare' 'haskell-split' 
'haskell-tabular' 'haskell-tasty'
+ 'haskell-temporary' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-utility-ht' 'haskell-wizards')
+makedepends=('ghc' 'haskell-extra' 'haskell-timeit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('dc60c6f4ac7e9934ccb09293c447cb7af0f91f8ebae32233046d07e2e1358da5b6c7e8281d34e2a093e7ed2ad937d816ae731bfdde0c40b8a23cbdae0a0e9a52')
+
+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 \
+-fterminfo -fthreaded --ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $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.1 -t "$pkgdir"/usr/share/man/man1/
+install -Dm644 shell-completion/hledger-completion.bash 
"$pkgdir"/usr/share/bash-completion/completions/hledger
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:18:42
  Author: felixonmars
Revision: 1016716

upgpkg: hledger 1.22.2-17: rebuild with mono-traversable 1.0.15.2

Modified:
  hledger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:17:25 UTC (rev 1016715)
+++ PKGBUILD2021-09-16 23:18:42 UTC (rev 1016716)
@@ -3,7 +3,7 @@
 
 pkgname=hledger
 pkgver=1.22.2
-pkgrel=16
+pkgrel=17
 pkgdesc="Command-line interface for the hledger accounting system"
 url="http://hledger.org";
 license=("GPL")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:17:25
  Author: felixonmars
Revision: 1016715

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-optparse-simple/repos/community-staging-x86_64/
  haskell-optparse-simple/repos/community-staging-x86_64/PKGBUILD
(from rev 1016714, haskell-optparse-simple/trunk/PKGBUILD)

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

Copied: haskell-optparse-simple/repos/community-staging-x86_64/PKGBUILD (from 
rev 1016714, haskell-optparse-simple/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:17:25 UTC (rev 1016715)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=optparse-simple
+pkgname=haskell-optparse-simple
+pkgver=0.1.1.4
+pkgrel=28
+pkgdesc="Simple interface to optparse-applicative"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-githash' 'haskell-optparse-applicative' 
'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('1e49f60eead8553d7dd4cc162b5a2a07a99eda2519a53947808d7b4c909e37cfa7734d4c8dce3cf83cbf1efbdeed6037bf480b768b7f9ee7add5e5afbe006557')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+ -f-build-example
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:17:12
  Author: felixonmars
Revision: 1016714

upgpkg: haskell-optparse-simple 0.1.1.4-28: rebuild with mono-traversable 
1.0.15.2

Modified:
  haskell-optparse-simple/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:16:33 UTC (rev 1016713)
+++ PKGBUILD2021-09-16 23:17:12 UTC (rev 1016714)
@@ -4,7 +4,7 @@
 _hkgname=optparse-simple
 pkgname=haskell-optparse-simple
 pkgver=0.1.1.4
-pkgrel=27
+pkgrel=28
 pkgdesc="Simple interface to optparse-applicative"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:16:33
  Author: felixonmars
Revision: 1016713

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:16:21
  Author: felixonmars
Revision: 1016712

upgpkg: dhall-yaml 1.2.8-13: rebuild with mono-traversable 1.0.15.2

Modified:
  dhall-yaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:15:19 UTC (rev 1016711)
+++ PKGBUILD2021-09-16 23:16:21 UTC (rev 1016712)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-yaml
 pkgver=1.2.8
-pkgrel=12
+pkgrel=13
 pkgdesc="Convert between Dhall and YAML"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml";
 license=("GPL3")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:15:19
  Author: felixonmars
Revision: 1016711

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ipynb/repos/community-staging-x86_64/PKGBUILD (from rev 
1016710, haskell-ipynb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:15:19 UTC (rev 1016711)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ipynb
+pkgname=haskell-ipynb
+pkgver=0.1.0.1
+pkgrel=233
+pkgdesc="Data structure for working with Jupyter notebooks (ipynb)"
+url="https://github.com/jgm/ipynb";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base64-bytestring' 
'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-aeson-diff' 'haskell-microlens' 
'haskell-microlens-aeson'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b1e547ac9353c84619832c723586146d2fd72c85c75d11b9ff99c16852ae2dfd1a2d61382ab9cc54bc9ad2bf8e1c3c0a8dc50d49c034d525e7a3393057a0275b')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --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-ipynb/trunk (PKGBUILD)

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:15:06
  Author: felixonmars
Revision: 1016710

upgpkg: haskell-ipynb 0.1.0.1-233: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-ipynb/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:14:12 UTC (rev 1016709)
+++ PKGBUILD2021-09-16 23:15:06 UTC (rev 1016710)
@@ -3,7 +3,7 @@
 _hkgname=ipynb
 pkgname=haskell-ipynb
 pkgver=0.1.0.1
-pkgrel=232
+pkgrel=233
 pkgdesc="Data structure for working with Jupyter notebooks (ipynb)"
 url="https://github.com/jgm/ipynb";
 license=('BSD')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:14:12
  Author: felixonmars
Revision: 1016709

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp0-test/repos/community-staging-x86_64/PKGBUILD (from rev 
1016708, haskell-lsp0-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:14:12 UTC (rev 1016709)
@@ -0,0 +1,65 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp-test
+pkgname=haskell-lsp0-test
+pkgver=0.11.0.7
+pkgrel=58
+pkgdesc="Functional test framework for LSP servers (Legacy 0.x version)"
+url="https://github.com/bubba/lsp-test#readme";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 
'haskell-conduit-parse'
+ 'haskell-data-default' 'haskell-lsp0' 'haskell-lens' 
'haskell-parser-combinators'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+# Hackage source is missing test data
+source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u haskell-lsp $_hkgname.cabal
+
+  sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs
+
+  # haskell-lsp 0.24.0.0
+  sed -i 's/"deleteThis" Nothing))/"deleteThis" Nothing)) Nothing Nothing/' 
test/dummy-server/Main.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  # We need to enable dummy-server here for tests, but it shouldn't be 
installed...
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fdummyserver
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  # Remove dummy-server
+  rm -r "$pkgdir"/usr/libexec
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:13:59
  Author: felixonmars
Revision: 1016708

upgpkg: haskell-lsp0-test 0.11.0.7-58: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-lsp0-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:11:33 UTC (rev 1016707)
+++ PKGBUILD2021-09-16 23:13:59 UTC (rev 1016708)
@@ -3,7 +3,7 @@
 _hkgname=lsp-test
 pkgname=haskell-lsp0-test
 pkgver=0.11.0.7
-pkgrel=57
+pkgrel=58
 pkgdesc="Functional test framework for LSP servers (Legacy 0.x version)"
 url="https://github.com/bubba/lsp-test#readme";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:11:33
  Author: felixonmars
Revision: 1016707

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 
1016706, haskell-lsp-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:11:33 UTC (rev 1016707)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp-test
+pkgname=haskell-lsp-test
+pkgver=0.14.0.0
+pkgrel=41
+pkgdesc="Functional test framework for LSP servers."
+url="https://github.com/haskell/lsp/blob/master/lsp-test/README.md";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 
'haskell-conduit-parse'
+ 'haskell-data-default' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-types'
+ 'haskell-parser-combinators' 'haskell-some' 'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+# https://github.com/bubba/lsp-test/issues/92
+source=("https://github.com/haskell/lsp/archive/refs/tags/lsp-test-$pkgver.tar.gz";)
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('8d45e3ac432a01ba38b5b79c5c1ed3173a4dbc8be55671e617be722f0760aed7179be595aa72d55fec37b1677746431d1f3e1a07df2916be34b7e3abfa823761')
+
+prepare() {
+  cd lsp-$_hkgname-$pkgver/$_hkgname
+  gen-setup
+  uusi -u base $_hkgname.cabal
+}
+
+build() {
+  cd lsp-$_hkgname-$pkgver/$_hkgname
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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 lsp-$_hkgname-$pkgver/$_hkgname
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd lsp-$_hkgname-$pkgver/$_hkgname
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:11:20
  Author: felixonmars
Revision: 1016706

upgpkg: haskell-lsp-test 0.14.0.0-41: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-lsp-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:09:04 UTC (rev 1016705)
+++ PKGBUILD2021-09-16 23:11:20 UTC (rev 1016706)
@@ -3,7 +3,7 @@
 _hkgname=lsp-test
 pkgname=haskell-lsp-test
 pkgver=0.14.0.0
-pkgrel=40
+pkgrel=41
 pkgdesc="Functional test framework for LSP servers."
 url="https://github.com/haskell/lsp/blob/master/lsp-test/README.md";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:09:04
  Author: felixonmars
Revision: 1016705

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-floskell/repos/community-staging-x86_64/PKGBUILD (from rev 
1016704, haskell-floskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:09:04 UTC (rev 1016705)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=floskell
+pkgname=haskell-floskell
+pkgver=0.10.5
+pkgrel=125
+pkgdesc="A flexible Haskell source code pretty printer"
+url="https://github.com/ennocramer/floskell";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-data-default' 'haskell-src-exts' 'haskell-monad-dijkstra'
+ 'haskell-optparse-applicative' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://github.com/ennocramer/floskell/archive/floskell-$pkgver.tar.gz";)
+sha256sums=('91aa7caa269d1df60c7b21226721e0bd0e8595308b0d3f56dfd5e775b2d1f9ab')
+
+prepare() {
+  cd $_hkgname-floskell-$pkgver
+  uusi -u attoparsec -u base -u ghc-prim -u hspec $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-floskell-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-floskell-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-floskell-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:08:51
  Author: felixonmars
Revision: 1016704

upgpkg: haskell-floskell 0.10.5-125: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-floskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:04:53 UTC (rev 1016703)
+++ PKGBUILD2021-09-16 23:08:51 UTC (rev 1016704)
@@ -3,7 +3,7 @@
 _hkgname=floskell
 pkgname=haskell-floskell
 pkgver=0.10.5
-pkgrel=124
+pkgrel=125
 pkgdesc="A flexible Haskell source code pretty printer"
 url="https://github.com/ennocramer/floskell";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:04:53
  Author: felixonmars
Revision: 1016703

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cracknum/repos/community-staging-x86_64/PKGBUILD (from rev 
1016702, haskell-cracknum/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 23:04:53 UTC (rev 1016703)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=crackNum
+pkgname=haskell-cracknum
+pkgver=3.2
+pkgrel=15
+pkgdesc="Crack various integer and floating-point data formats"
+url="https://github.com/LeventErkok/crackNum";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-libbf' 'haskell-sbv' 'haskell-tasty' 
'haskell-tasty-golden')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('1721a70cbebb89cf795882d1e3635e4d4aac5971bb41a2817c188257e459d558809059efc1de0840830f2aa753fa3b54d74ad8da6cbbd3766f6a089f592912d0')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+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-cracknum/trunk (PKGBUILD)

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:04:40
  Author: felixonmars
Revision: 1016702

upgpkg: haskell-cracknum 3.2-15: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-cracknum/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 23:03:19 UTC (rev 1016701)
+++ PKGBUILD2021-09-16 23:04:40 UTC (rev 1016702)
@@ -4,7 +4,7 @@
 _hkgname=crackNum
 pkgname=haskell-cracknum
 pkgver=3.2
-pkgrel=14
+pkgrel=15
 pkgdesc="Crack various integer and floating-point data formats"
 url="https://github.com/LeventErkok/crackNum";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:03:19
  Author: felixonmars
Revision: 1016701

archrelease: copy trunk to community-staging-x86_64

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

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

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

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

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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 23:03:03
  Author: felixonmars
Revision: 1016700

upgpkg: cryptol 2.11.0-70: rebuild with mono-traversable 1.0.15.2

Modified:
  cryptol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:58:58 UTC (rev 1016699)
+++ PKGBUILD2021-09-16 23:03:03 UTC (rev 1016700)
@@ -2,7 +2,7 @@
 
 pkgname=cryptol
 pkgver=2.11.0
-pkgrel=69
+pkgrel=70
 pkgdesc="The Language of Cryptography"
 url="https://www.cryptol.net";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:58:58
  Author: felixonmars
Revision: 1016699

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD (from 
rev 1016698, haskell-persistent-sqlite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:58:58 UTC (rev 1016699)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent-sqlite
+pkgname=haskell-persistent-sqlite
+pkgver=2.13.0.3
+pkgrel=41
+pkgdesc="Backend for the persistent library using sqlite3"
+url="https://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'sqlite' 'haskell-aeson' 'haskell-conduit' 
'haskell-microlens-th'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-unliftio-core' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-fast-logger' 'haskell-hspec' 'haskell-hunit' 
'haskell-microlens'
+ 'haskell-persistent-test' 'haskell-quickcheck' 
'haskell-system-fileio'
+ 'haskell-system-filepath' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('d47b4e38929272df432f61e027767caa369875450509d2c7b7a0f266c663f0493dd3b493543523b49a49c3a7c24b4c65970870d365c73857c63cbece85af8ac5')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-build-sanity-exe -fsystemlib -fuse-pkgconfig
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-persistent-sqlite/trunk (PKGBUILD)

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:58:45
  Author: felixonmars
Revision: 1016698

upgpkg: haskell-persistent-sqlite 2.13.0.3-41: rebuild with mono-traversable 
1.0.15.2

Modified:
  haskell-persistent-sqlite/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:57:19 UTC (rev 1016697)
+++ PKGBUILD2021-09-16 22:58:45 UTC (rev 1016698)
@@ -4,7 +4,7 @@
 _hkgname=persistent-sqlite
 pkgname=haskell-persistent-sqlite
 pkgver=2.13.0.3
-pkgrel=40
+pkgrel=41
 pkgdesc="Backend for the persistent library using sqlite3"
 url="https://www.yesodweb.com/book/persistent";
 license=("MIT")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:57:19
  Author: felixonmars
Revision: 1016697

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD 
(from rev 1016696, haskell-wai-middleware-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:57:19 UTC (rev 1016697)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-middleware-static
+pkgname=haskell-wai-middleware-static
+pkgver=0.9.0
+pkgrel=175
+pkgdesc="WAI middleware that serves requests to static files"
+url="https://github.com/scotty-web/wai-middleware-static";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cryptonite' 'haskell-memory' 
'haskell-expiring-cache-map'
+ 'haskell-http-types' 'haskell-mime-types' 'haskell-old-locale' 
'haskell-wai')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-hspec-expectations-lifted'
+ 'haskell-hspec-wai' 'haskell-mockery' 'haskell-scotty' 
'haskell-wai-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('4833afa649ed2e9604f396481dbf5e1f4d96db841fb9c300a9c0b66641241c12c14d8e010860626a3d4bf00507fa0b28b5480d37ac1f8d6daa1c3e96685b654c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:57:06
  Author: felixonmars
Revision: 1016696

upgpkg: haskell-wai-middleware-static 0.9.0-175: rebuild with mono-traversable 
1.0.15.2

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:56:14 UTC (rev 1016695)
+++ PKGBUILD2021-09-16 22:57:06 UTC (rev 1016696)
@@ -4,7 +4,7 @@
 _hkgname=wai-middleware-static
 pkgname=haskell-wai-middleware-static
 pkgver=0.9.0
-pkgrel=174
+pkgrel=175
 pkgdesc="WAI middleware that serves requests to static files"
 url="https://github.com/scotty-web/wai-middleware-static";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:56:14
  Author: felixonmars
Revision: 1016695

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 1016694, haskell-servant-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:56:14 UTC (rev 1016695)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.18.3
+pkgrel=30
+pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
+url="https://haskell-servant.readthedocs.org/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 
'haskell-base64-bytestring'
+ 'haskell-http-api-data' 'haskell-http-media' 'haskell-http-types'
+ 'haskell-network-uri' 'haskell-monad-control' 'haskell-network' 
'haskell-servant'
+ 'haskell-sop-core' 'haskell-string-conversions' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-transformers-base' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-warp'
+ 'haskell-word8')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-wai' 
'haskell-should-not-typecheck'
+ 'haskell-quickcheck' 'haskell-safe' 'haskell-wai-extra' 
'haskell-temporary'
+ 'haskell-transformers-compat')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('c89a676de870cba67b86e818a87f144a316294d6ef786bdcc20017da48089cf0c25fc434ed0b42e81053fae4ad1ac0628443e4d0afb7f17fa53a1b5516272d28')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:56:02
  Author: felixonmars
Revision: 1016694

upgpkg: haskell-servant-server 0.18.3-30: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-servant-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:54:15 UTC (rev 1016693)
+++ PKGBUILD2021-09-16 22:56:02 UTC (rev 1016694)
@@ -4,7 +4,7 @@
 _hkgname=servant-server
 pkgname=haskell-servant-server
 pkgver=0.18.3
-pkgrel=29
+pkgrel=30
 pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
 url="https://haskell-servant.readthedocs.org/";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:54:15
  Author: felixonmars
Revision: 1016693

archrelease: copy trunk to community-staging-x86_64

Added:
  cabal-install/repos/community-staging-x86_64/
  cabal-install/repos/community-staging-x86_64/PKGBUILD
(from rev 1016692, cabal-install/trunk/PKGBUILD)
  
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
(from rev 1016692, 
cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)

--+
 PKGBUILD |   46 +
 cabal-install-base16-bytestring1.0.patch |   78 +
 2 files changed, 124 insertions(+)

Copied: cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 
1016692, cabal-install/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:54:15 UTC (rev 1016693)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=cabal-install
+pkgver=3.4.0.0
+pkgrel=32
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="https://hackage.haskell.org/package/cabal-install";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base16-bytestring' 
'haskell-cryptohash-sha256'
+ 'haskell-echo' 'haskell-edit-distance' 'haskell-hackage-security' 
'haskell-hashable'
+ 'haskell-http' 'haskell-network-uri' 'haskell-random' 
'haskell-regex-base'
+ 'haskell-regex-posix' 'haskell-resolv' 'haskell-tar' 'haskell-zlib' 
'haskell-lukko')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz";
+$pkgname-base16-bytestring1.0.patch)
+sha512sums=('0fd93c86c59e3c626341be3c67e69a1502f1ce1413b4a456cd930d5449cabdaeb033ac5f47673db0e708fc194aadf8ab0aa2904b6b0f195b57907c5b40588323'
+
'966e2f0e3fd1cff3d673cb91f73b2a42049653e39a3025cdbbf86ec8ebfbd49bad278c8d01f521bbe580369bd11baf2aa7f8195e0ae450efd8ae615d13aa2300')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p2 -i ../$pkgname-base16-bytestring1.0.patch
+uusi -u base $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla \
+--docdir="/usr/share/doc/${pkgname}"
+  runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+  cd $pkgname-$pkgver
+  runhaskell Setup copy --destdir="${pkgdir}"
+
+  install -Dm644 LICENSE \
+"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  install -Dm644 bash-completion/cabal \
+"${pkgdir}/usr/share/bash-completion/completions/cabal"
+}

Copied: 
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
 (from rev 1016692, 
cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)
===
--- community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
(rev 0)
+++ community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
2021-09-16 22:54:15 UTC (rev 1016693)
@@ -0,0 +1,78 @@
+diff --git a/cabal-install/Distribution/Client/HashValue.hs 
b/cabal-install/Distribution/Client/HashValue.hs
+index 54b8aee9e..11e647c1c 100644
+--- a/cabal-install/Distribution/Client/HashValue.hs
 b/cabal-install/Distribution/Client/HashValue.hs
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP  #-}
+ {-# LANGUAGE DeriveDataTypeable #-}
+ {-# LANGUAGE DeriveGeneric  #-}
+ module Distribution.Client.HashValue (
+@@ -72,10 +73,14 @@ hashFromTUF (Sec.Hash hashstr) =
+ --TODO: [code cleanup] either we should get TUF to use raw bytestrings or
+ -- perhaps we should also just use a base16 string as the internal rep.
+ case Base16.decode (BS.pack hashstr) of
++#if MIN_VERSION_base16_bytestring(1,0,0)
++  Right hash -> HashValue hash
++  Left _ -> error "hashFromTUF: cannot decode base16"
++#else
+   (hash, trailing) | not (BS.null hash) && BS.null trailing
+ -> HashValue hash
+   _ -> error "hashFromTUF: cannot decode base16 hash"
+-
++#endif
+ 
+ -- | Truncate a 32 byte SHA256 hash to
+ --
+diff --git a/cabal-install/src/Distribution/Client/HttpUtils.hs 
b/cabal-install/src/Distribution/Client/HttpUtils.hs
+index 9b8a8ecb844..0c334bec44a 100644
+--- a/cabal-install/Distribution/Client/HttpUtils.hs
 b/cabal-install/Distribution/Client/HttpUtils.hs
+@@ -1,4 +1,5 @@
+ {-# LANGUAGE BangPatterns #-}
++{-# LANGUAGE CPP  #-}
+ -
+ -- | Separate module for HTTP actions, using a proxy server if one exists.
+ -
+@@ -182,7 +183,11 @@ downloa

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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:53:59
  Author: felixonmars
Revision: 1016692

upgpkg: cabal-install 3.4.0.0-32: rebuild with mono-traversable 1.0.15.2

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:51:31 UTC (rev 1016691)
+++ PKGBUILD2021-09-16 22:53:59 UTC (rev 1016692)
@@ -5,7 +5,7 @@
 
 pkgname=cabal-install
 pkgver=3.4.0.0
-pkgrel=31
+pkgrel=32
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="https://hackage.haskell.org/package/cabal-install";
 license=('BSD')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:51:31
  Author: felixonmars
Revision: 1016691

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-js-jquery/repos/community-staging-x86_64/
  haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD
(from rev 1016690, haskell-js-jquery/trunk/PKGBUILD)

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

Copied: haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD (from rev 
1016690, haskell-js-jquery/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:51:31 UTC (rev 1016691)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=js-jquery
+pkgname=haskell-js-jquery
+pkgver=3.3.1
+pkgrel=692
+pkgdesc="Obtain minified jQuery code"
+url="https://github.com/ndmitchell/js-jquery#readme";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-http')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('359a4342bc5156d5360385a478e235def04db0381cc48f342baac5018e91350dce760adb9b9ada796bc6341d5629f807672f629ee127faefe521801d62bb')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:51:19
  Author: felixonmars
Revision: 1016690

upgpkg: haskell-js-jquery 3.3.1-692: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-js-jquery/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:50:38 UTC (rev 1016689)
+++ PKGBUILD2021-09-16 22:51:19 UTC (rev 1016690)
@@ -4,7 +4,7 @@
 _hkgname=js-jquery
 pkgname=haskell-js-jquery
 pkgver=3.3.1
-pkgrel=691
+pkgrel=692
 pkgdesc="Obtain minified jQuery code"
 url="https://github.com/ndmitchell/js-jquery#readme";
 license=("MIT")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:50:38
  Author: felixonmars
Revision: 1016689

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-conduit/repos/community-staging-x86_64/PKGBUILD (from rev 
1016688, haskell-http-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:50:38 UTC (rev 1016689)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-conduit
+pkgname=haskell-http-conduit
+pkgver=2.3.8
+pkgrel=76
+pkgdesc="HTTP client package with conduit interface and HTTPS support"
+url="https://www.yesodweb.com/book/http-conduit";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-resourcet'
+ 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-connection'
+ 'haskell-cookie' 'haskell-data-default-class' 'haskell-hunit' 
'haskell-hspec'
+ 'haskell-lifted-base' 'haskell-network' 
'haskell-streaming-commons' 'haskell-temporary'
+ 'haskell-unliftio' 'haskell-utf8-string' 'haskell-wai' 
'haskell-wai-conduit'
+ 'haskell-warp' 'haskell-warp-tls')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('44c337f1a0a0ec74a5d6e4e28a3aa5a32609c3a4da9424e99aedc2a8db67fc4684ef10cf82d6bda0761c7ffba4f0222e683946ab6dd8de1ab8225a40cc14cf66')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:50:25
  Author: felixonmars
Revision: 1016688

upgpkg: haskell-http-conduit 2.3.8-76: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-http-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:48:49 UTC (rev 1016687)
+++ PKGBUILD2021-09-16 22:50:25 UTC (rev 1016688)
@@ -4,7 +4,7 @@
 _hkgname=http-conduit
 pkgname=haskell-http-conduit
 pkgver=2.3.8
-pkgrel=75
+pkgrel=76
 pkgdesc="HTTP client package with conduit interface and HTTPS support"
 url="https://www.yesodweb.com/book/http-conduit";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:48:49
  Author: felixonmars
Revision: 1016687

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:48:36
  Author: felixonmars
Revision: 1016686

upgpkg: haskell-githash 0.1.6.1-29: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-githash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:47:26 UTC (rev 1016685)
+++ PKGBUILD2021-09-16 22:48:36 UTC (rev 1016686)
@@ -3,7 +3,7 @@
 _hkgname=githash
 pkgname=haskell-githash
 pkgver=0.1.6.1
-pkgrel=28
+pkgrel=29
 pkgdesc="Some handy Template Haskell splices for including the current git 
hash and branch in the code of your project"
 url="https://github.com/snoyberg/githash";
 license=('BSD')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:47:26
  Author: felixonmars
Revision: 1016685

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:47:13
  Author: felixonmars
Revision: 1016684

upgpkg: dhall-json 1.7.8-13: rebuild with mono-traversable 1.0.15.2

Modified:
  dhall-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:45:28 UTC (rev 1016683)
+++ PKGBUILD2021-09-16 22:47:13 UTC (rev 1016684)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-json
 pkgver=1.7.8
-pkgrel=12
+pkgrel=13
 pkgdesc='Convert between Dhall and JSON or YAML'
 url='https://dhall-lang.org'
 license=('BSD')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:45:28
  Author: felixonmars
Revision: 1016683

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-docs/repos/community-staging-x86_64/PKGBUILD (from rev 1016682, 
dhall-docs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:45:28 UTC (rev 1016683)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-docs
+pkgver=1.0.7
+pkgrel=13
+pkgdesc="Generate HTML docs from a dhall package"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-docs";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cryptonite' 'dhall' 'haskell-file-embed' 
'haskell-lens-family-core'
+ 'haskell-lucid' 'haskell-megaparsec' 'haskell-memory' 'haskell-mmark'
+ 'haskell-optparse-applicative' 'haskell-path' 'haskell-path-io' 
'haskell-prettyprinter')
+makedepends=('ghc' 'uusi' 'haskell-doctest' 'haskell-foldl' 'haskell-hashable' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-silver' 'haskell-turtle')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('d8f4eca5add031bebb693a679f536697da0591e7fe0d2cdb50092c352d869cc5c7e8ee51d23629ed70b26302aa36027433ff9ea53f08b65c81a29cf874e041d2')
+
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u hashable $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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  # https://github.com/dhall-lang/dhall-haskell/issues/2179
+  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 dhall-docs/trunk (PKGBUILD)

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:45:16
  Author: felixonmars
Revision: 1016682

upgpkg: dhall-docs 1.0.7-13: rebuild with mono-traversable 1.0.15.2

Modified:
  dhall-docs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:43:10 UTC (rev 1016681)
+++ PKGBUILD2021-09-16 22:45:16 UTC (rev 1016682)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-docs
 pkgver=1.0.7
-pkgrel=12
+pkgrel=13
 pkgdesc="Generate HTML docs from a dhall package"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-docs";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:43:10
  Author: felixonmars
Revision: 1016681

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-aeson-diff/repos/community-staging-x86_64/PKGBUILD (from rev 
1016680, haskell-aeson-diff/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:43:10 UTC (rev 1016681)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=aeson-diff
+pkgname=haskell-aeson-diff
+pkgver=1.1.0.9
+pkgrel=219
+pkgdesc="Extract and apply patches to JSON documents"
+url="https://github.com/thsutton/aeson-diff";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-edit-distance-vector' 
'haskell-hashable'
+ 'haskell-scientific' 'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-optparse-applicative')
+makedepends=('ghc' 'uusi' 'haskell-doctest' 'haskell-glob' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'hlint')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2778eabe53ac0520028c9eccae7f52dcdeb2eccb4df4ff6a84e4625afc5d46533ebf61b6b99c16eb5ffe9792e781b0f9a8e1e43c2b69b751d1dbc5dd627635d9')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u base $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:42:57
  Author: felixonmars
Revision: 1016680

upgpkg: haskell-aeson-diff 1.1.0.9-219: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-aeson-diff/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:40:55 UTC (rev 1016679)
+++ PKGBUILD2021-09-16 22:42:57 UTC (rev 1016680)
@@ -3,7 +3,7 @@
 _hkgname=aeson-diff
 pkgname=haskell-aeson-diff
 pkgver=1.1.0.9
-pkgrel=218
+pkgrel=219
 pkgdesc="Extract and apply patches to JSON documents"
 url="https://github.com/thsutton/aeson-diff";
 license=('BSD')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:40:55
  Author: felixonmars
Revision: 1016679

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 1016678, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
1016678, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:40:55 UTC (rev 1016679)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=148
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse";
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --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-conduit-parse/trunk (PKGBUILD)

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:40:42
  Author: felixonmars
Revision: 1016678

upgpkg: haskell-conduit-parse 0.2.1.0-148: rebuild with mono-traversable 
1.0.15.2

Modified:
  haskell-conduit-parse/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:39:32 UTC (rev 1016677)
+++ PKGBUILD2021-09-16 22:40:42 UTC (rev 1016678)
@@ -3,7 +3,7 @@
 _hkgname=conduit-parse
 pkgname=haskell-conduit-parse
 pkgver=0.2.1.0
-pkgrel=147
+pkgrel=148
 pkgdesc="Parsing framework based on conduit"
 url="https://github.com/k0ral/conduit-parse";
 license=("custom:PublicDomain")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:39:32
  Author: felixonmars
Revision: 1016677

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-monad-dijkstra/repos/community-staging-x86_64/
  haskell-monad-dijkstra/repos/community-staging-x86_64/PKGBUILD
(from rev 1016676, haskell-monad-dijkstra/trunk/PKGBUILD)

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

Copied: haskell-monad-dijkstra/repos/community-staging-x86_64/PKGBUILD (from 
rev 1016676, haskell-monad-dijkstra/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:39:32 UTC (rev 1016677)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=monad-dijkstra
+pkgname=haskell-monad-dijkstra
+pkgver=0.1.1.3
+pkgrel=146
+pkgdesc="A monad transformer for weighted graph searches"
+url="https://github.com/ennocramer/monad-dijkstra";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-psqueues')
+makedepends=('ghc' 'uusi' 'hlint' 'haskell-tasty' 'haskell-tasty-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('6c6270f94d27203b6974563398e4b7e81ae53e6110cffaecf8ff6297c11ceb8f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -r tasty-hspec:tasty-hspec,hspec $_hkgname.cabal
+  sed -i '/Test.Tasty.Hspec/a import Test.Hspec' 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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:39:19
  Author: felixonmars
Revision: 1016676

upgpkg: haskell-monad-dijkstra 0.1.1.3-146: rebuild with mono-traversable 
1.0.15.2

Modified:
  haskell-monad-dijkstra/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:37:53 UTC (rev 1016675)
+++ PKGBUILD2021-09-16 22:39:19 UTC (rev 1016676)
@@ -3,7 +3,7 @@
 _hkgname=monad-dijkstra
 pkgname=haskell-monad-dijkstra
 pkgver=0.1.1.3
-pkgrel=145
+pkgrel=146
 pkgdesc="A monad transformer for weighted graph searches"
 url="https://github.com/ennocramer/monad-dijkstra";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:37:53
  Author: felixonmars
Revision: 1016675

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sbv/repos/community-staging-x86_64/PKGBUILD (from rev 1016674, 
haskell-sbv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:37:53 UTC (rev 1016675)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=sbv
+pkgname=haskell-sbv
+pkgver=8.16
+pkgrel=8
+pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
+url="https://leventerkok.github.io/sbv";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-async' 'haskell-libbf' 
'haskell-random'
+ 'haskell-syb' 'haskell-uniplate')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'hlint' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+checkdepends=('abc' 'cvc4' 'yices' 'z3')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('56f3e1a528353478cfe17d079b3537eebeeac5d59af91a85656ce34b5b8e22be411810f52b719d586fc97173f518b7161b920a3c0b310fb4f730bf0a459cc01b')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Remove SMT solvers not in the repos
+sed -i 's/, boolector//;s/, mathSAT//;s/, dReal//' 
SBVTestSuite/SBVConnectionTest.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --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-sbv/trunk (PKGBUILD)

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:37:40
  Author: felixonmars
Revision: 1016674

upgpkg: haskell-sbv 8.16-8: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-sbv/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:25:43 UTC (rev 1016673)
+++ PKGBUILD2021-09-16 22:37:40 UTC (rev 1016674)
@@ -4,7 +4,7 @@
 _hkgname=sbv
 pkgname=haskell-sbv
 pkgver=8.16
-pkgrel=7
+pkgrel=8
 pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
 url="https://leventerkok.github.io/sbv";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:25:43
  Author: felixonmars
Revision: 1016673

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-test/repos/community-staging-x86_64/PKGBUILD (from 
rev 1016672, haskell-persistent-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:25:43 UTC (rev 1016673)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-test
+pkgname=haskell-persistent-test
+pkgver=2.13.0.3
+pkgrel=40
+pkgdesc="Tests for Persistent"
+url="https://github.com/yesodweb/persistent";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-persistent' 'haskell-aeson' 'haskell-blaze-html' 
'haskell-conduit'
+ 'haskell-hspec' 'haskell-hspec-expectations' 'haskell-hunit' 
'haskell-monad-control'
+ 'haskell-monad-logger' 'haskell-path-pieces' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-random' 'haskell-resourcet'
+ 'haskell-transformers-base' 'haskell-unliftio' 'haskell-unliftio-core'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-http-api-data' 
'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('794c7f22a7d44b7fa0c2d05d936ce68c6e13927abc909bfe3784228e9750103576417e6b8400bb8ea34002a17e59a4a5dd73626035a4dc81b02a1d9059c2')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:25:30
  Author: felixonmars
Revision: 1016672

upgpkg: haskell-persistent-test 2.13.0.3-40: rebuild with mono-traversable 
1.0.15.2

Modified:
  haskell-persistent-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:22:52 UTC (rev 1016671)
+++ PKGBUILD2021-09-16 22:25:30 UTC (rev 1016672)
@@ -3,7 +3,7 @@
 _hkgname=persistent-test
 pkgname=haskell-persistent-test
 pkgver=2.13.0.3
-pkgrel=39
+pkgrel=40
 pkgdesc="Tests for Persistent"
 url="https://github.com/yesodweb/persistent";
 license=('MIT')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:22:52
  Author: felixonmars
Revision: 1016671

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-casa-types/repos/community-staging-x86_64/
  haskell-casa-types/repos/community-staging-x86_64/PKGBUILD
(from rev 1016670, haskell-casa-types/trunk/PKGBUILD)

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

Copied: haskell-casa-types/repos/community-staging-x86_64/PKGBUILD (from rev 
1016670, haskell-casa-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:22:52 UTC (rev 1016671)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=casa-types
+pkgname=haskell-casa-types
+pkgver=0.0.2
+pkgrel=140
+pkgdesc="Content Addressable Storage Archive types"
+url="https://github.com/fpco/casa";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-hashable' 'haskell-path-pieces' 'haskell-persistent')
+makedepends=('ghc' 'uusi')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('a54bb7f15310878e0a4c0524749ba8c8de8537a60892d278941cacefb80ad9d31e9ba16dd236c196b6639758f281f9ae66911d04c39b0ec6e2b75db5127ad5bf')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:22:39
  Author: felixonmars
Revision: 1016670

upgpkg: haskell-casa-types 0.0.2-140: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-casa-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:21:50 UTC (rev 1016669)
+++ PKGBUILD2021-09-16 22:22:39 UTC (rev 1016670)
@@ -3,7 +3,7 @@
 _hkgname=casa-types
 pkgname=haskell-casa-types
 pkgver=0.0.2
-pkgrel=139
+pkgrel=140
 pkgdesc="Content Addressable Storage Archive types"
 url="https://github.com/fpco/casa";
 license=('MIT')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:21:50
  Author: felixonmars
Revision: 1016669

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
1016668, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:21:50 UTC (rev 1016669)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=175
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:21:37
  Author: felixonmars
Revision: 1016668

upgpkg: haskell-scotty 0.12-175: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-scotty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:20:11 UTC (rev 1016667)
+++ PKGBUILD2021-09-16 22:21:37 UTC (rev 1016668)
@@ -3,7 +3,7 @@
 _hkgname=scotty
 pkgname=haskell-scotty
 pkgver=0.12
-pkgrel=174
+pkgrel=175
 pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
 url="https://github.com/scotty-web/scotty";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:20:11
  Author: felixonmars
Revision: 1016667

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD (from 
rev 101, haskell-wai-app-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:20:11 UTC (rev 1016667)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-app-static
+pkgname=haskell-wai-app-static
+pkgver=3.1.7.2
+pkgrel=227
+pkgdesc="WAI application for static serving"
+url="https://www.yesodweb.com/book/web-application-interface";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-file-embed' 'haskell-http-date' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-old-locale' 
'haskell-optparse-applicative'
+ 'haskell-unix-compat' 'haskell-unordered-containers' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-mockery' 'haskell-network' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('e073d85efc201eab94b9c8be4e40ee71567d07ed2e2907504a946477211bc21aaf2250213cac67525ae58be499b164b09880600c0a6f62b0b1742fb9d730d6d9')
+
+prepare() {
+  uusi $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-print
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:19:59
  Author: felixonmars
Revision: 101

upgpkg: haskell-wai-app-static 3.1.7.2-227: rebuild with mono-traversable 
1.0.15.2

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:18:34 UTC (rev 1016665)
+++ PKGBUILD2021-09-16 22:19:59 UTC (rev 101)
@@ -4,7 +4,7 @@
 _hkgname=wai-app-static
 pkgname=haskell-wai-app-static
 pkgver=3.1.7.2
-pkgrel=226
+pkgrel=227
 pkgdesc="WAI application for static serving"
 url="https://www.yesodweb.com/book/web-application-interface";
 license=("MIT")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:18:34
  Author: felixonmars
Revision: 1016665

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:18:20
  Author: felixonmars
Revision: 1016664

upgpkg: haskell-wai-handler-launch 3.0.3.1-309: rebuild with mono-traversable 
1.0.15.2

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:17:28 UTC (rev 1016663)
+++ PKGBUILD2021-09-16 22:18:20 UTC (rev 1016664)
@@ -4,7 +4,7 @@
 _hkgname=wai-handler-launch
 pkgname=haskell-wai-handler-launch
 pkgver=3.0.3.1
-pkgrel=308
+pkgrel=309
 pkgdesc="Launch a web app in the default browser."
 url="https://github.com/yesodweb/wai";
 license=("MIT")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:17:28
  Author: felixonmars
Revision: 1016663

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:17:15
  Author: felixonmars
Revision: 1016662

upgpkg: haskell-http 4000.3.16-67: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-http/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:15:36 UTC (rev 1016661)
+++ PKGBUILD2021-09-16 22:17:15 UTC (rev 1016662)
@@ -4,7 +4,7 @@
 _hkgname=HTTP
 pkgname=haskell-http
 pkgver=4000.3.16
-pkgrel=66
+pkgrel=67
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('BSD')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:15:36
  Author: felixonmars
Revision: 1016661

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-warp-tls/repos/community-staging-x86_64/PKGBUILD (from rev 
1016660, haskell-warp-tls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:15:36 UTC (rev 1016661)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp-tls
+pkgname=haskell-warp-tls
+pkgver=3.3.1
+pkgrel=40
+pkgdesc="HTTP over TLS support for Warp via the TLS package"
+url="https://github.com/yesodweb/wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-cryptonite" "haskell-data-default-class" 
"haskell-network"
+ "haskell-streaming-commons" "haskell-tls" 
"haskell-tls-session-manager" "haskell-unliftio"
+ "haskell-wai" "haskell-warp")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('d13699f89f1e485cb4ad284b8c0b31a66476db17104f640a20f0c96eca6b5c6fa2b44f013e812bea16135e1bb8e24835b0010e9e553d34e1eccdb52b384ac1bc')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:15:23
  Author: felixonmars
Revision: 1016660

upgpkg: haskell-warp-tls 3.3.1-40: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-warp-tls/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:14:27 UTC (rev 1016659)
+++ PKGBUILD2021-09-16 22:15:23 UTC (rev 1016660)
@@ -4,7 +4,7 @@
 _hkgname=warp-tls
 pkgname=haskell-warp-tls
 pkgver=3.3.1
-pkgrel=39
+pkgrel=40
 pkgdesc="HTTP over TLS support for Warp via the TLS package"
 url="https://github.com/yesodweb/wai";
 license=("MIT")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:14:27
  Author: felixonmars
Revision: 1016659

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1016658, haskell-yesod-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:14:27 UTC (rev 1016659)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-core
+pkgname=haskell-yesod-core
+pkgver=1.6.21.0
+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-auto-update' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-cereal'
+ 'haskell-clientsession' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cookie'
+ 'haskell-entropy' 'haskell-fast-logger' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-monad-logger' 'haskell-old-locale' 'haskell-path-pieces' 
'haskell-primitive'
+ 'haskell-random' 'haskell-resourcet' 'haskell-shakespeare' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 
'haskell-word8')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('0d51214b28aa0fd193b5f251541648dbfa28c8752d5067241078e92a5e90f8af09cfcc8f76a45c00bd173693e1eaa69ef3df7894895a309d2df90cdb12f61fc8')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:14:14
  Author: felixonmars
Revision: 1016658

upgpkg: haskell-yesod-core 1.6.21.0-24: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-yesod-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:12:23 UTC (rev 1016657)
+++ PKGBUILD2021-09-16 22:14:14 UTC (rev 1016658)
@@ -4,7 +4,7 @@
 _hkgname=yesod-core
 pkgname=haskell-yesod-core
 pkgver=1.6.21.0
-pkgrel=23
+pkgrel=24
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/";
 license=("MIT")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:12:23
  Author: felixonmars
Revision: 1016657

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-gi-cairo/repos/community-staging-x86_64/PKGBUILD (from rev 
1016656, haskell-gi-cairo/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:12:23 UTC (rev 1016657)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=gi-cairo
+pkgname=haskell-gi-cairo
+pkgver=1.0.25
+pkgrel=45
+pkgdesc="Cairo bindings"
+url="https://github.com/haskell-gi/haskell-gi";
+license=("LGPL2.1")
+arch=('x86_64')
+depends=('ghc-libs' 'cairo' 'haskell-gi' 'haskell-gi-base' 
'haskell-gi-overloading')
+makedepends=('ghc' 'gobject-introspection')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('23ea5804b5688418820613d4d136e37d7405311900e38b0a8eebed54b7a789c91449de7bda92f36e9c73b2b67942462e13931902a49395dae5e4bde55e984da4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:12:10
  Author: felixonmars
Revision: 1016656

upgpkg: haskell-gi-cairo 1.0.25-45: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-gi-cairo/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:10:56 UTC (rev 1016655)
+++ PKGBUILD2021-09-16 22:12:10 UTC (rev 1016656)
@@ -3,7 +3,7 @@
 _hkgname=gi-cairo
 pkgname=haskell-gi-cairo
 pkgver=1.0.25
-pkgrel=44
+pkgrel=45
 pkgdesc="Cairo bindings"
 url="https://github.com/haskell-gi/haskell-gi";
 license=("LGPL2.1")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:10:56
  Author: felixonmars
Revision: 1016655

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:10:40
  Author: felixonmars
Revision: 1016654

upgpkg: haskell-dav 1.3.4-349: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-dav/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:09:08 UTC (rev 1016653)
+++ PKGBUILD2021-09-16 22:10:40 UTC (rev 1016654)
@@ -4,7 +4,7 @@
 _hkgname=DAV
 pkgname=haskell-dav
 pkgver=1.3.4
-pkgrel=348
+pkgrel=349
 pkgdesc="RFC 4918 WebDAV support"
 url="http://floss.scru.org/hDAV";
 license=("GPL3")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:09:08
  Author: felixonmars
Revision: 1016653

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-dbus-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 
1016652, haskell-dbus-hslogger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:09:08 UTC (rev 1016653)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=dbus-hslogger
+pkgname=haskell-dbus-hslogger
+pkgver=0.1.0.1
+pkgrel=236
+pkgdesc="Expose a dbus server to control hslogger"
+url="https://github.com/IvanMalison/dbus-hslogger";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dbus' 'haskell-hslogger' 
'haskell-optparse-applicative')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('34d3d2f9f99f99671bb3cf11eefa0f347918b4cfb69d2188be985e5abf2867d1b33b6473bb8e311f67426778f2611e008a78e99bd2d2e1f5a2c25b7ab5568d1f')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:08:55
  Author: felixonmars
Revision: 1016652

upgpkg: haskell-dbus-hslogger 0.1.0.1-236: rebuild with mono-traversable 
1.0.15.2

Modified:
  haskell-dbus-hslogger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:07:51 UTC (rev 1016651)
+++ PKGBUILD2021-09-16 22:08:55 UTC (rev 1016652)
@@ -3,7 +3,7 @@
 _hkgname=dbus-hslogger
 pkgname=haskell-dbus-hslogger
 pkgver=0.1.0.1
-pkgrel=235
+pkgrel=236
 pkgdesc="Expose a dbus server to control hslogger"
 url="https://github.com/IvanMalison/dbus-hslogger";
 license=('BSD')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:07:51
  Author: felixonmars
Revision: 1016651

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-fdo-notify/repos/community-staging-x86_64/
  haskell-fdo-notify/repos/community-staging-x86_64/PKGBUILD
(from rev 1016650, haskell-fdo-notify/trunk/PKGBUILD)

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

Copied: haskell-fdo-notify/repos/community-staging-x86_64/PKGBUILD (from rev 
1016650, haskell-fdo-notify/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:07:51 UTC (rev 1016651)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fdo-notify
+pkgname=haskell-fdo-notify
+pkgver=0.3.1
+pkgrel=488
+pkgdesc="Desktop Notifications client"
+url="https://bitbucket.org/taejo/fdo-notify/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dbus")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('d9193899d5eebd7c36e9464571827bd5b560fcc156e89822877b3b67a1f376c7abea9958f7e0aa6f79da06ad5f35a8738ad30a40d447b64ad557ed341054e6b6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:07:37
  Author: felixonmars
Revision: 1016650

upgpkg: haskell-fdo-notify 0.3.1-488: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-fdo-notify/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:06:39 UTC (rev 1016649)
+++ PKGBUILD2021-09-16 22:07:37 UTC (rev 1016650)
@@ -4,7 +4,7 @@
 _hkgname=fdo-notify
 pkgname=haskell-fdo-notify
 pkgver=0.3.1
-pkgrel=487
+pkgrel=488
 pkgdesc="Desktop Notifications client"
 url="https://bitbucket.org/taejo/fdo-notify/";
 license=("BSD")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:06:39
  Author: felixonmars
Revision: 1016649

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-skylighting/repos/community-staging-x86_64/PKGBUILD (from rev 
1016648, haskell-skylighting/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:06:39 UTC (rev 1016649)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=skylighting
+pkgname=haskell-skylighting
+pkgver=0.11
+pkgrel=20
+pkgdesc="Syntax highlighting library"
+url="https://github.com/jgm/skylighting";
+license=('GPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-skylighting-core')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('adba0f7db32326cec7b63f10b262941512006576a1614c8e8a5e669c2ee05143849dabf06679817bb4df229091ffc4d25bf60789cb03385656fcb44516a525b6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-executable
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:06:24
  Author: felixonmars
Revision: 1016648

upgpkg: haskell-skylighting 0.11-20: rebuild with mono-traversable 1.0.15.2

Modified:
  haskell-skylighting/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:05:10 UTC (rev 1016647)
+++ PKGBUILD2021-09-16 22:06:24 UTC (rev 1016648)
@@ -3,7 +3,7 @@
 _hkgname=skylighting
 pkgname=haskell-skylighting
 pkgver=0.11
-pkgrel=19
+pkgrel=20
 pkgdesc="Syntax highlighting library"
 url="https://github.com/jgm/skylighting";
 license=('GPL2')



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:05:10
  Author: felixonmars
Revision: 1016647

archrelease: copy trunk to community-staging-x86_64

Added:
  cgrep/repos/community-staging-x86_64/
  cgrep/repos/community-staging-x86_64/PKGBUILD
(from rev 1016646, cgrep/trunk/PKGBUILD)

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

Copied: cgrep/repos/community-staging-x86_64/PKGBUILD (from rev 1016646, 
cgrep/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:05:10 UTC (rev 1016647)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=cgrep
+pkgver=6.6.32
+pkgrel=210
+pkgdesc="A context-aware grep for source codes"
+url="https://awgn.github.io/cgrep/";
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-async' 
'haskell-cmdargs'
+ 'haskell-dlist' 'haskell-either' 'haskell-extra' 'haskell-regex-base'
+ 'haskell-regex-pcre' 'haskell-regex-posix' 'haskell-safe' 
'haskell-split'
+ 'haskell-stringsearch' 'haskell-unix-compat' 'haskell-unicode-show'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-yaml')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('401ca49fbd2903b810c1873a3c52c3863a42b431d1a905a781636386c3ac0aac4e2ed9934fb24f1e9996629a2b578483a7c3a7a8a4d61ecb7ac7cfc9152f43ba')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --prefix=/usr --ghc-option='-pie' \
+   --enable-executable-dynamic 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+cd $pkgname-$pkgver
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:04:57
  Author: felixonmars
Revision: 1016646

upgpkg: cgrep 6.6.32-210: rebuild with mono-traversable 1.0.15.2

Modified:
  cgrep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-09-16 22:03:11 UTC (rev 1016645)
+++ PKGBUILD2021-09-16 22:04:57 UTC (rev 1016646)
@@ -3,7 +3,7 @@
 
 pkgname=cgrep
 pkgver=6.6.32
-pkgrel=209
+pkgrel=210
 pkgdesc="A context-aware grep for source codes"
 url="https://awgn.github.io/cgrep/";
 license=("GPL2")



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

2021-09-16 Thread Felix Yan via arch-commits
Date: Thursday, September 16, 2021 @ 22:03:11
  Author: felixonmars
Revision: 1016645

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 
1016644, haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-16 22:03:11 UTC (rev 1016645)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.34.4
+pkgrel=67
+pkgdesc="A modern format for Haskell packages"
+url="https://github.com/sol/hpack#readme";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-bifunctors' 'haskell-cryptonite' 
'haskell-glob'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types'
+ 'haskell-infer-license' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-interpolate'
+ 'haskell-mockery' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz";)
+sha512sums=('90dee8766955e44fd760ac9bead2f68de23763f56778dd7691d30a71cb37e5834093f3c9b382ffaa677bbbef0a3c0c9f7abeeb34343906e6d6b692481eacd7c9')
+
+build() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test || echo "https://github.com/sol/hpack/issues/358";
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



  1   2   3   4   5   6   7   >