[arch-commits] Commit in caprine/repos/community-any (6 files)

2021-07-29 Thread Nicola Squartini via arch-commits
Date: Friday, July 30, 2021 @ 02:20:27
  Author: tensor5
Revision: 990721

archrelease: copy trunk to community-any

Added:
  caprine/repos/community-any/PKGBUILD
(from rev 990720, caprine/trunk/PKGBUILD)
  caprine/repos/community-any/caprine.desktop
(from rev 990720, caprine/trunk/caprine.desktop)
  caprine/repos/community-any/caprine.js
(from rev 990720, caprine/trunk/caprine.js)
Deleted:
  caprine/repos/community-any/PKGBUILD
  caprine/repos/community-any/caprine.desktop
  caprine/repos/community-any/caprine.js

-+
 PKGBUILD|  124 +++---
 caprine.desktop |   18 +++
 caprine.js  |   58 -
 3 files changed, 100 insertions(+), 100 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-30 02:19:50 UTC (rev 990720)
+++ PKGBUILD2021-07-30 02:20:27 UTC (rev 990721)
@@ -1,62 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=caprine
-pkgver=2.53.0
-_commit=49f9fd2cf5828b9e5ea9a9977b31ca8215231b56
-pkgrel=1
-pkgdesc='Elegant Facebook Messenger desktop app'
-arch=('any')
-url='https://github.com/sindresorhus/caprine'
-license=('MIT')
-depends=('electron')
-makedepends=('git' 'npm')
-options=(!emptydirs)
-source=("git+https://github.com/sindresorhus/caprine.git#commit=${_commit};
-'caprine.desktop'
-'caprine.js')
-sha256sums=('SKIP'
-'ddb693c06b0d4adf41c799fd4d97c2d9c106669034f69f7af53a63cc45911a97'
-'76bc862279afe9250554b8b6cdafde529648285e72b6a88d75403ef6b29c571c')
-
-build() {
-cd ${pkgname}
-
-npm install --ignore-scripts
-npx tsc
-rm -r node_modules
-npm install --ignore-scripts --production
-}
-
-package() {
-cd ${pkgname}
-
-appdir=/usr/lib/${pkgname}
-
-install -d "${pkgdir}"${appdir}
-cp -r * "${pkgdir}"${appdir}
-
-install -dm755 "${pkgdir}/usr/share/pixmaps"
-install -m644 build/icon.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
-
-install -Dm755 "${srcdir}"/${pkgname}.js "${pkgdir}"/usr/bin/${pkgname}
-install -Dm644 "${srcdir}"/${pkgname}.desktop \
-"${pkgdir}"/usr/share/applications/${pkgname}.desktop
-
-install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
-ln -s $(realpath -m --relative-to=/usr/share/licenses/${pkgname} 
${appdir}/license) \
-"${pkgdir}"/usr/share/licenses/${pkgname}
-
-# Clean up
-rm -r "${pkgdir}"${appdir}/{build,source,tsconfig.json}
-find "${pkgdir}"${appdir} \
--name "package.json" \
--exec sed -e "s|${srcdir}/${pkgname}|${appdir}|" \
--i {} \; \
--or -name ".*" -prune -exec rm -r '{}' \; \
--or -name "bin" -prune -exec rm -r '{}' \; \
--or -name "example" -prune -exec rm -r '{}' \; \
--or -name "examples" -prune -exec rm -r '{}' \; \
--or -name "man" -prune -exec rm -r '{}' \; \
--or -name "scripts" -prune -exec rm -r '{}' \; \
--or -name "test" -prune -exec rm -r '{}' \;
-}

Copied: caprine/repos/community-any/PKGBUILD (from rev 990720, 
caprine/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-30 02:20:27 UTC (rev 990721)
@@ -0,0 +1,62 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=caprine
+pkgver=2.54.0
+_commit=d8fa0abe210cfba72776fbaf0513d9e8a68c6865
+pkgrel=1
+pkgdesc='Elegant Facebook Messenger desktop app'
+arch=('any')
+url='https://github.com/sindresorhus/caprine'
+license=('MIT')
+depends=('electron')
+makedepends=('git' 'npm')
+options=(!emptydirs)
+source=("git+https://github.com/sindresorhus/caprine.git#commit=${_commit};
+'caprine.desktop'
+'caprine.js')
+sha256sums=('SKIP'
+'ddb693c06b0d4adf41c799fd4d97c2d9c106669034f69f7af53a63cc45911a97'
+'76bc862279afe9250554b8b6cdafde529648285e72b6a88d75403ef6b29c571c')
+
+build() {
+cd ${pkgname}
+
+npm install --ignore-scripts
+npx tsc
+rm -r node_modules
+npm install --ignore-scripts --production
+}
+
+package() {
+cd ${pkgname}
+
+appdir=/usr/lib/${pkgname}
+
+install -d "${pkgdir}"${appdir}
+cp -r * "${pkgdir}"${appdir}
+
+install -dm755 "${pkgdir}/usr/share/pixmaps"
+install -m644 build/icon.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+
+install -Dm755 "${srcdir}"/${pkgname}.js "${pkgdir}"/usr/bin/${pkgname}
+install -Dm644 "${srcdir}"/${pkgname}.desktop \
+"${pkgdir}"/usr/share/applications/${pkgname}.desktop
+
+install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
+ln -s $(realpath -m --relative-to=/usr/share/licenses/${pkgname} 
${appdir}/license) \
+"${pkgdir}"/usr/share/licenses/${pkgname}
+
+# Clean up
+rm -r "${pkgdir}"${appdir}/{build,source,tsconfig.json}
+find "${pkgdir}"${appdir} \
+-name "package.json" \
+-exec sed -e 

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

2021-07-29 Thread Nicola Squartini via arch-commits
Date: Friday, July 30, 2021 @ 02:19:50
  Author: tensor5
Revision: 990720

upgpkg: caprine 2.54.0-1

Modified:
  caprine/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 22:57:56 UTC (rev 990719)
+++ PKGBUILD2021-07-30 02:19:50 UTC (rev 990720)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=caprine
-pkgver=2.53.0
-_commit=49f9fd2cf5828b9e5ea9a9977b31ca8215231b56
+pkgver=2.54.0
+_commit=d8fa0abe210cfba72776fbaf0513d9e8a68c6865
 pkgrel=1
 pkgdesc='Elegant Facebook Messenger desktop app'
 arch=('any')



[arch-commits] Commit in nodejs-lts-erbium/repos/community-x86_64 (4 files)

2021-07-29 Thread Bruno Pagani via arch-commits
Date: Thursday, July 29, 2021 @ 22:57:56
  Author: archange
Revision: 990719

archrelease: copy trunk to community-x86_64

Added:
  nodejs-lts-erbium/repos/community-x86_64/PKGBUILD
(from rev 990718, nodejs-lts-erbium/trunk/PKGBUILD)
  nodejs-lts-erbium/repos/community-x86_64/python3.patch
(from rev 990718, nodejs-lts-erbium/trunk/python3.patch)
Deleted:
  nodejs-lts-erbium/repos/community-x86_64/PKGBUILD
  nodejs-lts-erbium/repos/community-x86_64/python3.patch

---+
 PKGBUILD  |  128 
 python3.patch |  116 +-
 2 files changed, 123 insertions(+), 121 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-29 22:57:50 UTC (rev 990718)
+++ PKGBUILD2021-07-29 22:57:56 UTC (rev 990719)
@@ -1,63 +0,0 @@
-# Maintainer: Bruno Pagani 
-# Contributor: Felix Yan 
-
-pkgname=nodejs-lts-erbium
-pkgver=12.22.4
-pkgrel=1
-pkgdesc="Evented I/O for V8 javascript (LTS release: Erbium)"
-arch=(x86_64)
-url="https://nodejs.org/;
-license=(MIT)
-depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser
-makedepends=(python procps-ng)
-optdepends=('npm: nodejs package manager')
-provides=("nodejs=$pkgver")
-conflicts=(nodejs)
-source=("${url}"/dist/v${pkgver}/node-v${pkgver}.tar.xz
-python3.patch)
-# https://nodejs.org/download/release/latest-erbium/SHASUMS256.txt.asc
-sha256sums=(44cd4eab131e5282fc923e9e720d983a0b44c12e4aa4f6c3598dc97ae1e4cd4c
-20a0f718c94a4686dfc66edd994788759cbda65734cbc52082884f6d0913477d)
-validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

-  77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

-  B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas 

-  DD8F2338BAE7501E3DD5AC78C273792F7D83545D  # Rod Vagg 

-  B9E2F5981AA6E0CD28160D9FF13993A75599653C  # Shelley Vohr 

-  4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs 

-  C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C) # Richard Lau 
 
-
-prepare() {
-  cd node-v${pkgver}
-  patch -Np1 -i ../python3.patch
-}
-
-build() {
-  cd node-v${pkgver}
-
-  ./configure \
---prefix=/usr \
---with-intl=system-icu \
---without-npm \
---shared-openssl \
---shared-zlib \
---shared-libuv \
---experimental-http-parser \
---shared-cares \
---shared-brotli \
---shared-nghttp2
-#--shared-http-parser \
-
-  make
-}
-
-check() {
-  cd node-v${pkgver}
-  # Currently one failure with libuv 1.42+ because EOVERFLOW is now mapped
-  make test-only || echo "Tests failed"
-}
-
-package() {
-  cd node-v${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: nodejs-lts-erbium/repos/community-x86_64/PKGBUILD (from rev 990718, 
nodejs-lts-erbium/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-29 22:57:56 UTC (rev 990719)
@@ -0,0 +1,65 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Felix Yan 
+
+pkgname=nodejs-lts-erbium
+pkgver=12.22.4
+pkgrel=2
+pkgdesc="Evented I/O for V8 javascript (LTS release: Erbium)"
+arch=(x86_64)
+url="https://nodejs.org/;
+license=(MIT)
+depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser
+makedepends=(python procps-ng)
+optdepends=('npm: nodejs package manager')
+provides=("nodejs=$pkgver")
+conflicts=(nodejs)
+source=("${url}"/dist/v${pkgver}/node-v${pkgver}.tar.xz
+
nodejs-shared-libuv-uvwasi.patch::https://patch-diff.githubusercontent.com/raw/nodejs/node/pull/39260.patch
+python3.patch)
+# https://nodejs.org/download/release/latest-erbium/SHASUMS256.txt.asc
+sha256sums=(44cd4eab131e5282fc923e9e720d983a0b44c12e4aa4f6c3598dc97ae1e4cd4c
+05692e382d71b5b92d5b86d513b9bb01750548630506ffe5b6f1920cbc5861bd
+20a0f718c94a4686dfc66edd994788759cbda65734cbc52082884f6d0913477d)
+validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

+  77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

+  B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas 

+  DD8F2338BAE7501E3DD5AC78C273792F7D83545D  # Rod Vagg 

+  B9E2F5981AA6E0CD28160D9FF13993A75599653C  # Shelley Vohr 

+  4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs 

+  C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C) # Richard Lau 
 
+
+prepare() {
+  cd node-v${pkgver}
+  patch -p1 < ../python3.patch
+  patch -p1 < ../nodejs-shared-libuv-uvwasi.patch
+}
+
+build() {
+  cd node-v${pkgver}
+
+  ./configure \
+--prefix=/usr \
+--with-intl=system-icu \
+--without-npm \
+--shared-openssl \
+--shared-zlib \
+--shared-libuv \
+--experimental-http-parser \
+--shared-cares 

[arch-commits] Commit in nodejs-lts-erbium/trunk (PKGBUILD)

2021-07-29 Thread Bruno Pagani via arch-commits
Date: Thursday, July 29, 2021 @ 22:57:50
  Author: archange
Revision: 990718

Actually fix tests failures being not linking to system libuv

Modified:
  nodejs-lts-erbium/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 22:48:45 UTC (rev 990717)
+++ PKGBUILD2021-07-29 22:57:50 UTC (rev 990718)
@@ -3,7 +3,7 @@
 
 pkgname=nodejs-lts-erbium
 pkgver=12.22.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Evented I/O for V8 javascript (LTS release: Erbium)"
 arch=(x86_64)
 url="https://nodejs.org/;
@@ -14,9 +14,11 @@
 provides=("nodejs=$pkgver")
 conflicts=(nodejs)
 source=("${url}"/dist/v${pkgver}/node-v${pkgver}.tar.xz
+
nodejs-shared-libuv-uvwasi.patch::https://patch-diff.githubusercontent.com/raw/nodejs/node/pull/39260.patch
 python3.patch)
 # https://nodejs.org/download/release/latest-erbium/SHASUMS256.txt.asc
 sha256sums=(44cd4eab131e5282fc923e9e720d983a0b44c12e4aa4f6c3598dc97ae1e4cd4c
+05692e382d71b5b92d5b86d513b9bb01750548630506ffe5b6f1920cbc5861bd
 20a0f718c94a4686dfc66edd994788759cbda65734cbc52082884f6d0913477d)
 validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

   77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

@@ -28,7 +30,8 @@
 
 prepare() {
   cd node-v${pkgver}
-  patch -Np1 -i ../python3.patch
+  patch -p1 < ../python3.patch
+  patch -p1 < ../nodejs-shared-libuv-uvwasi.patch
 }
 
 build() {
@@ -52,8 +55,7 @@
 
 check() {
   cd node-v${pkgver}
-  # Currently one failure with libuv 1.42+ because EOVERFLOW is now mapped
-  make test-only || echo "Tests failed"
+  make test-only
 }
 
 package() {



[arch-commits] Commit in nodejs-lts-fermium/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-07-29 Thread Bruno Pagani via arch-commits
Date: Thursday, July 29, 2021 @ 22:48:45
  Author: archange
Revision: 990717

archrelease: copy trunk to community-x86_64

Added:
  nodejs-lts-fermium/repos/community-x86_64/PKGBUILD
(from rev 990716, nodejs-lts-fermium/trunk/PKGBUILD)
Deleted:
  nodejs-lts-fermium/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-29 22:48:40 UTC (rev 990716)
+++ PKGBUILD2021-07-29 22:48:45 UTC (rev 990717)
@@ -1,56 +0,0 @@
-# Maintainer: Bruno Pagani 
-# Contributor: Felix Yan 
-
-pkgname=nodejs-lts-fermium
-pkgver=14.17.3
-pkgrel=1
-pkgdesc="Evented I/O for V8 javascript (LTS release: Fermium)"
-arch=(x86_64)
-url="https://nodejs.org/;
-license=(MIT)
-depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser
-makedepends=(python procps-ng)
-optdepends=('npm: nodejs package manager')
-provides=("nodejs=$pkgver")
-conflicts=(nodejs)
-source=(${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz)
-# https://nodejs.org/download/release/latest-fermium/SHASUMS256.txt.asc
-sha256sums=(4b8b4b5e1b360f9e51dd72130eec21b79f5832ca55200393c657e9ad76697f48)
-validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

-  77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

-  B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas 

-  DD8F2338BAE7501E3DD5AC78C273792F7D83545D  # Rod Vagg 

-  B9E2F5981AA6E0CD28160D9FF13993A75599653C  # Shelley Vohr 

-  4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs 

-  C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C) # Richard Lau 

-
-build() {
-  cd node-v${pkgver}
-
-  ./configure \
---prefix=/usr \
---with-intl=system-icu \
---without-npm \
---shared-openssl \
---shared-zlib \
---shared-libuv \
---experimental-http-parser \
---shared-cares \
---shared-brotli \
---shared-nghttp2
-# --shared-v8
-# --shared-http-parser
-
-  make
-}
-
-check() {
-  cd node-v${pkgver}
-  make test-only
-}
-
-package() {
-  cd node-v${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: nodejs-lts-fermium/repos/community-x86_64/PKGBUILD (from rev 990716, 
nodejs-lts-fermium/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-29 22:48:45 UTC (rev 990717)
@@ -0,0 +1,63 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Felix Yan 
+
+pkgname=nodejs-lts-fermium
+pkgver=14.17.4
+pkgrel=1
+pkgdesc="Evented I/O for V8 javascript (LTS release: Fermium)"
+arch=(x86_64)
+url="https://nodejs.org/;
+license=(MIT)
+depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser
+makedepends=(python procps-ng)
+optdepends=('npm: nodejs package manager')
+provides=("nodejs=$pkgver")
+conflicts=(nodejs)
+source=(${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz
+
nodejs-shared-libuv-uvwasi.patch::https://patch-diff.githubusercontent.com/raw/nodejs/node/pull/39260.patch)
+# https://nodejs.org/download/release/latest-fermium/SHASUMS256.txt.asc
+sha256sums=(ae7bf4e784f8c8027ffa1e3757f37d2bd5925d0c48988c4d7f07e4515853cf2c
+05692e382d71b5b92d5b86d513b9bb01750548630506ffe5b6f1920cbc5861bd)
+validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

+  77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

+  B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas 

+  DD8F2338BAE7501E3DD5AC78C273792F7D83545D  # Rod Vagg 

+  B9E2F5981AA6E0CD28160D9FF13993A75599653C  # Shelley Vohr 

+  4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs 

+  C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C) # Richard Lau 

+
+prepare() {
+  cd node-v${pkgver}
+  patch -p1 < ../nodejs-shared-libuv-uvwasi.patch
+}
+
+build() {
+  cd node-v${pkgver}
+
+  ./configure \
+--prefix=/usr \
+--with-intl=system-icu \
+--without-npm \
+--shared-openssl \
+--shared-zlib \
+--shared-libuv \
+--experimental-http-parser \
+--shared-cares \
+--shared-brotli \
+--shared-nghttp2
+# --shared-v8
+# --shared-http-parser
+
+  make
+}
+
+check() {
+  cd node-v${pkgver}
+  make test-only
+}
+
+package() {
+  cd node-v${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



[arch-commits] Commit in nodejs-lts-fermium/trunk (PKGBUILD)

2021-07-29 Thread Bruno Pagani via arch-commits
Date: Thursday, July 29, 2021 @ 22:48:40
  Author: archange
Revision: 990716

upgpkg: nodejs-lts-fermium 14.17.4-1

Modified:
  nodejs-lts-fermium/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:59:49 UTC (rev 990715)
+++ PKGBUILD2021-07-29 22:48:40 UTC (rev 990716)
@@ -2,7 +2,7 @@
 # Contributor: Felix Yan 
 
 pkgname=nodejs-lts-fermium
-pkgver=14.17.3
+pkgver=14.17.4
 pkgrel=1
 pkgdesc="Evented I/O for V8 javascript (LTS release: Fermium)"
 arch=(x86_64)
@@ -13,9 +13,11 @@
 optdepends=('npm: nodejs package manager')
 provides=("nodejs=$pkgver")
 conflicts=(nodejs)
-source=(${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz)
+source=(${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz
+
nodejs-shared-libuv-uvwasi.patch::https://patch-diff.githubusercontent.com/raw/nodejs/node/pull/39260.patch)
 # https://nodejs.org/download/release/latest-fermium/SHASUMS256.txt.asc
-sha256sums=(4b8b4b5e1b360f9e51dd72130eec21b79f5832ca55200393c657e9ad76697f48)
+sha256sums=(ae7bf4e784f8c8027ffa1e3757f37d2bd5925d0c48988c4d7f07e4515853cf2c
+05692e382d71b5b92d5b86d513b9bb01750548630506ffe5b6f1920cbc5861bd)
 validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

   77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

   B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas 

@@ -24,6 +26,11 @@
   4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs 

   C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C) # Richard Lau 

 
+prepare() {
+  cd node-v${pkgver}
+  patch -p1 < ../nodejs-shared-libuv-uvwasi.patch
+}
+
 build() {
   cd node-v${pkgver}
 



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:59:49
  Author: felixonmars
Revision: 990715

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: 
haskell-hls-stylish-haskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 990714, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:59:49 UTC (rev 990715)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-stylish-haskell-plugin
+pkgname=haskell-hls-stylish-haskell-plugin
+pkgver=1.0.0.1
+pkgrel=21
+pkgdesc="Integration with the Stylish Haskell code formatter"
+url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-api-compat' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'stylish-haskell')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('8e6220b0c06a3dca0cd55a342684a970a4318b49eb396f37d0c0d56402dc6fb6')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-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 nodejs-lts-erbium/repos/community-x86_64 (5 files)

2021-07-29 Thread Bruno Pagani via arch-commits
Date: Thursday, July 29, 2021 @ 21:59:39
  Author: archange
Revision: 990714

archrelease: copy trunk to community-x86_64

Added:
  nodejs-lts-erbium/repos/community-x86_64/PKGBUILD
(from rev 990713, nodejs-lts-erbium/trunk/PKGBUILD)
  nodejs-lts-erbium/repos/community-x86_64/python3.patch
(from rev 990713, nodejs-lts-erbium/trunk/python3.patch)
Deleted:
  nodejs-lts-erbium/repos/community-x86_64/PKGBUILD
  nodejs-lts-erbium/repos/community-x86_64/python3.patch
  
nodejs-lts-erbium/repos/community-x86_64/v8-call-new-ListFormatter-createInstance.patch

+
 PKGBUILD   |  128 +++
 python3.patch  |  116 ++--
 v8-call-new-ListFormatter-createInstance.patch |   95 -
 3 files changed, 121 insertions(+), 218 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-29 21:59:35 UTC (rev 990713)
+++ PKGBUILD2021-07-29 21:59:39 UTC (rev 990714)
@@ -1,65 +0,0 @@
-# Maintainer: Bruno Pagani 
-# Contributor: Felix Yan 
-
-pkgname=nodejs-lts-erbium
-pkgver=12.22.3
-pkgrel=1
-pkgdesc="Evented I/O for V8 javascript (LTS release: Erbium)"
-arch=(x86_64)
-url="https://nodejs.org/;
-license=(MIT)
-depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser
-makedepends=(python procps-ng)
-optdepends=('npm: nodejs package manager')
-provides=("nodejs=$pkgver")
-conflicts=(nodejs)
-source=("${url}"/dist/v${pkgver}/node-v${pkgver}.tar.xz
-v8-call-new-ListFormatter-createInstance.patch
-python3.patch)
-# https://nodejs.org/download/release/latest-erbium/SHASUMS256.txt.asc
-sha256sums=(350211fae3a688f41889680c8efcf689353a2e36b62b9dc2b408340986857190
-44ebcff050a1c849819d66399c14bd711801d0eb64f518d292d3d6efedce3b3a
-20a0f718c94a4686dfc66edd994788759cbda65734cbc52082884f6d0913477d)
-validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

-  77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

-  B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas 

-  DD8F2338BAE7501E3DD5AC78C273792F7D83545D  # Rod Vagg 

-  B9E2F5981AA6E0CD28160D9FF13993A75599653C  # Shelley Vohr 

-  4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs 

-  C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C) # Richard Lau 
 
-
-prepare() {
-  cd node-v${pkgver}
-  patch -Np1 -F3 -d deps/v8 <../v8-call-new-ListFormatter-createInstance.patch
-  patch -Np1 -i ../python3.patch
-}
-
-build() {
-  cd node-v${pkgver}
-
-  ./configure \
---prefix=/usr \
---with-intl=system-icu \
---without-npm \
---shared-openssl \
---shared-zlib \
---shared-libuv \
---experimental-http-parser \
---shared-cares \
---shared-brotli \
---shared-nghttp2
-#--shared-http-parser \
-
-  make
-}
-
-check() {
-  cd node-v${pkgver}
-  make test-only
-}
-
-package() {
-  cd node-v${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: nodejs-lts-erbium/repos/community-x86_64/PKGBUILD (from rev 990713, 
nodejs-lts-erbium/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-29 21:59:39 UTC (rev 990714)
@@ -0,0 +1,63 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Felix Yan 
+
+pkgname=nodejs-lts-erbium
+pkgver=12.22.4
+pkgrel=1
+pkgdesc="Evented I/O for V8 javascript (LTS release: Erbium)"
+arch=(x86_64)
+url="https://nodejs.org/;
+license=(MIT)
+depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser
+makedepends=(python procps-ng)
+optdepends=('npm: nodejs package manager')
+provides=("nodejs=$pkgver")
+conflicts=(nodejs)
+source=("${url}"/dist/v${pkgver}/node-v${pkgver}.tar.xz
+python3.patch)
+# https://nodejs.org/download/release/latest-erbium/SHASUMS256.txt.asc
+sha256sums=(44cd4eab131e5282fc923e9e720d983a0b44c12e4aa4f6c3598dc97ae1e4cd4c
+20a0f718c94a4686dfc66edd994788759cbda65734cbc52082884f6d0913477d)
+validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

+  77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

+  B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas 

+  DD8F2338BAE7501E3DD5AC78C273792F7D83545D  # Rod Vagg 

+  B9E2F5981AA6E0CD28160D9FF13993A75599653C  # Shelley Vohr 

+  4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs 

+  C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C) # Richard Lau 
 
+
+prepare() {
+  cd node-v${pkgver}
+  patch -Np1 -i ../python3.patch
+}
+
+build() {
+  cd node-v${pkgver}
+
+  ./configure \
+--prefix=/usr \
+--with-intl=system-icu \
+--without-npm \
+--shared-openssl \
+--shared-zlib \
+

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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:59:35
  Author: felixonmars
Revision: 990713

upgpkg: haskell-hls-stylish-haskell-plugin 1.0.0.1-21: rebuild with 
contravariant 1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:59:34 UTC (rev 990712)
+++ PKGBUILD2021-07-29 21:59:35 UTC (rev 990713)
@@ -3,7 +3,7 @@
 _hkgname=hls-stylish-haskell-plugin
 pkgname=haskell-hls-stylish-haskell-plugin
 pkgver=1.0.0.1
-pkgrel=20
+pkgrel=21
 pkgdesc="Integration with the Stylish Haskell code formatter"
 url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin;
 license=("Apache")



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

2021-07-29 Thread Frederik Schwan via arch-commits
Date: Thursday, July 29, 2021 @ 21:58:20
  Author: freswa
Revision: 990709

upgpkg: libkeccak 1.2.1-1

Modified:
  libkeccak/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:58:18 UTC (rev 990708)
+++ PKGBUILD2021-07-29 21:58:20 UTC (rev 990709)
@@ -2,8 +2,8 @@
 # Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
 
 pkgname=libkeccak
-pkgver=1.2
-pkgrel=2
+pkgver=1.2.1
+pkgrel=1
 pkgdesc='Keccak-family hashing library'
 arch=('x86_64')
 url='https://github.com/maandree/libkeccak'
@@ -11,7 +11,7 @@
 depends=('glibc')
 checkdepends=('valgrind')
 
source=("https://github.com/maandree/libkeccak/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
-b2sums=('32655966554d49ac8a10128d6fd6ef227acc8549fd71fd433a564432b0b5e15398bcc0b259dc1d1cad6f0b8004a671d1d9bbc1a0302e1ee40e53d8cb09562986')
+b2sums=('f49971aff0d43487b8df5288247281b7783f8ca3369d2367998fab94f90533e8ec68371f8239324c55635c6fca6b1faea4b7a709ed9c9dbd4aa21f75424359fa')
 
 prepare() {
   cd ${pkgname}-${pkgver}



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

2021-07-29 Thread Frederik Schwan via arch-commits
Date: Thursday, July 29, 2021 @ 21:58:23
  Author: freswa
Revision: 990710

archrelease: copy trunk to community-x86_64

Added:
  libkeccak/repos/community-x86_64/PKGBUILD
(from rev 990709, libkeccak/trunk/PKGBUILD)
Deleted:
  libkeccak/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-29 21:58:20 UTC (rev 990709)
+++ PKGBUILD2021-07-29 21:58:23 UTC (rev 990710)
@@ -1,34 +0,0 @@
-# Maintainer: Frederik Schwan 
-# Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
-
-pkgname=libkeccak
-pkgver=1.2
-pkgrel=2
-pkgdesc='Keccak-family hashing library'
-arch=('x86_64')
-url='https://github.com/maandree/libkeccak'
-license=('custom:ISC')
-depends=('glibc')
-checkdepends=('valgrind')
-source=("https://github.com/maandree/libkeccak/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
-b2sums=('32655966554d49ac8a10128d6fd6ef227acc8549fd71fd433a564432b0b5e15398bcc0b259dc1d1cad6f0b8004a671d1d9bbc1a0302e1ee40e53d8cb09562986')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  sed -i 's#FLAGS\s\+=#FLAGS +=#g' optimised.mk
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  make CONFIGFILE=optimised.mk PREFIX=/usr
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  make CONFIGFILE=optimised.mk check
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make CONFIGFILE=optimised.mk PREFIX=/usr DESTDIR="${pkgdir}" install
-}

Copied: libkeccak/repos/community-x86_64/PKGBUILD (from rev 990709, 
libkeccak/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-29 21:58:23 UTC (rev 990710)
@@ -0,0 +1,34 @@
+# Maintainer: Frederik Schwan 
+# Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
+pkgname=libkeccak
+pkgver=1.2.1
+pkgrel=1
+pkgdesc='Keccak-family hashing library'
+arch=('x86_64')
+url='https://github.com/maandree/libkeccak'
+license=('custom:ISC')
+depends=('glibc')
+checkdepends=('valgrind')
+source=("https://github.com/maandree/libkeccak/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+b2sums=('f49971aff0d43487b8df5288247281b7783f8ca3369d2367998fab94f90533e8ec68371f8239324c55635c6fca6b1faea4b7a709ed9c9dbd4aa21f75424359fa')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -i 's#FLAGS\s\+=#FLAGS +=#g' optimised.mk
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make CONFIGFILE=optimised.mk PREFIX=/usr
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make CONFIGFILE=optimised.mk check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make CONFIGFILE=optimised.mk PREFIX=/usr DESTDIR="${pkgdir}" install
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:58:30
  Author: felixonmars
Revision: 990711

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-pragmas-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 990710, haskell-hls-pragmas-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:58:30 UTC (rev 990711)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-pragmas-plugin
+pkgname=haskell-hls-pragmas-plugin
+pkgver=1.0.0.0
+pkgrel=32
+pkgdesc="Pragmas plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-pragmas-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-fuzzy' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test' 
'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('faffabfb7da5b88dc777185cfe879779e5391b14d4e4f7196cda303a5b4978fe')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u ghcide $_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 nodejs-lts-erbium/trunk (2 files)

2021-07-29 Thread Bruno Pagani via arch-commits
Date: Thursday, July 29, 2021 @ 21:59:34
  Author: archange
Revision: 990712

upgpkg: nodejs-lts-erbium 12.22.4-1

Modified:
  nodejs-lts-erbium/trunk/PKGBUILD
Deleted:
  nodejs-lts-erbium/trunk/v8-call-new-ListFormatter-createInstance.patch

+
 PKGBUILD   |   10 --
 v8-call-new-ListFormatter-createInstance.patch |   95 ---
 2 files changed, 4 insertions(+), 101 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:58:30 UTC (rev 990711)
+++ PKGBUILD2021-07-29 21:59:34 UTC (rev 990712)
@@ -2,7 +2,7 @@
 # Contributor: Felix Yan 
 
 pkgname=nodejs-lts-erbium
-pkgver=12.22.3
+pkgver=12.22.4
 pkgrel=1
 pkgdesc="Evented I/O for V8 javascript (LTS release: Erbium)"
 arch=(x86_64)
@@ -14,11 +14,9 @@
 provides=("nodejs=$pkgver")
 conflicts=(nodejs)
 source=("${url}"/dist/v${pkgver}/node-v${pkgver}.tar.xz
-v8-call-new-ListFormatter-createInstance.patch
 python3.patch)
 # https://nodejs.org/download/release/latest-erbium/SHASUMS256.txt.asc
-sha256sums=(350211fae3a688f41889680c8efcf689353a2e36b62b9dc2b408340986857190
-44ebcff050a1c849819d66399c14bd711801d0eb64f518d292d3d6efedce3b3a
+sha256sums=(44cd4eab131e5282fc923e9e720d983a0b44c12e4aa4f6c3598dc97ae1e4cd4c
 20a0f718c94a4686dfc66edd994788759cbda65734cbc52082884f6d0913477d)
 validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

   77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

@@ -30,7 +28,6 @@
 
 prepare() {
   cd node-v${pkgver}
-  patch -Np1 -F3 -d deps/v8 <../v8-call-new-ListFormatter-createInstance.patch
   patch -Np1 -i ../python3.patch
 }
 
@@ -55,7 +52,8 @@
 
 check() {
   cd node-v${pkgver}
-  make test-only
+  # Currently one failure with libuv 1.42+ because EOVERFLOW is now mapped
+  make test-only || echo "Tests failed"
 }
 
 package() {

Deleted: v8-call-new-ListFormatter-createInstance.patch
===
--- v8-call-new-ListFormatter-createInstance.patch  2021-07-29 21:58:30 UTC 
(rev 990711)
+++ v8-call-new-ListFormatter-createInstance.patch  2021-07-29 21:59:34 UTC 
(rev 990712)
@@ -1,95 +0,0 @@
-From 035c305ce7761f51328b45f1bd83e26aef267c9d Mon Sep 17 00:00:00 2001
-From: Frank Tang 
-Date: Thu, 15 Oct 2020 22:44:27 -0700
-Subject: [PATCH] [Intl] call new ListFormatter::createInstance
-
-The one we currently using is now marked as internal and to be removed
-for 68. Migrating to the style which already avaiable in ICU 67-1.
-
-Bug: v8:11031
-Change-Id: I668382a2e1b8602ddca02bf231c5008a6c92bf2d
-Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2477751
-Reviewed-by: Jakob Kummerow 
-Commit-Queue: Frank Tang 
-Cr-Commit-Position: refs/heads/master@{#70638}

- src/objects/js-list-format.cc | 55 ---
- 1 file changed, 18 insertions(+), 37 deletions(-)
-
-diff --git a/src/objects/js-list-format.cc b/src/objects/js-list-format.cc
-index b17d38c43ff5..e48a387be50f 100644
 a/src/objects/js-list-format.cc
-+++ b/src/objects/js-list-format.cc
-@@ -29,46 +29,27 @@ namespace v8 {
- namespace internal {
- 
- namespace {
--const char* kStandard = "standard";
--const char* kOr = "or";
--const char* kUnit = "unit";
--const char* kStandardShort = "standard-short";
--const char* kOrShort = "or-short";
--const char* kUnitShort = "unit-short";
--const char* kStandardNarrow = "standard-narrow";
--const char* kOrNarrow = "or-narrow";
--const char* kUnitNarrow = "unit-narrow";
--
--const char* GetIcuStyleString(JSListFormat::Style style,
--  JSListFormat::Type type) {
-+
-+UListFormatterWidth GetIcuWidth(JSListFormat::Style style) {
-+  switch (style) {
-+case JSListFormat::Style::LONG:
-+  return ULISTFMT_WIDTH_WIDE;
-+case JSListFormat::Style::SHORT:
-+  return ULISTFMT_WIDTH_SHORT;
-+case JSListFormat::Style::NARROW:
-+  return ULISTFMT_WIDTH_NARROW;
-+  }
-+  UNREACHABLE();
-+}
-+
-+UListFormatterType GetIcuType(JSListFormat::Type type) {
-   switch (type) {
- case JSListFormat::Type::CONJUNCTION:
--  switch (style) {
--case JSListFormat::Style::LONG:
--  return kStandard;
--case JSListFormat::Style::SHORT:
--  return kStandardShort;
--case JSListFormat::Style::NARROW:
--  return kStandardNarrow;
--  }
-+  return ULISTFMT_TYPE_AND;
- case JSListFormat::Type::DISJUNCTION:
--  switch (style) {
--case JSListFormat::Style::LONG:
--  return kOr;
--case JSListFormat::Style::SHORT:
--  return kOrShort;
--case JSListFormat::Style::NARROW:
--  return kOrNarrow;
--  }
-+  return ULISTFMT_TYPE_OR;
- case JSListFormat::Type::UNIT:
--  switch (style) {
--case JSListFormat::Style::LONG:
--  

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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:58:18
  Author: felixonmars
Revision: 990708

upgpkg: haskell-hls-pragmas-plugin 1.0.0.0-32: rebuild with contravariant 1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:56:47 UTC (rev 990707)
+++ PKGBUILD2021-07-29 21:58:18 UTC (rev 990708)
@@ -3,7 +3,7 @@
 _hkgname=hls-pragmas-plugin
 pkgname=haskell-hls-pragmas-plugin
 pkgver=1.0.0.0
-pkgrel=31
+pkgrel=32
 pkgdesc="Pragmas plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-pragmas-plugin;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:56:47
  Author: felixonmars
Revision: 990707

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 990706, haskell-hls-module-name-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:56:47 UTC (rev 990707)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-module-name-plugin
+pkgname=haskell-hls-module-name-plugin
+pkgver=1.0.0.0
+pkgrel=32
+pkgdesc="Module name plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-module-name-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('abcf1d52aa552b97e459c0e8c70af03f8428e292c253dcd14eea753283fd81a8')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:56:34
  Author: felixonmars
Revision: 990706

upgpkg: haskell-hls-module-name-plugin 1.0.0.0-32: rebuild with contravariant 
1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:55:35 UTC (rev 990705)
+++ PKGBUILD2021-07-29 21:56:34 UTC (rev 990706)
@@ -3,7 +3,7 @@
 _hkgname=hls-module-name-plugin
 pkgname=haskell-hls-module-name-plugin
 pkgver=1.0.0.0
-pkgrel=31
+pkgrel=32
 pkgdesc="Module name plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-module-name-plugin;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:55:35
  Author: felixonmars
Revision: 990705

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-floskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 990704, haskell-hls-floskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:55:35 UTC (rev 990705)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-floskell-plugin
+pkgname=haskell-hls-floskell-plugin
+pkgver=1.0.0.0
+pkgrel=32
+pkgdesc="Integration with the Floskell code formatter"
+url="https://hackage.haskell.org/package/hls-floskell-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-floskell' 'haskell-ghcide' 
'haskell-hls-plugin-api' 'haskell-lsp-types')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c873a0d71001cba5391435a7fdc8ce69dbf27070cfc887b1f51b76a20622c471')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u ghcide $_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-hls-ormolu-plugin/repos (2 files)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:54:21
  Author: felixonmars
Revision: 990703

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-ormolu-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 990702, haskell-hls-ormolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:54:21 UTC (rev 990703)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-ormolu-plugin
+pkgname=haskell-hls-ormolu-plugin
+pkgver=1.0.0.0
+pkgrel=21
+pkgdesc="Integration with the Ormolu code formatter"
+url="https://hackage.haskell.org/package/hls-ormolu-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lens'
+ 'haskell-lsp' 'haskell-ormolu' 'haskell-ghc-api-compat')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('d965b7fcc78b36362de872a69da87e41c48dc191e966f62d123b63994c0d38c6')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:55:21
  Author: felixonmars
Revision: 990704

upgpkg: haskell-hls-floskell-plugin 1.0.0.0-32: rebuild with contravariant 1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:54:21 UTC (rev 990703)
+++ PKGBUILD2021-07-29 21:55:21 UTC (rev 990704)
@@ -3,7 +3,7 @@
 _hkgname=hls-floskell-plugin
 pkgname=haskell-hls-floskell-plugin
 pkgver=1.0.0.0
-pkgrel=31
+pkgrel=32
 pkgdesc="Integration with the Floskell code formatter"
 url="https://hackage.haskell.org/package/hls-floskell-plugin;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:54:09
  Author: felixonmars
Revision: 990702

upgpkg: haskell-hls-ormolu-plugin 1.0.0.0-21: rebuild with contravariant 1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:53:09 UTC (rev 990701)
+++ PKGBUILD2021-07-29 21:54:09 UTC (rev 990702)
@@ -3,7 +3,7 @@
 _hkgname=hls-ormolu-plugin
 pkgname=haskell-hls-ormolu-plugin
 pkgver=1.0.0.0
-pkgrel=20
+pkgrel=21
 pkgdesc="Integration with the Ormolu code formatter"
 url="https://hackage.haskell.org/package/hls-ormolu-plugin;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:52:57
  Author: felixonmars
Revision: 990700

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.2-32: rebuild with 
contravariant 1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:51:53 UTC (rev 990699)
+++ PKGBUILD2021-07-29 21:52:57 UTC (rev 990700)
@@ -3,7 +3,7 @@
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
 pkgver=1.0.0.2
-pkgrel=31
+pkgrel=32
 pkgdesc="Haddock comments plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:53:09
  Author: felixonmars
Revision: 990701

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: 
haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 990700, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:53:09 UTC (rev 990701)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-haddock-comments-plugin
+pkgname=haskell-hls-haddock-comments-plugin
+pkgver=1.0.0.2
+pkgrel=32
+pkgdesc="Haddock comments plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f50c9fc595e8cebcff38d4fb7c3f6f8df59d0df5e8924718812c3ee38da38db5d25ab082e1347d8fdd6a01a779e2c03e029fb6b74bcfd6ebeb55ac1a21642fb6')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:51:39
  Author: felixonmars
Revision: 990698

upgpkg: haskell-hls-test-utils 1.0.1.0-32: rebuild with contravariant 1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:50:42 UTC (rev 990697)
+++ PKGBUILD2021-07-29 21:51:39 UTC (rev 990698)
@@ -3,7 +3,7 @@
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
 pkgver=1.0.1.0
-pkgrel=31
+pkgrel=32
 pkgdesc="Utilities used in the tests of Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:51:53
  Author: felixonmars
Revision: 990699

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:50:42
  Author: felixonmars
Revision: 990697

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:50:29
  Author: felixonmars
Revision: 990696

upgpkg: haskell-hls-retrie-plugin 1.0.1.0-32: rebuild with contravariant 1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:49:26 UTC (rev 990695)
+++ PKGBUILD2021-07-29 21:50:29 UTC (rev 990696)
@@ -3,7 +3,7 @@
 _hkgname=hls-retrie-plugin
 pkgname=haskell-hls-retrie-plugin
 pkgver=1.0.1.0
-pkgrel=31
+pkgrel=32
 pkgdesc="Retrie integration plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-retrie-plugin;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:49:14
  Author: felixonmars
Revision: 990694

upgpkg: haskell-hls-hlint-plugin 1.0.1.0-32: rebuild with contravariant 1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:48:12 UTC (rev 990693)
+++ PKGBUILD2021-07-29 21:49:14 UTC (rev 990694)
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.0.1.0
-pkgrel=31
+pkgrel=32
 pkgdesc="Hlint integration plugin with Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-hlint-plugin;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:49:26
  Author: felixonmars
Revision: 990695

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:48:12
  Author: felixonmars
Revision: 990693

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:48:00
  Author: felixonmars
Revision: 990692

upgpkg: haskell-hls-explicit-imports-plugin 1.0.0.3-32: rebuild with 
contravariant 1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:47:01 UTC (rev 990691)
+++ PKGBUILD2021-07-29 21:48:00 UTC (rev 990692)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.0.3
-pkgrel=31
+pkgrel=32
 pkgdesc="Explicit imports plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:47:01
  Author: felixonmars
Revision: 990691

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:46:49
  Author: felixonmars
Revision: 990690

upgpkg: git-annex 8.20210714-13: rebuild with contravariant 1.5.5

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:42:36 UTC (rev 990689)
+++ PKGBUILD2021-07-29 21:46:49 UTC (rev 990690)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20210714
-pkgrel=12
+pkgrel=13
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:42:36
  Author: felixonmars
Revision: 990689

archrelease: copy trunk to community-staging-x86_64

Added:
  tamarin-prover/repos/community-staging-x86_64/
  tamarin-prover/repos/community-staging-x86_64/PKGBUILD
(from rev 990688, tamarin-prover/trunk/PKGBUILD)
  tamarin-prover/repos/community-staging-x86_64/maude-3.1.patch
(from rev 990688, tamarin-prover/trunk/maude-3.1.patch)

-+
 PKGBUILD|   64 ++
 maude-3.1.patch |   35 +
 2 files changed, 99 insertions(+)

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
990688, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:42:36 UTC (rev 990689)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.6.0
+pkgrel=247
+pkgdesc="The Tamarin prover for security protocol analysis"
+url="https://tamarin-prover.github.io;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'graphviz' 'maude' 'haskell-hunit' 
'haskell-binary-orphans' 'haskell-binary-instances'
+ 'haskell-blaze-builder' 'haskell-blaze-html' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-fclabels' 'haskell-file-embed' 'haskell-gitrev' 
'haskell-http-types'
+ 'haskell-lifted-base' 'haskell-resourcet' 'haskell-safe'
+ 'haskell-shakespeare' 'haskell-threads' 'haskell-wai' 'haskell-warp' 
'haskell-yesod-core'
+ 'haskell-yesod-static' 'haskell-tamarin-prover-utils' 
'haskell-tamarin-prover-term'
+ 'haskell-tamarin-prover-theory' 'haskell-tamarin-prover-sapic')
+optdepends=('ocaml: for sapic support')
+makedepends=('ghc' 'ocaml>=4.11.0')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz;
+maude-3.1.patch
+
remove-monad-unlift.patch::https://github.com/tamarin-prover/tamarin-prover/pull/421.patch)
+sha512sums=('7f3569f740d63d715b92a8f073eaecb8b32efe59b910b246977d36bb9e873765440e72feb6e76c7cbafab0495b88cfc666bb1dd12f685627c60d5cbd97b2973e'
+
'1ef5e4c370a0c5f5541d50600604ba7adc566c2f5cf415cdb844842bb10b343edd00aa5aa654f8e55355c80f48a34382c87c3fba4adca0c77e726f407f3815c3'
+
'45121081ea373df5d5c1be5abc52850100343b2874e07b7fa68addb411477ee43fdbc5e9147b8bb2be118d0765a3fb9c5a7f53a902a44140cc13976cc2257e30')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../maude-3.1.patch
+patch -p1 -i ../remove-monad-unlift.patch
+sed -i '/cp sapic/d' plugins/sapic/Makefile
+# ocaml 4.12
+sed -i 's/compare a/Stdlib.compare a/g' plugins/sapic/position.ml
+sed -i 's/compare (rank a)/Stdlib.compare (rank a)/' plugins/sapic/var.ml
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+-fthreaded -ftest-coverage -f-build-tests --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+
+cd plugins/sapic
+make -j1
+}
+
+check() {
+cd $pkgname-$pkgver
+LD_LIBRARY_PATH="$PWD"/dist/build dist/build/tamarin-prover/tamarin-prover 
test
+}
+
+package() {
+cd $pkgname-$pkgver
+runhaskell Setup copy --destdir="${pkgdir}"
+
+install -Dm644 etc/filetype.vim 
"$pkgdir"/usr/share/vim/vimfiles/ftdetect/tamarin.vim
+install -Dm644 etc/syntax/spthy.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+ln -s spthy.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+cd plugins/sapic
+install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}

Copied: tamarin-prover/repos/community-staging-x86_64/maude-3.1.patch (from rev 
990688, tamarin-prover/trunk/maude-3.1.patch)
===
--- community-staging-x86_64/maude-3.1.patch(rev 0)
+++ community-staging-x86_64/maude-3.1.patch2021-07-29 21:42:36 UTC (rev 
990689)
@@ -0,0 +1,35 @@
+diff --git a/lib/term/src/Term/Maude/Parser.hs 
b/lib/term/src/Term/Maude/Parser.hs
+index 187c35dc..0a1d3c35 100644
+--- a/lib/term/src/Term/Maude/Parser.hs
 b/lib/term/src/Term/Maude/Parser.hs
+@@ -224,7 +224,7 @@ parseVariantsReply msig reply = flip parseOnly reply $ do
+ <* endOfLine <* string "rewrites: "
+ <* takeWhile1 isDigit <* endOfLine <* endOfInput
+   where
+-parseVariant = string "Variant #" *> takeWhile1 isDigit *> endOfLine *>
++parseVariant = string "Variant " *> optional (char '#') *> takeWhile1 
isDigit *> endOfLine *>
+string "rewrites: " *> takeWhile1 isDigit *> endOfLine *>
+parseReprintedTerm *> manyTill parseEntry endOfLine
+ parseReprintedTerm = choice [ string "TOP" *> pure LSortMsg, 

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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:42:21
  Author: felixonmars
Revision: 990688

upgpkg: tamarin-prover 1.6.0-247: rebuild with contravariant 1.5.5

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:40:51 UTC (rev 990687)
+++ PKGBUILD2021-07-29 21:42:21 UTC (rev 990688)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.6.0
-pkgrel=246
+pkgrel=247
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io;
 license=("GPL")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:40:51
  Author: felixonmars
Revision: 990687

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:40:38
  Author: felixonmars
Revision: 990686

upgpkg: hledger-web 1.22-19: rebuild with contravariant 1.5.5

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:39:09 UTC (rev 990685)
+++ PKGBUILD2021-07-29 21:40:38 UTC (rev 990686)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.22
-pkgrel=18
+pkgrel=19
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:39:09
  Author: felixonmars
Revision: 990685

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:38:57
  Author: felixonmars
Revision: 990684

upgpkg: postgrest 7.0.1-350: rebuild with contravariant 1.5.5

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:36:11 UTC (rev 990683)
+++ PKGBUILD2021-07-29 21:38:57 UTC (rev 990684)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.1
-pkgrel=349
+pkgrel=350
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:36:11
  Author: felixonmars
Revision: 990683

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:35:59
  Author: felixonmars
Revision: 990682

upgpkg: haskell-ghcide 1.4.0.3-17: rebuild with contravariant 1.5.5

Modified:
  haskell-ghcide/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:14:33 UTC (rev 990681)
+++ PKGBUILD2021-07-29 21:35:59 UTC (rev 990682)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.4.0.3
-pkgrel=16
+pkgrel=17
 pkgdesc="The core of an IDE"
 
url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:14:21
  Author: felixonmars
Revision: 990680

upgpkg: haskell-yesod-static 1.6.1.0-288: rebuild with contravariant 1.5.5

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:13:13 UTC (rev 990679)
+++ PKGBUILD2021-07-29 21:14:21 UTC (rev 990680)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=287
+pkgrel=288
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:14:33
  Author: felixonmars
Revision: 990681

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
990680, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:14:33 UTC (rev 990681)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.1.0
+pkgrel=288
+pkgdesc="Static file serving subsite for Yesod Web Framework."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-builder' 'haskell-conduit' 'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-css-text' 'haskell-data-default'
+ 'haskell-file-embed' 'haskell-hashable' 'haskell-hjsmin' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-mime-types' 'haskell-rio' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-wai-extra' 
'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('66037ec28eac83e374161c1b306a4d20805ecb35ccfc4878e7894d961daaf30d9936c6e209641ff323d7e3dd5626f5a24a12915d4205417c496e272a2e969f6e')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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-hasql-pool/repos (2 files)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:13:13
  Author: felixonmars
Revision: 990679

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql-pool/repos/community-staging-x86_64/PKGBUILD (from rev 
990678, haskell-hasql-pool/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:13:13 UTC (rev 990679)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql-pool
+pkgname=haskell-hasql-pool
+pkgver=0.5.2
+pkgrel=225
+pkgdesc="A pool of connections for Hasql"
+url="https://github.com/nikita-volkov/hasql-pool;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-hasql' 
'haskell-resource-pool')
+makedepends=('ghc' 'haskell-hspec')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5609f05134a259826e17a7391d3324f1d2b474cd83082e4f67175086da1e481a1a75b336932a97371b32e7427e869498bb87af3f7c6246225698e8ceef1aa372')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' test/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-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
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+#runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:13:01
  Author: felixonmars
Revision: 990678

upgpkg: haskell-hasql-pool 0.5.2-225: rebuild with contravariant 1.5.5

Modified:
  haskell-hasql-pool/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:12:21 UTC (rev 990677)
+++ PKGBUILD2021-07-29 21:13:01 UTC (rev 990678)
@@ -4,7 +4,7 @@
 _hkgname=hasql-pool
 pkgname=haskell-hasql-pool
 pkgver=0.5.2
-pkgrel=224
+pkgrel=225
 pkgdesc="A pool of connections for Hasql"
 url="https://github.com/nikita-volkov/hasql-pool;
 license=('MIT')



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:12:21
  Author: felixonmars
Revision: 990677

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql-transaction/repos/community-staging-x86_64/PKGBUILD (from 
rev 990676, haskell-hasql-transaction/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:12:21 UTC (rev 990677)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-transaction
+pkgname=haskell-hasql-transaction
+pkgver=1.0.1
+pkgrel=12
+pkgdesc="A composable abstraction over the retryable transactions for Hasql"
+url="https://github.com/nikita-volkov/hasql-transaction;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bytestring-tree-builder' 'haskell-contravariant'
+ 'haskell-contravariant-extras' 'haskell-hasql')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('92689f9ffd443e9fcce5c024871492774687c98a7b906040af4f175e268f77e9dfa5520e8d95b056bd0ed264a63e5d38d0aa8759ec7e0ba9ebd697262428b8f4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' conflicts-test/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:12:09
  Author: felixonmars
Revision: 990676

upgpkg: haskell-hasql-transaction 1.0.1-12: rebuild with contravariant 1.5.5

Modified:
  haskell-hasql-transaction/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:11:19 UTC (rev 990675)
+++ PKGBUILD2021-07-29 21:12:09 UTC (rev 990676)
@@ -3,7 +3,7 @@
 _hkgname=hasql-transaction
 pkgname=haskell-hasql-transaction
 pkgver=1.0.1
-pkgrel=11
+pkgrel=12
 pkgdesc="A composable abstraction over the retryable transactions for Hasql"
 url="https://github.com/nikita-volkov/hasql-transaction;
 license=('MIT')



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:11:19
  Author: felixonmars
Revision: 990675

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:11:07
  Author: felixonmars
Revision: 990674

upgpkg: haskell-ci 0.12.1-25: rebuild with contravariant 1.5.5

Modified:
  haskell-ci/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:09:46 UTC (rev 990673)
+++ PKGBUILD2021-07-29 21:11:07 UTC (rev 990674)
@@ -3,7 +3,7 @@
 _hkgname=haskell-ci
 pkgname=haskell-ci
 pkgver=0.12.1
-pkgrel=24
+pkgrel=25
 pkgdesc="Cabal package script generator for Travis-CI"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:09:46
  Author: felixonmars
Revision: 990673

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:09:35
  Author: felixonmars
Revision: 990672

upgpkg: arch-hs 0.9.1.0-8: rebuild with contravariant 1.5.5

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:07:57 UTC (rev 990671)
+++ PKGBUILD2021-07-29 21:09:35 UTC (rev 990672)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.9.1.0
-pkgrel=7
+pkgrel=8
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:07:57
  Author: felixonmars
Revision: 990671

archrelease: copy trunk to community-staging-x86_64

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

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

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

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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:07:40
  Author: felixonmars
Revision: 990670

upgpkg: stack 2.7.3-10: rebuild with contravariant 1.5.5

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:01:38 UTC (rev 990669)
+++ PKGBUILD2021-07-29 21:07:40 UTC (rev 990670)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.3
-pkgrel=9
+pkgrel=10
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:01:38
  Author: felixonmars
Revision: 990669

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:01:27
  Author: felixonmars
Revision: 990668

upgpkg: haskell-hls-plugin-api 1.1.0.2-21: rebuild with contravariant 1.5.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 21:00:34 UTC (rev 990667)
+++ PKGBUILD2021-07-29 21:01:27 UTC (rev 990668)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=1.1.0.2
-pkgrel=20
+pkgrel=21
 pkgdesc="Haskell Language Server API for plugin communication"
 url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
 license=("Apache")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:00:21
  Author: felixonmars
Revision: 990666

upgpkg: haskell-yesod 1.6.1.2-22: rebuild with contravariant 1.5.5

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:59:35 UTC (rev 990665)
+++ PKGBUILD2021-07-29 21:00:21 UTC (rev 990666)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.1.2
-pkgrel=21
+pkgrel=22
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 21:00:34
  Author: felixonmars
Revision: 990667

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 990666, 
haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 21:00:34 UTC (rev 990667)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.1.2
+pkgrel=22
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-conduit' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-file-embed' 'haskell-monad-logger' 
'haskell-shakespeare'
+ 'haskell-streaming-commons' 'haskell-unordered-containers' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-yaml'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a062f74502c5d88784a20f3bbe4c5799475043f3d17fea28b8199e9e4a3f9cc044e7b21a97bdb0c7e9e91c6e76aec4350a2cddc6306afb7c2f78f347ebf4f249')
+
+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-yesod-test/repos (2 files)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:59:35
  Author: felixonmars
Revision: 990665

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
990664, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:59:35 UTC (rev 990665)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.12
+pkgrel=165
+pkgdesc="Integration testing for WAI/Yesod Applications"
+url="https://www.yesodweb.com;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-conduit'
+ 'haskell-cookie' 'haskell-hspec-core' 'haskell-html-conduit' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-network' 'haskell-pretty-show' 'haskell-wai'
+ 'haskell-wai-extra' 'haskell-xml-conduit' 'haskell-xml-types' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-yesod-form' 'haskell-hspec' 'haskell-unliftio' 
'haskell-unliftio-core')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('777d112d8c5ae77d667da2b8d1ed91a1cf751850d5b3678e787e7123aca8666d0a4b6d6161b7109491012d56c160603d62563b881a136ccc76a1edd006c423d6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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-yesod-test/trunk (PKGBUILD)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:59:23
  Author: felixonmars
Revision: 990664

upgpkg: haskell-yesod-test 1.6.12-165: rebuild with contravariant 1.5.5

Modified:
  haskell-yesod-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:58:13 UTC (rev 990663)
+++ PKGBUILD2021-07-29 20:59:23 UTC (rev 990664)
@@ -3,7 +3,7 @@
 _hkgname=yesod-test
 pkgname=haskell-yesod-test
 pkgver=1.6.12
-pkgrel=164
+pkgrel=165
 pkgdesc="Integration testing for WAI/Yesod Applications"
 url="https://www.yesodweb.com;
 license=('MIT')



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:58:13
  Author: felixonmars
Revision: 990663

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:58:02
  Author: felixonmars
Revision: 990662

upgpkg: haskell-esqueleto 3.5.2.0-6: rebuild with contravariant 1.5.5

Modified:
  haskell-esqueleto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:55:04 UTC (rev 990661)
+++ PKGBUILD2021-07-29 20:58:02 UTC (rev 990662)
@@ -4,7 +4,7 @@
 _hkgname=esqueleto
 pkgname=haskell-esqueleto
 pkgver=3.5.2.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
 url="https://github.com/bitemyapp/esqueleto;
 license=("BSD")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:55:04
  Author: felixonmars
Revision: 990661

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:54:52
  Author: felixonmars
Revision: 990660

upgpkg: haskell-summoner-tui 2.0.1.1-211: rebuild with contravariant 1.5.5

Modified:
  haskell-summoner-tui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:53:58 UTC (rev 990659)
+++ PKGBUILD2021-07-29 20:54:52 UTC (rev 990660)
@@ -4,7 +4,7 @@
 _hkgname=summoner-tui
 pkgname=haskell-summoner-tui
 pkgver=2.0.1.1
-pkgrel=210
+pkgrel=211
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:53:58
  Author: felixonmars
Revision: 990659

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql/repos/community-staging-x86_64/PKGBUILD (from rev 990658, 
haskell-hasql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:53:58 UTC (rev 990659)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql
+pkgname=haskell-hasql
+pkgver=1.4.5.1
+pkgrel=36
+pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
+url="https://github.com/nikita-volkov/hasql;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-bytestring-strict-builder' 
'haskell-contravariant'
+ 'haskell-dlist' 'haskell-hashable' 'haskell-hashtables' 
'haskell-postgresql-binary'
+ 'haskell-postgresql-libpq' 'haskell-profunctors' 
'haskell-text-builder' 'haskell-vector')
+makedepends=('ghc' 'haskell-contravariant-extras' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck-instances' 
'haskell-quickcheck'
+ 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('cca8683aad8a334e5d53c98241070f667ecd63bb7b40d00ed6a630b64f3815d7e7f41897b1ec2167eecad2dceabd66fbc92345917b16881e41da0692890be4de')
+
+prepare() {
+cd $_hkgname-$pkgver
+
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/*.hs threads-test/*.hs profiling/*.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:53:46
  Author: felixonmars
Revision: 990658

upgpkg: haskell-hasql 1.4.5.1-36: rebuild with contravariant 1.5.5

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:52:28 UTC (rev 990657)
+++ PKGBUILD2021-07-29 20:53:46 UTC (rev 990658)
@@ -4,7 +4,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.4.5.1
-pkgrel=35
+pkgrel=36
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql;
 license=('MIT')



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:52:28
  Author: felixonmars
Revision: 990657

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-butcher/repos/community-staging-x86_64/PKGBUILD (from rev 
990656, haskell-butcher/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:52:28 UTC (rev 990657)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=butcher
+pkgname=haskell-butcher
+pkgver=1.3.3.2
+pkgrel=116
+pkgdesc="Chops a command or program invocation into digestable pieces."
+url="https://github.com/lspitzner/butcher/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-deque' 'haskell-extra' 
'haskell-free'
+ 'haskell-microlens' 'haskell-microlens-th' 'haskell-multistate' 
'haskell-unsafe'
+ 'haskell-void')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('1d0f8e8e498b012c4a859671eebf34a6e965e8ed99b3c90d3aad1d8898c40f1b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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-butcher/trunk (PKGBUILD)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:52:16
  Author: felixonmars
Revision: 990656

upgpkg: haskell-butcher 1.3.3.2-116: rebuild with contravariant 1.5.5

Modified:
  haskell-butcher/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:51:23 UTC (rev 990655)
+++ PKGBUILD2021-07-29 20:52:16 UTC (rev 990656)
@@ -3,7 +3,7 @@
 _hkgname=butcher
 pkgname=haskell-butcher
 pkgver=1.3.3.2
-pkgrel=115
+pkgrel=116
 pkgdesc="Chops a command or program invocation into digestable pieces."
 url="https://github.com/lspitzner/butcher/;
 license=("BSD")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:51:23
  Author: felixonmars
Revision: 990655

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:51:11
  Author: felixonmars
Revision: 990654

upgpkg: hopenpgp-tools 0.23.6-113: rebuild with contravariant 1.5.5

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:49:14 UTC (rev 990653)
+++ PKGBUILD2021-07-29 20:51:11 UTC (rev 990654)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.6
-pkgrel=112
+pkgrel=113
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools;
 license=("AGPL3")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:49:14
  Author: felixonmars
Revision: 990653

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 990652, 
shellcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:49:14 UTC (rev 990653)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.7.2
+pkgrel=60
+pkgdesc="Shell script analysis tool"
+url="https://www.shellcheck.net;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-diff' 'haskell-quickcheck' 
'haskell-regex-tdfa')
+makedepends=('ghc' 'pandoc' 'uusi')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz;)
+sha512sums=('87b7377add4ce37766f9fd812cd9bf03097c9ba452b646e7ae1dc65946a7210c9d24d8c83b4be4146a0f100aff5bc9a3a562b3990c74f1c29ee191e249f97714')
+
+prepare() {
+cd $pkgname-$pkgver
+gen-setup
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+
+./manpage
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m644 ${pkgname}.1   "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:49:02
  Author: felixonmars
Revision: 990652

upgpkg: shellcheck 0.7.2-60: rebuild with contravariant 1.5.5

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:45:53 UTC (rev 990651)
+++ PKGBUILD2021-07-29 20:49:02 UTC (rev 990652)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.7.2
-pkgrel=59
+pkgrel=60
 pkgdesc="Shell script analysis tool"
 url="https://www.shellcheck.net;
 license=("GPL")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:45:53
  Author: felixonmars
Revision: 990651

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
990650, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:45:53 UTC (rev 990651)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.12.0
+pkgrel=25
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname};
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-gitrev' 'haskell-microlens'
+ 'haskell-microlens-mtl' 'haskell-microlens-th' 'haskell-open-browser'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 
'haskell-roman-numerals'
+ 'haskell-syb' 'haskell-utility-ht')
+makedepends=('ghc' 'haskell-hspec')
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz;)
+sha512sums=('5e2dbd5d63d0a6b295da9efc97273d3d2c9a08f50ddda3df3f1df31b112be082233011e632c551be34043d50114f7d2373219ef68ffa1fa59a9fb4d31b9351d5')
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+   -f-enable_flaky_tests
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:45:42
  Author: felixonmars
Revision: 990650

upgpkg: pandoc-crossref 0.3.12.0-25: rebuild with contravariant 1.5.5

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:44:11 UTC (rev 990649)
+++ PKGBUILD2021-07-29 20:45:42 UTC (rev 990650)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.12.0
-pkgrel=24
+pkgrel=25
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:44:11
  Author: felixonmars
Revision: 990649

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:44:00
  Author: felixonmars
Revision: 990648

upgpkg: haskell-hakyll 4.14.0.0-94: rebuild with contravariant 1.5.5

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:42:34 UTC (rev 990647)
+++ PKGBUILD2021-07-29 20:44:00 UTC (rev 990648)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.14.0.0
-pkgrel=93
+pkgrel=94
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:42:34
  Author: felixonmars
Revision: 990647

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-arch-web/repos/community-staging-x86_64/PKGBUILD (from rev 
990646, haskell-arch-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:42:34 UTC (rev 990647)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=arch-web
+pkgname=haskell-arch-web
+pkgver=0.1.0
+pkgrel=124
+pkgdesc="Arch Linux official and AUR web interface binding"
+url="https://github.com/berberman/arch-web;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-deriving-aeson' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lens' 
'haskell-servant'
+ 'haskell-servant-client' 'haskell-servant-client-core')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('ffb66a4bee5432799e75f4c637856ae49868b2633e3711b3468a8d78b9263ef2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u http-client -u lens $_hkgname.cabal
+  gen-setup
+
+  sed -i '/CommunityTesting/a \  | KDEUnstable' src/Web/ArchLinux/Types.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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-arch-web/trunk (PKGBUILD)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:42:22
  Author: felixonmars
Revision: 990646

upgpkg: haskell-arch-web 0.1.0-124: rebuild with contravariant 1.5.5

Modified:
  haskell-arch-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:40:29 UTC (rev 990645)
+++ PKGBUILD2021-07-29 20:42:22 UTC (rev 990646)
@@ -3,7 +3,7 @@
 _hkgname=arch-web
 pkgname=haskell-arch-web
 pkgver=0.1.0
-pkgrel=123
+pkgrel=124
 pkgdesc="Arch Linux official and AUR web interface binding"
 url="https://github.com/berberman/arch-web;
 license=("MIT")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:40:29
  Author: felixonmars
Revision: 990645

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
990644, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:40:29 UTC (rev 990645)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.5.2.3
+pkgrel=12
+pkgdesc="Content addressable Haskell package management"
+url="https://github.com/commercialhaskell/pantry;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-digest' 'haskell-filelock' 
'haskell-generic-deriving'
+ 'haskell-hackage-security' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mono-traversable' 'haskell-network-uri' 'haskell-path' 
'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 'haskell-primitive' 
'haskell-resourcet'
+ 'haskell-rio' 'haskell-rio-orphans' 'haskell-rio-prettyprint' 
'haskell-tar-conduit'
+ 'haskell-text-metrics' 'haskell-unix-compat' 'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml' 
'haskell-zip-archive')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-quickcheck'
+ 'haskell-raw-strings-qq')
+checkdepends=('git' 'mercurial')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ecb1a1fb1116f97b8078028752b285557823ee9d870d9a5fb7620ebbbe1b41b870211755c1f39a915226c73ca07ba3b86a08a1b52644c2cfadd0dd3e5c8a')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+uusi -d persistent-template $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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-pantry/trunk (PKGBUILD)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:40:17
  Author: felixonmars
Revision: 990644

upgpkg: haskell-pantry 0.5.2.3-12: rebuild with contravariant 1.5.5

Modified:
  haskell-pantry/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:36:06 UTC (rev 990643)
+++ PKGBUILD2021-07-29 20:40:17 UTC (rev 990644)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.5.2.3
-pkgrel=11
+pkgrel=12
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry;
 license=('BSD')



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:35:55
  Author: felixonmars
Revision: 990642

upgpkg: haskell-hls-graph 1.4.0.0-18: rebuild with contravariant 1.5.5

Modified:
  haskell-hls-graph/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:35:18 UTC (rev 990641)
+++ PKGBUILD2021-07-29 20:35:55 UTC (rev 990642)
@@ -3,7 +3,7 @@
 _hkgname=hls-graph
 pkgname=haskell-hls-graph
 pkgver=1.4.0.0
-pkgrel=17
+pkgrel=18
 pkgdesc="Haskell Language Server internal graph API"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



[arch-commits] Commit in haskell-implicit-hie-cradle/repos (2 files)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:35:18
  Author: felixonmars
Revision: 990641

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-implicit-hie-cradle/repos/community-staging-x86_64/
  haskell-implicit-hie-cradle/repos/community-staging-x86_64/PKGBUILD
(from rev 990640, haskell-implicit-hie-cradle/trunk/PKGBUILD)

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

Copied: haskell-implicit-hie-cradle/repos/community-staging-x86_64/PKGBUILD 
(from rev 990640, haskell-implicit-hie-cradle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:35:18 UTC (rev 990641)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=implicit-hie-cradle
+pkgname=haskell-implicit-hie-cradle
+pkgver=0.3.0.5
+pkgrel=10
+pkgdesc="Auto generate hie-bios cradles"
+url="https://github.com/Avi-D-coder/implicit-hie-cradle#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-extra' 
'haskell-hie-bios'
+ 'haskell-hslogger' 'haskell-implicit-hie' 'haskell-temporary' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('692534bce4513e039e8f7fe162f8ceb88ef42ced0f314ba01a4d07e2a2f5bb5be60f64a04674498e45c0766fe801aba7102763704aa857695f770318dc3e')
+
+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-hls-graph/repos (2 files)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:36:06
  Author: felixonmars
Revision: 990643

archrelease: copy trunk to community-staging-x86_64

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

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

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



[arch-commits] Commit in haskell-implicit-hie-cradle/trunk (PKGBUILD)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:35:06
  Author: felixonmars
Revision: 990640

upgpkg: haskell-implicit-hie-cradle 0.3.0.5-10: rebuild with contravariant 1.5.5

Modified:
  haskell-implicit-hie-cradle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:34:24 UTC (rev 990639)
+++ PKGBUILD2021-07-29 20:35:06 UTC (rev 990640)
@@ -3,7 +3,7 @@
 _hkgname=implicit-hie-cradle
 pkgname=haskell-implicit-hie-cradle
 pkgver=0.3.0.5
-pkgrel=9
+pkgrel=10
 pkgdesc="Auto generate hie-bios cradles"
 url="https://github.com/Avi-D-coder/implicit-hie-cradle#readme;
 license=("BSD")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:34:24
  Author: felixonmars
Revision: 990639

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:34:12
  Author: felixonmars
Revision: 990638

upgpkg: cabal-plan 0.7.2.0-39: rebuild with contravariant 1.5.5

Modified:
  cabal-plan/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:32:59 UTC (rev 990637)
+++ PKGBUILD2021-07-29 20:34:12 UTC (rev 990638)
@@ -3,7 +3,7 @@
 _hkgname=cabal-plan
 pkgname=cabal-plan
 pkgver=0.7.2.0
-pkgrel=38
+pkgrel=39
 pkgdesc="Library and utility for processing cabal's plan.json file"
 url="https://github.com/hvr/cabal-plan;
 license=("GPL")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:32:59
  Author: felixonmars
Revision: 990637

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:32:47
  Author: felixonmars
Revision: 990636

upgpkg: haskell-yesod-form 1.7.0-57: rebuild with contravariant 1.5.5

Modified:
  haskell-yesod-form/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:31:46 UTC (rev 990635)
+++ PKGBUILD2021-07-29 20:32:47 UTC (rev 990636)
@@ -4,7 +4,7 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.7.0
-pkgrel=56
+pkgrel=57
 pkgdesc="Form handling support for Yesod Web Framework"
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:31:46
  Author: felixonmars
Revision: 990635

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-postgresql/repos/community-staging-x86_64/PKGBUILD 
(from rev 990634, haskell-persistent-postgresql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:31:46 UTC (rev 990635)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-postgresql
+pkgname=haskell-persistent-postgresql
+pkgver=2.13.0.3
+pkgrel=17
+pkgdesc="Backend for the persistent library using postgresql."
+url="http://www.yesodweb.com/book/persistent;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-postgresql-libpq'
+ 'haskell-postgresql-simple' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-string-conversions' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-fast-logger' 
'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-hspec-expectations-lifted'
+ 'haskell-http-api-data' 'haskell-path-pieces' 
'haskell-persistent-qq'
+ 'haskell-persistent-test' 'haskell-quickcheck-instances' 
'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('9378b05b24fcf491d1afc2c9fd83592c83a4a239cc746a88a08330eed29b1e99ea1c32335c7dd9fe4b23417edc5958ff9c51006475f2c0dd0b24cea3ef2f8ecf')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  # pifpaf's default port
+  sed -i 's/port=5432/port=9824/' test/PgInit.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+  eval $(pifpaf run postgresql --host 127.0.0.1)
+  createuser -s postgres
+  createdb test
+  # https://github.com/yesodweb/persistent/issues/1278
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+  pifpaf_stop
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:31:34
  Author: felixonmars
Revision: 990634

upgpkg: haskell-persistent-postgresql 2.13.0.3-17: rebuild with contravariant 
1.5.5

Modified:
  haskell-persistent-postgresql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:30:10 UTC (rev 990633)
+++ PKGBUILD2021-07-29 20:31:34 UTC (rev 990634)
@@ -3,7 +3,7 @@
 _hkgname=persistent-postgresql
 pkgname=haskell-persistent-postgresql
 pkgver=2.13.0.3
-pkgrel=16
+pkgrel=17
 pkgdesc="Backend for the persistent library using postgresql."
 url="http://www.yesodweb.com/book/persistent;
 license=("MIT")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:30:10
  Author: felixonmars
Revision: 990633

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 990632, haskell-persistent-mysql/trunk/PKGBUILD)

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

Copied: haskell-persistent-mysql/repos/community-staging-x86_64/PKGBUILD (from 
rev 990632, haskell-persistent-mysql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:30:10 UTC (rev 990633)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-mysql
+pkgname=haskell-persistent-mysql
+pkgver=2.13.0.1
+pkgrel=27
+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-persistent-mysql/trunk (PKGBUILD)

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:29:58
  Author: felixonmars
Revision: 990632

upgpkg: haskell-persistent-mysql 2.13.0.1-27: rebuild with contravariant 1.5.5

Modified:
  haskell-persistent-mysql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:28:44 UTC (rev 990631)
+++ PKGBUILD2021-07-29 20:29:58 UTC (rev 990632)
@@ -3,7 +3,7 @@
 _hkgname=persistent-mysql
 pkgname=haskell-persistent-mysql
 pkgver=2.13.0.1
-pkgrel=26
+pkgrel=27
 pkgdesc="Backend for the persistent library using MySQL database server."
 url="http://www.yesodweb.com/book/persistent;
 license=("MIT")



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:28:44
  Author: felixonmars
Revision: 990631

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:28:32
  Author: felixonmars
Revision: 990630

upgpkg: dhall-bash 1.0.37-22: rebuild with contravariant 1.5.5

Modified:
  dhall-bash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:27:41 UTC (rev 990629)
+++ PKGBUILD2021-07-29 20:28:32 UTC (rev 990630)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-bash
 pkgver=1.0.37
-pkgrel=21
+pkgrel=22
 pkgdesc='Compile Dhall to Bash'
 url='https://dhall-lang.org'
 license=('BSD')



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:27:41
  Author: felixonmars
Revision: 990629

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:27:29
  Author: felixonmars
Revision: 990628

upgpkg: haskell-summoner 2.0.1.1-191: rebuild with contravariant 1.5.5

Modified:
  haskell-summoner/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:26:19 UTC (rev 990627)
+++ PKGBUILD2021-07-29 20:27:29 UTC (rev 990628)
@@ -4,7 +4,7 @@
 _hkgname=summoner
 pkgname=haskell-summoner
 pkgver=2.0.1.1
-pkgrel=190
+pkgrel=191
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:26:19
  Author: felixonmars
Revision: 990627

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD (from 
rev 990626, haskell-postgresql-binary/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:26:19 UTC (rev 990627)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=postgresql-binary
+pkgname=haskell-postgresql-binary
+pkgver=0.12.4
+pkgrel=42
+pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
+url="https://github.com/nikita-volkov/postgresql-binary;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-binary-parser' 
'haskell-bytestring-strict-builder'
+ 'haskell-network-ip' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc' 'haskell-postgresql-libpq' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-json-ast' 'haskell-conversion' 
'haskell-conversion-bytestring'
+ 'haskell-conversion-text' 'haskell-rerebase' 'pifpaf' 
'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dab0c03a232d8d934f7415b8da6085eb7b31d912dc26c68a6284ed10e10bba22486b0e856eb97a1562edb6d57094535e5af41db28ea279e9a22ccaf1ea1cbb2e')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/DB.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:26:08
  Author: felixonmars
Revision: 990626

upgpkg: haskell-postgresql-binary 0.12.4-42: rebuild with contravariant 1.5.5

Modified:
  haskell-postgresql-binary/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:24:47 UTC (rev 990625)
+++ PKGBUILD2021-07-29 20:26:08 UTC (rev 990626)
@@ -4,7 +4,7 @@
 _hkgname=postgresql-binary
 pkgname=haskell-postgresql-binary
 pkgver=0.12.4
-pkgrel=41
+pkgrel=42
 pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
 url="https://github.com/nikita-volkov/postgresql-binary;
 license=("MIT")



[arch-commits] Commit in pipewire/repos/extra-x86_64 (8 files)

2021-07-29 Thread Jan Steffens via arch-commits
Date: Thursday, July 29, 2021 @ 20:25:03
  Author: heftig
Revision: 420689

archrelease: copy trunk to extra-x86_64

Added:
  pipewire/repos/extra-x86_64/PKGBUILD
(from rev 420688, pipewire/trunk/PKGBUILD)
  pipewire/repos/extra-x86_64/pipewire-media-session.install
(from rev 420688, pipewire/trunk/pipewire-media-session.install)
  pipewire/repos/extra-x86_64/pipewire-pulse.install
(from rev 420688, pipewire/trunk/pipewire-pulse.install)
  pipewire/repos/extra-x86_64/pipewire.install
(from rev 420688, pipewire/trunk/pipewire.install)
Deleted:
  pipewire/repos/extra-x86_64/PKGBUILD
  pipewire/repos/extra-x86_64/pipewire-media-session.install
  pipewire/repos/extra-x86_64/pipewire-pulse.install
  pipewire/repos/extra-x86_64/pipewire.install

+
 PKGBUILD   |  381 +++
 pipewire-media-session.install |   30 +--
 pipewire-pulse.install |   28 +-
 pipewire.install   |   28 +-
 4 files changed, 235 insertions(+), 232 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-29 20:24:59 UTC (rev 420688)
+++ PKGBUILD2021-07-29 20:25:03 UTC (rev 420689)
@@ -1,189 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) 
-# Contributor: Jan de Groot 
-
-pkgbase=pipewire
-pkgname=(pipewire alsa-card-profiles pipewire-docs pipewire-media-session
- pipewire-alsa pipewire-jack pipewire-pulse gst-plugin-pipewire
- pipewire-zeroconf)
-pkgver=0.3.32
-pkgrel=1
-epoch=1
-pkgdesc="Low-latency audio/video router and processor"
-url="https://pipewire.org;
-license=(MIT)
-arch=(x86_64)
-makedepends=(git meson doxygen xmltoman valgrind libpulse alsa-lib libusb
- gst-plugins-base rtkit dbus sdl2 ncurses libsndfile bluez-libs sbc
- libldac libopenaptx libfdk-aac avahi webrtc-audio-processing)
-checkdepends=(desktop-file-utils)
-_commit=41ce3092756ab27106881f4246e54bf32ea5adbe  # tags/0.3.32
-source=("git+https://gitlab.freedesktop.org/pipewire/pipewire.git#commit=$_commit;)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd pipewire
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd pipewire
-}
-
-build() {
-  local meson_options=(
--D docs=enabled
--D jack=disabled
--D libcamera=disabled
--D udevrulesdir=/usr/lib/udev/rules.d
--D roc=disabled
-  )
-
-  arch-meson pipewire build "${meson_options[@]}"
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-_pick() {
-  local p="$1" f d; shift
-  for f; do
-d="$srcdir/$p/${f#$pkgdir/}"
-mkdir -p "$(dirname "$d")"
-mv "$f" "$d"
-rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
-  done
-}
-
-_ver=${pkgver:0:3}
-
-package_pipewire() {
-  license+=(LGPL)  # libspa-alsa
-  depends=(rtkit alsa-card-profiles libdbus-1.so libncursesw.so libsndfile.so
-   libudev.so libusb-1.0.so libasound.so libsystemd.so libbluetooth.so
-   libsbc.so libldacBT_enc.so libopenaptx.so libfdk-aac.so
-   libwebrtc_audio_processing.so)
-  optdepends=('pipewire-docs: Documentation'
-  'pipewire-media-session: Default session manager'
-  'pipewire-alsa: ALSA configuration'
-  'pipewire-jack: JACK support'
-  'pipewire-pulse: PulseAudio replacement'
-  'gst-plugin-pipewire: GStreamer support'
-  'pipewire-zeroconf: Zeroconf support')
-  provides=(libpipewire-$_ver.so)
-  install=pipewire.install
-
-  meson install -C build --destdir "$pkgdir"
-
-  ( cd "$pkgdir"
-
-_pick acp usr/lib/udev
-_pick acp usr/share/alsa-card-profile
-
-_pick docs usr/share/doc
-
-_pick pms usr/bin/pipewire-media-session
-_pick pms usr/lib/systemd/user/pipewire-media-session.service
-_pick pms usr/share/pipewire/media-session.d/*.conf
-
-_pick jack usr/bin/pw-jack usr/lib/pipewire-$_ver/jack
-_pick jack usr/share/man/man1/pw-jack.1
-_pick jack usr/share/pipewire/{jack.conf,media-session.d/with-jack}
-
-_pick pulse usr/bin/pipewire-pulse
-_pick pulse usr/lib/pipewire-$_ver/libpipewire-module-protocol-pulse.so
-_pick pulse usr/lib/pipewire-$_ver/libpipewire-module-pulse-tunnel.so
-_pick pulse usr/lib/systemd/user/pipewire-pulse.*
-_pick pulse usr/share/pipewire/media-session.d/with-pulseaudio
-
-_pick gst usr/lib/gstreamer-1.0
-
-_pick zeroconf 
usr/lib/pipewire-$_ver/libpipewire-module-zeroconf-discover.so
-  )
-
-  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 pipewire/COPYING
-}
-
-package_alsa-card-profiles() {
-  pkgdesc+=" - ALSA card profiles"
-  license=(LGPL)
-
-  mv acp/* "$pkgdir"
-}
-
-package_pipewire-docs() {
-  pkgdesc+=" - documentation"
-
-  mv docs/* "$pkgdir"
-
-  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 pipewire/COPYING
-}
-
-package_pipewire-media-session() {
-  pkgdesc+=" - Session manager"
-  depends=(pipewire libpipewire-$_ver.so)
- 

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

2021-07-29 Thread Jan Steffens via arch-commits
Date: Thursday, July 29, 2021 @ 20:24:59
  Author: heftig
Revision: 420688

archrelease: copy trunk to extra-x86_64

Added:
  libfreeaptx/repos/extra-x86_64/
  libfreeaptx/repos/extra-x86_64/PKGBUILD
(from rev 420687, libfreeaptx/trunk/PKGBUILD)

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

Copied: libfreeaptx/repos/extra-x86_64/PKGBUILD (from rev 420687, 
libfreeaptx/trunk/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2021-07-29 20:24:59 UTC (rev 420688)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+
+pkgname=libfreeaptx
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Open Source aptX codec library"
+url="https://github.com/iamthehorker/libfreeaptx;
+arch=(x86_64)
+license=(LGPL)
+depends=(glibc)
+makedepends=(git)
+provides=(libfreeaptx.so)
+_commit=0485c73bc12f1f860d892bb7166730b3412395bd  # tags/0.1.1^0
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+_make() {
+  make CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
+PREFIX=/usr "$@"
+}
+
+build() {
+  cd $pkgname
+  _make
+}
+
+package() {
+  cd $pkgname
+  _make DESTDIR="$pkgdir" install
+}



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

2021-07-29 Thread Felix Yan via arch-commits
Date: Thursday, July 29, 2021 @ 20:24:47
  Author: felixonmars
Revision: 990625

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-text-builder/repos/community-staging-x86_64/PKGBUILD (from rev 
990624, haskell-text-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-29 20:24:47 UTC (rev 990625)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=text-builder
+pkgname=haskell-text-builder
+pkgver=0.6.6.2
+pkgrel=44
+pkgdesc="An efficient strict text builder"
+url="https://github.com/nikita-volkov/text-builder;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-deferred-folds')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b197304410b2cd1150bde718d2ed20ac30fc8ddf89e39880264309826ee5a0b12d700c5de19b7133273fbd037f80c2fc575d69fbb8ab4a6e7d95018dd9f03763')
+
+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 pipewire/trunk (PKGBUILD)

2021-07-29 Thread Jan Steffens via arch-commits
Date: Thursday, July 29, 2021 @ 20:24:37
  Author: heftig
Revision: 420687

0.3.32-2: Use libfreeaptx

Modified:
  pipewire/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-29 20:19:59 UTC (rev 420686)
+++ PKGBUILD2021-07-29 20:24:37 UTC (rev 420687)
@@ -6,7 +6,7 @@
  pipewire-alsa pipewire-jack pipewire-pulse gst-plugin-pipewire
  pipewire-zeroconf)
 pkgver=0.3.32
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc="Low-latency audio/video router and processor"
 url="https://pipewire.org;
@@ -14,7 +14,7 @@
 arch=(x86_64)
 makedepends=(git meson doxygen xmltoman valgrind libpulse alsa-lib libusb
  gst-plugins-base rtkit dbus sdl2 ncurses libsndfile bluez-libs sbc
- libldac libopenaptx libfdk-aac avahi webrtc-audio-processing)
+ libldac libfreeaptx libfdk-aac avahi webrtc-audio-processing)
 checkdepends=(desktop-file-utils)
 _commit=41ce3092756ab27106881f4246e54bf32ea5adbe  # tags/0.3.32
 
source=("git+https://gitlab.freedesktop.org/pipewire/pipewire.git#commit=$_commit;)
@@ -27,6 +27,9 @@
 
 prepare() {
   cd pipewire
+
+  # Replace libopenaptx with libfreeaptx
+  git cherry-pick -n 1216371f8c06f548f8ade6468b66612f43df1436
 }
 
 build() {
@@ -62,7 +65,7 @@
   license+=(LGPL)  # libspa-alsa
   depends=(rtkit alsa-card-profiles libdbus-1.so libncursesw.so libsndfile.so
libudev.so libusb-1.0.so libasound.so libsystemd.so libbluetooth.so
-   libsbc.so libldacBT_enc.so libopenaptx.so libfdk-aac.so
+   libsbc.so libldacBT_enc.so libfreeaptx.so libfdk-aac.so
libwebrtc_audio_processing.so)
   optdepends=('pipewire-docs: Documentation'
   'pipewire-media-session: Default session manager'



  1   2   3   4   5   6   7   8   >