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

2022-01-14 Thread George Rawlinson via arch-commits
Date: Saturday, January 15, 2022 @ 07:44:25
  Author: grawlinson
Revision: 1104091

archrelease: copy trunk to community-x86_64

Added:
  freeorion/repos/community-x86_64/
  freeorion/repos/community-x86_64/PKGBUILD
(from rev 1104090, freeorion/trunk/PKGBUILD)
  freeorion/repos/community-x86_64/fix-version-string.patch
(from rev 1104090, freeorion/trunk/fix-version-string.patch)

--+
 PKGBUILD |   62 +
 fix-version-string.patch |   21 +++
 2 files changed, 83 insertions(+)

Copied: freeorion/repos/community-x86_64/PKGBUILD (from rev 1104090, 
freeorion/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-01-15 07:44:25 UTC (rev 1104091)
@@ -0,0 +1,62 @@
+# Maintainer: George Rawlinson 
+# Contributor: Dimitris Kiziridis 
+# Contributor: Christian Krause ("wookietreiber") 

+
+pkgname=freeorion
+pkgver=0.4.10.2
+pkgrel=2
+pkgdesc='A turn-based space empire and galactic conquest game'
+url='https://www.freeorion.org'
+arch=('x86_64')
+license=('GPL2')
+depends=(
+  'boost-libs'
+  'python'
+  'sdl2'
+  'libvorbis'
+  'glew'
+  'openal'
+  'hicolor-icon-theme'
+  'freetype2'
+)
+makedepends=(
+  'git'
+  'cmake'
+  'boost'
+)
+_commit='f663dad6379658b539bd28c95229218eb4333ef2'
+source=(
+  "$pkgname::git+https://github.com/freeorion/freeorion.git#commit=$_commit;
+  'fix-version-string.patch'
+)
+sha512sums=('SKIP'
+
'e3287063a3128f5589d44ed780ba7e3cdfb4a60bcb0aa833f9a48e51405e3f06ba11eb89b9d59313e629deaf35f78704574bf7620607b96c161037b54a63a71f')
+b2sums=('SKIP'
+
'38828f5cfd0ad3cba854c3457599a851b5d0af72ec00f742f5d828fffc1ef1a6163c771f69ce42f4c39ba2cff3b82330e16fdb89b63570d0b7f71810a257eade')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  patch \
+--directory "$pkgname" \
+--strip=1 \
+--input=../fix-version-string.patch
+
+  cmake \
+-B build \
+-S "$pkgname" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release
+}
+
+build() {
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}
+

Copied: freeorion/repos/community-x86_64/fix-version-string.patch (from rev 
1104090, freeorion/trunk/fix-version-string.patch)
===
--- community-x86_64/fix-version-string.patch   (rev 0)
+++ community-x86_64/fix-version-string.patch   2022-01-15 07:44:25 UTC (rev 
1104091)
@@ -0,0 +1,21 @@
+Prevent 'makepkg' showing up in version string.
+
+This is because the branch name is acquired during creation of
+the version string. The branch variable is normally empty, as
+shown by the diff below.
+
+--- a/cmake/make_versioncpp.py
 b/cmake/make_versioncpp.py
+@@ -133,11 +133,6 @@ branch = ""
+ build_no = INVALID_BUILD_NO
+
+ try:
+-branch = check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], 
universal_newlines=True).strip()
+-if (branch == "master") or (branch[:7] == "release"):
+-branch = ""
+-else:
+-branch += " "
+ commit = check_output(["git", "show", "--no-show-signature", "-s", 
"--format=%h", "--abbrev=7", "HEAD"], universal_newlines=True).strip()
+ timestamp = float(check_output(["git", "show", "--no-show-signature", 
"-s", "--format=%ct", "HEAD"], universal_newlines=True).strip())
+ build_no = 
".".join([datetime.utcfromtimestamp(timestamp).strftime("%Y-%m-%d"), commit])
+



[arch-commits] Commit in (5 files)

2022-01-14 Thread George Rawlinson via arch-commits
Date: Saturday, January 15, 2022 @ 07:43:05
  Author: grawlinson
Revision: 1104090

addpkg: freeorion 0.4.10.2-2

Added:
  freeorion/
  freeorion/repos/
  freeorion/trunk/
  freeorion/trunk/PKGBUILD
  freeorion/trunk/fix-version-string.patch

--+
 PKGBUILD |   62 +
 fix-version-string.patch |   21 +++
 2 files changed, 83 insertions(+)

Added: freeorion/trunk/PKGBUILD
===
--- freeorion/trunk/PKGBUILD(rev 0)
+++ freeorion/trunk/PKGBUILD2022-01-15 07:43:05 UTC (rev 1104090)
@@ -0,0 +1,62 @@
+# Maintainer: George Rawlinson 
+# Contributor: Dimitris Kiziridis 
+# Contributor: Christian Krause ("wookietreiber") 

+
+pkgname=freeorion
+pkgver=0.4.10.2
+pkgrel=2
+pkgdesc='A turn-based space empire and galactic conquest game'
+url='https://www.freeorion.org'
+arch=('x86_64')
+license=('GPL2')
+depends=(
+  'boost-libs'
+  'python'
+  'sdl2'
+  'libvorbis'
+  'glew'
+  'openal'
+  'hicolor-icon-theme'
+  'freetype2'
+)
+makedepends=(
+  'git'
+  'cmake'
+  'boost'
+)
+_commit='f663dad6379658b539bd28c95229218eb4333ef2'
+source=(
+  "$pkgname::git+https://github.com/freeorion/freeorion.git#commit=$_commit;
+  'fix-version-string.patch'
+)
+sha512sums=('SKIP'
+
'e3287063a3128f5589d44ed780ba7e3cdfb4a60bcb0aa833f9a48e51405e3f06ba11eb89b9d59313e629deaf35f78704574bf7620607b96c161037b54a63a71f')
+b2sums=('SKIP'
+
'38828f5cfd0ad3cba854c3457599a851b5d0af72ec00f742f5d828fffc1ef1a6163c771f69ce42f4c39ba2cff3b82330e16fdb89b63570d0b7f71810a257eade')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  patch \
+--directory "$pkgname" \
+--strip=1 \
+--input=../fix-version-string.patch
+
+  cmake \
+-B build \
+-S "$pkgname" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release
+}
+
+build() {
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}
+

Added: freeorion/trunk/fix-version-string.patch
===
--- freeorion/trunk/fix-version-string.patch(rev 0)
+++ freeorion/trunk/fix-version-string.patch2022-01-15 07:43:05 UTC (rev 
1104090)
@@ -0,0 +1,21 @@
+Prevent 'makepkg' showing up in version string.
+
+This is because the branch name is acquired during creation of
+the version string. The branch variable is normally empty, as
+shown by the diff below.
+
+--- a/cmake/make_versioncpp.py
 b/cmake/make_versioncpp.py
+@@ -133,11 +133,6 @@ branch = ""
+ build_no = INVALID_BUILD_NO
+
+ try:
+-branch = check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], 
universal_newlines=True).strip()
+-if (branch == "master") or (branch[:7] == "release"):
+-branch = ""
+-else:
+-branch += " "
+ commit = check_output(["git", "show", "--no-show-signature", "-s", 
"--format=%h", "--abbrev=7", "HEAD"], universal_newlines=True).strip()
+ timestamp = float(check_output(["git", "show", "--no-show-signature", 
"-s", "--format=%ct", "HEAD"], universal_newlines=True).strip())
+ build_no = 
".".join([datetime.utcfromtimestamp(timestamp).strftime("%Y-%m-%d"), commit])
+



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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 06:02:55
  Author: shibumi
Revision: 1104089

archrelease: copy trunk to community-x86_64

Added:
  pulumi/repos/community-x86_64/PKGBUILD
(from rev 1104088, pulumi/trunk/PKGBUILD)
Deleted:
  pulumi/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-15 06:00:42 UTC (rev 1104088)
+++ PKGBUILD2022-01-15 06:02:55 UTC (rev 1104089)
@@ -1,76 +0,0 @@
-# Maintainer: Christian Rebischke 
-# Contributor: Christoph Gysin 
-
-pkgname=pulumi
-pkgver=3.22.1
-pkgrel=1
-pkgdesc='Modern Infrastructure as Code'
-arch=('x86_64')
-url="https://github.com/$pkgname/$pkgname;
-license=('GPL')
-depends=('glibc')
-makedepends=('go')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('06850b18b180c3c951a55b3ba7e3adc70816ca31bca4d4ee05eab0dd4b519db6')
-b2sums=('816ffb88c19aab5261c158ca97491a76abef1f0a7146f9c01b6656663df24faf7690addcff04e0ea89dbdbbcc4cff6077a650cfb76dc1e642a584b021f2d4e7c')
-options=('!lto') # disable as soon as LTO problems are resolved
-
-_plugins=(
-  "nodejs/cmd/pulumi-language-nodejs"
-  "python/cmd/pulumi-language-python"
-  "dotnet/cmd/pulumi-language-dotnet"
-  "go/pulumi-language-go"
-)
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-  # Build the `pulumi` executable
-  cd "${srcdir}/${pkgname}-${pkgver}/pkg"
-  go build \
--ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
--o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
-"./cmd/${pkgname}" \
-
-  # Build the plugins
-  cd "${srcdir}/${pkgname}-${pkgver}/sdk"
-  for plugin in "${_plugins[@]}"; do
-plugin_name=${plugin##*/}
-go build \
-  -ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
-  -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
-  "./${plugin}"
-
-# Add possible executor
-if [ -f "${plugin}-exec" ]; then
-  cp "${plugin}-exec" "${srcdir}/${pkgname}-${pkgver}/bin/"
-fi
-  done
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # Install all executables
-  for f in ./bin/*; do
-install -D -m 755 "$f" "${pkgdir}/usr/bin/$(basename $f)"
-  done
-
-  # Generate Bash completion
-  install -D -m 644 \
-<("${pkgdir}/usr/bin/${pkgname}" gen-completion bash) \
-"${pkgdir}/etc/bash_completion.d/${pkgname}"
-
-  # Generate ZSH completion
-  install -D -m 644 \
-<("${pkgdir}/usr/bin/${pkgname}" gen-completion zsh) \
-"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pulumi/repos/community-x86_64/PKGBUILD (from rev 1104088, 
pulumi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-15 06:02:55 UTC (rev 1104089)
@@ -0,0 +1,76 @@
+# Maintainer: Christian Rebischke 
+# Contributor: Christoph Gysin 
+
+pkgname=pulumi
+pkgver=3.22.1
+pkgrel=1
+pkgdesc='Modern Infrastructure as Code'
+arch=('x86_64')
+url="https://github.com/$pkgname/$pkgname;
+license=('GPL')
+depends=('glibc')
+makedepends=('go')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('06850b18b180c3c951a55b3ba7e3adc70816ca31bca4d4ee05eab0dd4b519db6')
+b2sums=('816ffb88c19aab5261c158ca97491a76abef1f0a7146f9c01b6656663df24faf7690addcff04e0ea89dbdbbcc4cff6077a650cfb76dc1e642a584b021f2d4e7c')
+options=('!lto') # disable as soon as LTO problems are resolved
+
+_plugins=(
+  "nodejs/cmd/pulumi-language-nodejs"
+  "python/cmd/pulumi-language-python"
+  "dotnet/cmd/pulumi-language-dotnet"
+  "go/pulumi-language-go"
+)
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  # Build the `pulumi` executable
+  cd "${srcdir}/${pkgname}-${pkgver}/pkg"
+  go build \
+-ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
+-o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
+"./cmd/${pkgname}" \
+
+  # Build the plugins
+  cd "${srcdir}/${pkgname}-${pkgver}/sdk"
+  for plugin in "${_plugins[@]}"; do
+plugin_name=${plugin##*/}
+go build \
+  -ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
+  -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
+  

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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 06:00:42
  Author: shibumi
Revision: 1104088

archrelease: copy trunk to community-x86_64

Added:
  pulumi/repos/community-x86_64/PKGBUILD
(from rev 1104087, pulumi/trunk/PKGBUILD)
Deleted:
  pulumi/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-15 05:59:20 UTC (rev 1104087)
+++ PKGBUILD2022-01-15 06:00:42 UTC (rev 1104088)
@@ -1,76 +0,0 @@
-# Maintainer: Christian Rebischke 
-# Contributor: Christoph Gysin 
-
-pkgname=pulumi
-pkgver=3.22.1
-pkgrel=1
-pkgdesc='Modern Infrastructure as Code'
-arch=('x86_64')
-url="https://github.com/$pkgname/$pkgname;
-license=('GPL')
-depends=('glibc')
-makedepends=('go')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('06850b18b180c3c951a55b3ba7e3adc70816ca31bca4d4ee05eab0dd4b519db6')
-b2sums=('816ffb88c19aab5261c158ca97491a76abef1f0a7146f9c01b6656663df24faf7690addcff04e0ea89dbdbbcc4cff6077a650cfb76dc1e642a584b021f2d4e7c')
-options=('!lto') # disable as soon as LTO problems are resolved
-
-_plugins=(
-  "nodejs/cmd/pulumi-language-nodejs"
-  "python/cmd/pulumi-language-python"
-  "dotnet/cmd/pulumi-language-dotnet"
-  "go/pulumi-language-go"
-)
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-  # Build the `pulumi` executable
-  cd "${srcdir}/${pkgname}-${pkgver}/pkg"
-  go build \
--ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
--o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
-"./cmd/${pkgname}" \
-
-  # Build the plugins
-  cd "${srcdir}/${pkgname}-${pkgver}/sdk"
-  for plugin in "${_plugins[@]}"; do
-plugin_name=${plugin##*/}
-go build \
-  -ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
-  -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
-  "./${plugin}"
-
-# Add possible executor
-if [ -f "${plugin}-exec" ]; then
-  cp "${plugin}-exec" "${srcdir}/${pkgname}-${pkgver}/bin/"
-fi
-  done
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # Install all executables
-  for f in ./bin/*; do
-install -D -m 755 "$f" "${pkgdir}/usr/bin/$(basename $f)"
-  done
-
-  # Generate Bash completion
-  install -D -m 644 \
-<("${pkgdir}/usr/bin/${pkgname}" gen-completion bash) \
-"${pkgdir}/etc/bash_completion.d/${pkgname}"
-
-  # Generate ZSH completion
-  install -D -m 644 \
-<("${pkgdir}/usr/bin/${pkgname}" gen-completion zsh) \
-"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pulumi/repos/community-x86_64/PKGBUILD (from rev 1104087, 
pulumi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-15 06:00:42 UTC (rev 1104088)
@@ -0,0 +1,76 @@
+# Maintainer: Christian Rebischke 
+# Contributor: Christoph Gysin 
+
+pkgname=pulumi
+pkgver=3.22.1
+pkgrel=1
+pkgdesc='Modern Infrastructure as Code'
+arch=('x86_64')
+url="https://github.com/$pkgname/$pkgname;
+license=('GPL')
+depends=('glibc')
+makedepends=('go')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('06850b18b180c3c951a55b3ba7e3adc70816ca31bca4d4ee05eab0dd4b519db6')
+b2sums=('816ffb88c19aab5261c158ca97491a76abef1f0a7146f9c01b6656663df24faf7690addcff04e0ea89dbdbbcc4cff6077a650cfb76dc1e642a584b021f2d4e7c')
+options=('!lto') # disable as soon as LTO problems are resolved
+
+_plugins=(
+  "nodejs/cmd/pulumi-language-nodejs"
+  "python/cmd/pulumi-language-python"
+  "dotnet/cmd/pulumi-language-dotnet"
+  "go/pulumi-language-go"
+)
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  # Build the `pulumi` executable
+  cd "${srcdir}/${pkgname}-${pkgver}/pkg"
+  go build \
+-ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
+-o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
+"./cmd/${pkgname}" \
+
+  # Build the plugins
+  cd "${srcdir}/${pkgname}-${pkgver}/sdk"
+  for plugin in "${_plugins[@]}"; do
+plugin_name=${plugin##*/}
+go build \
+  -ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
+  -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
+  

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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 05:59:20
  Author: shibumi
Revision: 1104087

archrelease: copy trunk to community-x86_64

Added:
  pulumi/repos/community-x86_64/PKGBUILD
(from rev 1104086, pulumi/trunk/PKGBUILD)
Deleted:
  pulumi/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-15 05:59:14 UTC (rev 1104086)
+++ PKGBUILD2022-01-15 05:59:20 UTC (rev 1104087)
@@ -1,76 +0,0 @@
-# Maintainer: Christian Rebischke 
-# Contributor: Christoph Gysin 
-
-pkgname=pulumi
-pkgver=3.21.1
-pkgrel=1
-pkgdesc='Modern Infrastructure as Code'
-arch=('x86_64')
-url="https://github.com/$pkgname/$pkgname;
-license=('GPL')
-depends=('glibc')
-makedepends=('go')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('746af97cbefcfec58465019ad9877096fca9a0b91d80b40db35fdb9cb766aab8')
-b2sums=('49f7d18893bfac9f40b60016e8c510265e2aeeabdc423b3610e230946241ffb52a3b716cf4e1840505cc47f95578724153ea6e2262ce5fefffa4cb7cdf326f86')
-options=('!lto') # disable as soon as LTO problems are resolved
-
-_plugins=(
-  "nodejs/cmd/pulumi-language-nodejs"
-  "python/cmd/pulumi-language-python"
-  "dotnet/cmd/pulumi-language-dotnet"
-  "go/pulumi-language-go"
-)
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-  # Build the `pulumi` executable
-  cd "${srcdir}/${pkgname}-${pkgver}/pkg"
-  go build \
--ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
--o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
-"./cmd/${pkgname}" \
-
-  # Build the plugins
-  cd "${srcdir}/${pkgname}-${pkgver}/sdk"
-  for plugin in "${_plugins[@]}"; do
-plugin_name=${plugin##*/}
-go build \
-  -ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
-  -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
-  "./${plugin}"
-
-# Add possible executor
-if [ -f "${plugin}-exec" ]; then
-  cp "${plugin}-exec" "${srcdir}/${pkgname}-${pkgver}/bin/"
-fi
-  done
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # Install all executables
-  for f in ./bin/*; do
-install -D -m 755 "$f" "${pkgdir}/usr/bin/$(basename $f)"
-  done
-
-  # Generate Bash completion
-  install -D -m 644 \
-<("${pkgdir}/usr/bin/${pkgname}" gen-completion bash) \
-"${pkgdir}/etc/bash_completion.d/${pkgname}"
-
-  # Generate ZSH completion
-  install -D -m 644 \
-<("${pkgdir}/usr/bin/${pkgname}" gen-completion zsh) \
-"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pulumi/repos/community-x86_64/PKGBUILD (from rev 1104086, 
pulumi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-15 05:59:20 UTC (rev 1104087)
@@ -0,0 +1,76 @@
+# Maintainer: Christian Rebischke 
+# Contributor: Christoph Gysin 
+
+pkgname=pulumi
+pkgver=3.22.1
+pkgrel=1
+pkgdesc='Modern Infrastructure as Code'
+arch=('x86_64')
+url="https://github.com/$pkgname/$pkgname;
+license=('GPL')
+depends=('glibc')
+makedepends=('go')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('06850b18b180c3c951a55b3ba7e3adc70816ca31bca4d4ee05eab0dd4b519db6')
+b2sums=('816ffb88c19aab5261c158ca97491a76abef1f0a7146f9c01b6656663df24faf7690addcff04e0ea89dbdbbcc4cff6077a650cfb76dc1e642a584b021f2d4e7c')
+options=('!lto') # disable as soon as LTO problems are resolved
+
+_plugins=(
+  "nodejs/cmd/pulumi-language-nodejs"
+  "python/cmd/pulumi-language-python"
+  "dotnet/cmd/pulumi-language-dotnet"
+  "go/pulumi-language-go"
+)
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  # Build the `pulumi` executable
+  cd "${srcdir}/${pkgname}-${pkgver}/pkg"
+  go build \
+-ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
+-o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
+"./cmd/${pkgname}" \
+
+  # Build the plugins
+  cd "${srcdir}/${pkgname}-${pkgver}/sdk"
+  for plugin in "${_plugins[@]}"; do
+plugin_name=${plugin##*/}
+go build \
+  -ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
+  -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
+  

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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 05:59:14
  Author: shibumi
Revision: 1104086

upgpkg: pulumi 3.22.1-1

Modified:
  pulumi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 05:56:10 UTC (rev 1104085)
+++ PKGBUILD2022-01-15 05:59:14 UTC (rev 1104086)
@@ -2,7 +2,7 @@
 # Contributor: Christoph Gysin 
 
 pkgname=pulumi
-pkgver=3.21.1
+pkgver=3.22.1
 pkgrel=1
 pkgdesc='Modern Infrastructure as Code'
 arch=('x86_64')
@@ -11,8 +11,8 @@
 depends=('glibc')
 makedepends=('go')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('746af97cbefcfec58465019ad9877096fca9a0b91d80b40db35fdb9cb766aab8')
-b2sums=('49f7d18893bfac9f40b60016e8c510265e2aeeabdc423b3610e230946241ffb52a3b716cf4e1840505cc47f95578724153ea6e2262ce5fefffa4cb7cdf326f86')
+sha256sums=('06850b18b180c3c951a55b3ba7e3adc70816ca31bca4d4ee05eab0dd4b519db6')
+b2sums=('816ffb88c19aab5261c158ca97491a76abef1f0a7146f9c01b6656663df24faf7690addcff04e0ea89dbdbbcc4cff6077a650cfb76dc1e642a584b021f2d4e7c')
 options=('!lto') # disable as soon as LTO problems are resolved
 
 _plugins=(



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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 05:56:10
  Author: shibumi
Revision: 1104085

archrelease: copy trunk to community-x86_64

Added:
  pulumi/repos/community-x86_64/PKGBUILD
(from rev 1104084, pulumi/trunk/PKGBUILD)
Deleted:
  pulumi/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-15 05:51:15 UTC (rev 1104084)
+++ PKGBUILD2022-01-15 05:56:10 UTC (rev 1104085)
@@ -1,76 +0,0 @@
-# Maintainer: Christian Rebischke 
-# Contributor: Christoph Gysin 
-
-pkgname=pulumi
-pkgver=3.21.1
-pkgrel=1
-pkgdesc='Modern Infrastructure as Code'
-arch=('x86_64')
-url="https://github.com/$pkgname/$pkgname;
-license=('GPL')
-depends=('glibc')
-makedepends=('go')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('746af97cbefcfec58465019ad9877096fca9a0b91d80b40db35fdb9cb766aab8')
-b2sums=('49f7d18893bfac9f40b60016e8c510265e2aeeabdc423b3610e230946241ffb52a3b716cf4e1840505cc47f95578724153ea6e2262ce5fefffa4cb7cdf326f86')
-options=('!lto') # disable as soon as LTO problems are resolved
-
-_plugins=(
-  "nodejs/cmd/pulumi-language-nodejs"
-  "python/cmd/pulumi-language-python"
-  "dotnet/cmd/pulumi-language-dotnet"
-  "go/pulumi-language-go"
-)
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-  # Build the `pulumi` executable
-  cd "${srcdir}/${pkgname}-${pkgver}/pkg"
-  go build \
--ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
--o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
-"./cmd/${pkgname}" \
-
-  # Build the plugins
-  cd "${srcdir}/${pkgname}-${pkgver}/sdk"
-  for plugin in "${_plugins[@]}"; do
-plugin_name=${plugin##*/}
-go build \
-  -ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
-  -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
-  "./${plugin}"
-
-# Add possible executor
-if [ -f "${plugin}-exec" ]; then
-  cp "${plugin}-exec" "${srcdir}/${pkgname}-${pkgver}/bin/"
-fi
-  done
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # Install all executables
-  for f in ./bin/*; do
-install -D -m 755 "$f" "${pkgdir}/usr/bin/$(basename $f)"
-  done
-
-  # Generate Bash completion
-  install -D -m 644 \
-<("${pkgdir}/usr/bin/${pkgname}" gen-completion bash) \
-"${pkgdir}/etc/bash_completion.d/${pkgname}"
-
-  # Generate ZSH completion
-  install -D -m 644 \
-<("${pkgdir}/usr/bin/${pkgname}" gen-completion zsh) \
-"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pulumi/repos/community-x86_64/PKGBUILD (from rev 1104084, 
pulumi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-15 05:56:10 UTC (rev 1104085)
@@ -0,0 +1,76 @@
+# Maintainer: Christian Rebischke 
+# Contributor: Christoph Gysin 
+
+pkgname=pulumi
+pkgver=3.21.1
+pkgrel=1
+pkgdesc='Modern Infrastructure as Code'
+arch=('x86_64')
+url="https://github.com/$pkgname/$pkgname;
+license=('GPL')
+depends=('glibc')
+makedepends=('go')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('746af97cbefcfec58465019ad9877096fca9a0b91d80b40db35fdb9cb766aab8')
+b2sums=('49f7d18893bfac9f40b60016e8c510265e2aeeabdc423b3610e230946241ffb52a3b716cf4e1840505cc47f95578724153ea6e2262ce5fefffa4cb7cdf326f86')
+options=('!lto') # disable as soon as LTO problems are resolved
+
+_plugins=(
+  "nodejs/cmd/pulumi-language-nodejs"
+  "python/cmd/pulumi-language-python"
+  "dotnet/cmd/pulumi-language-dotnet"
+  "go/pulumi-language-go"
+)
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  # Build the `pulumi` executable
+  cd "${srcdir}/${pkgname}-${pkgver}/pkg"
+  go build \
+-ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
+-o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
+"./cmd/${pkgname}" \
+
+  # Build the plugins
+  cd "${srcdir}/${pkgname}-${pkgver}/sdk"
+  for plugin in "${_plugins[@]}"; do
+plugin_name=${plugin##*/}
+go build \
+  -ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
+  -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
+  

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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 05:51:15
  Author: shibumi
Revision: 1104084

archrelease: copy trunk to community-x86_64

Added:
  eksctl/repos/community-x86_64/PKGBUILD
(from rev 1104083, eksctl/trunk/PKGBUILD)
Deleted:
  eksctl/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-15 05:51:08 UTC (rev 1104083)
+++ PKGBUILD2022-01-15 05:51:15 UTC (rev 1104084)
@@ -1,42 +0,0 @@
-# Maintainer: Levente Polyak 
-# Contributor: David Birks 
-# Contributor: Mike Williamson 
-
-pkgname=eksctl
-pkgver=0.76.0
-pkgrel=1
-pkgdesc='Command line tool for creating clusters on Amazon EKS'
-url='https://github.com/weaveworks/eksctl'
-arch=('x86_64')
-license=('Apache')
-depends=('kubectl' 'glibc')
-makedepends=('go')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('08cd84d766ab9aa9b97127a193d6d8994df0f446b6fc8f5204d78f9c76cd51a4')
-b2sums=('13cb243c0aebc836d33aefeeff2a4e4a0ecfd186c9b83835554a0120189d323696bfc75ec1c5dbf9c31e04b6eaa97146ca4eb1d42f3aff561ba6f1f9e2ce9b48')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath 
-mod=readonly -modcacherw"
-  go build -v \
--ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 
github.com/weaveworks/eksctl/pkg/version.gitTag=${pkgver}" \
-./cmd/eksctl
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm 755 ${pkgname} -t "$pkgdir/usr/bin"
-
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-
-  # completions
-  "${pkgdir}/usr/bin/${pkgname}" completion bash | install -Dm 644 /dev/stdin 
"${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-  "${pkgdir}/usr/bin/${pkgname}" completion zsh | install -Dm 644 /dev/stdin 
"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-  "${pkgdir}/usr/bin/${pkgname}" completion fish | install -Dm 644 /dev/stdin 
"${pkgdir}/usr/share/fish/completions/${pkgname}.fish"
-}
-
-# vim: ts=2 sw=2 et:

Copied: eksctl/repos/community-x86_64/PKGBUILD (from rev 1104083, 
eksctl/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-15 05:51:15 UTC (rev 1104084)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak 
+# Contributor: David Birks 
+# Contributor: Mike Williamson 
+
+pkgname=eksctl
+pkgver=0.79.0
+pkgrel=1
+pkgdesc='Command line tool for creating clusters on Amazon EKS'
+url='https://github.com/weaveworks/eksctl'
+arch=('x86_64')
+license=('Apache')
+depends=('kubectl' 'glibc')
+makedepends=('go')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('7f7a3c67378737a6c10aa57c209f88e1504b7c46b3186ecf00dad88c34ed')
+b2sums=('4773d4b80526fb254960776d4e3e98e5e62afecfd59ab99bf3054b1aaae62db2d049d2fc8a74ac9a82c6d79f497d0fb12115a96f47f7bf79f4871a8b6c850e5d')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath 
-mod=readonly -modcacherw"
+  go build -v \
+-ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 
github.com/weaveworks/eksctl/pkg/version.gitTag=${pkgver}" \
+./cmd/eksctl
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 ${pkgname} -t "$pkgdir/usr/bin"
+
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  # completions
+  "${pkgdir}/usr/bin/${pkgname}" completion bash | install -Dm 644 /dev/stdin 
"${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+  "${pkgdir}/usr/bin/${pkgname}" completion zsh | install -Dm 644 /dev/stdin 
"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+  "${pkgdir}/usr/bin/${pkgname}" completion fish | install -Dm 644 /dev/stdin 
"${pkgdir}/usr/share/fish/completions/${pkgname}.fish"
+}
+
+# vim: ts=2 sw=2 et:



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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 05:51:08
  Author: shibumi
Revision: 1104083

upgpkg: eksctl 0.79.0-1

Modified:
  eksctl/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 05:46:27 UTC (rev 1104082)
+++ PKGBUILD2022-01-15 05:51:08 UTC (rev 1104083)
@@ -3,7 +3,7 @@
 # Contributor: Mike Williamson 
 
 pkgname=eksctl
-pkgver=0.76.0
+pkgver=0.79.0
 pkgrel=1
 pkgdesc='Command line tool for creating clusters on Amazon EKS'
 url='https://github.com/weaveworks/eksctl'
@@ -12,8 +12,8 @@
 depends=('kubectl' 'glibc')
 makedepends=('go')
 source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('08cd84d766ab9aa9b97127a193d6d8994df0f446b6fc8f5204d78f9c76cd51a4')
-b2sums=('13cb243c0aebc836d33aefeeff2a4e4a0ecfd186c9b83835554a0120189d323696bfc75ec1c5dbf9c31e04b6eaa97146ca4eb1d42f3aff561ba6f1f9e2ce9b48')
+sha256sums=('7f7a3c67378737a6c10aa57c209f88e1504b7c46b3186ecf00dad88c34ed')
+b2sums=('4773d4b80526fb254960776d4e3e98e5e62afecfd59ab99bf3054b1aaae62db2d049d2fc8a74ac9a82c6d79f497d0fb12115a96f47f7bf79f4871a8b6c850e5d')
 
 build() {
   cd ${pkgname}-${pkgver}



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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 05:46:27
  Author: shibumi
Revision: 1104082

archrelease: copy trunk to community-x86_64

Added:
  kubeseal/repos/community-x86_64/PKGBUILD
(from rev 1104081, kubeseal/trunk/PKGBUILD)
Deleted:
  kubeseal/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-15 05:45:42 UTC (rev 1104081)
+++ PKGBUILD2022-01-15 05:46:27 UTC (rev 1104082)
@@ -1,41 +0,0 @@
-# Maintainer: Christian Rebischke 
-# Contributor: sseneca 
-# Contributor: ml 
-
-pkgname=kubeseal
-_pkgname=sealed-secrets
-pkgver=0.17.2
-pkgrel=1
-pkgdesc="A Kubernetes controller and tool for one-way encrypted Secrets"
-arch=('x86_64')
-url="https://github.com/bitnami-labs/sealed-secrets;
-license=('Apache')
-makedepends=('go')
-depends=('glibc')
-source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('97d348815c5cf22d169b2c984ebd908af61f0937a124bcc3f78c350cee71b8facbdbd7640253a4fbf3cd4f283a2959889213a716a833dcfceef233eaf7181af5')
-options=('!lto')
-
-build() {
-  cd "${_pkgname}-${pkgver}/cmd/kubeseal"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-  go build -ldflags="-linkmode=external -X=main.VERSION=v${pkgver}" .
-}
-
-check() {
-  cd "${_pkgname}-${pkgver}"
-
-  go test ./cmd/kubeseal/... ./pkg/...
-}
-
-package() {
-  cd "${_pkgname}-${pkgver}/cmd/kubeseal/"
-
-  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
-}

Copied: kubeseal/repos/community-x86_64/PKGBUILD (from rev 1104081, 
kubeseal/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-15 05:46:27 UTC (rev 1104082)
@@ -0,0 +1,41 @@
+# Maintainer: Christian Rebischke 
+# Contributor: sseneca 
+# Contributor: ml 
+
+pkgname=kubeseal
+_pkgname=sealed-secrets
+pkgver=0.17.2
+pkgrel=1
+pkgdesc="A Kubernetes controller and tool for one-way encrypted Secrets"
+arch=('x86_64')
+url="https://github.com/bitnami-labs/sealed-secrets;
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('97d348815c5cf22d169b2c984ebd908af61f0937a124bcc3f78c350cee71b8facbdbd7640253a4fbf3cd4f283a2959889213a716a833dcfceef233eaf7181af5')
+options=('!lto')
+
+build() {
+  cd "${_pkgname}-${pkgver}/cmd/kubeseal"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  go build -ldflags="-linkmode=external -X=main.VERSION=v${pkgver}" .
+}
+
+check() {
+  cd "${_pkgname}-${pkgver}"
+
+  go test ./cmd/kubeseal/... ./pkg/...
+}
+
+package() {
+  cd "${_pkgname}-${pkgver}/cmd/kubeseal/"
+
+  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+}



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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 05:45:42
  Author: shibumi
Revision: 1104081

archrelease: copy trunk to community-x86_64

Added:
  kubeseal/repos/community-x86_64/PKGBUILD
(from rev 1104080, kubeseal/trunk/PKGBUILD)
Deleted:
  kubeseal/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-15 05:45:36 UTC (rev 1104080)
+++ PKGBUILD2022-01-15 05:45:42 UTC (rev 1104081)
@@ -1,40 +0,0 @@
-# Maintainer: Christian Rebischke 
-# Contributor: sseneca 
-# Contributor: ml 
-
-pkgname=kubeseal
-_pkgname=sealed-secrets
-pkgver=0.17.1
-pkgrel=1
-pkgdesc="A Kubernetes controller and tool for one-way encrypted Secrets"
-arch=('x86_64')
-url="https://github.com/bitnami-labs/sealed-secrets;
-license=('Apache')
-makedepends=('go')
-depends=('glibc')
-source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('c4f3857c29930d9e304d99be5e6b5e5acf944385ab1ed93e7b2d0ab837a9d64eafd6a723c98702b124925bcb38a430992507c4dee01469ffd45a6c2a4eab3cce')
-
-build() {
-  cd "${_pkgname}-${pkgver}/cmd/kubeseal"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-  go build -ldflags="-linkmode=external -X=main.VERSION=v${pkgver}" .
-}
-
-check() {
-  cd "${_pkgname}-${pkgver}"
-
-  go test ./cmd/kubeseal/... ./pkg/...
-}
-
-package() {
-  cd "${_pkgname}-${pkgver}/cmd/kubeseal/"
-
-  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
-}

Copied: kubeseal/repos/community-x86_64/PKGBUILD (from rev 1104080, 
kubeseal/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-15 05:45:42 UTC (rev 1104081)
@@ -0,0 +1,41 @@
+# Maintainer: Christian Rebischke 
+# Contributor: sseneca 
+# Contributor: ml 
+
+pkgname=kubeseal
+_pkgname=sealed-secrets
+pkgver=0.17.2
+pkgrel=1
+pkgdesc="A Kubernetes controller and tool for one-way encrypted Secrets"
+arch=('x86_64')
+url="https://github.com/bitnami-labs/sealed-secrets;
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('97d348815c5cf22d169b2c984ebd908af61f0937a124bcc3f78c350cee71b8facbdbd7640253a4fbf3cd4f283a2959889213a716a833dcfceef233eaf7181af5')
+options=('!lto')
+
+build() {
+  cd "${_pkgname}-${pkgver}/cmd/kubeseal"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  go build -ldflags="-linkmode=external -X=main.VERSION=v${pkgver}" .
+}
+
+check() {
+  cd "${_pkgname}-${pkgver}"
+
+  go test ./cmd/kubeseal/... ./pkg/...
+}
+
+package() {
+  cd "${_pkgname}-${pkgver}/cmd/kubeseal/"
+
+  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+}



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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 05:45:36
  Author: shibumi
Revision: 1104080

upgpkg: kubeseal 0.17.2-1

Modified:
  kubeseal/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 05:29:49 UTC (rev 1104079)
+++ PKGBUILD2022-01-15 05:45:36 UTC (rev 1104080)
@@ -4,7 +4,7 @@
 
 pkgname=kubeseal
 _pkgname=sealed-secrets
-pkgver=0.17.1
+pkgver=0.17.2
 pkgrel=1
 pkgdesc="A Kubernetes controller and tool for one-way encrypted Secrets"
 arch=('x86_64')
@@ -13,7 +13,8 @@
 makedepends=('go')
 depends=('glibc')
 source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('c4f3857c29930d9e304d99be5e6b5e5acf944385ab1ed93e7b2d0ab837a9d64eafd6a723c98702b124925bcb38a430992507c4dee01469ffd45a6c2a4eab3cce')
+sha512sums=('97d348815c5cf22d169b2c984ebd908af61f0937a124bcc3f78c350cee71b8facbdbd7640253a4fbf3cd4f283a2959889213a716a833dcfceef233eaf7181af5')
+options=('!lto')
 
 build() {
   cd "${_pkgname}-${pkgver}/cmd/kubeseal"



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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 05:29:49
  Author: shibumi
Revision: 1104079

archrelease: copy trunk to community-x86_64

Added:
  terragrunt/repos/community-x86_64/PKGBUILD
(from rev 1104078, terragrunt/trunk/PKGBUILD)
Deleted:
  terragrunt/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-15 05:29:41 UTC (rev 1104078)
+++ PKGBUILD2022-01-15 05:29:49 UTC (rev 1104079)
@@ -1,36 +0,0 @@
-# Maintainer: Levente Polyak 
-# Contributor: Benjamin Denhartog 
-# Contributor: Andreas 'Segaja' Schleifer 
-
-pkgname=terragrunt
-pkgver=0.35.16
-pkgrel=1
-pkgdesc='Thin wrapper for Terraform that provides extra tools for working with 
multiple Terraform modules'
-url='https://github.com/gruntwork-io/terragrunt'
-arch=('x86_64')
-makedepends=('git' 'go')
-depends=('glibc' 'terraform')
-license=('MIT')
-source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('fa24e2b6070e921e84aa0427514735548a3e0e863e0c1c8c7512868063da676d')
-b2sums=('c4e77b573a1f254cf7df76ef07507243bc148720ee3ff4847b03a663e02ca9a9b280708c81dd2426e626e72550f5e5cf92c14d17f67d53ebec3144276c4bac71')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath 
-mod=readonly -modcacherw"
-  go build -v \
--ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 
main.VERSION=${pkgver}" \
-.
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm 755 ${pkgname} -t "${pkgdir}/usr/bin"
-  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: terragrunt/repos/community-x86_64/PKGBUILD (from rev 1104078, 
terragrunt/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-15 05:29:49 UTC (rev 1104079)
@@ -0,0 +1,36 @@
+# Maintainer: Levente Polyak 
+# Contributor: Benjamin Denhartog 
+# Contributor: Andreas 'Segaja' Schleifer 
+
+pkgname=terragrunt
+pkgver=0.35.20
+pkgrel=1
+pkgdesc='Thin wrapper for Terraform that provides extra tools for working with 
multiple Terraform modules'
+url='https://github.com/gruntwork-io/terragrunt'
+arch=('x86_64')
+makedepends=('git' 'go')
+depends=('glibc' 'terraform')
+license=('MIT')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('eeb81d773b8fc32a61a13738a146d1464ca82584b536cd73cc7db6edc5e08ca4')
+b2sums=('73782050dcddfa5a1de2a4cfc1cf264e1b245002e12bf3d74f6b7f835c74b46ca154ed11c1985512e0f2d910a605f1f2ba4747424c55458eed9f8687845fcbd1')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath 
-mod=readonly -modcacherw"
+  go build -v \
+-ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 
main.VERSION=${pkgver}" \
+.
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 ${pkgname} -t "${pkgdir}/usr/bin"
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:



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

2022-01-14 Thread Christian Rebischke via arch-commits
Date: Saturday, January 15, 2022 @ 05:29:41
  Author: shibumi
Revision: 1104078

upgpkg: terragrunt 0.35.20-1

Modified:
  terragrunt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 04:08:23 UTC (rev 1104077)
+++ PKGBUILD2022-01-15 05:29:41 UTC (rev 1104078)
@@ -3,7 +3,7 @@
 # Contributor: Andreas 'Segaja' Schleifer 
 
 pkgname=terragrunt
-pkgver=0.35.16
+pkgver=0.35.20
 pkgrel=1
 pkgdesc='Thin wrapper for Terraform that provides extra tools for working with 
multiple Terraform modules'
 url='https://github.com/gruntwork-io/terragrunt'
@@ -12,8 +12,8 @@
 depends=('glibc' 'terraform')
 license=('MIT')
 source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('fa24e2b6070e921e84aa0427514735548a3e0e863e0c1c8c7512868063da676d')
-b2sums=('c4e77b573a1f254cf7df76ef07507243bc148720ee3ff4847b03a663e02ca9a9b280708c81dd2426e626e72550f5e5cf92c14d17f67d53ebec3144276c4bac71')
+sha256sums=('eeb81d773b8fc32a61a13738a146d1464ca82584b536cd73cc7db6edc5e08ca4')
+b2sums=('73782050dcddfa5a1de2a4cfc1cf264e1b245002e12bf3d74f6b7f835c74b46ca154ed11c1985512e0f2d910a605f1f2ba4747424c55458eed9f8687845fcbd1')
 
 build() {
   cd ${pkgname}-${pkgver}



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

2022-01-14 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, January 15, 2022 @ 04:08:23
  Author: svenstaro
Revision: 1104077

archrelease: copy trunk to community-testing-x86_64

Added:
  libvirt/repos/community-testing-x86_64/
  libvirt/repos/community-testing-x86_64/Changelog
(from rev 1104076, libvirt/trunk/Changelog)
  libvirt/repos/community-testing-x86_64/PKGBUILD
(from rev 1104076, libvirt/trunk/PKGBUILD)
  libvirt/repos/community-testing-x86_64/find_programs.ini
(from rev 1104076, libvirt/trunk/find_programs.ini)
  libvirt/repos/community-testing-x86_64/libvirt.install
(from rev 1104076, libvirt/trunk/libvirt.install)

---+
 Changelog |1 
 PKGBUILD  |  212 
 find_programs.ini |5 +
 libvirt.install   |7 +
 4 files changed, 225 insertions(+)

Copied: libvirt/repos/community-testing-x86_64/Changelog (from rev 1104076, 
libvirt/trunk/Changelog)
===
--- community-testing-x86_64/Changelog  (rev 0)
+++ community-testing-x86_64/Changelog  2022-01-15 04:08:23 UTC (rev 1104077)
@@ -0,0 +1 @@
+https://libvirt.org/news.html

Copied: libvirt/repos/community-testing-x86_64/PKGBUILD (from rev 1104076, 
libvirt/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-01-15 04:08:23 UTC (rev 1104077)
@@ -0,0 +1,212 @@
+# Maintainer: Sven-Hendrik Haase 
+# Maintainer: Robin Broda 
+# Contributor: Christian Rebischke 
+# Contributor: Sergej Pupykin 
+# Contributor: Jonathan Wiersma 
+
+pkgname=(libvirt libvirt-storage-gluster libvirt-storage-iscsi-direct 
libvirt-storage-rbd)
+epoch=1
+pkgver=8.0.0
+pkgrel=1
+pkgdesc="API for controlling virtualization engines 
(openvz,kvm,qemu,virtualbox,xen,etc)"
+arch=('x86_64')
+url="https://libvirt.org/;
+license=('LGPL' 'GPL3') #libvirt_parthelper links to libparted which is GPL3 
only
+install=libvirt.install
+depends=('libpciaccess' 'yajl' 'fuse2' 'gnutls' 'parted' 'libssh' 'libxml2' 
'numactl' 'polkit')
+makedepends=('meson' 'libxslt' 'python-docutils' 'lvm2' 'open-iscsi' 
'libiscsi' 'ceph-libs' 'glusterfs'
+ 'bash-completion' 'rpcsvc-proto' 'dnsmasq' 'iproute2' 
'qemu-headless')
+optdepends=('libvirt-storage-gluster: Gluster storage backend'
+'libvirt-storage-iscsi-direct: iSCSI-direct storage backend'
+'libvirt-storage-rbd: RBD storage backend'
+'gettext: required for libvirt-guests.service'
+'openbsd-netcat: for remote management over ssh'
+'dmidecode: DMI system info support'
+'dnsmasq: required for default NAT/DHCP for guests'
+'radvd: IPv6 RAD support'
+'ebtables: required for default NAT networking'
+'qemu: QEMU/KVM support'
+'lvm2: Logical Volume Manager support'
+'open-iscsi: iSCSI support via iscsiadm')
+
+backup=(
+  'etc/conf.d/libvirtd'
+  'etc/conf.d/libvirt-guests'
+  'etc/conf.d/virtchd'
+  'etc/conf.d/virtinterfaced'
+  'etc/conf.d/virtlockd'
+  'etc/conf.d/virtlogd'
+  'etc/conf.d/virtlxcd'
+  'etc/conf.d/virtnetworkd'
+  'etc/conf.d/virtnodedevd'
+  'etc/conf.d/virtnwfilterd'
+  'etc/conf.d/virtproxyd'
+  'etc/conf.d/virtqemud'
+  'etc/conf.d/virtsecretd'
+  'etc/conf.d/virtstoraged'
+  'etc/conf.d/virtvboxd'
+  'etc/libvirt/libvirt-admin.conf'
+  'etc/libvirt/libvirt.conf'
+  'etc/libvirt/libvirtd.conf'
+  'etc/libvirt/lxc.conf'
+  'etc/libvirt/nwfilter/allow-arp.xml'
+  'etc/libvirt/nwfilter/allow-dhcp-server.xml'
+  'etc/libvirt/nwfilter/allow-dhcpv6-server.xml'
+  'etc/libvirt/nwfilter/allow-dhcp.xml'
+  'etc/libvirt/nwfilter/allow-dhcpv6.xml'
+  'etc/libvirt/nwfilter/allow-incoming-ipv4.xml'
+  'etc/libvirt/nwfilter/allow-incoming-ipv6.xml'
+  'etc/libvirt/nwfilter/allow-ipv6.xml'
+  'etc/libvirt/nwfilter/allow-ipv4.xml'
+  'etc/libvirt/nwfilter/clean-traffic-gateway.xml'
+  'etc/libvirt/nwfilter/clean-traffic.xml'
+  'etc/libvirt/nwfilter/no-arp-ip-spoofing.xml'
+  'etc/libvirt/nwfilter/no-arp-mac-spoofing.xml'
+  'etc/libvirt/nwfilter/no-arp-spoofing.xml'
+  'etc/libvirt/nwfilter/no-ip-multicast.xml'
+  'etc/libvirt/nwfilter/no-ipv6-multicast.xml'
+  'etc/libvirt/nwfilter/no-ip-spoofing.xml'
+  'etc/libvirt/nwfilter/no-ipv6-spoofing.xml'
+  'etc/libvirt/nwfilter/no-mac-spoofing.xml'
+  'etc/libvirt/nwfilter/no-mac-broadcast.xml'
+  'etc/libvirt/nwfilter/no-other-l2-traffic.xml'
+  'etc/libvirt/nwfilter/no-other-rarp-traffic.xml'
+  'etc/libvirt/nwfilter/qemu-announce-self-rarp.xml'
+  'etc/libvirt/nwfilter/qemu-announce-self.xml'
+  'etc/libvirt/qemu.conf'
+  'etc/libvirt/qemu-lockd.conf'
+  'etc/libvirt/qemu/networks/default.xml'
+  'etc/libvirt/virtchd.conf'
+  'etc/libvirt/virtinterfaced.conf'
+  'etc/libvirt/virtlockd.conf'
+  'etc/libvirt/virtlogd.conf'
+  'etc/libvirt/virt-login-shell.conf'
+  

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

2022-01-14 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, January 15, 2022 @ 04:08:11
  Author: svenstaro
Revision: 1104076

upgpkg: libvirt 1:8.0.0-1

Modified:
  libvirt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:43:08 UTC (rev 1104075)
+++ PKGBUILD2022-01-15 04:08:11 UTC (rev 1104076)
@@ -6,8 +6,8 @@
 
 pkgname=(libvirt libvirt-storage-gluster libvirt-storage-iscsi-direct 
libvirt-storage-rbd)
 epoch=1
-pkgver=7.10.0
-pkgrel=2
+pkgver=8.0.0
+pkgrel=1
 pkgdesc="API for controlling virtualization engines 
(openvz,kvm,qemu,virtualbox,xen,etc)"
 arch=('x86_64')
 url="https://libvirt.org/;
@@ -96,7 +96,7 @@
   'etc/sasl2/libvirt.conf'
 )
 source=("https://libvirt.org/sources/$pkgname-$pkgver.tar.xz"{,.asc})
-sha256sums=('cb318014af097327928c6e3d72922e3be02a3e6401247b2aa52d9ab8e0b480f9'
+sha256sums=('51e6e8ff04bafe96d7e314b213dcd41fb1163d9b4f0f75cdab01e663728f4cf6'
 'SKIP')
 validpgpkeys=('453B65310595562855471199CA68BE8010084C9C') # Jiří Denemark 

 



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:43:08
  Author: felixonmars
Revision: 1104075

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 1104074, hledger-web/trunk/PKGBUILD)

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:40:38
  Author: felixonmars
Revision: 1104070

upgpkg: hledger-iadd 1.3.16-6: rebuild with text-short 0.1.5

Modified:
  hledger-iadd/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:39:33 UTC (rev 1104069)
+++ PKGBUILD2022-01-15 03:40:38 UTC (rev 1104070)
@@ -3,7 +3,7 @@
 _hkgname=hledger-iadd
 pkgname=hledger-iadd
 pkgver=1.3.16
-pkgrel=5
+pkgrel=6
 pkgdesc="A terminal UI as drop-in replacement for hledger add"
 url="https://github.com/hpdeifel/hledger-iadd#readme;
 license=("BSD")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:40:46
  Author: felixonmars
Revision: 1104071

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hledger-iadd/repos/community-staging-x86_64/PKGBUILD (from rev 1104070, 
hledger-iadd/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:40:46 UTC (rev 1104071)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hledger-iadd
+pkgname=hledger-iadd
+pkgver=1.3.16
+pkgrel=6
+pkgdesc="A terminal UI as drop-in replacement for hledger add"
+url="https://github.com/hpdeifel/hledger-iadd#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-brick' 'haskell-free' 'haskell-hledger-lib' 
'haskell-megaparsec'
+ 'haskell-microlens' 'haskell-microlens-th' 
'haskell-optparse-applicative'
+ 'haskell-text-zipper' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-vty'
+ 'haskell-xdg-basedir')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('e4a74a21714653d0595c3bfbc43c9545cd9028c85c024c39b067caa22e11bb1b4ffac8c45566b3640a087ece66f21e5dcf666c76f9fd21a0cc3f7e4a1501ff86')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u hledger-lib -u megaparsec $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:41:46
  Author: felixonmars
Revision: 1104073

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 1104072, 
hledger-ui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:41:46 UTC (rev 1104073)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-ui
+pkgver=1.24.1
+pkgrel=8
+pkgdesc="Curses-style terminal interface for the hledger accounting system"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-ansi-terminal' 
'haskell-async'
+ 'haskell-cmdargs' 'haskell-data-default' 'haskell-doclayout' 
'haskell-extra'
+ 'haskell-fsnotify' 'haskell-microlens' 'haskell-microlens-platform' 
'haskell-megaparsec'
+ 'haskell-safe' 'haskell-split' 'haskell-text-zipper'
+ 'haskell-vector' 'haskell-brick' 'haskell-vty')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('9a71ba18c76a477a12df34adb4d1d11e5a72769b14e27950ff675107faf210dbe9ee18d4e6bf13151789f73591e72b62fb7f3ea581a2ddff6457814d9220f4d4')
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/$pkgname" 
--datasubdir="$pkgname" \
+-fthreaded
+runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+cd $pkgname-$pkgver
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+install -Dm644 hledger-ui.1 -t "$pkgdir"/usr/share/man/man1/
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:43:01
  Author: felixonmars
Revision: 1104074

upgpkg: hledger-web 1.24.1-8: rebuild with text-short 0.1.5

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:41:46 UTC (rev 1104073)
+++ PKGBUILD2022-01-15 03:43:01 UTC (rev 1104074)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.24.1
-pkgrel=7
+pkgrel=8
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:41:38
  Author: felixonmars
Revision: 1104072

upgpkg: hledger-ui 1.24.1-8: rebuild with text-short 0.1.5

Modified:
  hledger-ui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:40:46 UTC (rev 1104071)
+++ PKGBUILD2022-01-15 03:41:38 UTC (rev 1104072)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-ui
 pkgver=1.24.1
-pkgrel=7
+pkgrel=8
 pkgdesc="Curses-style terminal interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:37:45
  Author: felixonmars
Revision: 1104066

upgpkg: git-annex 8.20210803-85: rebuild with text-short 0.1.5

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:34:57 UTC (rev 1104065)
+++ PKGBUILD2022-01-15 03:37:45 UTC (rev 1104066)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20210803
-pkgrel=84
+pkgrel=85
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:39:26
  Author: felixonmars
Revision: 1104068

upgpkg: hledger 1.24.1-8: rebuild with text-short 0.1.5

Modified:
  hledger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:37:58 UTC (rev 1104067)
+++ PKGBUILD2022-01-15 03:39:26 UTC (rev 1104068)
@@ -3,7 +3,7 @@
 
 pkgname=hledger
 pkgver=1.24.1
-pkgrel=7
+pkgrel=8
 pkgdesc="Command-line interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:39:33
  Author: felixonmars
Revision: 1104069

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hledger/repos/community-staging-x86_64/PKGBUILD (from rev 1104068, 
hledger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:39:33 UTC (rev 1104069)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger
+pkgver=1.24.1
+pkgrel=8
+pkgdesc="Command-line interface for the hledger accounting system"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-cmdargs'
+ 'haskell-data-default' 'haskell-decimal' 'haskell-diff' 
'haskell-githash'
+ 'haskell-hashable' 'haskell-hledger-lib' 'haskell-lucid' 
'haskell-math-functions'
+ 'haskell-megaparsec' 'haskell-microlens' 'haskell-regex-tdfa' 
'haskell-safe'
+ 'haskell-shakespeare' 'haskell-split' 'haskell-tabular' 
'haskell-tasty'
+ 'haskell-temporary' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-utility-ht' 'haskell-wizards')
+makedepends=('ghc' 'haskell-extra' 'haskell-timeit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('0941258f7c6f699967261eaf9e20c1f81f6694b8f559ac1e729f37cff64dce3b787447f69c222115437318e8ccd6c4273e52befa41b3419f8fb4cc131c7fcdf7')
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-fterminfo -fthreaded --ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+install -Dm644 hledger.1 -t "$pkgdir"/usr/share/man/man1/
+install -Dm644 shell-completion/hledger-completion.bash 
"$pkgdir"/usr/share/bash-completion/completions/hledger
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:37:58
  Author: felixonmars
Revision: 1104067

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

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 1104066, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:37:58 UTC (rev 1104067)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=8.20210803
+pkgrel=85
+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 haskell-hledger-lib/repos (2 files)

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:34:57
  Author: felixonmars
Revision: 1104065

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hledger-lib/repos/community-staging-x86_64/PKGBUILD (from rev 
1104064, haskell-hledger-lib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:34:57 UTC (rev 1104065)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Maintainer: Caleb Maclennan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hledger-lib
+pkgname=haskell-hledger-lib
+pkgver=1.24.1
+pkgrel=7
+pkgdesc="A reusable library providing the core functionality of hledger"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+ 'haskell-blaze-markup' 'haskell-call-stack' 'haskell-cassava' 
'haskell-cassava-megaparsec'
+ 'haskell-cmdargs' 'haskell-data-default' 'haskell-decimal' 
'haskell-doclayout'
+ 'haskell-extra' 'haskell-file-embed' 'haskell-glob' 
'haskell-hashtables'
+ 'haskell-megaparsec' 'haskell-microlens' 'haskell-microlens-th'
+ 'haskell-parser-combinators' 'haskell-pretty-simple' 
'haskell-regex-tdfa' 'haskell-safe'
+ 'haskell-tabular' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-timeit' 'haskell-uglymemo'
+ 'haskell-unordered-containers' 'haskell-utf8-string')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8e6cd62e8e2909287e2ab67450ae49e9a432402932a18bb5a063a151b11b6dafc95457efe84feab1cda9afd7e5786a8fbd3fd4ae9d5052f52afdfdba70519cb1')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u megaparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:28:20
  Author: felixonmars
Revision: 1104059

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:29:58
  Author: felixonmars
Revision: 1104060

upgpkg: haskell-criterion 1.5.10.0-37: rebuild with text-short 0.1.5

Modified:
  haskell-criterion/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:28:20 UTC (rev 1104059)
+++ PKGBUILD2022-01-15 03:29:58 UTC (rev 1104060)
@@ -4,7 +4,7 @@
 _hkgname=criterion
 pkgname=haskell-criterion
 pkgver=1.5.10.0
-pkgrel=36
+pkgrel=37
 pkgdesc="Robust, reliable performance measurement and analysis"
 url="http://www.serpentine.com/criterion;
 license=("BSD")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:34:49
  Author: felixonmars
Revision: 1104064

upgpkg: haskell-hledger-lib 1.24.1-7: rebuild with text-short 0.1.5

Modified:
  haskell-hledger-lib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:31:01 UTC (rev 1104063)
+++ PKGBUILD2022-01-15 03:34:49 UTC (rev 1104064)
@@ -5,7 +5,7 @@
 _hkgname=hledger-lib
 pkgname=haskell-hledger-lib
 pkgver=1.24.1
-pkgrel=6
+pkgrel=7
 pkgdesc="A reusable library providing the core functionality of hledger"
 url="http://hledger.org;
 license=("GPL")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:30:52
  Author: felixonmars
Revision: 1104062

upgpkg: haskell-graphite 0.10.0.1-65: rebuild with text-short 0.1.5

Modified:
  haskell-graphite/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:30:05 UTC (rev 1104061)
+++ PKGBUILD2022-01-15 03:30:52 UTC (rev 1104062)
@@ -3,7 +3,7 @@
 _hkgname=graphite
 pkgname=haskell-graphite
 pkgver=0.10.0.1
-pkgrel=64
+pkgrel=65
 pkgdesc="Graphs and networks library"
 url="https://github.com/alx741/graphite#readme;
 license=("BSD")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:30:05
  Author: felixonmars
Revision: 1104061

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-criterion/repos/community-staging-x86_64/PKGBUILD (from rev 
1104060, haskell-criterion/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:30:05 UTC (rev 1104061)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=criterion
+pkgname=haskell-criterion
+pkgver=1.5.10.0
+pkgrel=37
+pkgdesc="Robust, reliable performance measurement and analysis"
+url="http://www.serpentine.com/criterion;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-wl-pprint' 
'haskell-base-compat-batteries'
+ 'haskell-binary-orphans' 'haskell-cassava' 'haskell-code-page'
+ 'haskell-criterion-measurement' 'haskell-glob' 'haskell-js-chart'
+ 'haskell-microstache' 'haskell-mwc-random' 
'haskell-optparse-applicative'
+ 'haskell-statistics' 'haskell-transformers-compat' 'haskell-vector'
+ 'haskell-vector-algorithms')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5253ae7419df1965ca0d5c5c43b7aa717ee8c8a40ffd4dccd2fe79698836afec705484b5d2fc81323dbc9a1f866c8d2f293c2fc6c20916c68db270ebf59ede96')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-fast -f-embed-data-files
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:31:01
  Author: felixonmars
Revision: 1104063

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-graphite/repos/community-staging-x86_64/PKGBUILD (from rev 
1104062, haskell-graphite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:31:01 UTC (rev 1104063)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=graphite
+pkgname=haskell-graphite
+pkgver=0.10.0.1
+pkgrel=65
+pkgdesc="Graphs and networks library"
+url="https://github.com/alx741/graphite#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-cassava' 'haskell-graphviz' 
'haskell-hashable'
+ 'haskell-random' 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('7a8366a9113c5071f5c4863a6bf10462c4274281f5523fc80f2e5539de6d0aab')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:24:18
  Author: felixonmars
Revision: 1104054

upgpkg: haskell-cassava 0.5.2.0-177: rebuild with text-short 0.1.5

Modified:
  haskell-cassava/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:23:11 UTC (rev 1104053)
+++ PKGBUILD2022-01-15 03:24:18 UTC (rev 1104054)
@@ -4,7 +4,7 @@
 _hkgname=cassava
 pkgname=haskell-cassava
 pkgver=0.5.2.0
-pkgrel=176
+pkgrel=177
 pkgdesc="A CSV parsing and encoding library"
 url="https://github.com/tibbe/cassava;
 license=("BSD")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:28:13
  Author: felixonmars
Revision: 1104058

upgpkg: postgrest 8.0.0-82: rebuild with text-short 0.1.5

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:25:28 UTC (rev 1104057)
+++ PKGBUILD2022-01-15 03:28:13 UTC (rev 1104058)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=8.0.0
-pkgrel=81
+pkgrel=82
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:25:20
  Author: felixonmars
Revision: 1104056

upgpkg: haskell-cassava-megaparsec 2.0.3-21: rebuild with text-short 0.1.5

Modified:
  haskell-cassava-megaparsec/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:24:26 UTC (rev 1104055)
+++ PKGBUILD2022-01-15 03:25:20 UTC (rev 1104056)
@@ -3,7 +3,7 @@
 _hkgname=cassava-megaparsec
 pkgname=haskell-cassava-megaparsec
 pkgver=2.0.3
-pkgrel=20
+pkgrel=21
 pkgdesc="Megaparsec parser of CSV files that plays nicely with Cassava"
 url="https://github.com/stackbuilders/cassava-megaparsec;
 license=('MIT')



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:24:26
  Author: felixonmars
Revision: 1104055

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cassava/repos/community-staging-x86_64/PKGBUILD (from rev 
1104054, haskell-cassava/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:24:26 UTC (rev 1104055)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cassava
+pkgname=haskell-cassava
+pkgver=0.5.2.0
+pkgrel=177
+pkgdesc="A CSV parsing and encoding library"
+url="https://github.com/tibbe/cassava;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-attoparsec" "haskell-hashable" "haskell-only" 
"haskell-scientific"
+ "haskell-text-short" "haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f7f3fc2ebf58491847fb20b21ecf18595933d296bfd4c48249d35c52e72988c4e2758d7a6d2095a9edb3bed8e154a11170920a7c08262270c9f60cb853085383')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u attoparsec -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 \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-bytestring--LT-0_10_4
+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-cassava-megaparsec/repos (2 files)

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:25:28
  Author: felixonmars
Revision: 1104057

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cassava-megaparsec/repos/community-staging-x86_64/
  haskell-cassava-megaparsec/repos/community-staging-x86_64/PKGBUILD
(from rev 1104056, haskell-cassava-megaparsec/trunk/PKGBUILD)

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

Copied: haskell-cassava-megaparsec/repos/community-staging-x86_64/PKGBUILD 
(from rev 1104056, haskell-cassava-megaparsec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:25:28 UTC (rev 1104057)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cassava-megaparsec
+pkgname=haskell-cassava-megaparsec
+pkgver=2.0.3
+pkgrel=21
+pkgdesc="Megaparsec parser of CSV files that plays nicely with Cassava"
+url="https://github.com/stackbuilders/cassava-megaparsec;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cassava' 'haskell-megaparsec' 
'haskell-unordered-containers'
+ 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e5d3a278afc230a1feabcaaea1162f8ff1ebdf4c1e6c604a09021da8cf799f754cf4f2cfd49a0e3ebcf363ae41541d9fb168f080aad6d20970998dbb9da6d6c5')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:23:04
  Author: felixonmars
Revision: 1104052

upgpkg: haskell-base64 0.4.2.3-5: rebuild with text-short 0.1.5

Modified:
  haskell-base64/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:20:23 UTC (rev 1104051)
+++ PKGBUILD2022-01-15 03:23:04 UTC (rev 1104052)
@@ -3,7 +3,7 @@
 _hkgname=base64
 pkgname=haskell-base64
 pkgver=0.4.2.3
-pkgrel=4
+pkgrel=5
 pkgdesc="A modern RFC 4648-compliant Base64 library"
 url="https://github.com/emilypi/base64;
 license=("BSD")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:20:16
  Author: felixonmars
Revision: 1104050

upgpkg: haskell-text-short 0.1.5-1: rebuild with text-short 0.1.5

Modified:
  haskell-text-short/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 03:12:53 UTC (rev 1104049)
+++ PKGBUILD2022-01-15 03:20:16 UTC (rev 1104050)
@@ -3,17 +3,16 @@
 
 _hkgname=text-short
 pkgname=haskell-text-short
-pkgver=0.1.4
-pkgrel=18
+pkgver=0.1.5
+pkgrel=1
 pkgdesc="Memory-efficient representation of Unicode text strings"
 url="https://github.com/hvr/text-short;
 license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-hashable')
-makedepends=('ghc' 'uusi' 'haskell-quickcheck-instances' 'haskell-tasty' 
'haskell-tasty-hunit'
- 'haskell-tasty-quickcheck')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e966933096f4b1a0e0cd57541d0b96ef3092b8f86969c570c9fe5863256fe1d322c1b1503efc870a5b827799a5c981f08d850f1838ea5e6f1ed5bff25290e689')
+sha512sums=('32f09a1abc37ddb3f85921d80629355f68b2e68531f14318907e792a8eeb7d4a258bfcf7d45710dcb67f85fadfbad2bb9ffdac27a912aefc4296dc1818585125')
 
 prepare() {
 cd $_hkgname-$pkgver



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:20:23
  Author: felixonmars
Revision: 1104051

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-text-short/repos/community-staging-x86_64/PKGBUILD (from rev 
1104050, haskell-text-short/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:20:23 UTC (rev 1104051)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=text-short
+pkgname=haskell-text-short
+pkgver=0.1.5
+pkgrel=1
+pkgdesc="Memory-efficient representation of Unicode text strings"
+url="https://github.com/hvr/text-short;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('32f09a1abc37ddb3f85921d80629355f68b2e68531f14318907e792a8eeb7d4a258bfcf7d45710dcb67f85fadfbad2bb9ffdac27a912aefc4296dc1818585125')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-asserts
+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-base64/repos (2 files)

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:23:11
  Author: felixonmars
Revision: 1104053

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-base64/repos/community-staging-x86_64/PKGBUILD (from rev 
1104052, haskell-base64/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:23:11 UTC (rev 1104053)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=base64
+pkgname=haskell-base64
+pkgver=0.4.2.3
+pkgrel=5
+pkgdesc="A modern RFC 4648-compliant Base64 library"
+url="https://github.com/emilypi/base64;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-short')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-base64-bytestring'
+ 'haskell-random-bytestring' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('bcbf21179841fbf657772792bef453773e01ea8229ed42a7422fcb073bd7b8c1')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u deepseq -d ghc-byteorder $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test || 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-language-server/repos (2 files)

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:00:20
  Author: felixonmars
Revision: 1103786

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-language-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 1103785, haskell-language-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 03:00:20 UTC (rev 1103786)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+
+pkgname=haskell-language-server
+pkgver=1.3.0.0
+pkgrel=64
+pkgdesc="LSP server for GHC"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-async'
+ 'haskell-base16-bytestring' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghc-paths' 'haskell-gitrev'
+ 'haskell-hashable' 'haskell-hie-bios' 'haskell-hiedb'
+ 'haskell-hls-call-hierarchy-plugin' 'haskell-hls-eval-plugin'
+ 'haskell-hls-explicit-imports-plugin' 'haskell-hls-floskell-plugin'
+ 'haskell-hls-fourmolu-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-graph'
+ 'haskell-hls-haddock-comments-plugin' 'haskell-hls-hlint-plugin'
+ 'haskell-hls-module-name-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-plugin-api'
+ 'haskell-hls-pragmas-plugin'
+ 'haskell-hls-retrie-plugin' 'haskell-hls-stylish-haskell-plugin'
+ 'haskell-hslogger' 'haskell-lens' 'haskell-lsp' 
'haskell-optparse-applicative'
+ 'haskell-optparse-simple' 'haskell-regex-tdfa' 
'haskell-safe-exceptions'
+ 'haskell-sqlite-simple' 'haskell-temporary' 
'haskell-unordered-containers')
+# Disabled due to not compatible with GHC 9:
+# 'haskell-hls-brittany-plugin' 'haskell-hls-class-plugin' 
'haskell-hls-splice-plugin' 'haskell-hls-tactics-plugin' 
'haskell-hls-refine-imports-plugin'
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 
'haskell-hspec-expectations' 'haskell-lsp-test'
+ 'haskell-lsp-types')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('2938c4eaf8e2fef72ddf0e116e021b109ab69c4cdd48dc678cb93cd08e03e7f2abf3aaf1dea17a51dd8cb70f69db7ceba9823291d847ffe8bd0c990028fd6da4')
+
+prepare() {
+  cd $pkgname-$pkgver
+  find test/testdata -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+  uusi -u ghc-api-compat $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -f-brittany -f-class -f-refineImports -f-tactic 
-f-splice
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  
PATH="$PWD/dist/build/haskell-language-server:$PWD/dist/build/haskell-language-server-wrapper:$PATH"
 LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:48:02
  Author: felixonmars
Revision: 1103770

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:50:38
  Author: felixonmars
Revision: 1103774

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 1103773, haskell-hls-floskell-plugin/trunk/PKGBUILD)

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:47:55
  Author: felixonmars
Revision: 1103769

upgpkg: haskell-hls-fourmolu-plugin 1.0.0.2-59: rebuild with unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:47:04 UTC (rev 1103768)
+++ PKGBUILD2022-01-15 02:47:55 UTC (rev 1103769)
@@ -3,7 +3,7 @@
 _hkgname=hls-fourmolu-plugin
 pkgname=haskell-hls-fourmolu-plugin
 pkgver=1.0.0.2
-pkgrel=58
+pkgrel=59
 pkgdesc="Integration with the Fourmolu code formatter"
 url="https://hackage.haskell.org/package/hls-fourmolu-plugin;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:49:34
  Author: felixonmars
Revision: 1103771

upgpkg: haskell-hls-eval-plugin 1.1.2.0-56: rebuild with unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:48:02 UTC (rev 1103770)
+++ PKGBUILD2022-01-15 02:49:34 UTC (rev 1103771)
@@ -3,7 +3,7 @@
 _hkgname=hls-eval-plugin
 pkgname=haskell-hls-eval-plugin
 pkgver=1.1.2.0
-pkgrel=55
+pkgrel=56
 pkgdesc="Eval plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:49:42
  Author: felixonmars
Revision: 1103772

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:50:30
  Author: felixonmars
Revision: 1103773

upgpkg: haskell-hls-floskell-plugin 1.0.0.1-55: rebuild with unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:49:42 UTC (rev 1103772)
+++ PKGBUILD2022-01-15 02:50:30 UTC (rev 1103773)
@@ -3,7 +3,7 @@
 _hkgname=hls-floskell-plugin
 pkgname=haskell-hls-floskell-plugin
 pkgver=1.0.0.1
-pkgrel=54
+pkgrel=55
 pkgdesc="Integration with the Floskell code formatter"
 url="https://hackage.haskell.org/package/hls-floskell-plugin;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:46:56
  Author: felixonmars
Revision: 1103767

upgpkg: haskell-hls-stylish-haskell-plugin 1.0.0.2-56: rebuild with unix-compat 
0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:45:59 UTC (rev 1103766)
+++ PKGBUILD2022-01-15 02:46:56 UTC (rev 1103767)
@@ -3,7 +3,7 @@
 _hkgname=hls-stylish-haskell-plugin
 pkgname=haskell-hls-stylish-haskell-plugin
 pkgver=1.0.0.2
-pkgrel=55
+pkgrel=56
 pkgdesc="Integration with the Stylish Haskell code formatter"
 url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:47:04
  Author: felixonmars
Revision: 1103768

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 1103767, 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 1103767, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 02:47:04 UTC (rev 1103768)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-stylish-haskell-plugin
+pkgname=haskell-hls-stylish-haskell-plugin
+pkgver=1.0.0.2
+pkgrel=56
+pkgdesc="Integration with the Stylish Haskell code formatter"
+url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-api-compat' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'stylish-haskell')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d850d4be6cc746b6279512bb359efda197aeebd467a59a21670f3b95977c6ba086852dedde3c48171f0cff8405c8e340dea44fe3e187e4731a06eb112502ad9c')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:45:59
  Author: felixonmars
Revision: 1103766

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

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:45:51
  Author: felixonmars
Revision: 1103765

upgpkg: git-annex 8.20210803-84: rebuild with unix-compat 0.5.4

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:42:57 UTC (rev 1103764)
+++ PKGBUILD2022-01-15 02:45:51 UTC (rev 1103765)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20210803
-pkgrel=83
+pkgrel=84
 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 (2 files)

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:42:57
  Author: felixonmars
Revision: 1103764

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 1103763, tamarin-prover/trunk/PKGBUILD)

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:07:40
  Author: felixonmars
Revision: 1103757

upgpkg: haskell-hls-explicit-imports-plugin 1.0.1.0-55: rebuild with 
unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:06:57 UTC (rev 1103756)
+++ PKGBUILD2022-01-15 02:07:40 UTC (rev 1103757)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.1.0
-pkgrel=54
+pkgrel=55
 pkgdesc="Explicit imports plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:41:37
  Author: felixonmars
Revision: 1103762

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 1103761, hledger-web/trunk/PKGBUILD)

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

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



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

2022-01-14 Thread Daniel M. Capella via arch-commits
Date: Saturday, January 15, 2022 @ 02:13:05
  Author: polyzen
Revision: 1103759

upgpkg: pyright 1.1.209-1

Modified:
  pyright/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:07:48 UTC (rev 1103758)
+++ PKGBUILD2022-01-15 02:13:05 UTC (rev 1103759)
@@ -2,7 +2,7 @@
 # Contributor: Kaizhao Zhang 
 
 pkgname=pyright
-pkgver=1.1.208
+pkgver=1.1.209
 pkgrel=1
 pkgdesc='Type checker for the Python language'
 arch=('any')
@@ -11,7 +11,7 @@
 depends=('nodejs>=12')
 makedepends=('npm')
 source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('0c510198ea97620e9356d5ab51e78b66f6f8e7f412c72c1e91b419d37fa6280c570f84be1cca6554bb9f1dc5016e3a9899277793a9f0d10f8b8ac8f80122442c')
+b2sums=('495e2809d1ee6d4ffa90b427efe8740d4df5805673ead5883b2e55d6f6dab53ea8e58823400e2fc29c1d5c99d806ad42a8b288fdaf87ba2f4cb755e8bc486fe3')
 
 prepare() {
   cd $pkgname-$pkgver



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:42:50
  Author: felixonmars
Revision: 1103763

upgpkg: tamarin-prover 1.6.1-62: rebuild with unix-compat 0.5.4

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:41:37 UTC (rev 1103762)
+++ PKGBUILD2022-01-15 02:42:50 UTC (rev 1103763)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.6.1
-pkgrel=61
+pkgrel=62
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io;
 license=("GPL")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:41:30
  Author: felixonmars
Revision: 1103761

upgpkg: hledger-web 1.24.1-7: rebuild with unix-compat 0.5.4

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:13:37 UTC (rev 1103760)
+++ PKGBUILD2022-01-15 02:41:30 UTC (rev 1103761)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.24.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")



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

2022-01-14 Thread Daniel M. Capella via arch-commits
Date: Saturday, January 15, 2022 @ 02:13:37
  Author: polyzen
Revision: 1103760

archrelease: copy trunk to community-any

Added:
  pyright/repos/community-any/PKGBUILD
(from rev 1103759, pyright/trunk/PKGBUILD)
Deleted:
  pyright/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-15 02:13:05 UTC (rev 1103759)
+++ PKGBUILD2022-01-15 02:13:37 UTC (rev 1103760)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Kaizhao Zhang 
-
-pkgname=pyright
-pkgver=1.1.208
-pkgrel=1
-pkgdesc='Type checker for the Python language'
-arch=('any')
-url=https://github.com/microsoft/pyright
-license=('MIT')
-depends=('nodejs>=12')
-makedepends=('npm')
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('0c510198ea97620e9356d5ab51e78b66f6f8e7f412c72c1e91b419d37fa6280c570f84be1cca6554bb9f1dc5016e3a9899277793a9f0d10f8b8ac8f80122442c')
-
-prepare() {
-  cd $pkgname-$pkgver
-  npm ci
-}
-
-build() {
-  cd $pkgname-$pkgver/packages/$pkgname
-  npm run build
-}
-
-package() {
-  install -d "$pkgdir"/usr/{bin,lib/node_modules/$pkgname,share/doc/$pkgname}
-  ln -s ../lib/node_modules/$pkgname/index.js "$pkgdir"/usr/bin/$pkgname
-  ln -s ../lib/node_modules/$pkgname/langserver.index.js \
-"$pkgdir"/usr/bin/$pkgname-langserver
-
-  cd $pkgname-$pkgver
-  cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
-
-  cd packages/$pkgname
-  cp -r dist {,langserver.}index.js "$pkgdir"/usr/lib/node_modules/$pkgname
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pyright/repos/community-any/PKGBUILD (from rev 1103759, 
pyright/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-15 02:13:37 UTC (rev 1103760)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Kaizhao Zhang 
+
+pkgname=pyright
+pkgver=1.1.209
+pkgrel=1
+pkgdesc='Type checker for the Python language'
+arch=('any')
+url=https://github.com/microsoft/pyright
+license=('MIT')
+depends=('nodejs>=12')
+makedepends=('npm')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('495e2809d1ee6d4ffa90b427efe8740d4df5805673ead5883b2e55d6f6dab53ea8e58823400e2fc29c1d5c99d806ad42a8b288fdaf87ba2f4cb755e8bc486fe3')
+
+prepare() {
+  cd $pkgname-$pkgver
+  npm ci
+}
+
+build() {
+  cd $pkgname-$pkgver/packages/$pkgname
+  npm run build
+}
+
+package() {
+  install -d "$pkgdir"/usr/{bin,lib/node_modules/$pkgname,share/doc/$pkgname}
+  ln -s ../lib/node_modules/$pkgname/index.js "$pkgdir"/usr/bin/$pkgname
+  ln -s ../lib/node_modules/$pkgname/langserver.index.js \
+"$pkgdir"/usr/bin/$pkgname-langserver
+
+  cd $pkgname-$pkgver
+  cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
+
+  cd packages/$pkgname
+  cp -r dist {,langserver.}index.js "$pkgdir"/usr/lib/node_modules/$pkgname
+}
+
+# vim:set ts=2 sw=2 et:



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 03:00:12
  Author: felixonmars
Revision: 1103785

upgpkg: haskell-language-server 1.3.0.0-64: rebuild with unix-compat 0.5.4

Modified:
  haskell-language-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:57:19 UTC (rev 1103784)
+++ PKGBUILD2022-01-15 03:00:12 UTC (rev 1103785)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-language-server
 pkgver=1.3.0.0
-pkgrel=63
+pkgrel=64
 pkgdesc="LSP server for GHC"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:57:19
  Author: felixonmars
Revision: 1103784

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:57:11
  Author: felixonmars
Revision: 1103783

upgpkg: haskell-hls-ormolu-plugin 1.0.1.0-58: rebuild with unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:56:22 UTC (rev 1103782)
+++ PKGBUILD2022-01-15 02:57:11 UTC (rev 1103783)
@@ -3,7 +3,7 @@
 _hkgname=hls-ormolu-plugin
 pkgname=haskell-hls-ormolu-plugin
 pkgver=1.0.1.0
-pkgrel=57
+pkgrel=58
 pkgdesc="Integration with the Ormolu code formatter"
 url="https://hackage.haskell.org/package/hls-ormolu-plugin;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:07:48
  Author: felixonmars
Revision: 1103758

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 1103757, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:55:25
  Author: felixonmars
Revision: 1103780

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:56:15
  Author: felixonmars
Revision: 1103781

upgpkg: haskell-hls-module-name-plugin 1.0.0.1-55: rebuild with unix-compat 
0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:55:25 UTC (rev 1103780)
+++ PKGBUILD2022-01-15 02:56:15 UTC (rev 1103781)
@@ -3,7 +3,7 @@
 _hkgname=hls-module-name-plugin
 pkgname=haskell-hls-module-name-plugin
 pkgver=1.0.0.1
-pkgrel=54
+pkgrel=55
 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-call-hierarchy-plugin/repos (2 files)

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:54:22
  Author: felixonmars
Revision: 1103778

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: 
haskell-hls-call-hierarchy-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1103777, haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 02:54:22 UTC (rev 1103778)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-call-hierarchy-plugin
+pkgname=haskell-hls-call-hierarchy-plugin
+pkgver=1.0.0.0
+pkgrel=55
+pkgdesc="Call hierarchy plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-call-hierarchy-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghcide' 'haskell-hiedb' 'haskell-hls-plugin-api' 
'haskell-lens' 'haskell-lsp'
+ 'haskell-sqlite-simple' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('4b3103a98ec57c9f050ffd1c534a0e23b1bfcbe78dda441c351b874939ce34a8')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:56:22
  Author: felixonmars
Revision: 1103782

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:52:56
  Author: felixonmars
Revision: 1103776

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 1103775, haskell-hls-pragmas-plugin/trunk/PKGBUILD)

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:52:46
  Author: felixonmars
Revision: 1103775

upgpkg: haskell-hls-pragmas-plugin 1.0.1.0-55: rebuild with unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:50:38 UTC (rev 1103774)
+++ PKGBUILD2022-01-15 02:52:46 UTC (rev 1103775)
@@ -3,7 +3,7 @@
 _hkgname=hls-pragmas-plugin
 pkgname=haskell-hls-pragmas-plugin
 pkgver=1.0.1.0
-pkgrel=54
+pkgrel=55
 pkgdesc="Pragmas plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-pragmas-plugin;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:55:18
  Author: felixonmars
Revision: 1103779

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.3-55: rebuild with 
unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:54:22 UTC (rev 1103778)
+++ PKGBUILD2022-01-15 02:55:18 UTC (rev 1103779)
@@ -3,7 +3,7 @@
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
 pkgver=1.0.0.3
-pkgrel=54
+pkgrel=55
 pkgdesc="Haddock comments plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:54:14
  Author: felixonmars
Revision: 1103777

upgpkg: haskell-hls-call-hierarchy-plugin 1.0.0.0-55: rebuild with unix-compat 
0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:52:56 UTC (rev 1103776)
+++ PKGBUILD2022-01-15 02:54:14 UTC (rev 1103777)
@@ -3,7 +3,7 @@
 _hkgname=hls-call-hierarchy-plugin
 pkgname=haskell-hls-call-hierarchy-plugin
 pkgver=1.0.0.0
-pkgrel=54
+pkgrel=55
 pkgdesc="Call hierarchy plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-call-hierarchy-plugin;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:06:57
  Author: felixonmars
Revision: 1103756

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:04:00
  Author: felixonmars
Revision: 1103750

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 1103749, haskell-yesod-static/trunk/PKGBUILD)

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
1103749, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 02:04:00 UTC (rev 1103750)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.1.0
+pkgrel=356
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:06:00
  Author: felixonmars
Revision: 1103754

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:06:50
  Author: felixonmars
Revision: 1103755

upgpkg: haskell-hls-hlint-plugin 1.0.1.1-55: rebuild with unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:06:00 UTC (rev 1103754)
+++ PKGBUILD2022-01-15 02:06:50 UTC (rev 1103755)
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.0.1.1
-pkgrel=54
+pkgrel=55
 pkgdesc="Hlint integration plugin with Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-hlint-plugin;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:03:53
  Author: felixonmars
Revision: 1103749

upgpkg: haskell-yesod-static 1.6.1.0-356: rebuild with unix-compat 0.5.4

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:02:40 UTC (rev 1103748)
+++ PKGBUILD2022-01-15 02:03:53 UTC (rev 1103749)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=355
+pkgrel=356
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:05:05
  Author: felixonmars
Revision: 1103752

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 1103751, haskell-hls-retrie-plugin/trunk/PKGBUILD)

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:05:53
  Author: felixonmars
Revision: 1103753

upgpkg: haskell-hls-test-utils 1.1.0.0-56: rebuild with unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:05:05 UTC (rev 1103752)
+++ PKGBUILD2022-01-15 02:05:53 UTC (rev 1103753)
@@ -3,7 +3,7 @@
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
 pkgver=1.1.0.0
-pkgrel=55
+pkgrel=56
 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-retrie-plugin/trunk (PKGBUILD)

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:04:58
  Author: felixonmars
Revision: 1103751

upgpkg: haskell-hls-retrie-plugin 1.0.1.1-55: rebuild with unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 02:04:00 UTC (rev 1103750)
+++ PKGBUILD2022-01-15 02:04:58 UTC (rev 1103751)
@@ -3,7 +3,7 @@
 _hkgname=hls-retrie-plugin
 pkgname=haskell-hls-retrie-plugin
 pkgver=1.0.1.1
-pkgrel=54
+pkgrel=55
 pkgdesc="Retrie integration plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-retrie-plugin;
 license=("Apache")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:02:40
  Author: felixonmars
Revision: 1103748

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

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

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

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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 02:02:33
  Author: felixonmars
Revision: 1103747

upgpkg: haskell-ghcide 1.4.1.0-55: rebuild with unix-compat 0.5.4

Modified:
  haskell-ghcide/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 01:40:18 UTC (rev 1103746)
+++ PKGBUILD2022-01-15 02:02:33 UTC (rev 1103747)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.4.1.0
-pkgrel=54
+pkgrel=55
 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-warp-tls/repos (2 files)

2022-01-14 Thread Felix Yan via arch-commits
Date: Friday, January 14, 2022 @ 23:16:55
  Author: felixonmars
Revision: 1103620

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Friday, January 14, 2022 @ 23:17:43
  Author: felixonmars
Revision: 1103622

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Friday, January 14, 2022 @ 23:17:30
  Author: felixonmars
Revision: 1103621

upgpkg: haskell-wai-handler-launch 3.0.3.1-348: rebuild with unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-14 23:16:55 UTC (rev 1103620)
+++ PKGBUILD2022-01-14 23:17:30 UTC (rev 1103621)
@@ -4,7 +4,7 @@
 _hkgname=wai-handler-launch
 pkgname=haskell-wai-handler-launch
 pkgver=3.0.3.1
-pkgrel=347
+pkgrel=348
 pkgdesc="Launch a web app in the default browser."
 url="https://github.com/yesodweb/wai;
 license=("MIT")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Friday, January 14, 2022 @ 23:16:44
  Author: felixonmars
Revision: 1103619

upgpkg: haskell-warp-tls 3.3.2-38: rebuild with unix-compat 0.5.4

Modified:
  haskell-warp-tls/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-14 23:16:10 UTC (rev 1103618)
+++ PKGBUILD2022-01-14 23:16:44 UTC (rev 1103619)
@@ -4,7 +4,7 @@
 _hkgname=warp-tls
 pkgname=haskell-warp-tls
 pkgver=3.3.2
-pkgrel=37
+pkgrel=38
 pkgdesc="HTTP over TLS support for Warp via the TLS package"
 url="https://github.com/yesodweb/wai;
 license=("MIT")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:40:10
  Author: felixonmars
Revision: 1103745

upgpkg: haskell-yesod 1.6.1.2-90: rebuild with unix-compat 0.5.4

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 01:39:31 UTC (rev 1103744)
+++ PKGBUILD2022-01-15 01:40:10 UTC (rev 1103745)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.1.2
-pkgrel=89
+pkgrel=90
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:40:18
  Author: felixonmars
Revision: 1103746

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 1103745, haskell-yesod/trunk/PKGBUILD)

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 
1103745, haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 01:40:18 UTC (rev 1103746)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.1.2
+pkgrel=90
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:39:24
  Author: felixonmars
Revision: 1103743

upgpkg: haskell-yesod-auth 1.6.10.4-43: rebuild with unix-compat 0.5.4

Modified:
  haskell-yesod-auth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 01:38:16 UTC (rev 1103742)
+++ PKGBUILD2022-01-15 01:39:24 UTC (rev 1103743)
@@ -4,7 +4,7 @@
 _hkgname=yesod-auth
 pkgname=haskell-yesod-auth
 pkgver=1.6.10.4
-pkgrel=42
+pkgrel=43
 pkgdesc="Authentication for Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:38:16
  Author: felixonmars
Revision: 1103742

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 1103741, haskell-yesod-test/trunk/PKGBUILD)

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
1103741, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 01:38:16 UTC (rev 1103742)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.12
+pkgrel=232
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:39:31
  Author: felixonmars
Revision: 1103744

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:37:02
  Author: felixonmars
Revision: 1103740

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 1103739, haskell-esqueleto/trunk/PKGBUILD)

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:36:55
  Author: felixonmars
Revision: 1103739

upgpkg: haskell-esqueleto 3.5.2.1-70: rebuild with unix-compat 0.5.4

Modified:
  haskell-esqueleto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 01:33:20 UTC (rev 1103738)
+++ PKGBUILD2022-01-15 01:36:55 UTC (rev 1103739)
@@ -4,7 +4,7 @@
 _hkgname=esqueleto
 pkgname=haskell-esqueleto
 pkgver=3.5.2.1
-pkgrel=69
+pkgrel=70
 pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
 url="https://github.com/bitemyapp/esqueleto;
 license=("BSD")



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:38:09
  Author: felixonmars
Revision: 1103741

upgpkg: haskell-yesod-test 1.6.12-232: rebuild with unix-compat 0.5.4

Modified:
  haskell-yesod-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 01:37:02 UTC (rev 1103740)
+++ PKGBUILD2022-01-15 01:38:09 UTC (rev 1103741)
@@ -3,7 +3,7 @@
 _hkgname=yesod-test
 pkgname=haskell-yesod-test
 pkgver=1.6.12
-pkgrel=231
+pkgrel=232
 pkgdesc="Integration testing for WAI/Yesod Applications"
 url="https://www.yesodweb.com;
 license=('MIT')



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:31:33
  Author: felixonmars
Revision: 1103736

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 1103735, haskell-hls-plugin-api/trunk/PKGBUILD)

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:33:20
  Author: felixonmars
Revision: 1103738

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

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

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



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:33:12
  Author: felixonmars
Revision: 1103737

upgpkg: arch-hs 0.9.1.0-92: rebuild with unix-compat 0.5.4

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 01:31:33 UTC (rev 1103736)
+++ PKGBUILD2022-01-15 01:33:12 UTC (rev 1103737)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.9.1.0
-pkgrel=91
+pkgrel=92
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:31:25
  Author: felixonmars
Revision: 1103735

upgpkg: haskell-hls-plugin-api 1.2.0.0-44: rebuild with unix-compat 0.5.4

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 01:30:33 UTC (rev 1103734)
+++ PKGBUILD2022-01-15 01:31:25 UTC (rev 1103735)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=1.2.0.0
-pkgrel=43
+pkgrel=44
 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 stack/repos (4 files)

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:30:33
  Author: felixonmars
Revision: 1103734

archrelease: copy trunk to community-staging-x86_64

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

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

2022-01-14 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 01:30:22
  Author: felixonmars
Revision: 1103733

upgpkg: stack 2.7.3-110: rebuild with unix-compat 0.5.4

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-15 01:25:39 UTC (rev 1103732)
+++ PKGBUILD2022-01-15 01:30:22 UTC (rev 1103733)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.3
-pkgrel=109
+pkgrel=110
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")



  1   2   3   4   5   6   7   8   >