[arch-commits] Commit in electron/trunk (5 files)

2021-05-26 Thread Nicola Squartini via arch-commits
Date: Thursday, May 27, 2021 @ 05:28:13
  Author: tensor5
Revision: 948100

upgpkg: electron 13.0.1-1

Added:
  electron/trunk/add-clang-nomerge-attribute-to-CheckError.patch
  electron/trunk/unbundle-use-char16_t-as-UCHAR_TYPE.patch
Modified:
  electron/trunk/PKGBUILD
Deleted:
  electron/trunk/add-dependency-on-opus-in-webcodecs.patch
  electron/trunk/chromium-fix-libva-redef.patch

-+
 PKGBUILD|   33 
 add-clang-nomerge-attribute-to-CheckError.patch |   44 +++
 add-dependency-on-opus-in-webcodecs.patch   |   43 ---
 chromium-fix-libva-redef.patch  |   86 --
 unbundle-use-char16_t-as-UCHAR_TYPE.patch   |   30 +++
 5 files changed, 90 insertions(+), 146 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:27:44 UTC (rev 948099)
+++ PKGBUILD2021-05-27 05:28:13 UTC (rev 948100)
@@ -1,10 +1,10 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=electron
-pkgver=12.0.9
-_commit=30f82dd1cb8140ccb5c6a4960eef8e3b8c15eeba
-_chromiumver=89.0.4389.128
-_gcc_patchset=7
+pkgver=13.0.1
+_commit=51213f656bfac341f40da9fb84eff27df25d9d68
+_chromiumver=91.0.4472.69
+_gcc_patchset=5
 pkgrel=1
 pkgdesc='Build cross platform desktop apps with web technologies'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 license=('MIT' 'custom')
 depends=('c-ares' 'ffmpeg' 'gtk3' 'libevent' 'libnghttp2' 'libxslt' 'minizip'
  'nss' 're2' 'snappy')
-makedepends=('clang' 'git' 'gn-m87' 'gperf' 'harfbuzz-icu' 'http-parser'
+makedepends=('clang' 'git' 'gn' 'gperf' 'harfbuzz-icu' 'http-parser'
  'java-runtime-headless' 'jsoncpp' 'libnotify' 'lld' 'llvm' 'ninja'
  'npm' 'pciutils' 'pipewire' 'python2' 'wget' 'yarn')
 optdepends=('kde-cli-tools: file deletion support (kioclient5)'
@@ -27,22 +27,22 @@
 "${pkgname}.desktop"
 'default_app-icon.patch'
 'use-system-libraries-in-node.patch'
-'add-dependency-on-opus-in-webcodecs.patch'
-'chromium-fix-libva-redef.patch'
+'add-clang-nomerge-attribute-to-CheckError.patch'
 'chromium-glibc-2.33.patch'
 'sql-make-VirtualCursor-standard-layout-type.patch'
+'unbundle-use-char16_t-as-UCHAR_TYPE.patch'
)
 sha256sums=('SKIP'
 'SKIP'
-'f8b1558f6c87b33423da854d42f0f69d47885a96d6bf6ce7f26373e93d47442f'
+'171525009003a9ed1182cfcb6f407d7169d9a731a474304e263029376719f55a'
 '20c50e217fcb20f72fd2b465ad19659abe51feff4814515767a3065a009d58a5'
 '5270db01f3f8aaa5137dec275a02caa832b7f2e37942e068cba8d28b3a29df39'
 'dd2d248831dd4944d385ebf008426e66efe61d6fdf66f8932c963a12167947b4'
 'f16103daf05713dea632b5f01e45db20ff12d1770a6539b4e8d3957a0242dd54'
-'b86b11de8db438c47f0a84c7956740f648d21035f4ee46bfbd50c3348d369121'
-'de9eb3612d44616a500c2eccdffac814eb90ad9a868cc1030d17fc6783d544e2'
+'50133dd196d288ad538bb536aa51dccd6cb4aacfd9a60160f77e8fb16034b460'
 '2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
 'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
+'59a59a60a08b335fe8647fdf0f9d2288d236ebf2cc9626396d0c4d032fd2b25d'
)
 
 _system_libs=('ffmpeg'
@@ -131,13 +131,12 @@
 
   echo "Applying local patches..."
   # Fixes for building with libstdc++ instead of libc++
-  patch -Np1 -i ../patches/chromium-89-quiche-dcheck.patch
-  patch -Np1 -i ../patches/chromium-89-AXTreeSerializer-include.patch
+  patch -Np1 -i ../patches/chromium-90-ruy-include.patch
 
-  patch -Np1 -i ../add-dependency-on-opus-in-webcodecs.patch
-  patch -Np1 -i ../chromium-fix-libva-redef.patch
+  patch -Rp1 -i ../add-clang-nomerge-attribute-to-CheckError.patch
   patch -Np1 -i ../chromium-glibc-2.33.patch
   patch -Np1 -i ../sql-make-VirtualCursor-standard-layout-type.patch
+  patch -Np1 -i ../unbundle-use-char16_t-as-UCHAR_TYPE.patch
   patch -Np1 -i ../use-system-libraries-in-node.patch
   patch -Np1 -i ../default_app-icon.patch  # Icon from .desktop file
 
@@ -182,7 +181,6 @@
 icu_use_data_file = false
 is_component_ffmpeg = false
 link_pulseaudio = true
-rtc_pipewire_version = "0.3"
 rtc_use_pipewire = true
 treat_warnings_as_errors = false
 use_custom_libcxx = false
@@ -189,7 +187,7 @@
 use_gnome_keyring = false
 use_sysroot = false
   '
-  gn-m87 gen out/Release \
+  gn gen out/Release \
   --args="import(\"//electron/build/args/release.gn\") ${GN_EXTRA_ARGS}"
   ninja -C out/Release electron
   # Strip before zip to avoid
@@ -213,7 +211,8 @@
   done
 
   install -Dm755 "${srcdir}/${pkgname}-launcher.sh" \
-"${pkgdir}/usr/bin/${pkgname}"
+"${pkgdir}/usr/bin/${pkgname}${pkgver%%.*}"
+  ln "${pkgdir}/usr/bin/${pkgname}${pkgver%%.*}" "${pkgdir}/usr/bin/${pkgname}"
 
   # Install .deskt

[arch-commits] Commit in (12 files)

2021-05-26 Thread Nicola Squartini via arch-commits
Date: Thursday, May 27, 2021 @ 05:40:00
  Author: tensor5
Revision: 948102

addpkg: electron12 12.0.9

Added:
  electron12/
  electron12/repos/
  electron12/trunk/
  electron12/trunk/PKGBUILD
  electron12/trunk/add-dependency-on-opus-in-webcodecs.patch
  electron12/trunk/chromium-fix-libva-redef.patch
  electron12/trunk/chromium-glibc-2.33.patch
  electron12/trunk/default_app-icon.patch
  electron12/trunk/electron-launcher.sh
  electron12/trunk/electron.desktop
  electron12/trunk/sql-make-VirtualCursor-standard-layout-type.patch
  electron12/trunk/use-system-libraries-in-node.patch

---+
 PKGBUILD  |  223 ++
 add-dependency-on-opus-in-webcodecs.patch |   43 +++
 chromium-fix-libva-redef.patch|   86 +++
 chromium-glibc-2.33.patch |  144 
 default_app-icon.patch|   21 +
 electron-launcher.sh  |   20 +
 electron.desktop  |7 
 sql-make-VirtualCursor-standard-layout-type.patch |  238 
 use-system-libraries-in-node.patch|   52 
 9 files changed, 834 insertions(+)

Added: electron12/trunk/PKGBUILD
===
--- electron12/trunk/PKGBUILD   (rev 0)
+++ electron12/trunk/PKGBUILD   2021-05-27 05:40:00 UTC (rev 948102)
@@ -0,0 +1,223 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=electron12
+pkgver=12.0.9
+_commit=30f82dd1cb8140ccb5c6a4960eef8e3b8c15eeba
+_chromiumver=89.0.4389.128
+_gcc_patchset=7
+pkgrel=1
+pkgdesc='Build cross platform desktop apps with web technologies'
+arch=('x86_64')
+url='https://electronjs.org/'
+license=('MIT' 'custom')
+depends=('c-ares' 'ffmpeg' 'gtk3' 'libevent' 'libnghttp2' 'libxslt' 'minizip'
+ 'nss' 're2' 'snappy')
+makedepends=('clang' 'git' 'gn-m87' 'gperf' 'harfbuzz-icu' 'http-parser'
+ 'java-runtime-headless' 'jsoncpp' 'libnotify' 'lld' 'llvm' 'ninja'
+ 'npm' 'pciutils' 'pipewire' 'python2' 'wget' 'yarn')
+optdepends=('kde-cli-tools: file deletion support (kioclient5)'
+'libappindicator-gtk3: StatusNotifierItem support'
+'pipewire: WebRTC desktop sharing under Wayland'
+'trash-cli: file deletion support (trash-put)'
+"xdg-utils: open URLs with desktop's default (xdg-email, 
xdg-open)")
+source=('git+https://github.com/electron/electron.git'
+'git+https://chromium.googlesource.com/chromium/tools/depot_tools.git'
+
"https://github.com/stha09/chromium-patches/releases/download/chromium-${_chromiumver%%.*}-patchset-${_gcc_patchset}/chromium-${_chromiumver%%.*}-patchset-${_gcc_patchset}.tar.xz";
+"electron-launcher.sh"
+"electron.desktop"
+'default_app-icon.patch'
+'use-system-libraries-in-node.patch'
+'add-dependency-on-opus-in-webcodecs.patch'
+'chromium-fix-libva-redef.patch'
+'chromium-glibc-2.33.patch'
+'sql-make-VirtualCursor-standard-layout-type.patch'
+   )
+sha256sums=('SKIP'
+'SKIP'
+'f8b1558f6c87b33423da854d42f0f69d47885a96d6bf6ce7f26373e93d47442f'
+'929e058a3cbcdea24f42716a43f6ab29727d99b0cddd807099b791662f1a100e'
+'0805ec335447914d8895afa13f07de0496a687f7f6a088c1fe10d72d08d2f42c'
+'dd2d248831dd4944d385ebf008426e66efe61d6fdf66f8932c963a12167947b4'
+'f16103daf05713dea632b5f01e45db20ff12d1770a6539b4e8d3957a0242dd54'
+'b86b11de8db438c47f0a84c7956740f648d21035f4ee46bfbd50c3348d369121'
+'de9eb3612d44616a500c2eccdffac814eb90ad9a868cc1030d17fc6783d544e2'
+'2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
+'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
+   )
+
+_system_libs=('ffmpeg'
+  'flac'
+  'fontconfig'
+  'freetype'
+  'harfbuzz-ng'
+  'icu'
+  'libdrm'
+  'libevent'
+  'libjpeg'
+  'libpng'
+#  'libvpx'
+  'libwebp'
+  'libxml'
+  'libxslt'
+#  'openh264'
+  'opus'
+  're2'
+  'snappy'
+  'zlib'
+ )
+
+prepare() {
+  mkdir -p "${srcdir}"/python2-path
+  ln -sf /usr/bin/python2 "${srcdir}/python2-path/python"
+  export PATH="${srcdir}/python2-path:${PATH}:${srcdir}/depot_tools"
+
+  echo "Fetching chromium..."
+  git clone --branch=${_chromiumver} --depth=1 \
+  https://chromium.googlesource.com/chromium/src.git
+
+  echo "solutions = [
+  {
+\"name\": \"src/electron\",
+\"url\": \"file://${srcdir}/electron@${_commit}\",
+\"deps_file\": \"DEPS\",
+\"managed\": False,
+\"custom_deps\": {
+  \"src\": None,
+},
+\"

[arch-commits] Commit in electron12/repos (10 files)

2021-05-26 Thread Nicola Squartini via arch-commits
Date: Thursday, May 27, 2021 @ 05:46:08
  Author: tensor5
Revision: 948103

archrelease: copy trunk to community-staging-x86_64

Added:
  electron12/repos/community-staging-x86_64/
  electron12/repos/community-staging-x86_64/PKGBUILD
(from rev 948102, electron12/trunk/PKGBUILD)
  
electron12/repos/community-staging-x86_64/add-dependency-on-opus-in-webcodecs.patch
(from rev 948102, 
electron12/trunk/add-dependency-on-opus-in-webcodecs.patch)
  electron12/repos/community-staging-x86_64/chromium-fix-libva-redef.patch
(from rev 948102, electron12/trunk/chromium-fix-libva-redef.patch)
  electron12/repos/community-staging-x86_64/chromium-glibc-2.33.patch
(from rev 948102, electron12/trunk/chromium-glibc-2.33.patch)
  electron12/repos/community-staging-x86_64/default_app-icon.patch
(from rev 948102, electron12/trunk/default_app-icon.patch)
  electron12/repos/community-staging-x86_64/electron-launcher.sh
(from rev 948102, electron12/trunk/electron-launcher.sh)
  electron12/repos/community-staging-x86_64/electron.desktop
(from rev 948102, electron12/trunk/electron.desktop)
  
electron12/repos/community-staging-x86_64/sql-make-VirtualCursor-standard-layout-type.patch
(from rev 948102, 
electron12/trunk/sql-make-VirtualCursor-standard-layout-type.patch)
  electron12/repos/community-staging-x86_64/use-system-libraries-in-node.patch
(from rev 948102, electron12/trunk/use-system-libraries-in-node.patch)

---+
 PKGBUILD  |  223 ++
 add-dependency-on-opus-in-webcodecs.patch |   43 +++
 chromium-fix-libva-redef.patch|   86 +++
 chromium-glibc-2.33.patch |  144 
 default_app-icon.patch|   21 +
 electron-launcher.sh  |   20 +
 electron.desktop  |7 
 sql-make-VirtualCursor-standard-layout-type.patch |  238 
 use-system-libraries-in-node.patch|   52 
 9 files changed, 834 insertions(+)

Copied: electron12/repos/community-staging-x86_64/PKGBUILD (from rev 948102, 
electron12/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:46:08 UTC (rev 948103)
@@ -0,0 +1,223 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=electron12
+pkgver=12.0.9
+_commit=30f82dd1cb8140ccb5c6a4960eef8e3b8c15eeba
+_chromiumver=89.0.4389.128
+_gcc_patchset=7
+pkgrel=1
+pkgdesc='Build cross platform desktop apps with web technologies'
+arch=('x86_64')
+url='https://electronjs.org/'
+license=('MIT' 'custom')
+depends=('c-ares' 'ffmpeg' 'gtk3' 'libevent' 'libnghttp2' 'libxslt' 'minizip'
+ 'nss' 're2' 'snappy')
+makedepends=('clang' 'git' 'gn-m87' 'gperf' 'harfbuzz-icu' 'http-parser'
+ 'java-runtime-headless' 'jsoncpp' 'libnotify' 'lld' 'llvm' 'ninja'
+ 'npm' 'pciutils' 'pipewire' 'python2' 'wget' 'yarn')
+optdepends=('kde-cli-tools: file deletion support (kioclient5)'
+'libappindicator-gtk3: StatusNotifierItem support'
+'pipewire: WebRTC desktop sharing under Wayland'
+'trash-cli: file deletion support (trash-put)'
+"xdg-utils: open URLs with desktop's default (xdg-email, 
xdg-open)")
+source=('git+https://github.com/electron/electron.git'
+'git+https://chromium.googlesource.com/chromium/tools/depot_tools.git'
+
"https://github.com/stha09/chromium-patches/releases/download/chromium-${_chromiumver%%.*}-patchset-${_gcc_patchset}/chromium-${_chromiumver%%.*}-patchset-${_gcc_patchset}.tar.xz";
+"electron-launcher.sh"
+"electron.desktop"
+'default_app-icon.patch'
+'use-system-libraries-in-node.patch'
+'add-dependency-on-opus-in-webcodecs.patch'
+'chromium-fix-libva-redef.patch'
+'chromium-glibc-2.33.patch'
+'sql-make-VirtualCursor-standard-layout-type.patch'
+   )
+sha256sums=('SKIP'
+'SKIP'
+'f8b1558f6c87b33423da854d42f0f69d47885a96d6bf6ce7f26373e93d47442f'
+'929e058a3cbcdea24f42716a43f6ab29727d99b0cddd807099b791662f1a100e'
+'0805ec335447914d8895afa13f07de0496a687f7f6a088c1fe10d72d08d2f42c'
+'dd2d248831dd4944d385ebf008426e66efe61d6fdf66f8932c963a12167947b4'
+'f16103daf05713dea632b5f01e45db20ff12d1770a6539b4e8d3957a0242dd54'
+'b86b11de8db438c47f0a84c7956740f648d21035f4ee46bfbd50c3348d369121'
+'de9eb3612d44616a500c2eccdffac814eb90ad9a868cc1030d17fc6783d544e2'
+'2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
+'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
+   )
+
+_system_libs=('ffmpeg'
+  'flac'
+  'fontconfig'
+  

[arch-commits] Commit in electron/repos (10 files)

2021-05-26 Thread Nicola Squartini via arch-commits
Date: Thursday, May 27, 2021 @ 05:29:22
  Author: tensor5
Revision: 948101

archrelease: copy trunk to community-staging-x86_64

Added:
  electron/repos/community-staging-x86_64/
  electron/repos/community-staging-x86_64/PKGBUILD
(from rev 948100, electron/trunk/PKGBUILD)
  
electron/repos/community-staging-x86_64/add-clang-nomerge-attribute-to-CheckError.patch
(from rev 948100, 
electron/trunk/add-clang-nomerge-attribute-to-CheckError.patch)
  electron/repos/community-staging-x86_64/chromium-glibc-2.33.patch
(from rev 948100, electron/trunk/chromium-glibc-2.33.patch)
  electron/repos/community-staging-x86_64/default_app-icon.patch
(from rev 948100, electron/trunk/default_app-icon.patch)
  electron/repos/community-staging-x86_64/electron-launcher.sh
(from rev 948100, electron/trunk/electron-launcher.sh)
  electron/repos/community-staging-x86_64/electron.desktop
(from rev 948100, electron/trunk/electron.desktop)
  
electron/repos/community-staging-x86_64/sql-make-VirtualCursor-standard-layout-type.patch
(from rev 948100, 
electron/trunk/sql-make-VirtualCursor-standard-layout-type.patch)
  
electron/repos/community-staging-x86_64/unbundle-use-char16_t-as-UCHAR_TYPE.patch
(from rev 948100, electron/trunk/unbundle-use-char16_t-as-UCHAR_TYPE.patch)
  electron/repos/community-staging-x86_64/use-system-libraries-in-node.patch
(from rev 948100, electron/trunk/use-system-libraries-in-node.patch)

---+
 PKGBUILD  |  221 ++
 add-clang-nomerge-attribute-to-CheckError.patch   |   44 +++
 chromium-glibc-2.33.patch |  144 
 default_app-icon.patch|   21 +
 electron-launcher.sh  |   20 +
 electron.desktop  |7 
 sql-make-VirtualCursor-standard-layout-type.patch |  238 
 unbundle-use-char16_t-as-UCHAR_TYPE.patch |   30 ++
 use-system-libraries-in-node.patch|   52 
 9 files changed, 777 insertions(+)

Copied: electron/repos/community-staging-x86_64/PKGBUILD (from rev 948100, 
electron/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:29:22 UTC (rev 948101)
@@ -0,0 +1,221 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=electron
+pkgver=13.0.1
+_commit=51213f656bfac341f40da9fb84eff27df25d9d68
+_chromiumver=91.0.4472.69
+_gcc_patchset=5
+pkgrel=1
+pkgdesc='Build cross platform desktop apps with web technologies'
+arch=('x86_64')
+url='https://electronjs.org/'
+license=('MIT' 'custom')
+depends=('c-ares' 'ffmpeg' 'gtk3' 'libevent' 'libnghttp2' 'libxslt' 'minizip'
+ 'nss' 're2' 'snappy')
+makedepends=('clang' 'git' 'gn' 'gperf' 'harfbuzz-icu' 'http-parser'
+ 'java-runtime-headless' 'jsoncpp' 'libnotify' 'lld' 'llvm' 'ninja'
+ 'npm' 'pciutils' 'pipewire' 'python2' 'wget' 'yarn')
+optdepends=('kde-cli-tools: file deletion support (kioclient5)'
+'libappindicator-gtk3: StatusNotifierItem support'
+'pipewire: WebRTC desktop sharing under Wayland'
+'trash-cli: file deletion support (trash-put)'
+"xdg-utils: open URLs with desktop's default (xdg-email, 
xdg-open)")
+source=('git+https://github.com/electron/electron.git'
+'git+https://chromium.googlesource.com/chromium/tools/depot_tools.git'
+
"https://github.com/stha09/chromium-patches/releases/download/chromium-${_chromiumver%%.*}-patchset-${_gcc_patchset}/chromium-${_chromiumver%%.*}-patchset-${_gcc_patchset}.tar.xz";
+"${pkgname}-launcher.sh"
+"${pkgname}.desktop"
+'default_app-icon.patch'
+'use-system-libraries-in-node.patch'
+'add-clang-nomerge-attribute-to-CheckError.patch'
+'chromium-glibc-2.33.patch'
+'sql-make-VirtualCursor-standard-layout-type.patch'
+'unbundle-use-char16_t-as-UCHAR_TYPE.patch'
+   )
+sha256sums=('SKIP'
+'SKIP'
+'171525009003a9ed1182cfcb6f407d7169d9a731a474304e263029376719f55a'
+'20c50e217fcb20f72fd2b465ad19659abe51feff4814515767a3065a009d58a5'
+'5270db01f3f8aaa5137dec275a02caa832b7f2e37942e068cba8d28b3a29df39'
+'dd2d248831dd4944d385ebf008426e66efe61d6fdf66f8932c963a12167947b4'
+'f16103daf05713dea632b5f01e45db20ff12d1770a6539b4e8d3957a0242dd54'
+'50133dd196d288ad538bb536aa51dccd6cb4aacfd9a60160f77e8fb16034b460'
+'2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
+'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
+'59a59a60a08b335fe8647fdf0f9d2288d236ebf2cc9626396d0c4d032fd2b25d'
+   )
+
+_system_libs=('ffmpeg'
+  'flac'
+  'fontconfig'
+

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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:27:44
  Author: felixonmars
Revision: 948099

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 948098, haskell-ipynb/trunk/PKGBUILD)

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

Copied: haskell-ipynb/repos/community-staging-x86_64/PKGBUILD (from rev 948098, 
haskell-ipynb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:27:44 UTC (rev 948099)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ipynb
+pkgname=haskell-ipynb
+pkgver=0.1.0.1
+pkgrel=206
+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-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:27:31
  Author: felixonmars
Revision: 948098

upgpkg: haskell-ipynb 0.1.0.1-206: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-ipynb/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:26:57 UTC (rev 948097)
+++ PKGBUILD2021-05-27 05:27:31 UTC (rev 948098)
@@ -3,7 +3,7 @@
 _hkgname=ipynb
 pkgname=haskell-ipynb
 pkgver=0.1.0.1
-pkgrel=205
+pkgrel=206
 pkgdesc="Data structure for working with Jupyter notebooks (ipynb)"
 url="https://github.com/jgm/ipynb";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:26:57
  Author: felixonmars
Revision: 948097

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

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

Copied: haskell-aeson-diff/repos/community-staging-x86_64/PKGBUILD (from rev 
948096, haskell-aeson-diff/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:26:57 UTC (rev 948097)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=aeson-diff
+pkgname=haskell-aeson-diff
+pkgver=1.1.0.9
+pkgrel=193
+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' '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')
+
+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-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:26:47
  Author: felixonmars
Revision: 948096

upgpkg: haskell-aeson-diff 1.1.0.9-193: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-aeson-diff/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:25:53 UTC (rev 948095)
+++ PKGBUILD2021-05-27 05:26:47 UTC (rev 948096)
@@ -3,7 +3,7 @@
 _hkgname=aeson-diff
 pkgname=haskell-aeson-diff
 pkgver=1.1.0.9
-pkgrel=192
+pkgrel=193
 pkgdesc="Extract and apply patches to JSON documents"
 url="https://github.com/thsutton/aeson-diff";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:23:35
  Author: felixonmars
Revision: 948091

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-swagger2/repos/community-staging-x86_64/PKGBUILD (from rev 
948090, haskell-swagger2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:23:35 UTC (rev 948091)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=swagger2
+pkgname=haskell-swagger2
+pkgver=2.6
+pkgrel=157
+pkgdesc="Swagger 2.0 data model"
+url="https://github.com/GetShopTV/swagger2";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-base-compat-batteries'
+ 'haskell-cookie' 'haskell-hashable' 'haskell-generics-sop' 
'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-network' 
'haskell-optics-core'
+ 'haskell-optics-th' 'haskell-quickcheck' 'haskell-scientific'
+ 'haskell-transformers-compat' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-uuid-types')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hunit' 
'haskell-quickcheck-instances'
+ 'haskell-hspec-discover' 'haskell-doctest' 
'haskell-cabal-doctest' 'haskell-glob'
+ 'haskell-utf8-string')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('d7ca7710ad1c1b42c7f9066b94a3abaf22be6826a84255dbbcbb0c0bbae3612cd934432fa907b4f650049e83fae94d6ead602e93f29e739f14c17144fe5a2101')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u QuickCheck -u aeson -u hspec -u lens -u optics-core -u optics-th 
$_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
+# https://github.com/GetShopTV/swagger2/issues/222
+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-servant-swagger/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:25:05
  Author: felixonmars
Revision: 948093

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD (from 
rev 948092, haskell-servant-swagger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:25:05 UTC (rev 948093)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-swagger
+pkgname=haskell-servant-swagger
+pkgver=1.1.10
+pkgrel=153
+pkgdesc="Generate Swagger specification for your servant API."
+url="https://github.com/haskell-servant/servant-swagger";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-servant'
+ 'haskell-singleton-bool' 'haskell-swagger2' 
'haskell-unordered-containers'
+ 'haskell-hspec' 'haskell-quickcheck')
+makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-cabal-doctest' 
'haskell-doctest'
+ 'haskell-hspec-discover' 'haskell-lens-aeson' 
'haskell-utf8-string' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('df3b397ce03dbb4c852598d4d188bcddde40fd9bd762eac53c837267420876ba3aa4d07fb638ffe0d0fa60c9cf080ad483508bf0359b45120f807ed65331f3bc')
+
+prepare() {
+cd $_hkgname-$pkgver
+# https://github.com/haskell-servant/servant-swagger/issues/129
+sed -i '/toSwagger comprehensiveAPI/d' test/Servant/SwaggerSpec.hs
+uusi -u doctest -u lens -u hspec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-doctemplates/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:25:44
  Author: felixonmars
Revision: 948094

upgpkg: haskell-doctemplates 0.9-53: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-doctemplates/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:25:05 UTC (rev 948093)
+++ PKGBUILD2021-05-27 05:25:44 UTC (rev 948094)
@@ -3,7 +3,7 @@
 _hkgname=doctemplates
 pkgname=haskell-doctemplates
 pkgver=0.9
-pkgrel=52
+pkgrel=53
 pkgdesc="Pandoc-style document templates"
 url="https://github.com/jgm/doctemplates";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:25:53
  Author: felixonmars
Revision: 948095

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-doctemplates/repos/community-staging-x86_64/PKGBUILD (from rev 
948094, haskell-doctemplates/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:25:53 UTC (rev 948095)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=doctemplates
+pkgname=haskell-doctemplates
+pkgver=0.9
+pkgrel=53
+pkgdesc="Pandoc-style document templates"
+url="https://github.com/jgm/doctemplates";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-doclayout' 'haskell-hsyaml' 
'haskell-safe'
+ 'haskell-scientific' 'haskell-text-conversions' 
'haskell-unordered-containers'
+ 'haskell-vector')
+makedepends=('ghc' 'haskell-glob' 'haskell-tasty' 'haskell-tasty-golden' 
'haskell-tasty-hunit'
+ 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3216fc7ef4e2a45230a2854c22c2a8622774bc834bbf59d34134912b3942df2a541230bd91324995e13e19098a0fa0bf7057c7d55ca35ec75da7840fddd61a37')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:24:54
  Author: felixonmars
Revision: 948092

upgpkg: haskell-servant-swagger 1.1.10-153: rebuild with hspec 2.8.2, 
hspec-core 2.8.2, hspec-discover 2.8.2

Modified:
  haskell-servant-swagger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:23:35 UTC (rev 948091)
+++ PKGBUILD2021-05-27 05:24:54 UTC (rev 948092)
@@ -4,7 +4,7 @@
 _hkgname=servant-swagger
 pkgname=haskell-servant-swagger
 pkgver=1.1.10
-pkgrel=152
+pkgrel=153
 pkgdesc="Generate Swagger specification for your servant API."
 url="https://github.com/haskell-servant/servant-swagger";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:19:41
  Author: felixonmars
Revision: 948087

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hopenpgp/repos/community-staging-x86_64/PKGBUILD (from rev 
948086, haskell-hopenpgp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:19:41 UTC (rev 948087)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hOpenPGP
+pkgname=haskell-hopenpgp
+pkgver=2.9.5
+pkgrel=130
+pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
+url="http://floss.scru.org/hOpenPGP/";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-asn1-encoding' 
'haskell-attoparsec'
+ 'haskell-base16-bytestring' 'haskell-bifunctors' 'haskell-bz2' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite'
+ 'haskell-crypto-cipher-types' 'haskell-errors' 'haskell-hashable'
+ 'haskell-incremental-parser' 'haskell-ixset-typed' 'haskell-lens' 
'haskell-memory'
+ 'haskell-monad-loops' 'haskell-nettle' 'haskell-network-uri'
+ 'haskell-openpgp-asciiarmor' 'haskell-prettyprinter' 
'haskell-resourcet' 'haskell-split'
+ 'haskell-time-locale-compat' 'haskell-unliftio-core' 
'haskell-unordered-containers'
+ 'haskell-zlib')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('7e0ecc73054c5315093e7f64f92bc7c62a7f9ff1b2c985595db427a063460b3fc692343079676631987c9a651212d1d739289f9b1e2ecb1c086b2c9bd5a4ba0e')
+
+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 hopenpgp-tools/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:20:58
  Author: felixonmars
Revision: 948089

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-05-26 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 27, 2021 @ 05:19:09
  Author: foutrelis
Revision: 416516

archrelease: copy trunk to staging-x86_64

Added:
  llvm11/repos/staging-x86_64/
  llvm11/repos/staging-x86_64/PKGBUILD
(from rev 416515, llvm11/trunk/PKGBUILD)
  
llvm11/repos/staging-x86_64/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch
(from rev 416515, 
llvm11/trunk/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch)
  llvm11/repos/staging-x86_64/utils-benchmark-fix-missing-include.patch
(from rev 416515, llvm11/trunk/utils-benchmark-fix-missing-include.patch)

--+
 PKGBUILD |   91 +
 amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch |   85 
 utils-benchmark-fix-missing-include.patch|   21 +++
 3 files changed, 197 insertions(+)

Copied: llvm11/repos/staging-x86_64/PKGBUILD (from rev 416515, 
llvm11/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-05-27 05:19:09 UTC (rev 416516)
@@ -0,0 +1,91 @@
+# Maintainer: Evangelos Foutras 
+# Contributor: Jan "heftig" Steffens 
+
+pkgname=('llvm11' 'llvm11-libs')
+pkgver=11.1.0
+pkgrel=1
+arch=('x86_64')
+url="https://llvm.org/";
+license=('custom:Apache 2.0 with LLVM Exception')
+makedepends=('cmake' 'ninja' 'libffi' 'libedit' 'ncurses' 'libxml2'
+ 'python-setuptools')
+options=('staticlibs')
+_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
+source=($_source_base/llvm-$pkgver.src.tar.xz{,.sig}
+utils-benchmark-fix-missing-include.patch
+amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch)
+sha256sums=('ce8508e318a01a63d4e8b3090ab2ded3c598a50258cc49e2625b9120d4c03ea5'
+'SKIP'
+'5f75fd45848e4c4b0f94068f7648dd9ff88df4a7b19d2a9f2b83ee358a7e'
+'85b6977005899bc76fcc548e0b6501cae5f50a8ad03060b9f58d03d775323327')
+validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg 

+validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard 

+
+prepare() {
+  cd "$srcdir/llvm-$pkgver.src"
+  mkdir build
+
+  patch -Np2 -i ../utils-benchmark-fix-missing-include.patch
+
+  # https://gitlab.freedesktop.org/mesa/mesa/-/issues/4107
+  # https://bugs.llvm.org/show_bug.cgi?id=48921#c2
+  patch -Np2 -i ../amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch
+}
+
+build() {
+  cd "$srcdir/llvm-$pkgver.src/build"
+
+  cmake .. -G Ninja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DLLVM_HOST_TRIPLE=$CHOST \
+-DLLVM_BUILD_LLVM_DYLIB=ON \
+-DLLVM_LINK_LLVM_DYLIB=ON \
+-DLLVM_INSTALL_UTILS=ON \
+-DLLVM_ENABLE_RTTI=ON \
+-DLLVM_ENABLE_FFI=ON \
+-DLLVM_BUILD_TESTS=ON \
+-DLLVM_BINUTILS_INCDIR=/usr/include
+  ninja
+}
+
+check() {
+  cd "$srcdir/llvm-$pkgver.src/build"
+  ninja check
+}
+
+package_llvm11() {
+  pkgdesc="Collection of modular and reusable compiler and toolchain 
technologies"
+  depends=('llvm11-libs' 'perl')
+  conflicts=('llvm')
+
+  cd "$srcdir/llvm-$pkgver.src/build"
+
+  DESTDIR="$pkgdir" ninja install
+
+  # Include lit for running lit-based tests in other projects
+  pushd ../utils/lit
+  python3 setup.py install --root="$pkgdir" -O1
+  popd
+
+  # The runtime libraries go into llvm11-libs
+  mv -f "$pkgdir"/usr/lib/lib{LLVM-*.so,{LTO,Remarks}.so.*} "$srcdir"
+
+  # Remove files which conflict with llvm-libs
+  rm "$pkgdir"/usr/lib/{LLVMgold,lib{LLVM,LTO,Remarks}}.so
+
+  install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_llvm11-libs() {
+  pkgdesc="LLVM 11 runtime libraries"
+  depends=('gcc-libs' 'zlib' 'libffi' 'libedit' 'ncurses' 'libxml2')
+
+  install -d "$pkgdir/usr/lib"
+  cp -P "$srcdir"/lib{LLVM-*.so,{LTO,Remarks}.so.*} "$pkgdir/usr/lib/"
+
+  install -Dm644 "$srcdir/llvm-$pkgver.src/LICENSE.TXT" \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: 
llvm11/repos/staging-x86_64/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch
 (from rev 416515, 
llvm11/trunk/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch)
===
--- staging-x86_64/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch 
(rev 0)
+++ staging-x86_64/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch 
2021-05-27 05:19:09 UTC (rev 416516)
@@ -0,0 +1,85 @@
+commit b08a140a8fe8d0b0d16a93042b4952d6e34ab913
+Author: Piotr Sobczak 
+Date:   Wed Jan 27 16:02:49 2021 +0100
+
+[AMDGPU] Avoid an illegal operand in si-shrink-instructions
+
+Before the patch it was possible to trigger a constant bus
+violation when folding immediates into a shrunk instruction.
+
+The patch adds a check to enforce the legal

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

2021-05-26 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 27, 2021 @ 05:18:59
  Author: foutrelis
Revision: 416515

upgpkg: llvm11 11.1.0-1

Added:
  llvm11/trunk/utils-benchmark-fix-missing-include.patch
Modified:
  llvm11/trunk/PKGBUILD

---+
 PKGBUILD  |9 +++--
 utils-benchmark-fix-missing-include.patch |   21 +
 2 files changed, 28 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:03:42 UTC (rev 416514)
+++ PKGBUILD2021-05-27 05:18:59 UTC (rev 416515)
@@ -12,9 +12,12 @@
 options=('staticlibs')
 
_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
 source=($_source_base/llvm-$pkgver.src.tar.xz{,.sig}
+utils-benchmark-fix-missing-include.patch
 amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch)
-sha256sums=('c5d8e30b57cbded7128d78e5e8dad811bff97a8d471896812f57fa99ee82cdf3'
-'SKIP')
+sha256sums=('ce8508e318a01a63d4e8b3090ab2ded3c598a50258cc49e2625b9120d4c03ea5'
+'SKIP'
+'5f75fd45848e4c4b0f94068f7648dd9ff88df4a7b19d2a9f2b83ee358a7e'
+'85b6977005899bc76fcc548e0b6501cae5f50a8ad03060b9f58d03d775323327')
 validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg 

 validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard 

 
@@ -22,6 +25,8 @@
   cd "$srcdir/llvm-$pkgver.src"
   mkdir build
 
+  patch -Np2 -i ../utils-benchmark-fix-missing-include.patch
+
   # https://gitlab.freedesktop.org/mesa/mesa/-/issues/4107
   # https://bugs.llvm.org/show_bug.cgi?id=48921#c2
   patch -Np2 -i ../amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch

Added: utils-benchmark-fix-missing-include.patch
===
--- utils-benchmark-fix-missing-include.patch   (rev 0)
+++ utils-benchmark-fix-missing-include.patch   2021-05-27 05:18:59 UTC (rev 
416515)
@@ -0,0 +1,21 @@
+From b498303066a63a203d24f739b2d2e0e56dca70d1 Mon Sep 17 00:00:00 2001
+From: serge-sans-paille 
+Date: Tue, 10 Nov 2020 14:55:25 +0100
+Subject: [PATCH] [nfc] Fix missing include
+
+---
+ llvm/utils/benchmark/src/benchmark_register.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/llvm/utils/benchmark/src/benchmark_register.h 
b/llvm/utils/benchmark/src/benchmark_register.h
+index 0705e219f2fa..4caa5ad4da07 100644
+--- a/llvm/utils/benchmark/src/benchmark_register.h
 b/llvm/utils/benchmark/src/benchmark_register.h
+@@ -1,6 +1,7 @@
+ #ifndef BENCHMARK_REGISTER_H
+ #define BENCHMARK_REGISTER_H
+ 
++#include 
+ #include 
+ 
+ #include "check.h"


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:20:48
  Author: felixonmars
Revision: 948088

upgpkg: hopenpgp-tools 0.23.6-88: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:19:41 UTC (rev 948087)
+++ PKGBUILD2021-05-27 05:20:48 UTC (rev 948088)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.6
-pkgrel=87
+pkgrel=88
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools";
 license=("AGPL3")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:19:29
  Author: felixonmars
Revision: 948086

upgpkg: haskell-hopenpgp 2.9.5-130: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:17:55 UTC (rev 948085)
+++ PKGBUILD2021-05-27 05:19:29 UTC (rev 948086)
@@ -3,7 +3,7 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.9.5
-pkgrel=129
+pkgrel=130
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/";
 license=('MIT')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:23:25
  Author: felixonmars
Revision: 948090

upgpkg: haskell-swagger2 2.6-157: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-swagger2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:20:58 UTC (rev 948089)
+++ PKGBUILD2021-05-27 05:23:25 UTC (rev 948090)
@@ -4,7 +4,7 @@
 _hkgname=swagger2
 pkgname=haskell-swagger2
 pkgver=2.6
-pkgrel=156
+pkgrel=157
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:17:55
  Author: felixonmars
Revision: 948085

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ixset-typed/repos/community-staging-x86_64/PKGBUILD (from rev 
948084, haskell-ixset-typed/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:17:55 UTC (rev 948085)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ixset-typed
+pkgname=haskell-ixset-typed
+pkgver=0.5
+pkgrel=156
+pkgdesc="Efficient relational queries on Haskell sets"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-safecopy' 'haskell-syb')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('0f25a540835805cdea68b46de5956afa887172cf16135f7d13e1c1f59e750652defae74d3ecebdacdb606ddf3bdc515c370e0b57f7ada21e3aa3f6e1b62fe582')
+
+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 "COPYING" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:16:03
  Author: felixonmars
Revision: 948080

upgpkg: haskell-generic-data 0.9.2.0-78: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-generic-data/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:15:09 UTC (rev 948079)
+++ PKGBUILD2021-05-27 05:16:03 UTC (rev 948080)
@@ -3,7 +3,7 @@
 _hkgname=generic-data
 pkgname=haskell-generic-data
 pkgver=0.9.2.0
-pkgrel=77
+pkgrel=78
 pkgdesc="Deriving instances with GHC.Generics and related utilities"
 url="https://github.com/Lysxia/generic-data";
 license=('MIT')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:17:02
  Author: felixonmars
Revision: 948082

upgpkg: haskell-safecopy 0.10.4.2-16: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-safecopy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:16:12 UTC (rev 948081)
+++ PKGBUILD2021-05-27 05:17:02 UTC (rev 948082)
@@ -3,7 +3,7 @@
 _hkgname=safecopy
 pkgname=haskell-safecopy
 pkgver=0.10.4.2
-pkgrel=15
+pkgrel=16
 pkgdesc="Binary serialization with version control."
 url="http://acid-state.seize.it/safecopy";
 license=('custom:PublicDomain')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:15:09
  Author: felixonmars
Revision: 948079

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-glob/repos/community-staging-x86_64/PKGBUILD (from rev 948078, 
haskell-glob/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:15:09 UTC (rev 948079)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Glob
+pkgname=haskell-glob
+pkgver=0.10.1
+pkgrel=81
+pkgdesc="Globbing library"
+url="https://iki.fi/matti.niemenmaa/glob/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-transformers-compat')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('b2b2ee93f2cadf01f8a6828b9e742a241601f5fada1f73388dc0044f8e0985c601bd6a42738c60c54eecb619b6289ac1302751d8e2402f6494aaeb2b2a4abb42')
+
+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.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.txt"
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:10:53
  Author: felixonmars
Revision: 948068

upgpkg: haskell-x11 1.9.2-74: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-x11/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:10:04 UTC (rev 948067)
+++ PKGBUILD2021-05-27 05:10:53 UTC (rev 948068)
@@ -5,7 +5,7 @@
 _hkgname=X11
 pkgname=haskell-x11
 pkgver=1.9.2
-pkgrel=73
+pkgrel=74
 pkgdesc="A Haskell binding to the X11 graphics library."
 arch=(x86_64)
 url="https://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11";


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:16:12
  Author: felixonmars
Revision: 948081

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-generic-data/repos/community-staging-x86_64/
  haskell-generic-data/repos/community-staging-x86_64/PKGBUILD
(from rev 948080, haskell-generic-data/trunk/PKGBUILD)

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

Copied: haskell-generic-data/repos/community-staging-x86_64/PKGBUILD (from rev 
948080, haskell-generic-data/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:16:12 UTC (rev 948081)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=generic-data
+pkgname=haskell-generic-data
+pkgver=0.9.2.0
+pkgrel=78
+pkgdesc="Deriving instances with GHC.Generics and related utilities"
+url="https://github.com/Lysxia/generic-data";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ap-normalize' 'haskell-base-orphans' 
'haskell-contravariant'
+ 'haskell-show-combinators')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 
'haskell-generic-lens' 'haskell-glob'
+ 'haskell-inspection-testing' 'haskell-one-liner' 
'haskell-quickcheck'
+ 'haskell-show-combinators' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-unordered-containers')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b670a5ff77f9c918b13a5580a48e6b6e9583e34eefb4d348680bd3fb27c0ab85b028ffbc6010be09180021f6af32ceea8b8e7ade529d97cf59b43fb1655f2297')
+
+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-safecopy/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:17:12
  Author: felixonmars
Revision: 948083

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-safecopy/repos/community-staging-x86_64/PKGBUILD (from rev 
948082, haskell-safecopy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:17:12 UTC (rev 948083)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safecopy
+pkgname=haskell-safecopy
+pkgver=0.10.4.2
+pkgrel=16
+pkgdesc="Binary serialization with version control."
+url="http://acid-state.seize.it/safecopy";
+license=('custom:PublicDomain')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-generic-data' 'haskell-old-time' 
'haskell-vector')
+makedepends=('ghc' 'haskell-hunit' 'haskell-lens' 'haskell-lens-action' 
'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('2b6ae8488ac00bb5048e63886433aea6c2b13c9bea252fb8622ee1b673bce9e259639fbb68ef47a17ceac65edec2631ee95bc34a665c039f5c651d6192418bf5')
+
+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"
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:12:25
  Author: felixonmars
Revision: 948073

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-x11-xft/repos/community-staging-x86_64/
  haskell-x11-xft/repos/community-staging-x86_64/PKGBUILD
(from rev 948072, haskell-x11-xft/trunk/PKGBUILD)

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

Copied: haskell-x11-xft/repos/community-staging-x86_64/PKGBUILD (from rev 
948072, haskell-x11-xft/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:12:25 UTC (rev 948073)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin 
+
+_hkgname=X11-xft
+pkgname=haskell-x11-xft
+pkgver=0.3.1
+pkgrel=161
+pkgdesc="Bindings to the Xft, X Free Type interface library, and some Xrender 
parts"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=('LGPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-x11' 'haskell-utf8-string' 'libxft')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/X11-xft/$pkgver/X11-xft-$pkgver.tar.gz)
+sha512sums=('8f40db25453227ef9ce53b05a0c6af869e3a2efdb1d9b9ad683baf52601f320c85b09f0e514bb6ffeb17516d9b75c6772aa49613bb96272d56f06788118b7cfe')
+
+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 xmonad-contrib/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:13:46
  Author: felixonmars
Revision: 948075

archrelease: copy trunk to community-staging-x86_64

Added:
  xmonad-contrib/repos/community-staging-x86_64/
  xmonad-contrib/repos/community-staging-x86_64/PKGBUILD
(from rev 948074, xmonad-contrib/trunk/PKGBUILD)

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

Copied: xmonad-contrib/repos/community-staging-x86_64/PKGBUILD (from rev 
948074, xmonad-contrib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:13:46 UTC (rev 948075)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributor: Sergej Pupykin 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: orbisvicis 
+
+pkgname=xmonad-contrib
+pkgver=0.16
+pkgrel=109
+pkgdesc='Add-ons for xmonad'
+url='https://xmonad.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('ghc-libs' 'xmonad' 'sh' 'haskell-x11' 'haskell-x11-xft' 
'haskell-utf8-string' 'haskell-random'
+ 'haskell-old-time')
+makedepends=('ghc')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad-contrib/archive/v${pkgver}.tar.gz)
+sha512sums=('68f93ef6bcc1f2b3f5422c35a9ddcf846c75c1e9d8e6177750f4fad8dec818642e0a7159d295a381f0656c85b1f52382af1e32d577a825c4fcbdfa4c131581cc')
+
+prepare() {
+  sed -i -e '/semigroups/d' -e 's/utf8-string,/utf8-string/' 
${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  runhaskell Setup.lhs configure -O --enable-shared 
--enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr -fuse_xft --libsubdir=\$compiler/site-local/\$pkgid 
\
+ --docdir=/usr/share/doc/${pkgname}
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --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 -Dm 744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  runhaskell Setup.lhs copy --destdir="${pkgdir}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:14:17
  Author: felixonmars
Revision: 948076

upgpkg: xmonad-utils 0.1.3.3-134: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  xmonad-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:13:46 UTC (rev 948075)
+++ PKGBUILD2021-05-27 05:14:17 UTC (rev 948076)
@@ -3,7 +3,7 @@
 
 pkgname=xmonad-utils
 pkgver=0.1.3.3
-pkgrel=133
+pkgrel=134
 pkgdesc='Small collection of X utilities'
 url='https://hackage.haskell.org/package/xmonad-utils'
 arch=('x86_64')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:17:45
  Author: felixonmars
Revision: 948084

upgpkg: haskell-ixset-typed 0.5-156: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-ixset-typed/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:17:12 UTC (rev 948083)
+++ PKGBUILD2021-05-27 05:17:45 UTC (rev 948084)
@@ -3,7 +3,7 @@
 _hkgname=ixset-typed
 pkgname=haskell-ixset-typed
 pkgver=0.5
-pkgrel=155
+pkgrel=156
 pkgdesc="Efficient relational queries on Haskell sets"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:11:03
  Author: felixonmars
Revision: 948069

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-x11/repos/community-staging-x86_64/PKGBUILD (from rev 948068, 
haskell-x11/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:11:03 UTC (rev 948069)
@@ -0,0 +1,40 @@
+# Maintainer: Sergej Pupykin 
+# Contributor: shild 
+# Maintainer: Vesa Kaihlavirta 
+
+_hkgname=X11
+pkgname=haskell-x11
+pkgver=1.9.2
+pkgrel=74
+pkgdesc="A Haskell binding to the X11 graphics library."
+arch=(x86_64)
+url="https://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11";
+license=('BSD')
+depends=('ghc-libs' "libx11" "libxinerama" "libxrandr" "libxss" 
"haskell-data-default")
+conflicts=(haskell-x11-extras)
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/X11/$pkgver/X11-$pkgver.tar.gz)
+sha512sums=('e9658c33b6dcbb6a42f1cc4a8976365506af94ddc15c32f73205b453934ef3232f3b383f8365b6aa6e69b51acfda4a0f3a8038f3164523b33781139a80582a41')
+
+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 xmonad/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:11:37
  Author: felixonmars
Revision: 948070

upgpkg: xmonad 0.15-129: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  xmonad/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:11:03 UTC (rev 948069)
+++ PKGBUILD2021-05-27 05:11:37 UTC (rev 948070)
@@ -6,7 +6,7 @@
 
 pkgname=xmonad
 pkgver=0.15
-pkgrel=128
+pkgrel=129
 pkgdesc='Lightweight X11 tiled window manager written in Haskell'
 url='https://xmonad.org/'
 arch=('x86_64')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:13:35
  Author: felixonmars
Revision: 948074

upgpkg: xmonad-contrib 0.16-109: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  xmonad-contrib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:12:25 UTC (rev 948073)
+++ PKGBUILD2021-05-27 05:13:35 UTC (rev 948074)
@@ -6,7 +6,7 @@
 
 pkgname=xmonad-contrib
 pkgver=0.16
-pkgrel=108
+pkgrel=109
 pkgdesc='Add-ons for xmonad'
 url='https://xmonad.org/'
 arch=('x86_64')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:10:04
  Author: felixonmars
Revision: 948067

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-incremental-parser/repos/community-staging-x86_64/
  haskell-incremental-parser/repos/community-staging-x86_64/PKGBUILD
(from rev 948066, haskell-incremental-parser/trunk/PKGBUILD)

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

Copied: haskell-incremental-parser/repos/community-staging-x86_64/PKGBUILD 
(from rev 948066, haskell-incremental-parser/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:10:04 UTC (rev 948067)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=incremental-parser
+pkgname=haskell-incremental-parser
+pkgver=0.5.0.2
+pkgrel=22
+pkgdesc="Generic parser library capable of providing partial results from 
partial input."
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-input-parsers' 'haskell-monoid-subclasses' 
'haskell-parsers'
+ 'haskell-rank2classes')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-checkers' 'haskell-tasty'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('2a8627b680709e746e516091f4a3837f7fdb78c1612be971d4db801bcf1f32f581d111df72cd68e73063ce85debbc23e57b1c8f0017a4706e8554ad47276d168')
+
+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"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.txt"
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:14:27
  Author: felixonmars
Revision: 948077

archrelease: copy trunk to community-staging-x86_64

Added:
  xmonad-utils/repos/community-staging-x86_64/
  xmonad-utils/repos/community-staging-x86_64/PKGBUILD
(from rev 948076, xmonad-utils/trunk/PKGBUILD)

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

Copied: xmonad-utils/repos/community-staging-x86_64/PKGBUILD (from rev 948076, 
xmonad-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:14:27 UTC (rev 948077)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak 
+# Contributor: Leif Warner 
+
+pkgname=xmonad-utils
+pkgver=0.1.3.3
+pkgrel=134
+pkgdesc='Small collection of X utilities'
+url='https://hackage.haskell.org/package/xmonad-utils'
+arch=('x86_64')
+license=('BSD')
+depends=('glibc' 'ghc-libs' 'gmp' 'libffi' 'libxrandr' 'haskell-x11' 
'haskell-random' 'haskell-unix'
+ 'libxcrypt' 'libcrypt.so' 'libx11')
+makedepends=('ghc')
+options=('!emptydirs')
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('45a5db08e2e8fce4a11f929107c29d5073b897cbe83af0ea24ee2e691b72e2f8')
+sha512sums=('f969a0b75107266ec5f74edc06075a1ede72857311d8e0494bf5b567d18e0a9d6e5b046dbb2a34783c2eafc18be9576b86aa78415306974718031a7dd652418c')
+
+build() {
+  cd ${pkgname}-${pkgver}
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir=/usr/share/doc/${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
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  runhaskell Setup copy --destdir="${pkgdir}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  rm "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:15:00
  Author: felixonmars
Revision: 948078

upgpkg: haskell-glob 0.10.1-81: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-glob/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:14:27 UTC (rev 948077)
+++ PKGBUILD2021-05-27 05:15:00 UTC (rev 948078)
@@ -4,7 +4,7 @@
 _hkgname=Glob
 pkgname=haskell-glob
 pkgver=0.10.1
-pkgrel=80
+pkgrel=81
 pkgdesc="Globbing library"
 url="https://iki.fi/matti.niemenmaa/glob/";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:09:07
  Author: felixonmars
Revision: 948064

upgpkg: haskell-rank2classes 1.4.1-58: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-rank2classes/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:08:29 UTC (rev 948063)
+++ PKGBUILD2021-05-27 05:09:07 UTC (rev 948064)
@@ -3,7 +3,7 @@
 _hkgname=rank2classes
 pkgname=haskell-rank2classes
 pkgver=1.4.1
-pkgrel=57
+pkgrel=58
 pkgdesc="Standard type constructor class hierarchy, only with methods of rank 
2 types"
 url="https://github.com/blamario/grampa/tree/master/rank2classes";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:09:51
  Author: felixonmars
Revision: 948066

upgpkg: haskell-incremental-parser 0.5.0.2-22: rebuild with hspec 2.8.2, 
hspec-core 2.8.2, hspec-discover 2.8.2

Modified:
  haskell-incremental-parser/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:09:17 UTC (rev 948065)
+++ PKGBUILD2021-05-27 05:09:51 UTC (rev 948066)
@@ -4,7 +4,7 @@
 _hkgname=incremental-parser
 pkgname=haskell-incremental-parser
 pkgver=0.5.0.2
-pkgrel=21
+pkgrel=22
 pkgdesc="Generic parser library capable of providing partial results from 
partial input."
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('GPL')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:06:20
  Author: felixonmars
Revision: 948059

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tomland/repos/community-staging-x86_64/PKGBUILD (from rev 
948058, haskell-tomland/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:06:20 UTC (rev 948059)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=tomland
+pkgname=haskell-tomland
+pkgver=1.3.3.0
+pkgrel=18
+pkgdesc="Implementation of bidirectional TOML serialization."
+url="https://github.com/kowainik/tomland";
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-megaparsec' 
'haskell-parser-combinators'
+ 'haskell-unordered-containers' 'haskell-validation-selective')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog'
+ 'haskell-hspec-megaparsec' 'haskell-markdown-unlit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('3bf4e6382993c07f776b2dd7326e2eeecde581fe145a60caaa3b0decb8d81404e772a12594442afa6bce289c3df6548dc46df6c82822e9c7e4f0be0b7d3af1c8')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u hspec $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/bin/{,tomland-}readme
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:08:29
  Author: felixonmars
Revision: 948063

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-feed/repos/community-staging-x86_64/PKGBUILD (from rev 948062, 
haskell-feed/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:08:29 UTC (rev 948063)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=feed
+pkgname=haskell-feed
+pkgver=1.3.2.0
+pkgrel=21
+pkgdesc="Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds."
+url="https://github.com/bergmark/feed";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-old-locale' 
'haskell-old-time' 'haskell-safe'
+ 'haskell-time-locale-compat' 'haskell-utf8-string' 'haskell-xml-types'
+ 'haskell-xml-conduit')
+makedepends=('ghc' 'haskell-doctest' 'haskell-doctest-driver-gen' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-markdown-unlit'
+ 'haskell-syb')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('17d182c3ebf07b3f9f72f90ece7dcbfaa91931410663b513fda4e85c19b4d3118eb7e8ac685cf0f868d00fa9d05153409b2b4ce40ccdcdf3cf13bfed1929ebdd')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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 "doctests are broken for now"
+}
+
+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-x11-xft/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:12:16
  Author: felixonmars
Revision: 948072

upgpkg: haskell-x11-xft 0.3.1-161: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-x11-xft/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:11:52 UTC (rev 948071)
+++ PKGBUILD2021-05-27 05:12:16 UTC (rev 948072)
@@ -3,7 +3,7 @@
 _hkgname=X11-xft
 pkgname=haskell-x11-xft
 pkgver=0.3.1
-pkgrel=160
+pkgrel=161
 pkgdesc="Bindings to the Xft, X Free Type interface library, and some Xrender 
parts"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('LGPL')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:09:17
  Author: felixonmars
Revision: 948065

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rank2classes/repos/community-staging-x86_64/PKGBUILD (from rev 
948064, haskell-rank2classes/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:09:17 UTC (rev 948065)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=rank2classes
+pkgname=haskell-rank2classes
+pkgver=1.4.1
+pkgrel=58
+pkgdesc="Standard type constructor class hierarchy, only with methods of rank 
2 types"
+url="https://github.com/blamario/grampa/tree/master/rank2classes";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-distributive')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 
'haskell-markdown-unlit'
+ 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('5c1c271809d98105c9d0bfa0a453871b4ac322d954ac9a1048d8846081782f5080c7051d3f3d58d8620c8221f3ea5b4761311677ff1968daabc4e5a6dfbc8d5e')
+
+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 xmonad/repos (4 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:11:52
  Author: felixonmars
Revision: 948071

archrelease: copy trunk to community-staging-x86_64

Added:
  xmonad/repos/community-staging-x86_64/
  xmonad/repos/community-staging-x86_64/PKGBUILD
(from rev 948070, xmonad/trunk/PKGBUILD)
  xmonad/repos/community-staging-x86_64/dynamic-compilation.patch
(from rev 948070, xmonad/trunk/dynamic-compilation.patch)
  xmonad/repos/community-staging-x86_64/xmonad.svg
(from rev 948070, xmonad/trunk/xmonad.svg)

---+
 PKGBUILD  |   70 
 dynamic-compilation.patch |   11 ++
 xmonad.svg|   77 
 3 files changed, 158 insertions(+)

Copied: xmonad/repos/community-staging-x86_64/PKGBUILD (from rev 948070, 
xmonad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:11:52 UTC (rev 948071)
@@ -0,0 +1,70 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributor: Sergej Pupykin 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: shild 
+
+pkgname=xmonad
+pkgver=0.15
+pkgrel=129
+pkgdesc='Lightweight X11 tiled window manager written in Haskell'
+url='https://xmonad.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('ghc' 'haskell-x11' 'sh' 'haskell-utf8-string' 
'haskell-extensible-exceptions'
+ 'haskell-data-default' 'haskell-setlocale')
+makedepends=('gendesk')
+optdepends=('xorg-xmessage: for displaying visual error messages')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad/archive/v${pkgver}.tar.gz
+dynamic-compilation.patch
+xmonad.svg)
+sha512sums=('07bf61a1355548679d264e62423dfe6c4ee886aff28ac748588aa7f4f9a4f1bf2afabb1104451fa56f5a3989d79b6044f479d2804e416940e02f52f18b443996'
+
'abc598ebc4b55917186cd4d549fc970f53905f820d394ada9a092c08d8833050ad18b23e2f4fd7f281487da2db5b0ca058600e995ac97b18d3be4c62071562d6'
+
'31f0ceb724a9931aeda75ab706c8908b5d8341af4df50ab1d749814baacb748ad3622601cd99ac03bf936b698fcd854b23d1541e1772306e3337a13a79b110b6')
+
+prepare() {
+  gendesk --pkgname "${pkgname}" --pkgdesc "${pkgdesc}"
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/dynamic-compilation.patch"
+  sed -e 's/&& <.*,/,/g' -e 's/==.*,/,/g' -i ${pkgname}.cabal
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  runhaskell Setup configure -O \
+--enable-shared \
+--enable-executable-dynamic \
+--disable-library-vanilla \
+--prefix=/usr \
+--dynlibdir=/usr/lib \
+--docdir="/usr/share/doc/${pkgname}" \
+--datasubdir="${pkgname}" \
+--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 ${pkgname}-${pkgver}
+
+  install -Dm 744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+
+  runhaskell Setup.lhs copy --destdir="${pkgdir}"
+
+  # Requires pandoc, regex-posix, Pretty and cabal
+  #runhaskell util/GenerateManpage.hs
+
+  install -Dm 644 man/xmonad.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/xmonad"
+  install -Dm 644 "$srcdir/xmonad.svg" -t "${pkgdir}/usr/share/pixmaps"
+  install -Dm 644 "$srcdir/xmonad.desktop" -t "${pkgdir}/usr/share/xsessions"
+}
+
+# vim: ts=2 sw=2 et:

Copied: xmonad/repos/community-staging-x86_64/dynamic-compilation.patch (from 
rev 948070, xmonad/trunk/dynamic-compilation.patch)
===
--- community-staging-x86_64/dynamic-compilation.patch  
(rev 0)
+++ community-staging-x86_64/dynamic-compilation.patch  2021-05-27 05:11:52 UTC 
(rev 948071)
@@ -0,0 +1,11 @@
+diff -ura xmonad-0.13.orig/src/XMonad/Core.hs xmonad-0.13/src/XMonad/Core.hs
+--- xmonad-0.13.orig/src/XMonad/Core.hs2017-06-23 17:13:06.154600231 
+0300
 xmonad-0.13/src/XMonad/Core.hs 2017-06-23 17:13:51.021867441 +0300
+@@ -626,6 +626,7 @@
+   , "-ilib"
+   , "-fforce-recomp"
+   , "-main-is", "main"
++  , "-dynamic"
+   , "-v0"
+   , "-o", bin
+   ] (Just dir) Nothing Nothing Nothing (Just 
errHandle)

Copied: xmonad/repos/community-staging-x86_64/xmonad.svg (from rev 948070, 
xmonad/trunk/xmonad.svg)
===
--- 

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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:07:37
  Author: felixonmars
Revision: 948061

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-th-env/repos/community-staging-x86_64/
  haskell-th-env/repos/community-staging-x86_64/PKGBUILD
(from rev 948060, haskell-th-env/trunk/PKGBUILD)

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

Copied: haskell-th-env/repos/community-staging-x86_64/PKGBUILD (from rev 
948060, haskell-th-env/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:07:37 UTC (rev 948061)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=th-env
+pkgname=haskell-th-env
+pkgver=0.1.0.2
+pkgrel=34
+pkgdesc="Template Haskell splice that expands to an environment variable"
+url="https://github.com/dzhus/th-env#readme";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-markdown-unlit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c0d29be2104dd0964f534637841b8ceb665d594b02318062aa4a245ccb353a8f')
+
+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-feed/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:08:19
  Author: felixonmars
Revision: 948062

upgpkg: haskell-feed 1.3.2.0-21: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-feed/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:07:37 UTC (rev 948061)
+++ PKGBUILD2021-05-27 05:08:19 UTC (rev 948062)
@@ -4,7 +4,7 @@
 _hkgname=feed
 pkgname=haskell-feed
 pkgver=1.3.2.0
-pkgrel=20
+pkgrel=21
 pkgdesc="Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds."
 url="https://github.com/bergmark/feed";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:06:44
  Author: felixonmars
Revision: 948060

upgpkg: haskell-th-env 0.1.0.2-34: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-th-env/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:06:20 UTC (rev 948059)
+++ PKGBUILD2021-05-27 05:06:44 UTC (rev 948060)
@@ -3,7 +3,7 @@
 _hkgname=th-env
 pkgname=haskell-th-env
 pkgver=0.1.0.2
-pkgrel=33
+pkgrel=34
 pkgdesc="Template Haskell splice that expands to an environment variable"
 url="https://github.com/dzhus/th-env#readme";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:06:10
  Author: felixonmars
Revision: 948058

upgpkg: haskell-tomland 1.3.3.0-18: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-tomland/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:04:58 UTC (rev 948057)
+++ PKGBUILD2021-05-27 05:06:10 UTC (rev 948058)
@@ -4,7 +4,7 @@
 _hkgname=tomland
 pkgname=haskell-tomland
 pkgver=1.3.3.0
-pkgrel=17
+pkgrel=18
 pkgdesc="Implementation of bidirectional TOML serialization."
 url="https://github.com/kowainik/tomland";
 license=('MPL2')


[arch-commits] Commit in (5 files)

2021-05-26 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 27, 2021 @ 05:03:42
  Author: foutrelis
Revision: 416514

Add llvm10 for bootstrapping the rust/ldc rebuilds

Added:
  llvm11/
  llvm11/repos/
  llvm11/trunk/
  llvm11/trunk/PKGBUILD
  llvm11/trunk/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch

--+
 PKGBUILD |   86 +
 amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch |   85 
 2 files changed, 171 insertions(+)

Added: llvm11/trunk/PKGBUILD
===
--- llvm11/trunk/PKGBUILD   (rev 0)
+++ llvm11/trunk/PKGBUILD   2021-05-27 05:03:42 UTC (rev 416514)
@@ -0,0 +1,86 @@
+# Maintainer: Evangelos Foutras 
+# Contributor: Jan "heftig" Steffens 
+
+pkgname=('llvm11' 'llvm11-libs')
+pkgver=11.1.0
+pkgrel=1
+arch=('x86_64')
+url="https://llvm.org/";
+license=('custom:Apache 2.0 with LLVM Exception')
+makedepends=('cmake' 'ninja' 'libffi' 'libedit' 'ncurses' 'libxml2'
+ 'python-setuptools')
+options=('staticlibs')
+_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
+source=($_source_base/llvm-$pkgver.src.tar.xz{,.sig}
+amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch)
+sha256sums=('c5d8e30b57cbded7128d78e5e8dad811bff97a8d471896812f57fa99ee82cdf3'
+'SKIP')
+validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg 

+validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard 

+
+prepare() {
+  cd "$srcdir/llvm-$pkgver.src"
+  mkdir build
+
+  # https://gitlab.freedesktop.org/mesa/mesa/-/issues/4107
+  # https://bugs.llvm.org/show_bug.cgi?id=48921#c2
+  patch -Np2 -i ../amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch
+}
+
+build() {
+  cd "$srcdir/llvm-$pkgver.src/build"
+
+  cmake .. -G Ninja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DLLVM_HOST_TRIPLE=$CHOST \
+-DLLVM_BUILD_LLVM_DYLIB=ON \
+-DLLVM_LINK_LLVM_DYLIB=ON \
+-DLLVM_INSTALL_UTILS=ON \
+-DLLVM_ENABLE_RTTI=ON \
+-DLLVM_ENABLE_FFI=ON \
+-DLLVM_BUILD_TESTS=ON \
+-DLLVM_BINUTILS_INCDIR=/usr/include
+  ninja
+}
+
+check() {
+  cd "$srcdir/llvm-$pkgver.src/build"
+  ninja check
+}
+
+package_llvm11() {
+  pkgdesc="Collection of modular and reusable compiler and toolchain 
technologies"
+  depends=('llvm11-libs' 'perl')
+  conflicts=('llvm')
+
+  cd "$srcdir/llvm-$pkgver.src/build"
+
+  DESTDIR="$pkgdir" ninja install
+
+  # Include lit for running lit-based tests in other projects
+  pushd ../utils/lit
+  python3 setup.py install --root="$pkgdir" -O1
+  popd
+
+  # The runtime libraries go into llvm11-libs
+  mv -f "$pkgdir"/usr/lib/lib{LLVM-*.so,{LTO,Remarks}.so.*} "$srcdir"
+
+  # Remove files which conflict with llvm-libs
+  rm "$pkgdir"/usr/lib/{LLVMgold,lib{LLVM,LTO,Remarks}}.so
+
+  install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_llvm11-libs() {
+  pkgdesc="LLVM 11 runtime libraries"
+  depends=('gcc-libs' 'zlib' 'libffi' 'libedit' 'ncurses' 'libxml2')
+
+  install -d "$pkgdir/usr/lib"
+  cp -P "$srcdir"/lib{LLVM-*.so,{LTO,Remarks}.so.*} "$pkgdir/usr/lib/"
+
+  install -Dm644 "$srcdir/llvm-$pkgver.src/LICENSE.TXT" \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Added: llvm11/trunk/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch
===
--- llvm11/trunk/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch   
(rev 0)
+++ llvm11/trunk/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch   
2021-05-27 05:03:42 UTC (rev 416514)
@@ -0,0 +1,85 @@
+commit b08a140a8fe8d0b0d16a93042b4952d6e34ab913
+Author: Piotr Sobczak 
+Date:   Wed Jan 27 16:02:49 2021 +0100
+
+[AMDGPU] Avoid an illegal operand in si-shrink-instructions
+
+Before the patch it was possible to trigger a constant bus
+violation when folding immediates into a shrunk instruction.
+
+The patch adds a check to enforce the legality of the new operand.
+
+Differential Revision: https://reviews.llvm.org/D95527
+
+diff --git a/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp 
b/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+index 9c6833a7dab6..6c1b16eddc84 100644
+--- a/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
 b/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+@@ -84,21 +84,23 @@ static bool foldImmediates(MachineInstr &MI, const 
SIInstrInfo *TII,
+ MachineOperand &MovSrc = Def->getOperand(1);
+ bool ConstantFolded = false;
+ 
+-if (MovSrc.isImm() && (isInt<32>(MovSrc.getImm()) ||
+-   isUInt<32>(MovSrc.getImm( {
+-  // It's possible to have only one component of a super-reg defined 
by
+-  // a single mov, so we need to clear any su

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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:04:13
  Author: felixonmars
Revision: 948055

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 948054, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:04:13 UTC (rev 948055)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=182
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:04:00
  Author: felixonmars
Revision: 948054

upgpkg: haskell-drbg 0.5.5-182: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-drbg/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:03:21 UTC (rev 948053)
+++ PKGBUILD2021-05-27 05:04:00 UTC (rev 948054)
@@ -3,7 +3,7 @@
 _hkgname=DRBG
 pkgname=haskell-drbg
 pkgver=0.5.5
-pkgrel=181
+pkgrel=182
 pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
 url="https://github.com/TomMD/DRBG";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:04:58
  Author: felixonmars
Revision: 948057

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-markdown-unlit/repos/community-staging-x86_64/
  haskell-markdown-unlit/repos/community-staging-x86_64/PKGBUILD
(from rev 948056, haskell-markdown-unlit/trunk/PKGBUILD)

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

Copied: haskell-markdown-unlit/repos/community-staging-x86_64/PKGBUILD (from 
rev 948056, haskell-markdown-unlit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:04:58 UTC (rev 948057)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=markdown-unlit
+pkgname=haskell-markdown-unlit
+pkgver=0.5.1
+pkgrel=47
+pkgdesc="Literate Haskell support for Markdown"
+url="https://github.com/sol/markdown-unlit";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-silently'
+ 'haskell-stringbuilder' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('a9018d201c81af673eb40398a47a2010b7deb15546b2c67aca59329f8132d42b29d9f3c50b3388777cfb4540bd5ef7d95f2a9beee1c6463239b81372198240b8')
+
+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-markdown-unlit/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:04:47
  Author: felixonmars
Revision: 948056

upgpkg: haskell-markdown-unlit 0.5.1-47: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-markdown-unlit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:04:13 UTC (rev 948055)
+++ PKGBUILD2021-05-27 05:04:47 UTC (rev 948056)
@@ -3,7 +3,7 @@
 _hkgname=markdown-unlit
 pkgname=haskell-markdown-unlit
 pkgver=0.5.1
-pkgrel=46
+pkgrel=47
 pkgdesc="Literate Haskell support for Markdown"
 url="https://github.com/sol/markdown-unlit";
 license=('MIT')


[arch-commits] Commit in haskell-crypto-api-tests/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:03:10
  Author: felixonmars
Revision: 948052

upgpkg: haskell-crypto-api-tests 0.3-139: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-crypto-api-tests/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:02:39 UTC (rev 948051)
+++ PKGBUILD2021-05-27 05:03:10 UTC (rev 948052)
@@ -3,7 +3,7 @@
 _hkgname=crypto-api-tests
 pkgname=haskell-crypto-api-tests
 pkgver=0.3
-pkgrel=138
+pkgrel=139
 pkgdesc="A test framework and KATs for cryptographic operations."
 url="http://trac.haskell.org/crypto-api/wiki";
 license=('BSD')


[arch-commits] Commit in haskell-crypto-api-tests/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:03:21
  Author: felixonmars
Revision: 948053

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-crypto-api-tests/repos/community-staging-x86_64/
  haskell-crypto-api-tests/repos/community-staging-x86_64/PKGBUILD
(from rev 948052, haskell-crypto-api-tests/trunk/PKGBUILD)

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

Copied: haskell-crypto-api-tests/repos/community-staging-x86_64/PKGBUILD (from 
rev 948052, haskell-crypto-api-tests/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:03:21 UTC (rev 948053)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+
+_hkgname=crypto-api-tests
+pkgname=haskell-crypto-api-tests
+pkgver=0.3
+pkgrel=139
+pkgdesc="A test framework and KATs for cryptographic operations."
+url="http://trac.haskell.org/crypto-api/wiki";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-test-framework-quickcheck2' 'haskell-crypto-api' 
'haskell-cereal'
+ 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-quickcheck')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4d9dfd52dc67279a712bd444972faa6650d987c8f65fb41178e5c6523a7260c0e2df8f44bc511ffa217b6d71c5ec41ab11a0466a326c9133f7e20c01c37404d5')
+
+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-mustache/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:01:45
  Author: felixonmars
Revision: 948048

upgpkg: haskell-mustache 2.3.1-328: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:00:58 UTC (rev 948047)
+++ PKGBUILD2021-05-27 05:01:45 UTC (rev 948048)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.1
-pkgrel=327
+pkgrel=328
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:02:39
  Author: felixonmars
Revision: 948051

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hackage-security/repos/community-staging-x86_64/
  haskell-hackage-security/repos/community-staging-x86_64/PKGBUILD
(from rev 948050, haskell-hackage-security/trunk/PKGBUILD)

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

Copied: haskell-hackage-security/repos/community-staging-x86_64/PKGBUILD (from 
rev 948050, haskell-hackage-security/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:02:39 UTC (rev 948051)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hackage-security
+pkgname=haskell-hackage-security
+pkgver=0.6.0.1
+pkgrel=207
+pkgdesc="Hackage security library"
+url="https://github.com/well-typed/hackage-security";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-base64-bytestring'
+ 'haskell-cryptohash-sha256' 'haskell-ed25519' 'haskell-lukko' 
'haskell-network'
+ 'haskell-network-uri' 'haskell-tar' 'haskell-zlib')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('b83fdda3712c58bcc4237965e40bea16b9ce08f30c0671f45967e69a2eb85488e78a41c8d12b9f339f78f30cc50770a72e9e9a46e5ddf740a20bce4ea4e96fdb')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u base16-bytestring -u base64-bytestring $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fbase48 -fuse-network-uri -f-old-directory
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-mustache/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:01:54
  Author: felixonmars
Revision: 948049

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
948048, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:01:54 UTC (rev 948049)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.1
+pkgrel=328
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-either' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('162360cb635d40086721d4dd350036884207679b240d30420b9fc71eebef847e542bd143275931a22a42c583d513d0c906a6b112d780824dc189ad07e3027aa3')
+
+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-hackage-security/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:02:28
  Author: felixonmars
Revision: 948050

upgpkg: haskell-hackage-security 0.6.0.1-207: rebuild with hspec 2.8.2, 
hspec-core 2.8.2, hspec-discover 2.8.2

Modified:
  haskell-hackage-security/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:01:54 UTC (rev 948049)
+++ PKGBUILD2021-05-27 05:02:28 UTC (rev 948050)
@@ -4,7 +4,7 @@
 _hkgname=hackage-security
 pkgname=haskell-hackage-security
 pkgver=0.6.0.1
-pkgrel=206
+pkgrel=207
 pkgdesc="Hackage security library"
 url="https://github.com/well-typed/hackage-security";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:00:45
  Author: felixonmars
Revision: 948046

upgpkg: haskell-hackage-db 2.1.1-8: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-hackage-db/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 05:00:18 UTC (rev 948045)
+++ PKGBUILD2021-05-27 05:00:45 UTC (rev 948046)
@@ -3,7 +3,7 @@
 _hkgname=hackage-db
 pkgname=haskell-hackage-db
 pkgver=2.1.1
-pkgrel=7
+pkgrel=8
 pkgdesc="Access cabal-install's Hackage database via Data.Map"
 url="https://github.com/peti/hackage-db#readme";
 license=("BSD")


[arch-commits] Commit in haskell-hackage-db/repos (3 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:00:58
  Author: felixonmars
Revision: 948047

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hackage-db/repos/community-staging-x86_64/
  haskell-hackage-db/repos/community-staging-x86_64/PKGBUILD
(from rev 948046, haskell-hackage-db/trunk/PKGBUILD)
  
haskell-hackage-db/repos/community-staging-x86_64/fix-parsing-of-preferred-version-ranges.patch
(from rev 948046, 
haskell-hackage-db/trunk/fix-parsing-of-preferred-version-ranges.patch)

---+
 PKGBUILD  |   48 ++
 fix-parsing-of-preferred-version-ranges.patch |   63 
 2 files changed, 111 insertions(+)

Copied: haskell-hackage-db/repos/community-staging-x86_64/PKGBUILD (from rev 
948046, haskell-hackage-db/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:00:58 UTC (rev 948047)
@@ -0,0 +1,48 @@
+# Maintainer: berberman 
+
+_hkgname=hackage-db
+pkgname=haskell-hackage-db
+pkgver=2.1.1
+pkgrel=8
+pkgdesc="Access cabal-install's Hackage database via Data.Map"
+url="https://github.com/peti/hackage-db#readme";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-tar' 'haskell-utf8-string')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";
+fix-parsing-of-preferred-version-ranges.patch)
+sha512sums=('fada91ffbad436148bfe14c7b44fd2a8682fac6d4ccedd3a86ae49767f1604e723e42b0d712f0edae2797e19c15a80ab6fb4d6e9902ee4125af02b38f3bdbe32'
+
'3987e08584360fe8d28ada30e5424df8406e4783c05787bf6bebac8fc572ef7ddebc959b3877471c6482d8dc2de24b2628410521ce8a0926c0d765d84b785b15')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  # https://github.com/peti/hackage-db/pull/13
+  patch -p1 -i ../fix-parsing-of-preferred-version-ranges.patch
+}
+
+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 \
+--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
+}

Copied: 
haskell-hackage-db/repos/community-staging-x86_64/fix-parsing-of-preferred-version-ranges.patch
 (from rev 948046, 
haskell-hackage-db/trunk/fix-parsing-of-preferred-version-ranges.patch)
===
--- community-staging-x86_64/fix-parsing-of-preferred-version-ranges.patch  
(rev 0)
+++ community-staging-x86_64/fix-parsing-of-preferred-version-ranges.patch  
2021-05-27 05:00:58 UTC (rev 948047)
@@ -0,0 +1,63 @@
+From 4c2efcda723aa7afd8d687a39e704000791e924b Mon Sep 17 00:00:00 2001
+From: Kevin Quick 
+Date: Tue, 11 May 2021 23:49:15 -0700
+Subject: [PATCH 1/2] Fix parsing of preferred version ranges.
+
+The preferred version range starts with the name of the current
+package; this name must be removed to allow a valid parse as a
+VersionRange.
+
+Prior to this change:
+$ cabal run show-package-versions containers
+show-package-versions: HackageDBPackageName (PackageName "containers") 
(InvalidRepresentationOfType "preferred version range" "containers <0.5.8.1 || 
>0.5.8.1 && <0.5.9.1 || >0.5.9.1")
+
+After this change:
+$ cabal run show-package-versions containers
+containers: 0.1.0.0 0.1.0.1 0.2.0.0 0.2.0.1 0.3.0.0 0.4.0.0 0.4.1.0 0.4.2.0 
0.4.2.1 0.5.0.0 0.5.1.0 0.5.2.0 0.5.2.1 0.5.3.0 0.5.3.1 0.5.4.0 0.5.5.0 0.5.5.1 
0.5.6.0 0.5.6.1 0.5.6.2 0.5.6.3 0.5.7.0 0.5.7.1 0.5.8.2 0.5.9.2 0.5.10.1 
0.5.10.2 0.5.11.0 0.6.0.1 0.6.1.1 0.6.2.1 0.6.3.1 0.6.4.1
+---
+ src/Distribution/Hackage/DB/Parsed.hs | 9 -
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/src/Distribution/Hackage/DB/Parsed.hs 
b/src/Distribution/Hackage/DB/Parsed.hs
+index a73863d..8056228 100644
+--- a/src/Distribution/Hackage/DB/Parsed.hs
 b/src/Distribution/Hackage/DB/Parsed.hs
+@@ -55,7 +55,14 @@ parsePackageData pn (U.PackageData pv vs') =
+   Map.filterWithKey (\v _ -> v `withinRange` vr) vs'
+   where
+ vr | BSS.null pv = a

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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:58:54
  Author: felixonmars
Revision: 948041

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-text-format/repos/community-staging-x86_64/PKGBUILD (from rev 
948040, haskell-text-format/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:58:54 UTC (rev 948041)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=text-format
+pkgname=haskell-text-format
+pkgver=0.3.2
+pkgrel=111
+pkgdesc="Text formatting"
+url="https://github.com/bos/text-format";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-double-conversion' 'haskell-old-locale')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('504de6e6e29dd97202b049762923686f3677e2550197518c9253b098b0d3c7b93a1d52d6912f2ab18138357656cd5c2bd36d569528f7e11296ad3ed61653d093')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.12/<5/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:59:34
  Author: felixonmars
Revision: 948043

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-bytestring-handle/repos/community-staging-x86_64/PKGBUILD (from 
rev 948042, haskell-bytestring-handle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:59:34 UTC (rev 948043)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytestring-handle
+pkgname=haskell-bytestring-handle
+pkgver=0.1.0.6
+pkgrel=54
+pkgdesc="ByteString-backed Handles"
+url="http://hub.darcs.net/ganesh/bytestring-handle";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('fe681cdf7e2238389b6d2090e264b10d0e5085658c89e7ffc870c7a0a43ac1a1')
+
+prepare() {
+  uusi -u QuickCheck -u base $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --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-bytestring-handle/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:59:22
  Author: felixonmars
Revision: 948042

upgpkg: haskell-bytestring-handle 0.1.0.6-54: rebuild with hspec 2.8.2, 
hspec-core 2.8.2, hspec-discover 2.8.2

Modified:
  haskell-bytestring-handle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:58:54 UTC (rev 948041)
+++ PKGBUILD2021-05-27 04:59:22 UTC (rev 948042)
@@ -3,7 +3,7 @@
 _hkgname=bytestring-handle
 pkgname=haskell-bytestring-handle
 pkgver=0.1.0.6
-pkgrel=53
+pkgrel=54
 pkgdesc="ByteString-backed Handles"
 url="http://hub.darcs.net/ganesh/bytestring-handle";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:00:18
  Author: felixonmars
Revision: 948045

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tar/repos/community-staging-x86_64/PKGBUILD (from rev 948044, 
haskell-tar/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 05:00:18 UTC (rev 948045)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tar
+pkgname=haskell-tar
+pkgver=0.5.1.1
+pkgrel=61
+pkgdesc="Reading, writing and manipulating \".tar\" archive files."
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-bytestring-handle' 'haskell-quickcheck' 
'haskell-tasty'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('8d0a8d3ae178570e0842a2321a7fc86a6bba28c471ec27bafbc07fc4ac0e4183f8113c99ebc7126dc71759c33083791122be32563fb0d5a2b2d39cb3b36171f2')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u base -u tasty -u tasty-quickcheck $_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-old-time
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-tar/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 05:00:08
  Author: felixonmars
Revision: 948044

upgpkg: haskell-tar 0.5.1.1-61: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-tar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:59:34 UTC (rev 948043)
+++ PKGBUILD2021-05-27 05:00:08 UTC (rev 948044)
@@ -4,7 +4,7 @@
 _hkgname=tar
 pkgname=haskell-tar
 pkgver=0.5.1.1
-pkgrel=60
+pkgrel=61
 pkgdesc="Reading, writing and manipulating \".tar\" archive files."
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:56:54
  Author: felixonmars
Revision: 948036

upgpkg: haskell-mysql-simple 0.4.6-7: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-mysql-simple/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:56:16 UTC (rev 948035)
+++ PKGBUILD2021-05-27 04:56:54 UTC (rev 948036)
@@ -3,7 +3,7 @@
 _hkgname=mysql-simple
 pkgname=haskell-mysql-simple
 pkgver=0.4.6
-pkgrel=6
+pkgrel=7
 pkgdesc="A mid-level MySQL client library"
 url="https://github.com/paul-rouse/mysql-simple";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:57:59
  Author: felixonmars
Revision: 948038

upgpkg: haskell-persistent-mysql 2.13.0.1-2: rebuild with hspec 2.8.2, 
hspec-core 2.8.2, hspec-discover 2.8.2

Modified:
  haskell-persistent-mysql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:57:04 UTC (rev 948037)
+++ PKGBUILD2021-05-27 04:57:59 UTC (rev 948038)
@@ -3,7 +3,7 @@
 _hkgname=persistent-mysql
 pkgname=haskell-persistent-mysql
 pkgver=2.13.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Backend for the persistent library using MySQL database server."
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:58:40
  Author: felixonmars
Revision: 948040

upgpkg: haskell-text-format 0.3.2-111: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-text-format/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:58:10 UTC (rev 948039)
+++ PKGBUILD2021-05-27 04:58:40 UTC (rev 948040)
@@ -3,7 +3,7 @@
 _hkgname=text-format
 pkgname=haskell-text-format
 pkgver=0.3.2
-pkgrel=110
+pkgrel=111
 pkgdesc="Text formatting"
 url="https://github.com/bos/text-format";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:56:04
  Author: felixonmars
Revision: 948034

upgpkg: haskell-hiedb 0.3.0.1-39: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-hiedb/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:55:27 UTC (rev 948033)
+++ PKGBUILD2021-05-27 04:56:04 UTC (rev 948034)
@@ -3,7 +3,7 @@
 _hkgname=hiedb
 pkgname=haskell-hiedb
 pkgver=0.3.0.1
-pkgrel=38
+pkgrel=39
 pkgdesc="Generates a references DB from .hie files"
 url="https://github.com/wz1000/HieDb";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:58:10
  Author: felixonmars
Revision: 948039

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-mysql/repos/community-staging-x86_64/PKGBUILD (from 
rev 948038, haskell-persistent-mysql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:58:10 UTC (rev 948039)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-mysql
+pkgname=haskell-persistent-mysql
+pkgver=2.13.0.1
+pkgrel=2
+pkgdesc="Backend for the persistent library using MySQL database server."
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-blaze-builder' 'haskell-conduit' 
'haskell-monad-logger'
+ 'haskell-mysql' 'haskell-mysql-simple' 'haskell-persistent' 
'haskell-resource-pool'
+ 'haskell-resourcet' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-fast-logger' 
'haskell-hspec'
+ 'haskell-http-api-data' 'haskell-path-pieces' 
'haskell-persistent-qq'
+ 'haskell-persistent-test' 'haskell-quickcheck-instances')
+#checkdepends=('percona-server' 'percona-server-clients')
+checkdepends=('mariadb')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('e726a54704b5eedd3f3c9ccb20516501a9f42c787d3e5e7998e900637f26f0abf7f5bd82900ad66d99091abe9112d0c697460dc536c7b07d24f2476a0e0552b4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+  mkdir -p /tmp/mysql_test
+  # TODO: Try to make percona work?
+  #mysqld --no-defaults --initialize-insecure --datadir=/tmp/mysql_test 
+  #mysqld --no-defaults --datadir=/tmp/mysql_test 
--secure-file-priv=/tmp/mysql_test --socket=/tmp/socket.mysql 
--bind-address=127.0.0.1 --skip-grant-tables &
+  
+  mysql_install_db --datadir=/tmp/mysql_test
+  mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql 
--skip-grant-tables &
+  MYSQL_PID=$!
+  sleep 5
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS test;"
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS persistent;"
+
+  # Compatibility issue with mariadb: 
https://github.com/yesodweb/persistent/issues/1158
+  TRAVIS=true runhaskell Setup test --show-details=direct || echo "Tests 
failed"
+
+  kill $MYSQL_PID
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:57:04
  Author: felixonmars
Revision: 948037

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mysql-simple/repos/community-staging-x86_64/PKGBUILD (from rev 
948036, haskell-mysql-simple/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:57:04 UTC (rev 948037)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mysql-simple
+pkgname=haskell-mysql-simple
+pkgver=0.4.6
+pkgrel=7
+pkgdesc="A mid-level MySQL client library"
+url="https://github.com/paul-rouse/mysql-simple";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base16-bytestring' 
'haskell-blaze-builder'
+ 'haskell-blaze-textual' 'haskell-mysql' 'haskell-old-locale' 
'haskell-pcre-light')
+makedepends=('ghc' 'haskell-hspec')
+checkdepends=('mariadb')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('b25117804fe3ec0461044e573e3eda6e3e739fdedaf87aa57bd3718900c15a068c49ef050bc57e6d5acd17a6665c2ed554598eb1309f3fd37d7f2c333782259d')
+
+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
+  mkdir -p /tmp/mysql_test
+  mysql_install_db --datadir=/tmp/mysql_test
+  mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql 
--skip-grant-tables &
+  MYSQL_PID=$!
+  sleep 5
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS test;"
+
+  runhaskell Setup test --show-details=direct
+
+  kill $MYSQL_PID
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:54:06
  Author: felixonmars
Revision: 948029

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-double-conversion/repos/community-staging-x86_64/PKGBUILD (from 
rev 948028, haskell-double-conversion/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:54:06 UTC (rev 948029)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=double-conversion
+pkgname=haskell-double-conversion
+pkgver=2.0.2.0
+pkgrel=111
+pkgdesc="Fast conversion between double precision floating point and text"
+url="https://github.com/bos/double-conversion";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'double-conversion')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
system-double-conversion.patch::https://github.com/bos/double-conversion/pull/25.patch)
+sha512sums=('1713c4e8a28de2ee85e1f312dc12d30a9c6d7a139d89f04ea88048578ce65c8bdf62ded90b92bce011955b95867ca95a623a5109758276a29ba7b6843fbe37eb'
+
'fca512e2787ab4faf587db28b1212c99681926dc32b95a739df8fb33925439385862b55aaf68dfe737b1709335ec44f8e959e40b74012d56f3506e36b31ddabe')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../system-double-conversion.patch
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-embedded_double_conversion
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-blaze-textual/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:54:32
  Author: felixonmars
Revision: 948030

upgpkg: haskell-blaze-textual 0.2.1.0-59: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-blaze-textual/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:54:06 UTC (rev 948029)
+++ PKGBUILD2021-05-27 04:54:32 UTC (rev 948030)
@@ -3,7 +3,7 @@
 _hkgname=blaze-textual
 pkgname=haskell-blaze-textual
 pkgver=0.2.1.0
-pkgrel=58
+pkgrel=59
 pkgdesc="Fast rendering of common datatypes"
 url="http://github.com/bos/blaze-textual";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:55:27
  Author: felixonmars
Revision: 948033

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sqlite-simple/repos/community-staging-x86_64/PKGBUILD (from rev 
948032, haskell-sqlite-simple/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:55:27 UTC (rev 948033)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=sqlite-simple
+pkgname=haskell-sqlite-simple
+pkgver=0.4.18.0
+pkgrel=29
+pkgdesc="Mid-Level SQLite client library"
+url="http://github.com/nurpax/sqlite-simple";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-only' 'haskell-attoparsec' 'haskell-blaze-builder'
+ 'haskell-blaze-textual' 'haskell-direct-sqlite')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-base16-bytestring')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('f73f1866f672db1941a2cb60b18532c185ef45b0950a538a6598e57791d32c02')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -d semigroups $_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-hiedb/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:56:16
  Author: felixonmars
Revision: 948035

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 948034, 
haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:56:16 UTC (rev 948035)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.3.0.1
+pkgrel=39
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-paths' 'haskell-hie-compat' 'haskell-lucid' 
'haskell-optparse-applicative'
+ 'haskell-sqlite-simple')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+# https://github.com/wz1000/HieDb/pull/27
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+source=("https://github.com/wz1000/HieDb/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha256sums=('7c0d3c56f7c0ea9b5af84f9c9f8547dc2a12abf0ab3e599c9ebdff3d2bf7b980')
+
+prepare() {
+  cd HieDb-$pkgver
+  sed -i 's/callProcess "ghc" \$/callProcess "ghc" $ "-dynamic" :/' 
test/Main.hs
+}
+
+build() {
+  cd HieDb-$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 HieDb-$pkgver
+  # https://github.com/wz1000/HieDb/issues/28
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd HieDb-$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-sqlite-simple/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:55:17
  Author: felixonmars
Revision: 948032

upgpkg: haskell-sqlite-simple 0.4.18.0-29: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-sqlite-simple/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:54:41 UTC (rev 948031)
+++ PKGBUILD2021-05-27 04:55:17 UTC (rev 948032)
@@ -3,7 +3,7 @@
 _hkgname=sqlite-simple
 pkgname=haskell-sqlite-simple
 pkgver=0.4.18.0
-pkgrel=28
+pkgrel=29
 pkgdesc="Mid-Level SQLite client library"
 url="http://github.com/nurpax/sqlite-simple";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:54:41
  Author: felixonmars
Revision: 948031

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-blaze-textual/repos/community-staging-x86_64/
  haskell-blaze-textual/repos/community-staging-x86_64/PKGBUILD
(from rev 948030, haskell-blaze-textual/trunk/PKGBUILD)

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

Copied: haskell-blaze-textual/repos/community-staging-x86_64/PKGBUILD (from rev 
948030, haskell-blaze-textual/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:54:41 UTC (rev 948031)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=blaze-textual
+pkgname=haskell-blaze-textual
+pkgver=0.2.1.0
+pkgrel=59
+pkgdesc="Fast rendering of common datatypes"
+url="http://github.com/bos/blaze-textual";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-old-locale' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-double-conversion' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('1042795ab0bab891c034c24a51bafecbb89870ccd28af39534ab3d9ae7f46c2d')
+
+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-cborg/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:51:36
  Author: felixonmars
Revision: 948023

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cborg/repos/community-staging-x86_64/PKGBUILD (from rev 948022, 
haskell-cborg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:51:36 UTC (rev 948023)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cborg
+pkgname=haskell-cborg
+pkgver=0.2.5.0
+pkgrel=13
+pkgdesc="Concise Binary Object Representation (CBOR)"
+url="https://github.com/well-typed/cborg";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-half' 'haskell-primitive')
+makedepends=('ghc' 'haskell-aeson' 'haskell-base-orphans' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-quickcheck' 
'haskell-scientific' 'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('8cadb1dfb0402bf913ef400627fc8f0dff6e3cd588480a0034100d042ef0bbfacf42801aba9c0bfa799a0c5e41adfc8adba4714ede8b405d56435dc9f7c72fc9')
+
+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.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.txt
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:51:26
  Author: felixonmars
Revision: 948022

upgpkg: haskell-cborg 0.2.5.0-13: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-cborg/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:50:15 UTC (rev 948021)
+++ PKGBUILD2021-05-27 04:51:26 UTC (rev 948022)
@@ -3,7 +3,7 @@
 _hkgname=cborg
 pkgname=haskell-cborg
 pkgver=0.2.5.0
-pkgrel=12
+pkgrel=13
 pkgdesc="Concise Binary Object Representation (CBOR)"
 url="https://github.com/well-typed/cborg";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:53:24
  Author: felixonmars
Revision: 948027

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cborg-json/repos/community-staging-x86_64/PKGBUILD (from rev 
948026, haskell-cborg-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:53:24 UTC (rev 948027)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cborg-json
+pkgname=haskell-cborg-json
+pkgver=0.2.2.0
+pkgrel=150
+pkgdesc="A library for encoding JSON as CBOR"
+url="https://github.com/well-typed/cborg-json";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-cborg' 
'haskell-scientific'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('d42a7af4bf91ddac496c6e7273aebe4c9062504fa10bcdbb17f9ece851daa343aff5d8790113514fd5833513c56fa4a465ee0734adf71a1540af4b8045dd7c93')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --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.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.txt
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:53:14
  Author: felixonmars
Revision: 948026

upgpkg: haskell-cborg-json 0.2.2.0-150: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-cborg-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:52:49 UTC (rev 948025)
+++ PKGBUILD2021-05-27 04:53:14 UTC (rev 948026)
@@ -3,7 +3,7 @@
 _hkgname=cborg-json
 pkgname=haskell-cborg-json
 pkgver=0.2.2.0
-pkgrel=149
+pkgrel=150
 pkgdesc="A library for encoding JSON as CBOR"
 url="https://github.com/well-typed/cborg-json";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:53:55
  Author: felixonmars
Revision: 948028

upgpkg: haskell-double-conversion 2.0.2.0-111: rebuild with hspec 2.8.2, 
hspec-core 2.8.2, hspec-discover 2.8.2

Modified:
  haskell-double-conversion/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:53:24 UTC (rev 948027)
+++ PKGBUILD2021-05-27 04:53:55 UTC (rev 948028)
@@ -3,7 +3,7 @@
 _hkgname=double-conversion
 pkgname=haskell-double-conversion
 pkgver=2.0.2.0
-pkgrel=110
+pkgrel=111
 pkgdesc="Fast conversion between double precision floating point and text"
 url="https://github.com/bos/double-conversion";
 license=('MIT')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:48:14
  Author: felixonmars
Revision: 948018

upgpkg: haskell-clash-lib 1.4.2-7: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-clash-lib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:45:25 UTC (rev 948017)
+++ PKGBUILD2021-05-27 04:48:14 UTC (rev 948018)
@@ -3,7 +3,7 @@
 _hkgname=clash-lib
 pkgname=haskell-clash-lib
 pkgver=1.4.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Clash: a functional hardware description language - As a library"
 url="https://clash-lang.org/";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:52:49
  Author: felixonmars
Revision: 948025

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-serialise/repos/community-staging-x86_64/PKGBUILD (from rev 
948024, haskell-serialise/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:52:49 UTC (rev 948025)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=serialise
+pkgname=haskell-serialise
+pkgver=0.2.3.0
+pkgrel=135
+pkgdesc="A binary serialisation library for Haskell values"
+url="https://github.com/well-typed/cborg";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cborg' 'haskell-half' 'haskell-hashable' 
'haskell-primitive'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2bcee386d81f7606d7dad8a903ae39c9f5fda493caa08755f8f0ceabe24563bcba9bb28709972664370eef5987dfcd6957dee2444da8dbe5b8558edc0b0547ae')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u tasty $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --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.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.txt
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:52:40
  Author: felixonmars
Revision: 948024

upgpkg: haskell-serialise 0.2.3.0-135: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-serialise/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:51:36 UTC (rev 948023)
+++ PKGBUILD2021-05-27 04:52:40 UTC (rev 948024)
@@ -3,7 +3,7 @@
 _hkgname=serialise
 pkgname=haskell-serialise
 pkgver=0.2.3.0
-pkgrel=134
+pkgrel=135
 pkgdesc="A binary serialisation library for Haskell values"
 url="https://github.com/well-typed/cborg";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:50:05
  Author: felixonmars
Revision: 948020

upgpkg: clash-ghc 1.4.2-7: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  clash-ghc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:48:24 UTC (rev 948019)
+++ PKGBUILD2021-05-27 04:50:05 UTC (rev 948020)
@@ -2,7 +2,7 @@
 
 pkgname=clash-ghc
 pkgver=1.4.2
-pkgrel=6
+pkgrel=7
 pkgdesc="CAES Language for Synchronous Hardware"
 url="https://clash-lang.org/";
 license=("BSD")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:39:00
  Author: felixonmars
Revision: 948014

upgpkg: haskell-half 0.3.1-40: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-half/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:38:32 UTC (rev 948013)
+++ PKGBUILD2021-05-27 04:39:00 UTC (rev 948014)
@@ -3,7 +3,7 @@
 _hkgname=half
 pkgname=haskell-half
 pkgver=0.3.1
-pkgrel=39
+pkgrel=40
 pkgdesc="Half-precision floating-point"
 url="https://github.com/ekmett/half";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:48:24
  Author: felixonmars
Revision: 948019

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-clash-lib/repos/community-staging-x86_64/
  haskell-clash-lib/repos/community-staging-x86_64/PKGBUILD
(from rev 948018, haskell-clash-lib/trunk/PKGBUILD)

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

Copied: haskell-clash-lib/repos/community-staging-x86_64/PKGBUILD (from rev 
948018, haskell-clash-lib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:48:24 UTC (rev 948019)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=clash-lib
+pkgname=haskell-clash-lib
+pkgver=1.4.2
+pkgrel=7
+pkgdesc="Clash: a functional hardware description language - As a library"
+url="https://clash-lang.org/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+ 'haskell-attoparsec' 'haskell-base16-bytestring' 
'haskell-clash-prelude'
+ 'haskell-concurrent-supply' 'haskell-cryptohash-sha256' 
'haskell-data-binary-ieee754'
+ 'haskell-data-default' 'haskell-dlist' 'haskell-errors' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-hashable' 'haskell-src-meta' 'haskell-hint' 
'haskell-interpolate' 'haskell-lens'
+ 'haskell-ordered-containers' 'haskell-parsers' 'haskell-pretty-show'
+ 'haskell-prettyprinter' 'haskell-primitive' 'haskell-reducers' 
'haskell-temporary'
+ 'haskell-terminal-size' 'haskell-text-show' 'haskell-trifecta'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector'
+ 'haskell-vector-binary-instances')
+makedepends=('ghc' 'uusi' 'haskell-ghc-typelits-knownnat' 
'haskell-quickcheck-text' 'haskell-src-exts'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('ec4a6c2ecb36e806aaf5792ac5d735d2e1e071e72c3a9b7a6726e74b6cc0d1d5c15b84b85ca27be061a47bf68e7b5920bbeb044e689b1b2956618857c29f0e0c')
+
+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 clash-ghc/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:50:15
  Author: felixonmars
Revision: 948021

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: clash-ghc/repos/community-staging-x86_64/PKGBUILD (from rev 948020, 
clash-ghc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:50:15 UTC (rev 948021)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+pkgname=clash-ghc
+pkgver=1.4.2
+pkgrel=7
+pkgdesc="CAES Language for Synchronous Hardware"
+url="https://clash-lang.org/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-clash-lib' 
'haskell-clash-prelude'
+ 'haskell-concurrent-supply' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-typelits-extra'
+ 'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-hashable'
+ 'haskell-lens' 'haskell-primitive' 'haskell-reflection' 
'haskell-split' 'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector')
+makedepends=('ghc')
+conflicts=('clash')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('3d50d7379626af851207e8a838734f6714f816d6e21f3f4c90c3b1062480ce8968bf185a121bc4ebb02058ea428b006e9d7c1ce8a7383c3ec679dad6dd594c28')
+
+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
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:38:21
  Author: felixonmars
Revision: 948012

upgpkg: haskell-brittany 0.13.1.2-8: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-brittany/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:36:26 UTC (rev 948011)
+++ PKGBUILD2021-05-27 04:38:21 UTC (rev 948012)
@@ -3,7 +3,7 @@
 _hkgname=brittany
 pkgname=haskell-brittany
 pkgver=0.13.1.2
-pkgrel=7
+pkgrel=8
 pkgdesc="Haskell source code formatter"
 url="https://github.com/lspitzner/brittany/";
 license=("AGPL")


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:45:25
  Author: felixonmars
Revision: 948017

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-clash-prelude/repos/community-staging-x86_64/
  haskell-clash-prelude/repos/community-staging-x86_64/PKGBUILD
(from rev 948016, haskell-clash-prelude/trunk/PKGBUILD)

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

Copied: haskell-clash-prelude/repos/community-staging-x86_64/PKGBUILD (from rev 
948016, haskell-clash-prelude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:45:25 UTC (rev 948017)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=clash-prelude
+pkgname=haskell-clash-prelude
+pkgver=1.4.2
+pkgrel=7
+pkgdesc="Clash: a functional hardware description language - Prelude library"
+url="https://github.com/clash-lang/clash-prelude";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-arrows' 'haskell-bifunctors' 'haskell-constraints'
+ 'haskell-data-binary-ieee754' 'haskell-data-default-class' 
'haskell-ghc-typelits-extra'
+ 'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-half'
+ 'haskell-hashable' 'haskell-interpolate' 'haskell-lens' 
'haskell-quickcheck'
+ 'haskell-recursion-schemes' 'haskell-reflection' 'haskell-singletons'
+ 'haskell-th-abstraction' 'haskell-th-lift' 'haskell-text-show' 
'haskell-th-orphans'
+ 'haskell-type-errors' 'haskell-uniplate' 'haskell-vector')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hedgehog'
+ 'haskell-hint' 'haskell-quickcheck-classes-base' 'haskell-tasty'
+ 'haskell-tasty-hedgehog' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-th')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('368b2946bb4abea395a4769d423d897f7e712a64cc46b71eb0be585995f60ea5c661896971360aab44c6d60fff77daed0dbce5143563ca9504e4674e03ebe16d')
+
+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-clash-prelude/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:45:14
  Author: felixonmars
Revision: 948016

upgpkg: haskell-clash-prelude 1.4.2-7: rebuild with hspec 2.8.2, hspec-core 
2.8.2, hspec-discover 2.8.2

Modified:
  haskell-clash-prelude/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:39:11 UTC (rev 948015)
+++ PKGBUILD2021-05-27 04:45:14 UTC (rev 948016)
@@ -3,7 +3,7 @@
 _hkgname=clash-prelude
 pkgname=haskell-clash-prelude
 pkgver=1.4.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Clash: a functional hardware description language - Prelude library"
 url="https://github.com/clash-lang/clash-prelude";
 license=('BSD')


[arch-commits] Commit in gn/repos/extra-x86_64 (4 files)

2021-05-26 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 27, 2021 @ 04:37:25
  Author: foutrelis
Revision: 416513

archrelease: copy trunk to extra-x86_64

Added:
  gn/repos/extra-x86_64/PKGBUILD
(from rev 416512, gn/trunk/PKGBUILD)
  gn/repos/extra-x86_64/chromium-gn-version.sh
(from rev 416512, gn/trunk/chromium-gn-version.sh)
Deleted:
  gn/repos/extra-x86_64/PKGBUILD
  gn/repos/extra-x86_64/chromium-gn-version.sh

+
 PKGBUILD   |   88 +++
 chromium-gn-version.sh |   42 +++---
 2 files changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-27 04:37:03 UTC (rev 416512)
+++ PKGBUILD2021-05-27 04:37:25 UTC (rev 416513)
@@ -1,44 +0,0 @@
-# Maintainer: Evangelos Foutras 
-
-pkgname=gn
-pkgver=0.1891.dfcbc6fe
-_commit=dfcbc6fed0a8352696f92d67ccad54048ad182b3
-pkgrel=1
-pkgdesc="Meta-build system that generates build files for Ninja"
-arch=('x86_64')
-url="https://gn.googlesource.com/gn/";
-license=('BSD')
-depends=('gcc-libs')
-makedepends=('clang' 'ninja' 'python' 'git')
-source=(git+https://gn.googlesource.com/gn#commit=$_commit)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  echo 0.$(git rev-list --count initial-commit..).$(git rev-parse --short HEAD)
-}
-
-build() {
-  cd $pkgname
-  ./build/gen.py
-  ninja -C out
-}
-
-check() {
-  cd $pkgname
-  ./out/gn_unittests
-}
-
-package() {
-  cd $pkgname
-  install -D out/gn "$pkgdir/usr/bin/gn"
-  install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" docs/*
-  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-
-  mkdir -p "$pkgdir/usr/share/vim/vimfiles"
-  cp -r misc/vim/{autoload,ftdetect,ftplugin,syntax} \
-"$pkgdir/usr/share/vim/vimfiles/"
-  install -Dm644 -t "$pkgdir/usr/share/emacs/site-lisp" misc/emacs/gn-mode.el
-}
-
-# vim:set ts=2 sw=2 et:

Copied: gn/repos/extra-x86_64/PKGBUILD (from rev 416512, gn/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-27 04:37:25 UTC (rev 416513)
@@ -0,0 +1,44 @@
+# Maintainer: Evangelos Foutras 
+
+pkgname=gn
+pkgver=0.1897.dba01723
+_commit=dba01723a441c358d843a575cb7720d54ddcdf92
+pkgrel=1
+pkgdesc="Meta-build system that generates build files for Ninja"
+arch=('x86_64')
+url="https://gn.googlesource.com/gn/";
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('clang' 'ninja' 'python' 'git')
+source=(git+https://gn.googlesource.com/gn#commit=$_commit)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  echo 0.$(git rev-list --count initial-commit..).$(git rev-parse --short HEAD)
+}
+
+build() {
+  cd $pkgname
+  ./build/gen.py
+  ninja -C out
+}
+
+check() {
+  cd $pkgname
+  ./out/gn_unittests
+}
+
+package() {
+  cd $pkgname
+  install -D out/gn "$pkgdir/usr/bin/gn"
+  install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" docs/*
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+  mkdir -p "$pkgdir/usr/share/vim/vimfiles"
+  cp -r misc/vim/{autoload,ftdetect,ftplugin,syntax} \
+"$pkgdir/usr/share/vim/vimfiles/"
+  install -Dm644 -t "$pkgdir/usr/share/emacs/site-lisp" misc/emacs/gn-mode.el
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: chromium-gn-version.sh
===
--- chromium-gn-version.sh  2021-05-27 04:37:03 UTC (rev 416512)
+++ chromium-gn-version.sh  2021-05-27 04:37:25 UTC (rev 416513)
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-set -eo pipefail
-
-readonly CURL='curl -s --compressed'
-
-gn_revision_from_chrome_version() {
-  $CURL "https://chromium.googlesource.com/chromium/src/+/$1/DEPS?format=TEXT"; 
\
-| base64 -d | grep -Po "'gn_version': 'git_revision:\K[^']*"
-}
-
-{
-  echo channel version gn_revision
-  echo --- --- ---
-  while read -r channel version; do
-echo "$channel $version $(gn_revision_from_chrome_version "$version")"
-  done < <(
-$CURL https://omahaproxy.appspot.com/json \
-  | jq -r '.[] | select ( .os == "linux" ) | .versions | .[] | 
"\(.channel) \(.version)"'
-  )
-} | column -t

Copied: gn/repos/extra-x86_64/chromium-gn-version.sh (from rev 416512, 
gn/trunk/chromium-gn-version.sh)
===
--- chromium-gn-version.sh  (rev 0)
+++ chromium-gn-version.sh  2021-05-27 04:37:25 UTC (rev 416513)
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+set -eo pipefail
+
+readonly CURL='curl -s --compressed'
+
+gn_revision_from_chrome_version() {
+  $CURL "https://chromium.googlesource.com/chromium/src/+/$1/DEPS?format=TEXT"; 
\
+| base64 -d | grep -Po "'gn_version': 'git_revision:\K[^']*"
+}
+
+{
+  echo channel version gn_revision
+  echo --- --- ---
+  while read -r channel version; do
+echo "$channel $version $(gn_revision_from_chrome_version "$version")"
+  done < <(
+$CURL https://omahaproxy.

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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:39:11
  Author: felixonmars
Revision: 948015

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-half/repos/community-staging-x86_64/PKGBUILD (from rev 948014, 
haskell-half/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:39:11 UTC (rev 948015)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=half
+pkgname=haskell-half
+pkgver=0.3.1
+pkgrel=40
+pkgdesc="Half-precision floating-point"
+url="https://github.com/ekmett/half";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('39d2a20590f5d7f6c31ed9667a18dab9da88f145c3de910a2212c6dc4925ffbcfa7695548516b1ddeb1a44979ba0daba15615451e05437e0a6491a95f152f440')
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:38:32
  Author: felixonmars
Revision: 948013

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-brittany/repos/community-staging-x86_64/PKGBUILD (from rev 
948012, haskell-brittany/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:38:32 UTC (rev 948013)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=brittany
+pkgname=haskell-brittany
+pkgver=0.13.1.2
+pkgrel=8
+pkgdesc="Haskell source code formatter"
+url="https://github.com/lspitzner/brittany/";
+license=("AGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-butcher' 'haskell-cmdargs' 
'haskell-czipwith'
+ 'haskell-data-tree-print' 'haskell-extra' 'haskell-ghc-exactprint' 
'haskell-ghc-paths'
+ 'haskell-monad-memo' 'haskell-multistate' 'haskell-random' 
'haskell-safe'
+ 'haskell-strict' 'haskell-syb' 'haskell-uniplate' 'haskell-unsafe' 
'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('4f18de98284979e6c1f78af5eefa0d6699f044ae562b94e58244e454f4a7c2f7dd3a2861fb58da8c9413caa39a2183d6a3d8517140c6fc8da9b705b6154e7062')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -r semigroups:Cabal $_hkgname.cabal
+
+  # Hack to use Cabal's compatibility layer of semigroups
+  sed -i 's/import Data.Semigroup.Generic/import 
Distribution.Compat.Semigroup/' 
src/Language/Haskell/Brittany/Internal/Config/Types.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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-what4/trunk (PKGBUILD)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:34:56
  Author: felixonmars
Revision: 948008

upgpkg: haskell-what4 1.1-25: rebuild with hspec 2.8.2, hspec-core 2.8.2, 
hspec-discover 2.8.2

Modified:
  haskell-what4/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 04:32:48 UTC (rev 948007)
+++ PKGBUILD2021-05-27 04:34:56 UTC (rev 948008)
@@ -3,7 +3,7 @@
 _hkgname=what4
 pkgname=haskell-what4
 pkgver=1.1
-pkgrel=24
+pkgrel=25
 pkgdesc="Solver-agnostic symbolic values support for issuing queries"
 url="https://github.com/GaloisInc/what4";
 license=('BSD')


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:28:27
  Author: felixonmars
Revision: 948003

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-haddock-library/repos/community-staging-x86_64/PKGBUILD (from 
rev 948002, haskell-haddock-library/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:28:27 UTC (rev 948003)
@@ -0,0 +1,48 @@
+# Maintainer: Sergej Pupykin 
+
+_hkgname=haddock-library
+pkgname=haskell-haddock-library
+pkgver=1.10.0
+pkgrel=24
+pkgdesc="A documentation-generation tool for Haskell libraries"
+url="https://www.haskell.org/haddock/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck' 'haskell-optparse-applicative' 
'haskell-tree-diff')
+source=("https://hackage.haskell.org/packages/archive/haddock-library/${pkgver}/haddock-library-${pkgver}.tar.gz";)
+sha512sums=('dac536a2b8e2764de1a1b1a16fc328e15455656c2992fb3b3bccdeae2bb6ac81fe94e164aa2a70cff7cea3b97347b8510aadb5fa1c0564bb2429947f0aace0d1')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u tree-diff -u QuickCheck -u hspec -u optparse-applicative 
$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-monad-memo/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 04:36:26
  Author: felixonmars
Revision: 948011

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-monad-memo/repos/community-staging-x86_64/PKGBUILD (from rev 
948010, haskell-monad-memo/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 04:36:26 UTC (rev 948011)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=monad-memo
+pkgname=haskell-monad-memo
+pkgver=0.5.3
+pkgrel=64
+pkgdesc="Memoization monad transformer"
+url="https://github.com/EduardSergeev/monad-memo";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-primitive' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('16f8c46673ac2564cd7d4d7ce901c25ded61d72283a93985db24dc6736c60dbb')
+
+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 gn/trunk (PKGBUILD)

2021-05-26 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 27, 2021 @ 04:37:03
  Author: foutrelis
Revision: 416512

upgpkg: gn 0.1897.dba01723-1: bump to revision in Chromium 91 DEPS

Modified:
  gn/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-27 03:49:21 UTC (rev 416511)
+++ PKGBUILD2021-05-27 04:37:03 UTC (rev 416512)
@@ -1,8 +1,8 @@
 # Maintainer: Evangelos Foutras 
 
 pkgname=gn
-pkgver=0.1891.dfcbc6fe
-_commit=dfcbc6fed0a8352696f92d67ccad54048ad182b3
+pkgver=0.1897.dba01723
+_commit=dba01723a441c358d843a575cb7720d54ddcdf92
 pkgrel=1
 pkgdesc="Meta-build system that generates build files for Ninja"
 arch=('x86_64')


  1   2   3   4   5   6   7   8   9   10   >