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

2022-02-04 Thread Daniel M. Capella via arch-commits
Date: Saturday, February 5, 2022 @ 06:55:57
  Author: polyzen
Revision: 1126411

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-05 06:55:38 UTC (rev 1126410)
+++ PKGBUILD2022-02-05 06:55:57 UTC (rev 1126411)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Kaizhao Zhang 
-
-pkgname=pyright
-pkgver=1.1.216
-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=('1174ad5124dfcf560d5f5b210a5b758fbcdc032293add9998d6bc3c6ef17077dd20911dda7746987816d92e6a9b0fbbb9fb2b505c3996605586cfa6c43585636')
-
-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 1126410, 
pyright/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-05 06:55:57 UTC (rev 1126411)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Kaizhao Zhang 
+
+pkgname=pyright
+pkgver=1.1.218
+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=('ee6deb5c4e75a70abee29bb4b60b3e2ce36483f9e909f093ddba49ef0a05fdd6afdab480c1d9d52c85786f511752c4b59f347ca1c58b510ffb3dab44eefbf490')
+
+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 pyright/trunk (PKGBUILD)

2022-02-04 Thread Daniel M. Capella via arch-commits
Date: Saturday, February 5, 2022 @ 06:55:38
  Author: polyzen
Revision: 1126410

upgpkg: pyright 1.1.218-1

Modified:
  pyright/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 06:32:21 UTC (rev 1126409)
+++ PKGBUILD2022-02-05 06:55:38 UTC (rev 1126410)
@@ -2,7 +2,7 @@
 # Contributor: Kaizhao Zhang 
 
 pkgname=pyright
-pkgver=1.1.216
+pkgver=1.1.218
 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=('1174ad5124dfcf560d5f5b210a5b758fbcdc032293add9998d6bc3c6ef17077dd20911dda7746987816d92e6a9b0fbbb9fb2b505c3996605586cfa6c43585636')
+b2sums=('ee6deb5c4e75a70abee29bb4b60b3e2ce36483f9e909f093ddba49ef0a05fdd6afdab480c1d9d52c85786f511752c4b59f347ca1c58b510ffb3dab44eefbf490')
 
 prepare() {
   cd $pkgname-$pkgver



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

2022-02-04 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, February 5, 2022 @ 06:27:12
  Author: yan12125
Revision: 1126408

archrelease: copy trunk to community-any

Added:
  nvchecker/repos/community-any/PKGBUILD
(from rev 1126407, nvchecker/trunk/PKGBUILD)
Deleted:
  nvchecker/repos/community-any/PKGBUILD

--+
 PKGBUILD |  156 ++---
 1 file changed, 78 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-05 06:26:57 UTC (rev 1126407)
+++ PKGBUILD2022-02-05 06:27:12 UTC (rev 1126408)
@@ -1,78 +0,0 @@
-# Maintainer: Felix Yan 
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=nvchecker
-pkgver=2.6
-# git rev-parse v$pkgver
-_commit=d537d252f5cd55b8fd3c4226c3a18a21653fbcaa
-pkgrel=1
-pkgdesc="New version checker for software releases"
-arch=('any')
-url="https://github.com/lilydjwg/nvchecker";
-license=('MIT')
-depends=('python' 'python-tomli' 'python-structlog' 'python-appdirs' 
'python-tornado' 'python-pycurl')
-makedepends=('git' 'python-docutils' 'python-setuptools' 'python-pygments')
-checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-httpbin' 
'python-flaky' 'python-lxml' 'pyalpm' 'git')
-optdepends=(
-  'pyalpm: for using "sort_version_key = vercmp" in configuration files and 
the alpm source'
-  'python-lxml: for the htmlparser source'
-  'python-packaging: for the pypi source'
-  'git: support for git repositories'
-  'python-gobject: for nvchecker-notify'
-  'libnotify: for nvchecker-notify'
-)
-source=("git+https://github.com/lilydjwg/nvchecker.git?signed#tag=$_commit";)
-sha512sums=('SKIP')
-validpgpkeys=(
-  # No direct trust chain. Some related stuffs:
-  # https://api.github.com/users/lilydjwg/gpg_keys
-  # https://zh.wikipedia.org/wiki/User:Lilydjwg
-  '356690A1E7404E30D0E902B2E64D049594A54F54'
-)
-
-_backports=(
-  # update test_apt
-  b8b6e47d59f3013f490e4e5bef362009378b9a32
-)
-
-pkgver() {
-  cd nvchecker
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd nvchecker
-
-  # this loop is stolen from core/systemd :)
-  local _c
-  for _c in "${_backports[@]}"; do
-git log --oneline -1 "${_c}"
-git cherry-pick -n "${_c}"
-  done
-}
-
-build() {
-  cd nvchecker
-  python setup.py build
-
-  make -C docs man
-}
-
-check() {
-  cd nvchecker
-  pytest
-}
-
-package() {
-  cd nvchecker
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-
-  # bash completion scripts & docs
-  install -Dm644 scripts/nvtake.bash_completion 
"$pkgdir"/usr/share/bash-completion/completions/nvtake
-  install -Dm644 docs/usage.rst -t "$pkgdir"/usr/share/doc/$pkgname/
-  install -Dm644 sample_config.toml -t "$pkgdir"/usr/share/doc/$pkgname/
-  install -Dm644 docs/_build/man/nvchecker.1 -t "$pkgdir"/usr/share/man/man1/
-}
-
-# vim:set ts=2 sw=2 et:

Copied: nvchecker/repos/community-any/PKGBUILD (from rev 1126407, 
nvchecker/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-05 06:27:12 UTC (rev 1126408)
@@ -0,0 +1,78 @@
+# Maintainer: Felix Yan 
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=nvchecker
+pkgver=2.6.1
+# curl https://api.github.com/repos/lilydjwg/nvchecker/git/ref/tags/v$pkgver | 
jq -r .object.sha
+_tag=c1d77ea228dee1a0a850ed8438f049e211b089e6
+pkgrel=1
+pkgdesc="New version checker for software releases"
+arch=('any')
+url="https://github.com/lilydjwg/nvchecker";
+license=('MIT')
+depends=('python' 'python-tomli' 'python-structlog' 'python-appdirs' 
'python-tornado' 'python-pycurl')
+makedepends=('git' 'python-docutils' 'python-setuptools' 'python-pygments')
+checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-httpbin' 
'python-flaky' 'python-lxml' 'pyalpm' 'git')
+optdepends=(
+  'pyalpm: for using "sort_version_key = vercmp" in configuration files and 
the alpm source'
+  'python-lxml: for the htmlparser source'
+  'python-packaging: for the pypi source'
+  'git: support for git repositories'
+  'python-gobject: for nvchecker-notify'
+  'libnotify: for nvchecker-notify'
+)
+source=("git+https://github.com/lilydjwg/nvchecker.git?signed#tag=$_tag";)
+sha512sums=('SKIP')
+validpgpkeys=(
+  # No direct trust chain. Some related stuffs:
+  # https://api.github.com/users/lilydjwg/gpg_keys
+  # https://zh.wikipedia.org/wiki/User:Lilydjwg
+  '356690A1E7404E30D0E902B2E64D049594A54F54'
+)
+
+_backports=(
+  # update test_apt
+  b8b6e47d59f3013f490e4e5bef362009378b9a32
+)
+
+pkgver() {
+  cd nvchecker
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd nvchecker
+
+  # this loop is stolen from core/systemd :)
+  local _c
+  for _c in "${_backports[@]}"; do
+git log --oneline -1 "${_c}"
+git cherry-pick -n "${_c}"
+  done
+}
+
+build() {
+  cd nvchecker
+  python setup.py build
+
+  make -C docs man
+}
+
+check() {
+  cd nvchecker
+ 

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

2022-02-04 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, February 5, 2022 @ 06:26:57
  Author: yan12125
Revision: 1126407

upgpkg: nvchecker 2.6.1-1

Modified:
  nvchecker/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 06:18:01 UTC (rev 1126406)
+++ PKGBUILD2022-02-05 06:26:57 UTC (rev 1126407)
@@ -2,9 +2,9 @@
 # Maintainer: Chih-Hsuan Yen 
 
 pkgname=nvchecker
-pkgver=2.6
+pkgver=2.6.1
 # curl https://api.github.com/repos/lilydjwg/nvchecker/git/ref/tags/v$pkgver | 
jq -r .object.sha
-_tag=d537d252f5cd55b8fd3c4226c3a18a21653fbcaa
+_tag=c1d77ea228dee1a0a850ed8438f049e211b089e6
 pkgrel=1
 pkgdesc="New version checker for software releases"
 arch=('any')



[arch-commits] Commit in python-moto/repos/community-testing-any (4 files)

2022-02-04 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, February 5, 2022 @ 06:18:01
  Author: yan12125
Revision: 1126406

archrelease: copy trunk to community-testing-any

Added:
  python-moto/repos/community-testing-any/PKGBUILD
(from rev 1126405, python-moto/trunk/PKGBUILD)
  python-moto/repos/community-testing-any/sdist-no-pyc.diff
(from rev 1126405, python-moto/trunk/sdist-no-pyc.diff)
Deleted:
  python-moto/repos/community-testing-any/PKGBUILD
  python-moto/repos/community-testing-any/sdist-no-pyc.diff

---+
 PKGBUILD  |  170 ++--
 sdist-no-pyc.diff |   18 ++---
 2 files changed, 94 insertions(+), 94 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-05 06:10:49 UTC (rev 1126405)
+++ PKGBUILD2022-02-05 06:18:01 UTC (rev 1126406)
@@ -1,85 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-# Contributor: Guillaume Horel 
-
-pkgname=python-moto
-_pkgname=moto
-# https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.0.1
-pkgrel=1
-pkgdesc='Moto is a library to mock out the boto library.'
-arch=(any)
-url='https://github.com/spulec/moto'
-license=(Apache)
-# NOTE: Keep the order of dependencies matching setup.py
-# setup.py includes setuptools, which is a work around for missing 
dependencies in aws-xray-sdk [1].
-# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is 
not needed here.
-# [1] https://github.com/spulec/moto/pull/4142
-depends=(python-boto3 python-botocore python-cryptography python-requests 
python-xmltodict
- python-werkzeug python-pytz python-dateutil python-responses
- # Below dependencies varied with Python versions
- python-jinja python-more-itertools)
-# See reqquirements-test.txt, excluding pytest-cov
-checkdepends=(python-pytest python-sure python-freezegun)
-# Below are optional dependencies. The order matches _dep_* items in upstream 
`setup.py`.
-# Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are 
pins and
-# not used by moto.
-optdepends=(
-  'python-yaml: for cloudformation, s3 and ssm'
-  'python-jose: for apigateway and cognitoidp'
-  # SNS and SQS still uses docker indirectly, while upstream explicitly 
removes them
-  # https://github.com/spulec/moto/pull/4094
-  'python-docker: for awslambda, batch, cloudformation, dynamodb2 and 
dynamodbstreams'
-  'python-graphql-core: For appsync'
-  'python-jsondiff: for iotdata'
-  'python-aws-xray-sdk: for xray'
-  'python-cfn-lint: for cloudformation'
-  'python-sshpubkeys: for ec2 and efs'
-  'python-flask: for moto_server'
-  'python-flask-cors: for moto_server'
-)
-checkdepends+=(python-yaml python-jose python-docker python-graphql-core 
python-jsondiff python-aws-xray-sdk
-   python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
-source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz";
-sdist-no-pyc.diff)
-sha256sums=('b1bf9306ff9dc40d814766190023a392b55ce84386e118118f0555d4229e1861'
-'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
-
-prepare() {
-  cd $_pkgname-$pkgver
-
-  # AWS Lambda and Batch tests require docker/podman, while running 
docker/podman
-  # in systemd-nspawn containers appears impossible without special 
configurations -
-  # disable them altogether
-  sed -i '/markers\s*=/a \ \ \ \ needs_docker: marks test which require 
docker' setup.cfg
-  find tests \( -name '*.py' -a ! -name __init__.py \) -print0 | xargs -I % -0 
bash -c '
-sed -i -E "%" \
-  -e "/__future__/a import pytest" \
-  -e "s/^(\s*)(@mock_batch)$/\1\2\n\1...@pytest.mark.needs_docker/" \
-  -e "s/^(\s*)(@mock_lambda)$/\1\2\n\1...@pytest.mark.needs_docker/"
-grep __future__ "%" || sed -i "1i import pytest" "%"
-  '
-
-  patch -Np1 -i ../sdist-no-pyc.diff
-
-  # Remove upper bounds of dependencies
-  sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
-  diff -u setup.py{.orig,} || true
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  TZ=UTC pytest tests -m 'not needs_docker'
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-moto/repos/community-testing-any/PKGBUILD (from rev 1126405, 
python-moto/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-05 06:18:01 UTC (rev 1126406)
@@ -0,0 +1,85 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Guillaume Horel 
+
+pkgname=python-moto
+_pkgname=moto
+# https://github.com/spulec/moto/blob/master/CHANGELOG.md
+pkgver=3.0.2
+pkgrel=1
+pkgdesc='Moto is a library to mock out the boto library.'
+arch=(any)
+url='https://github.com/spulec/moto'
+license=(Apache)
+# NOTE: Keep the order of dependencies matching setup.py
+# setup.py include

[arch-commits] Commit in python-cfn-lint/repos/community-any (PKGBUILD PKGBUILD)

2022-02-04 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, February 5, 2022 @ 06:10:49
  Author: yan12125
Revision: 1126405

archrelease: copy trunk to community-any

Added:
  python-cfn-lint/repos/community-any/PKGBUILD
(from rev 1126404, python-cfn-lint/trunk/PKGBUILD)
Deleted:
  python-cfn-lint/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-05 06:10:34 UTC (rev 1126404)
+++ PKGBUILD2022-02-05 06:10:49 UTC (rev 1126405)
@@ -1,45 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=python-cfn-lint
-# https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md
-pkgver=0.57.0
-pkgrel=1
-pkgdesc='CloudFormation Linter'
-arch=(any)
-url='https://github.com/aws-cloudformation/cfn-lint'
-license=('custom:MIT No Attribution')
-# python-six may be unnecessary in the next version 
https://github.com/aws-cloudformation/cfn-lint/pull/2204
-depends=(python python-yaml python-six python-aws-sam-translator
- python-jsonpatch python-jsonschema python-networkx
- python-junit-xml python-jschema-to-python python-sarif-om)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-pydot)
-optdepends=(
-  'python-pydot: for building graphs from templates'
-)
-source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz";)
-sha256sums=('12fa2816c5e04f1243b81133321aeab7ca8e16f00eba0a5daae24d4b9351156c')
-
-build() {
-  cd cfn-lint-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd cfn-lint-$pkgver
-
-  # Tests in test/integration need the cfn-lint binary
-  python setup.py install_scripts --install-dir="$srcdir"/tmp_install
-
-  export PYTHONPATH="$PWD/src"
-  export PATH="$PATH:$srcdir/tmp_install"
-  # test_update_docs requires cfn-lint as a git repo
-  pytest test -k 'not test_update_docs'
-}
-
-package() {
-  cd cfn-lint-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-cfn-lint/repos/community-any/PKGBUILD (from rev 1126404, 
python-cfn-lint/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-05 06:10:49 UTC (rev 1126405)
@@ -0,0 +1,45 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-cfn-lint
+# https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md
+pkgver=0.58.0
+pkgrel=1
+pkgdesc='CloudFormation Linter'
+arch=(any)
+url='https://github.com/aws-cloudformation/cfn-lint'
+license=('custom:MIT No Attribution')
+# python-six may be unnecessary in the next version 
https://github.com/aws-cloudformation/cfn-lint/pull/2204
+depends=(python python-yaml python-six python-aws-sam-translator
+ python-jsonpatch python-jsonschema python-networkx
+ python-junit-xml python-jschema-to-python python-sarif-om)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-pydot)
+optdepends=(
+  'python-pydot: for building graphs from templates'
+)
+source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz";)
+sha256sums=('397a1532826a23321697b4127a28a347de3703aec4fc2812b48a13fe4ffd48bd')
+
+build() {
+  cd cfn-lint-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cfn-lint-$pkgver
+
+  # Tests in test/integration need the cfn-lint binary
+  python setup.py install_scripts --install-dir="$srcdir"/tmp_install
+
+  export PYTHONPATH="$PWD/src"
+  export PATH="$PATH:$srcdir/tmp_install"
+  # test_update_docs requires cfn-lint as a git repo
+  pytest test -k 'not test_update_docs'
+}
+
+package() {
+  cd cfn-lint-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



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

2022-02-04 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, February 5, 2022 @ 06:10:34
  Author: yan12125
Revision: 1126404

upgpkg: python-cfn-lint 0.58.0-1

Modified:
  python-cfn-lint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 05:30:41 UTC (rev 1126403)
+++ PKGBUILD2022-02-05 06:10:34 UTC (rev 1126404)
@@ -2,7 +2,7 @@
 
 pkgname=python-cfn-lint
 # https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md
-pkgver=0.57.0
+pkgver=0.58.0
 pkgrel=1
 pkgdesc='CloudFormation Linter'
 arch=(any)
@@ -18,7 +18,7 @@
   'python-pydot: for building graphs from templates'
 )
 
source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz";)
-sha256sums=('12fa2816c5e04f1243b81133321aeab7ca8e16f00eba0a5daae24d4b9351156c')
+sha256sums=('397a1532826a23321697b4127a28a347de3703aec4fc2812b48a13fe4ffd48bd')
 
 build() {
   cd cfn-lint-$pkgver



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:36:56
  Author: ainola
Revision: 1126402

archrelease: copy trunk to community-testing-x86_64

Added:
  interception-tools/repos/community-testing-x86_64/
  interception-tools/repos/community-testing-x86_64/PKGBUILD
(from rev 1126401, interception-tools/trunk/PKGBUILD)
  interception-tools/repos/community-testing-x86_64/interception-tools.install
(from rev 1126401, interception-tools/trunk/interception-tools.install)

+
 PKGBUILD   |   39 +++
 interception-tools.install |4 
 2 files changed, 43 insertions(+)

Copied: interception-tools/repos/community-testing-x86_64/PKGBUILD (from rev 
1126401, interception-tools/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:36:56 UTC (rev 1126402)
@@ -0,0 +1,39 @@
+# Maintainer: Brett Cornwall 
+# Contributor: Francisco Lopes
+
+pkgname=interception-tools
+pkgver=0.6.8
+pkgrel=3
+pkgdesc='A minimal composable infrastructure on top of libudev and libevdev'
+arch=('x86_64')
+license=('GPL3')
+url='https://gitlab.com/interception/linux/tools'
+depends=(
+'libevdev' 'libevdev.so'
+'yaml-cpp' 'libyaml-cpp.so'
+'systemd-libs' 'libudev.so'
+)
+makedepends=('cmake' 'systemd' 'boost')
+options=(debug)
+source=(
+
"$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/tools/-/archive/v$pkgver/tools-v$pkgver.tar.gz";
+)
+sha256sums=('84ced1c10bef7f00660704685c651c4241096cc9848c31f5a04f166e1450949d')
+
+build() {
+cmake -B build \
+  -S "tools-v${pkgver}" \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DCMAKE_BUILD_TYPE=None \
+  -Wno-dev
+cmake --build build
+}
+
+package() {
+install -dm755 "$pkgdir/etc/interception/udevmon.d"
+install -Dm644 "tools-v$pkgver/udevmon.service" -t 
"$pkgdir/usr/lib/systemd/system"
+install -Dm644 "tools-v$pkgver/README.md" -t 
"$pkgdir/usr/share/doc/$pkgname"
+
+cd build
+make DESTDIR="$pkgdir/" install
+}

Copied: 
interception-tools/repos/community-testing-x86_64/interception-tools.install 
(from rev 1126401, interception-tools/trunk/interception-tools.install)
===
--- community-testing-x86_64/interception-tools.install 
(rev 0)
+++ community-testing-x86_64/interception-tools.install 2022-02-05 04:36:56 UTC 
(rev 1126402)
@@ -0,0 +1,4 @@
+post_upgrade() {
+echo "The udevmon.yaml configuration file now is expected at:"
+echo "/etc/interception-tools/udevmon.yaml"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:36:32
  Author: ainola
Revision: 1126401

Enable debug

Modified:
  interception-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:34:32 UTC (rev 1126400)
+++ PKGBUILD2022-02-05 04:36:32 UTC (rev 1126401)
@@ -3,7 +3,7 @@
 
 pkgname=interception-tools
 pkgver=0.6.8
-pkgrel=2
+pkgrel=3
 pkgdesc='A minimal composable infrastructure on top of libudev and libevdev'
 arch=('x86_64')
 license=('GPL3')
@@ -14,6 +14,7 @@
 'systemd-libs' 'libudev.so'
 )
 makedepends=('cmake' 'systemd' 'boost')
+options=(debug)
 source=(
 
"$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/tools/-/archive/v$pkgver/tools-v$pkgver.tar.gz";
 )



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:34:32
  Author: ainola
Revision: 1126400

archrelease: copy trunk to community-testing-x86_64

Added:
  wl-clipboard/repos/community-testing-x86_64/
  wl-clipboard/repos/community-testing-x86_64/PKGBUILD
(from rev 1126399, wl-clipboard/trunk/PKGBUILD)

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

Copied: wl-clipboard/repos/community-testing-x86_64/PKGBUILD (from rev 1126399, 
wl-clipboard/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:34:32 UTC (rev 1126400)
@@ -0,0 +1,29 @@
+# Maintainer: Ainola
+# Contributor: Adam Brunnmeier
+
+pkgname=wl-clipboard
+pkgver=2.0.0
+pkgrel=3
+epoch=1
+pkgdesc="Command-line copy/paste utilities for Wayland"
+arch=('x86_64')
+url="https://github.com/bugaevc/wl-clipboard";
+license=('GPL3')
+depends=('wayland')
+optdepends=(
+'xdg-utils: for content type inference in wl-copy'
+'mailcap: for type inference in wl-paste'
+)
+makedepends=('meson' 'wayland-protocols')
+options=(debug)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/bugaevc/wl-clipboard/archive/v$pkgver.tar.gz";)
+sha256sums=('2c42f182432adabe56da0f1144d5fcc40b7aae3d8e14d2bc4dc4c3f91b51808d')
+
+build() {
+arch-meson "$pkgname-$pkgver" build
+ninja -C build
+}
+
+package() {
+DESTDIR="$pkgdir" ninja -C build install
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:34:13
  Author: ainola
Revision: 1126399

Enable debug

Modified:
  wl-clipboard/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:33:02 UTC (rev 1126398)
+++ PKGBUILD2022-02-05 04:34:13 UTC (rev 1126399)
@@ -3,7 +3,7 @@
 
 pkgname=wl-clipboard
 pkgver=2.0.0
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc="Command-line copy/paste utilities for Wayland"
 arch=('x86_64')
@@ -15,6 +15,7 @@
 'mailcap: for type inference in wl-paste'
 )
 makedepends=('meson' 'wayland-protocols')
+options=(debug)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/bugaevc/wl-clipboard/archive/v$pkgver.tar.gz";)
 sha256sums=('2c42f182432adabe56da0f1144d5fcc40b7aae3d8e14d2bc4dc4c3f91b51808d')
 



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:33:02
  Author: ainola
Revision: 1126398

archrelease: copy trunk to community-testing-x86_64

Added:
  wf-recorder/repos/community-testing-x86_64/
  wf-recorder/repos/community-testing-x86_64/PKGBUILD
(from rev 1126397, wf-recorder/trunk/PKGBUILD)
  wf-recorder/repos/community-testing-x86_64/ffmpeg5.patch
(from rev 1126397, wf-recorder/trunk/ffmpeg5.patch)

---+
 PKGBUILD  |   53 ++
 ffmpeg5.patch |  159 
 2 files changed, 212 insertions(+)

Copied: wf-recorder/repos/community-testing-x86_64/PKGBUILD (from rev 1126397, 
wf-recorder/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:33:02 UTC (rev 1126398)
@@ -0,0 +1,53 @@
+# Maintainer: Brett Cornwall 
+# Contributor: Lennard Hofmann
+
+pkgname=wf-recorder
+pkgver=0.2.1
+pkgrel=5
+pkgdesc="Screen recorder for wlroots-based compositors such as sway"
+arch=("x86_64")
+url="https://github.com/ammen99/wf-recorder";
+license=('MIT')
+depends=(
+   'libavcodec.so'
+   'libavdevice.so'
+   'libavformat.so'
+   'libavutil.so'
+   'libswresample.so'
+   'libswscale.so'
+   'ocl-icd'
+   'wayland'
+)
+makedepends=(
+   'meson'
+   'opencl-headers'
+   'scdoc'
+   'wayland-protocols'
+)
+optdepends=(
+   'slurp: Select a region to record'
+)
+options=(debug)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ammen99/wf-recorder/archive/v$pkgver.tar.gz";
+ ffmpeg5.patch)
+sha256sums=('45cf04cf58cf241c22fa2fbb70481a3747ad33e6930e4bdba7b9cc7018789ad1'
+'8012b4f09d3a826d06e1ec880aabbd12068a6fa913fd4d577a88e25a09e17b64')
+
+prepare() {
+   # Fix build with FFmpeg 5
+   patch -d $pkgname-$pkgver -p1 < ffmpeg5.patch
+}
+
+build() {
+   meson "$pkgname-$pkgver" build \
+   -Dman-pages=enabled \
+   -Dopencl=enabled \
+   --prefix=/usr \
+   --buildtype=plain
+   ninja -C build
+}
+
+package() {
+   DESTDIR="$pkgdir/" ninja -C build install
+   install -Dm644 "$pkgname-$pkgver/LICENSE" -t 
"$pkgdir/usr/share/licenses/$pkgname"
+}

Copied: wf-recorder/repos/community-testing-x86_64/ffmpeg5.patch (from rev 
1126397, wf-recorder/trunk/ffmpeg5.patch)
===
--- community-testing-x86_64/ffmpeg5.patch  (rev 0)
+++ community-testing-x86_64/ffmpeg5.patch  2022-02-05 04:33:02 UTC (rev 
1126398)
@@ -0,0 +1,159 @@
+From 47a3905f670fe12ecbdfe4719df654df1cd183e2 Mon Sep 17 00:00:00 2001
+From: "M. Stoeckl" 
+Date: Thu, 13 Jan 2022 04:17:26 -0500
+Subject: [PATCH] Fix build with latest FFmpeg (#157)
+
+Changes to the FFmpeg git repository since version 4.4 include:
+* Removing the deprecated av_register_all
+* Making AVCodec const
+* Removing the long deprecated AVStream.codec field
+---
+ src/frame-writer.cpp | 37 +++--
+ src/frame-writer.hpp |  6 +++---
+ 2 files changed, 30 insertions(+), 13 deletions(-)
+
+diff --git a/src/frame-writer.cpp b/src/frame-writer.cpp
+index 043d772..7614b0c 100644
+--- a/src/frame-writer.cpp
 b/src/frame-writer.cpp
+@@ -15,6 +15,8 @@
+ static const AVRational US_RATIONAL{1,100} ;
+ #define AUDIO_RATE 44100
+ 
++// av_register_all was deprecated in 58.9.100, removed in 59.0.100
++#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59, 0, 100)
+ class FFmpegInitialize
+ {
+ public :
+@@ -27,6 +29,7 @@ public :
+ };
+ 
+ static FFmpegInitialize ffmpegInitialize;
++#endif
+ 
+ void FrameWriter::init_hw_accel()
+ {
+@@ -93,7 +96,7 @@ AVPixelFormat FrameWriter::lookup_pixel_format(std::string 
pix_fmt)
+ std::exit(-1);
+ }
+ 
+-AVPixelFormat FrameWriter::choose_sw_format(AVCodec *codec)
++AVPixelFormat FrameWriter::choose_sw_format(const AVCodec *codec)
+ {
+ auto in_fmt = get_input_format();
+ 
+@@ -272,7 +275,7 @@ void FrameWriter::init_video_stream()
+ AVDictionary *options = NULL;
+ load_codec_options(&options);
+ 
+-AVCodec* codec = avcodec_find_encoder_by_name(params.codec.c_str());
++const AVCodec* codec = avcodec_find_encoder_by_name(params.codec.c_str());
+ if (!codec)
+ {
+ std::cerr << "Failed to find the given codec: " << params.codec << 
std::endl;
+@@ -286,7 +289,7 @@ void FrameWriter::init_video_stream()
+ std::exit(-1);
+ }
+ 
+-videoCodecCtx = videoStream->codec;
++videoCodecCtx = avcodec_alloc_context3(codec);
+ videoCodecCtx->width = params.width;
+ videoCodecCtx->height = params.height;
+ videoCodecCtx->time_base = (AVRational){ 1, FPS };
+@@ -321,9 +324,15 @@ void FrameWriter::init_video_stream()
+ std::exit(-1);
+ }
+ av_dict_free(&options);
++
++if ((ret = avcodec_parameters_from_context(vid

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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:32:38
  Author: ainola
Revision: 1126397

Enable debug

Modified:
  wf-recorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:30:59 UTC (rev 1126396)
+++ PKGBUILD2022-02-05 04:32:38 UTC (rev 1126397)
@@ -3,7 +3,7 @@
 
 pkgname=wf-recorder
 pkgver=0.2.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Screen recorder for wlroots-based compositors such as sway"
 arch=("x86_64")
 url="https://github.com/ammen99/wf-recorder";
@@ -27,6 +27,7 @@
 optdepends=(
'slurp: Select a region to record'
 )
+options=(debug)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/ammen99/wf-recorder/archive/v$pkgver.tar.gz";
  ffmpeg5.patch)
 sha256sums=('45cf04cf58cf241c22fa2fbb70481a3747ad33e6930e4bdba7b9cc7018789ad1'



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:30:59
  Author: ainola
Revision: 1126396

archrelease: copy trunk to community-testing-x86_64

Added:
  swaylock/repos/community-testing-x86_64/
  swaylock/repos/community-testing-x86_64/PKGBUILD
(from rev 1126395, swaylock/trunk/PKGBUILD)

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

Copied: swaylock/repos/community-testing-x86_64/PKGBUILD (from rev 1126395, 
swaylock/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:30:59 UTC (rev 1126396)
@@ -0,0 +1,44 @@
+# Maintainer: Brett Cornwall 
+# Contributor: gilbus
+
+pkgname=swaylock
+pkgver=1.5
+pkgrel=3
+license=("MIT")
+pkgdesc="Screen locker for Wayland"
+makedepends=(
+'meson'
+'scdoc'
+'wayland-protocols'
+'git'  # To make the version string
+)
+depends=(
+'cairo'
+'libxkbcommon'
+'pam'
+'wayland'
+'gdk-pixbuf2'  # For images other than PNG
+)
+arch=('x86_64')
+url="https://github.com/swaywm/swaylock";
+options=(debug)
+source=(
+
"$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swaylock/archive/$pkgver.tar.gz";
+
"https://github.com/swaywm/swaylock/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.sig";
+)
+sha256sums=('37b9c70e5698e8872b0b964a7454ecdb0f1a9e06b686eecf2b6c54f7f64a3f42'
+'SKIP')
+validpgpkeys=("9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A")  # Drew DeVault
+
+build() {
+meson "$pkgname-$pkgver" build \
+--prefix /usr \
+--buildtype=plain
+ninja -C build
+}
+
+package() {
+DESTDIR="$pkgdir/" ninja -C build install
+install -Dm644 "$pkgname-$pkgver/LICENSE" -t 
"$pkgdir/usr/share/licenses/$pkgname"
+install -Dm644 "$pkgname-$pkgver/README.md" -t 
"$pkgdir/usr/share/doc/$pkgname"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:30:39
  Author: ainola
Revision: 1126395

Enable debug

Modified:
  swaylock/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:29:26 UTC (rev 1126394)
+++ PKGBUILD2022-02-05 04:30:39 UTC (rev 1126395)
@@ -3,7 +3,7 @@
 
 pkgname=swaylock
 pkgver=1.5
-pkgrel=2
+pkgrel=3
 license=("MIT")
 pkgdesc="Screen locker for Wayland"
 makedepends=(
@@ -21,6 +21,7 @@
 )
 arch=('x86_64')
 url="https://github.com/swaywm/swaylock";
+options=(debug)
 source=(
 
"$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swaylock/archive/$pkgver.tar.gz";
 
"https://github.com/swaywm/swaylock/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.sig";



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:29:26
  Author: ainola
Revision: 1126394

archrelease: copy trunk to community-testing-x86_64

Added:
  swayidle/repos/community-testing-x86_64/
  swayidle/repos/community-testing-x86_64/PKGBUILD
(from rev 1126393, swayidle/trunk/PKGBUILD)

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

Copied: swayidle/repos/community-testing-x86_64/PKGBUILD (from rev 1126393, 
swayidle/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:29:26 UTC (rev 1126394)
@@ -0,0 +1,45 @@
+# Maintainer: Brett Cornwall 
+# Contributor: gilbus
+
+pkgname=swayidle
+pkgver=1.7.1
+pkgrel=2
+license=('MIT')
+pkgdesc="Idle management daemon for Wayland"
+makedepends=(
+'meson'
+'scdoc'
+'wayland-protocols'
+)
+depends=(
+'wayland'
+'systemd'
+)
+arch=('x86_64')
+url="https://github.com/swaywm/swayidle";
+options=(debug)
+source=(
+
"$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swayidle/archive/$pkgver.tar.gz";
+
"https://github.com/swaywm/swayidle/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.sig";
+)
+sha256sums=('6aa07093be553473726e1ef601dbc5e57a3ea2ac864ef2d7afce1f971ea760a6'
+'SKIP')
+validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48'  # Simon Ser
+  '9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A') # Drew DeVault
+
+build() {
+meson "$pkgname-$pkgver" build \
+--prefix /usr \
+--buildtype=plain \
+-Dlogind=enabled \
+-Dman-pages=enabled \
+-Dlogind-provider=systemd
+ninja -C build
+}
+
+package() {
+DESTDIR="$pkgdir/" ninja -C build install
+install -Dm644 "$pkgname-$pkgver/LICENSE" -t 
"$pkgdir/usr/share/licenses/$pkgname"
+install -Dm644 "$pkgname-$pkgver/README.md" -t 
"$pkgdir/usr/share/doc/$pkgname"
+}
+



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:29:06
  Author: ainola
Revision: 1126393

Enable debug

Modified:
  swayidle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:27:39 UTC (rev 1126392)
+++ PKGBUILD2022-02-05 04:29:06 UTC (rev 1126393)
@@ -3,7 +3,7 @@
 
 pkgname=swayidle
 pkgver=1.7.1
-pkgrel=1
+pkgrel=2
 license=('MIT')
 pkgdesc="Idle management daemon for Wayland"
 makedepends=(
@@ -17,6 +17,7 @@
 )
 arch=('x86_64')
 url="https://github.com/swaywm/swayidle";
+options=(debug)
 source=(
 
"$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swayidle/archive/$pkgver.tar.gz";
 
"https://github.com/swaywm/swayidle/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.sig";



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:27:39
  Author: ainola
Revision: 1126392

archrelease: copy trunk to community-testing-x86_64

Added:
  swaybg/repos/community-testing-x86_64/
  swaybg/repos/community-testing-x86_64/PKGBUILD
(from rev 1126391, swaybg/trunk/PKGBUILD)

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

Copied: swaybg/repos/community-testing-x86_64/PKGBUILD (from rev 1126391, 
swaybg/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:27:39 UTC (rev 1126392)
@@ -0,0 +1,43 @@
+# Maintainer: Brett Cornwall 
+# Maintainer: Alexander F. Rødseth 
+
+pkgname=swaybg
+pkgver=1.1
+pkgrel=3
+pkgdesc='Wallpaper tool for Wayland compositors'
+arch=(x86_64)
+url='https://github.com/swaywm/swaybg'
+license=(MIT)
+makedepends=(meson
+ ninja
+ scdoc
+ wayland-protocols)
+depends=(
+'wayland'
+'cairo'
+'gdk-pixbuf2'  # For images other than PNG
+)
+options=(debug)
+source=(
+
"$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swaybg/releases/download/v$pkgver/swaybg-$pkgver.tar.gz";
+
"$pkgname-$pkgver.tar.gz.sig::https://github.com/swaywm/swaybg/releases/download/v$pkgver/swaybg-$pkgver.tar.gz.sig";
+)
+sha512sums=('2b262402c4d93908facde82b07a3df1ee698b802b7e9c07e6eff0325cb9ddf712c544574c5aeb481f69dfb1857a88bf8e654bfe0dd3b2178fd3a44109e104692'
+'SKIP')
+validpgpkeys=(
+"9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A"  # Drew DeVault
+"34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48"  # Simon Ser
+)
+
+build() {
+meson "$pkgname-$pkgver" build \
+--prefix /usr \
+--buildtype=plain
+ninja -C build
+}
+
+package() {
+DESTDIR="$pkgdir/" ninja -C build install
+install -Dm644 "$pkgname-$pkgver/LICENSE" -t 
"$pkgdir/usr/share/licenses/$pkgname"
+install -Dm644 "$pkgname-$pkgver/README.md" -t 
"$pkgdir/usr/share/doc/$pkgname"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:27:17
  Author: ainola
Revision: 1126391

Enabled debug

Modified:
  swaybg/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:26:01 UTC (rev 1126390)
+++ PKGBUILD2022-02-05 04:27:17 UTC (rev 1126391)
@@ -3,7 +3,7 @@
 
 pkgname=swaybg
 pkgver=1.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Wallpaper tool for Wayland compositors'
 arch=(x86_64)
 url='https://github.com/swaywm/swaybg'
@@ -17,6 +17,7 @@
 'cairo'
 'gdk-pixbuf2'  # For images other than PNG
 )
+options=(debug)
 source=(
 
"$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swaybg/releases/download/v$pkgver/swaybg-$pkgver.tar.gz";
 
"$pkgname-$pkgver.tar.gz.sig::https://github.com/swaywm/swaybg/releases/download/v$pkgver/swaybg-$pkgver.tar.gz.sig";



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:26:01
  Author: ainola
Revision: 1126390

archrelease: copy trunk to community-testing-x86_64

Added:
  spdlog/repos/community-testing-x86_64/
  spdlog/repos/community-testing-x86_64/PKGBUILD
(from rev 1126389, spdlog/trunk/PKGBUILD)

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

Copied: spdlog/repos/community-testing-x86_64/PKGBUILD (from rev 1126389, 
spdlog/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:26:01 UTC (rev 1126390)
@@ -0,0 +1,45 @@
+# Maintainer: Brett Cornwall 
+# Contributor: Luca Weiss
+# Contributor: Michael Yang
+
+pkgname=spdlog
+pkgver=1.9.2
+pkgrel=3
+pkgdesc='Very fast, header-only/compiled, C++ logging library'
+arch=('x86_64')
+url='https://github.com/gabime/spdlog'
+license=('MIT')
+depends=('libfmt.so')
+makedepends=('cmake')
+options=(debug)
+source=(
+
"$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz";
+)
+provides=(
+'libspdlog.so'
+)
+sha256sums=('6fff9215f5cb81760be4cc16d033526d1080427d236e86d70bb02994f85e3d38')
+
+build() {
+export CFLAGS+=" ${CPPFLAGS}"
+export CXXFLAGS+=" ${CPPFLAGS}"
+cmake -B build -S "$pkgname-$pkgver" \
+-DSPDLOG_BUILD_BENCH=OFF \
+-DSPDLOG_FMT_EXTERNAL=ON \
+-DSPDLOG_BUILD_SHARED=ON \
+-DSPDLOG_BUILD_TESTS=ON \
+-DCMAKE_BUILD_TYPE=None \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-Wno-dev
+make -C build
+}
+
+check() {
+make -C build test
+}
+
+package() {
+make -C build DESTDIR="$pkgdir" install
+install -Dm644 "$pkgname-$pkgver/LICENSE" -t 
"$pkgdir/usr/share/licenses/$pkgname/"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:25:41
  Author: ainola
Revision: 1126389

Enable debug

Modified:
  spdlog/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:24:01 UTC (rev 1126388)
+++ PKGBUILD2022-02-05 04:25:41 UTC (rev 1126389)
@@ -4,7 +4,7 @@
 
 pkgname=spdlog
 pkgver=1.9.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Very fast, header-only/compiled, C++ logging library'
 arch=('x86_64')
 url='https://github.com/gabime/spdlog'
@@ -11,6 +11,7 @@
 license=('MIT')
 depends=('libfmt.so')
 makedepends=('cmake')
+options=(debug)
 source=(
 
"$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz";
 )



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:24:01
  Author: ainola
Revision: 1126388

archrelease: copy trunk to community-testing-x86_64

Added:
  slurp/repos/community-testing-x86_64/
  slurp/repos/community-testing-x86_64/PKGBUILD
(from rev 1126387, slurp/trunk/PKGBUILD)

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

Copied: slurp/repos/community-testing-x86_64/PKGBUILD (from rev 1126387, 
slurp/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:24:01 UTC (rev 1126388)
@@ -0,0 +1,32 @@
+# Maintainer: Ainola 
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=slurp
+pkgver=1.3.2
+pkgrel=2
+pkgdesc='Select a region in a Wayland compositor'
+arch=('x86_64')
+url="https://github.com/emersion/slurp";
+license=('MIT')
+depends=('cairo' 'wayland' 'libxkbcommon')
+makedepends=('meson' 'scdoc' 'wayland-protocols')
+options=(debug)
+source=(
+
"$pkgname-$pkgver.tar.gz::https://github.com/emersion/slurp/releases/download/v$pkgver/slurp-$pkgver.tar.gz";
+
"$pkgname-$pkgver.tar.gz.sig::https://github.com/emersion/slurp/releases/download/v$pkgver/slurp-$pkgver.tar.gz.sig";
+)
+validpgpkeys=("34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48") # emersion
+sha256sums=('005dd8601d4bada9728f434728c7a57c955f90f9b9f53d1ffb051abdbabb9876'
+'SKIP')
+
+build() {
+arch-meson "$pkgname-$pkgver" build
+ninja -C build
+}
+
+package() {
+DESTDIR="$pkgdir" ninja -C build install
+cd "$pkgname-$pkgver"
+install -Dm 0644 LICENSE -t "$pkgdir/usr/share/licenses/slurp/"
+install -Dm 0644 README.md -t "$pkgdir/usr/share/doc/slurp/"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:23:41
  Author: ainola
Revision: 1126387

Enable debug

Modified:
  slurp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:22:12 UTC (rev 1126386)
+++ PKGBUILD2022-02-05 04:23:41 UTC (rev 1126387)
@@ -3,7 +3,7 @@
 
 pkgname=slurp
 pkgver=1.3.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Select a region in a Wayland compositor'
 arch=('x86_64')
 url="https://github.com/emersion/slurp";
@@ -10,6 +10,7 @@
 license=('MIT')
 depends=('cairo' 'wayland' 'libxkbcommon')
 makedepends=('meson' 'scdoc' 'wayland-protocols')
+options=(debug)
 source=(
 
"$pkgname-$pkgver.tar.gz::https://github.com/emersion/slurp/releases/download/v$pkgver/slurp-$pkgver.tar.gz";
 
"$pkgname-$pkgver.tar.gz.sig::https://github.com/emersion/slurp/releases/download/v$pkgver/slurp-$pkgver.tar.gz.sig";



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:22:12
  Author: ainola
Revision: 1126386

archrelease: copy trunk to community-testing-x86_64

Added:
  seatd/repos/community-testing-x86_64/
  seatd/repos/community-testing-x86_64/PKGBUILD
(from rev 1126385, seatd/trunk/PKGBUILD)

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

Copied: seatd/repos/community-testing-x86_64/PKGBUILD (from rev 1126385, 
seatd/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:22:12 UTC (rev 1126386)
@@ -0,0 +1,44 @@
+# Maintainer: Brett Cornwall 
+
+pkgname=seatd
+pkgver=0.6.3
+pkgrel=3
+pkgdesc="A minimal seat management daemon, and a universal seat management 
library"
+arch=(x86_64)
+url="https://sr.ht/~kennylevinsen/seatd/";
+license=('MIT')
+provides=("libseat.so")
+replaces=("libseat")
+makedepends=(
+'meson'
+'ninja'
+'scdoc'
+'systemd'
+)
+depends=(
+'systemd-libs'
+)
+options=(debug)
+source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/seatd/archive/$pkgver.tar.gz";)
+sha256sums=('5226850c163b485aebe71da0d3f4941761637e146a5c9393cb40c52617ad84a8')
+build() {
+mkdir build
+meson --prefix=/usr \
+  --buildtype=plain \
+  -Dexamples="disabled" \
+  -Dserver="enabled" \
+  -Dlibseat-logind="systemd" \
+  -Dman-pages="enabled" \
+  "seatd-$pkgver" \
+  build
+ninja -C build
+}
+
+check() {
+ninja -C build test
+}
+
+package() {
+DESTDIR="$pkgdir/" ninja -C build install
+install -Dm644 "seatd-$pkgver/LICENSE" -t 
"$pkgdir/usr/share/licenses/$pkgname/"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:21:52
  Author: ainola
Revision: 1126385

Enable debug

Modified:
  seatd/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:20:44 UTC (rev 1126384)
+++ PKGBUILD2022-02-05 04:21:52 UTC (rev 1126385)
@@ -2,7 +2,7 @@
 
 pkgname=seatd
 pkgver=0.6.3
-pkgrel=2
+pkgrel=3
 pkgdesc="A minimal seat management daemon, and a universal seat management 
library"
 arch=(x86_64)
 url="https://sr.ht/~kennylevinsen/seatd/";
@@ -18,6 +18,7 @@
 depends=(
 'systemd-libs'
 )
+options=(debug)
 
source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/seatd/archive/$pkgver.tar.gz";)
 sha256sums=('5226850c163b485aebe71da0d3f4941761637e146a5c9393cb40c52617ad84a8')
 build() {



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:20:44
  Author: ainola
Revision: 1126384

archrelease: copy trunk to community-testing-x86_64

Added:
  scdoc/repos/community-testing-x86_64/PKGBUILD
(from rev 1126383, scdoc/trunk/PKGBUILD)
Deleted:
  scdoc/repos/community-testing-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-05 04:20:04 UTC (rev 1126383)
+++ PKGBUILD2022-02-05 04:20:44 UTC (rev 1126384)
@@ -1,33 +0,0 @@
-# Maintainer: Ainola 
-# Contributor: Drew DeVault
-
-pkgname=scdoc
-pkgver=1.11.2
-pkgrel=3
-license=('MIT')
-pkgdesc='Tool for generating roff manual pages'
-arch=('x86_64')
-url='https://git.sr.ht/~sircmpwn/scdoc/'
-options=(debug)
-source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz";)
-sha512sums=('3fbf1a74b222dd88410636124e4b6ca73f7e77f67d512cf430a878fefcaa5c6c13a1e9f6c0c9654de15353f94bb1bd528665acebc2293bebb325501d1eb6cda3')
-
-build() {
-cd "$pkgname-$pkgver"
-# Upstream purposefully does not honor the user's LDFLAGS in order to keep
-# scdoc static. As we gain no benefit to statically linking and, in fact,
-# lose standard Arch practices (such as RELRO and PIE), we must override
-# LDFLAGS
-make PREFIX=/usr LDFLAGS="$LDFLAGS"
-}
-
-check() {
-cd "$pkgname-$pkgver"
-make check
-}
-
-package() {
-cd "$pkgname-$pkgver"
-make PREFIX=/usr DESTDIR="$pkgdir" install
-install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
-}

Copied: scdoc/repos/community-testing-x86_64/PKGBUILD (from rev 1126383, 
scdoc/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-05 04:20:44 UTC (rev 1126384)
@@ -0,0 +1,33 @@
+# Maintainer: Ainola 
+# Contributor: Drew DeVault
+
+pkgname=scdoc
+pkgver=1.11.2
+pkgrel=3
+license=('MIT')
+pkgdesc='Tool for generating roff manual pages'
+arch=('x86_64')
+url='https://git.sr.ht/~sircmpwn/scdoc/'
+options=(debug)
+source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz";)
+sha512sums=('3fbf1a74b222dd88410636124e4b6ca73f7e77f67d512cf430a878fefcaa5c6c13a1e9f6c0c9654de15353f94bb1bd528665acebc2293bebb325501d1eb6cda3')
+
+build() {
+cd "$pkgname-$pkgver"
+# Upstream purposefully does not honor the user's LDFLAGS in order to keep
+# scdoc static. As we gain no benefit to statically linking and, in fact,
+# lose standard Arch practices (such as RELRO and PIE), we must override
+# LDFLAGS
+make PREFIX=/usr LDFLAGS="$LDFLAGS"
+}
+
+check() {
+cd "$pkgname-$pkgver"
+make check
+}
+
+package() {
+cd "$pkgname-$pkgver"
+make PREFIX=/usr DESTDIR="$pkgdir" install
+install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:20:04
  Author: ainola
Revision: 1126383

archrelease: copy trunk to community-testing-x86_64

Added:
  scdoc/repos/community-testing-x86_64/
  scdoc/repos/community-testing-x86_64/PKGBUILD
(from rev 1126382, scdoc/trunk/PKGBUILD)

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

Copied: scdoc/repos/community-testing-x86_64/PKGBUILD (from rev 1126382, 
scdoc/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:20:04 UTC (rev 1126383)
@@ -0,0 +1,33 @@
+# Maintainer: Ainola 
+# Contributor: Drew DeVault
+
+pkgname=scdoc
+pkgver=1.11.2
+pkgrel=3
+license=('MIT')
+pkgdesc='Tool for generating roff manual pages'
+arch=('x86_64')
+url='https://git.sr.ht/~sircmpwn/scdoc/'
+options=(debug)
+source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz";)
+sha512sums=('3fbf1a74b222dd88410636124e4b6ca73f7e77f67d512cf430a878fefcaa5c6c13a1e9f6c0c9654de15353f94bb1bd528665acebc2293bebb325501d1eb6cda3')
+
+build() {
+cd "$pkgname-$pkgver"
+# Upstream purposefully does not honor the user's LDFLAGS in order to keep
+# scdoc static. As we gain no benefit to statically linking and, in fact,
+# lose standard Arch practices (such as RELRO and PIE), we must override
+# LDFLAGS
+make PREFIX=/usr LDFLAGS="$LDFLAGS"
+}
+
+check() {
+cd "$pkgname-$pkgver"
+make check
+}
+
+package() {
+cd "$pkgname-$pkgver"
+make PREFIX=/usr DESTDIR="$pkgdir" install
+install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:19:41
  Author: ainola
Revision: 1126382

Enable debug

Modified:
  scdoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:18:39 UTC (rev 1126381)
+++ PKGBUILD2022-02-05 04:19:41 UTC (rev 1126382)
@@ -3,11 +3,12 @@
 
 pkgname=scdoc
 pkgver=1.11.2
-pkgrel=2
+pkgrel=3
 license=('MIT')
 pkgdesc='Tool for generating roff manual pages'
 arch=('x86_64')
 url='https://git.sr.ht/~sircmpwn/scdoc/'
+options=(debug)
 
source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz";)
 
sha512sums=('3fbf1a74b222dd88410636124e4b6ca73f7e77f67d512cf430a878fefcaa5c6c13a1e9f6c0c9654de15353f94bb1bd528665acebc2293bebb325501d1eb6cda3')
 



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:18:39
  Author: ainola
Revision: 1126381

archrelease: copy trunk to community-testing-x86_64

Added:
  mako/repos/community-testing-x86_64/
  mako/repos/community-testing-x86_64/PKGBUILD
(from rev 1126380, mako/trunk/PKGBUILD)
  mako/repos/community-testing-x86_64/systemd-dbus-activation.patch
(from rev 1126380, mako/trunk/systemd-dbus-activation.patch)

---+
 PKGBUILD  |   44 
 systemd-dbus-activation.patch |7 ++
 2 files changed, 51 insertions(+)

Copied: mako/repos/community-testing-x86_64/PKGBUILD (from rev 1126380, 
mako/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:18:39 UTC (rev 1126381)
@@ -0,0 +1,44 @@
+# Maintainer: Brett Cornwall 
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Drew DeVault
+
+pkgname=mako
+pkgver=1.6
+pkgrel=3
+license=('MIT')
+pkgdesc='Lightweight notification daemon for Wayland'
+makedepends=("meson" "scdoc" "systemd" "wayland-protocols")
+depends=(
+   "gdk-pixbuf2"
+   "pango"
+   "systemd-libs"
+   "wayland"
+)
+optdepends=("jq: support for 'makoctl menu'")
+arch=("x86_64")
+url='https://mako-project.org'
+options=(debug)
+source=(
+   
"$pkgname-$pkgver.tar.gz::https://github.com/emersion/mako/releases/download/v$pkgver/mako-$pkgver.tar.gz";
+   
"$pkgname-$pkgver.tar.gz.sig::https://github.com/emersion/mako/releases/download/v$pkgver/mako-$pkgver.tar.gz.sig";
+   "systemd-dbus-activation.patch"
+)
+validpgpkeys=("34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48") # emersion
+sha256sums=('9f43cba9e1b43c69be8c9e4a79c358b3cd22153ca3ffb8bf0ee7aa30c59b2fc2'
+'SKIP'
+'4579a2673dcf2114779e10ed52d771f3930c2192e8e35d3e145163d9e0b45c20')
+
+prepare() {
+   patch -Np1 -i "$srcdir/systemd-dbus-activation.patch" -d 
"$pkgname-$pkgver"
+}
+
+build() {
+   arch-meson -Dzsh-completions=true -Dsd-bus-provider=libsystemd 
"$pkgname-$pkgver" build
+   ninja -C build
+}
+
+package() {
+   DESTDIR="$pkgdir" ninja -C build install
+   install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" 
"$pkgname-$pkgver/LICENSE"
+   install -Dm644 -t "$pkgdir/usr/lib/systemd/user/" 
"$pkgname-$pkgver/contrib/systemd/mako.service"
+}

Copied: mako/repos/community-testing-x86_64/systemd-dbus-activation.patch (from 
rev 1126380, mako/trunk/systemd-dbus-activation.patch)
===
--- community-testing-x86_64/systemd-dbus-activation.patch  
(rev 0)
+++ community-testing-x86_64/systemd-dbus-activation.patch  2022-02-05 
04:18:39 UTC (rev 1126381)
@@ -0,0 +1,7 @@
+--- a/fr.emersion.mako.service.in
 b/fr.emersion.mako.service.in
+@@ -1,3 +1,4 @@
+ [D-BUS Service]
+ Name=org.freedesktop.Notifications
+ Exec=@bindir@/mako
++SystemdService=mako.service



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:18:14
  Author: ainola
Revision: 1126380

Enable debug

Modified:
  mako/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:17:06 UTC (rev 1126379)
+++ PKGBUILD2022-02-05 04:18:14 UTC (rev 1126380)
@@ -4,7 +4,7 @@
 
 pkgname=mako
 pkgver=1.6
-pkgrel=2
+pkgrel=3
 license=('MIT')
 pkgdesc='Lightweight notification daemon for Wayland'
 makedepends=("meson" "scdoc" "systemd" "wayland-protocols")
@@ -17,6 +17,7 @@
 optdepends=("jq: support for 'makoctl menu'")
 arch=("x86_64")
 url='https://mako-project.org'
+options=(debug)
 source=(

"$pkgname-$pkgver.tar.gz::https://github.com/emersion/mako/releases/download/v$pkgver/mako-$pkgver.tar.gz";

"$pkgname-$pkgver.tar.gz.sig::https://github.com/emersion/mako/releases/download/v$pkgver/mako-$pkgver.tar.gz.sig";



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:17:06
  Author: ainola
Revision: 1126379

archrelease: copy trunk to community-testing-x86_64

Added:
  kanshi/repos/community-testing-x86_64/
  kanshi/repos/community-testing-x86_64/PKGBUILD
(from rev 1126378, kanshi/trunk/PKGBUILD)

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

Copied: kanshi/repos/community-testing-x86_64/PKGBUILD (from rev 1126378, 
kanshi/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:17:06 UTC (rev 1126379)
@@ -0,0 +1,35 @@
+# Maintainer: Brett Cornwall 
+# Contributor: Antoine Damhet
+
+pkgname=kanshi
+pkgver=1.2.0
+pkgrel=3
+pkgdesc='Dynamic output configuration for Wayland WMs'
+arch=(x86_64)
+url="https://wayland.emersion.fr/kanshi/";
+license=('MIT')
+makedepends=('meson' 'scdoc')
+depends=('wayland')
+options=(debug)
+source=(
+
"https://github.com/emersion/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz";
+
"https://github.com/emersion/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.sig";
+)
+sha256sums=('144428b9e79209b853c4b38a5efb6f16d581a2b9cb96e419b3b0a0f5914bcad4'
+'SKIP')
+validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48')  # Simon Ser 
(emersion)
+
+build() {
+meson --prefix=/usr \
+--buildtype=plain \
+-Dman-pages=enabled \
+"${pkgname}-${pkgver}" build
+ninja -C build
+}
+
+package() {
+DESTDIR="${pkgdir}" ninja -C build install
+cd "$pkgname-$pkgver"
+install -Dm0644 "LICENSE" -t "${pkgdir}/usr/share/licenses/$pkgname/"
+install -Dm0644 "README.md" -t "$pkgdir/usr/share/doc/$pkgname/"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:16:44
  Author: ainola
Revision: 1126378

Enable debug

Modified:
  kanshi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:15:08 UTC (rev 1126377)
+++ PKGBUILD2022-02-05 04:16:44 UTC (rev 1126378)
@@ -3,7 +3,7 @@
 
 pkgname=kanshi
 pkgver=1.2.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Dynamic output configuration for Wayland WMs'
 arch=(x86_64)
 url="https://wayland.emersion.fr/kanshi/";
@@ -10,6 +10,7 @@
 license=('MIT')
 makedepends=('meson' 'scdoc')
 depends=('wayland')
+options=(debug)
 source=(
 
"https://github.com/emersion/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz";
 
"https://github.com/emersion/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.sig";



[arch-commits] Commit in gtk-layer-shell/repos (2 files)

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:15:08
  Author: ainola
Revision: 1126377

archrelease: copy trunk to community-testing-x86_64

Added:
  gtk-layer-shell/repos/community-testing-x86_64/
  gtk-layer-shell/repos/community-testing-x86_64/PKGBUILD
(from rev 1126376, gtk-layer-shell/trunk/PKGBUILD)

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

Copied: gtk-layer-shell/repos/community-testing-x86_64/PKGBUILD (from rev 
1126376, gtk-layer-shell/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:15:08 UTC (rev 1126377)
@@ -0,0 +1,43 @@
+# Maintainer: Brett Cornwall 
+# Contributor: Adrian Perez de Castro 
+
+pkgdesc='Library to create Wayland desktop components using the Layer Shell 
protocol'
+pkgname=gtk-layer-shell
+pkgver=0.7.0
+pkgrel=2
+arch=(x86_64)
+license=(LGPL3)
+url="https://github.com/wmww/gtk-layer-shell";
+depends=(
+"gtk3"
+"wayland"
+)
+makedepends=(
+"gtk-doc"
+"gobject-introspection"
+"meson"
+"ninja"
+)
+options=(debug)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz";)
+sha512sums=('97463b4bd90318e95576e3f4b05c0acae401b8103b389cb9a0dc7716871d8d8285595ddda76419883c98c6f00fcd4ffdfd9dba48385cb8a6edcbdc7f202e2818')
+
+build() {
+meson --prefix=/usr \
+  --wrap-mode=nofallback \
+  --buildtype=plain \
+  -Dtests=true \
+  -Ddocs=true \
+  -Dintrospection=true \
+  "$pkgname-$pkgver" \
+  build
+ninja -C build
+}
+
+check() {
+ninja -C build test
+}
+
+package() {
+DESTDIR="$pkgdir" ninja -C build install
+}



[arch-commits] Commit in gtk-layer-shell/trunk (PKGBUILD)

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:14:45
  Author: ainola
Revision: 1126376

Enable debug

Modified:
  gtk-layer-shell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:11:59 UTC (rev 1126375)
+++ PKGBUILD2022-02-05 04:14:45 UTC (rev 1126376)
@@ -4,7 +4,7 @@
 pkgdesc='Library to create Wayland desktop components using the Layer Shell 
protocol'
 pkgname=gtk-layer-shell
 pkgver=0.7.0
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 license=(LGPL3)
 url="https://github.com/wmww/gtk-layer-shell";
@@ -18,6 +18,7 @@
 "meson"
 "ninja"
 )
+options=(debug)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz";)
 
sha512sums=('97463b4bd90318e95576e3f4b05c0acae401b8103b389cb9a0dc7716871d8d8285595ddda76419883c98c6f00fcd4ffdfd9dba48385cb8a6edcbdc7f202e2818')
 



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:11:59
  Author: ainola
Revision: 1126375

archrelease: copy trunk to community-testing-x86_64

Added:
  cage/repos/community-testing-x86_64/
  cage/repos/community-testing-x86_64/PKGBUILD
(from rev 1126374, cage/trunk/PKGBUILD)

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

Copied: cage/repos/community-testing-x86_64/PKGBUILD (from rev 1126374, 
cage/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:11:59 UTC (rev 1126375)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge 
+# Maintainer: Brett Cornwall 
+
+pkgname=cage
+pkgver=0.1.4
+pkgrel=5
+pkgdesc="A kiosk compositor for Wayland"
+arch=(x86_64)
+url="https://www.hjdskes.nl/projects/cage/";
+license=(MIT)
+depends=(glibc polkit wayland)
+makedepends=(git libxkbcommon meson pixman scdoc wayland-protocols
+wlroots xorg-server-xwayland)
+optdepends=('xorg-server-xwayland: X11 support')
+source=("${pkgname}::git+https://github.com/Hjdskes/${pkgname}.git#tag=v${pkgver}?signed";)
+sha512sums=('SKIP')
+validpgpkeys=('13B6A35E9FD677D02CD68DBE37C445296EBC43B1') # Jente Hidskes 

+options=(debug)
+
+prepare() {
+  cd "${pkgname}"
+  # add support for wlroots 0.15.0
+  git cherry-pick -n 1a3ab3eb3ad0f4a1addb8f9a9427d8b369b19511
+  git cherry-pick -n 8385b62a9b31028fa356cc4130baebc8b6f4adec
+  git cherry-pick -n 388d60d6b8870fb83dd440051ee805cc7ec7
+  git cherry-pick -n 395189fb051ed722c7b10b6cb11caa8f6904079c
+}
+
+build() {
+  arch-meson -Dxwayland=true build "$pkgname"
+  ninja -C build
+}
+
+check() {
+  ninja -C build test
+}
+
+package() {
+  depends+=(libwlroots.so libxkbcommon.so libpixman-1.so)
+
+  DESTDIR="${pkgdir}" meson install -C build
+  install -vDm 644 "$pkgname/README.md" -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 "$pkgname/LICENSE" -t 
"${pkgdir}/usr/share/licenses/${pkgname}"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:11:40
  Author: ainola
Revision: 1126374

Enable debug

Modified:
  cage/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 04:09:15 UTC (rev 1126373)
+++ PKGBUILD2022-02-05 04:11:40 UTC (rev 1126374)
@@ -3,7 +3,7 @@
 
 pkgname=cage
 pkgver=0.1.4
-pkgrel=4
+pkgrel=5
 pkgdesc="A kiosk compositor for Wayland"
 arch=(x86_64)
 url="https://www.hjdskes.nl/projects/cage/";
@@ -15,6 +15,7 @@
 
source=("${pkgname}::git+https://github.com/Hjdskes/${pkgname}.git#tag=v${pkgver}?signed";)
 sha512sums=('SKIP')
 validpgpkeys=('13B6A35E9FD677D02CD68DBE37C445296EBC43B1') # Jente Hidskes 

+options=(debug)
 
 prepare() {
   cd "${pkgname}"



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:09:15
  Author: ainola
Revision: 1126373

archrelease: copy trunk to community-testing-x86_64

Added:
  sway/repos/community-testing-x86_64/
  sway/repos/community-testing-x86_64/50-systemd-user.conf
(from rev 1126372, sway/trunk/50-systemd-user.conf)
  sway/repos/community-testing-x86_64/PKGBUILD
(from rev 1126372, sway/trunk/PKGBUILD)
  sway/repos/community-testing-x86_64/sway-session.target
(from rev 1126372, sway/trunk/sway-session.target)
  sway/repos/community-testing-x86_64/sway.service
(from rev 1126372, sway/trunk/sway.service)

--+
 50-systemd-user.conf |7 
 PKGBUILD |   72 +
 sway-session.target  |8 +
 sway.service |   16 ++
 4 files changed, 103 insertions(+)

Copied: sway/repos/community-testing-x86_64/50-systemd-user.conf (from rev 
1126372, sway/trunk/50-systemd-user.conf)
===
--- community-testing-x86_64/50-systemd-user.conf   
(rev 0)
+++ community-testing-x86_64/50-systemd-user.conf   2022-02-05 04:09:15 UTC 
(rev 1126373)
@@ -0,0 +1,7 @@
+# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
+# See FS#63021
+# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
+
+exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK 
XDG_CURRENT_DESKTOP
+exec hash dbus-update-activation-environment 2>/dev/null && \
+ dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY 
SWAYSOCK XDG_CURRENT_DESKTOP

Copied: sway/repos/community-testing-x86_64/PKGBUILD (from rev 1126372, 
sway/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 04:09:15 UTC (rev 1126373)
@@ -0,0 +1,72 @@
+# Maintainer: Brett Cornwall 
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Alexander F. Rødseth 
+
+pkgname=sway
+pkgver=1.7
+epoch=1
+pkgrel=2
+pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
+arch=(x86_64)
+url='https://swaywm.org/'
+license=(MIT)
+depends=(
+  'cairo'
+  'gdk-pixbuf2'
+  'json-c'
+  'pango'
+  'polkit'
+  'pcre'
+  'swaybg'
+  'ttf-font'
+  'wlroots'
+)
+makedepends=(git meson ninja scdoc setconf wayland-protocols)
+backup=(etc/sway/config)
+optdepends=(
+  'dmenu: Application launcher'
+  'grim: Screenshot utility'
+  'i3status: Status line'
+  'mako: Lightweight notification daemon'
+  'slurp: Select a region'
+  'swayidle: Idle management daemon'
+  'swaylock: Screen locker'
+  'wallutils: Timed wallpapers'
+  'waybar: Highly customizable bar'
+  'xorg-xwayland: X11 support'
+)
+source=("https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz";
+
"https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz.sig";
+"50-systemd-user.conf")
+options=(debug)
+sha512sums=('028cf5d504d5914bfb78d44156d6a290de660c5ed0638f4e2c56e5be76db9b0baeda035e1fa1ae23559016bd7e4312f7ff70c2fb4904df25358577c1a3d21243'
+'SKIP'
+
'c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137')
+validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48'  # Simon Ser
+  '9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A') # Drew DeVault
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # Set the version information to 'Arch Linux' instead of 'makepkg'
+  sed -i "s/branch \\\'@1@\\\'/Arch Linux/g" meson.build
+}
+
+build() {
+  mkdir -p build
+  arch-meson build "$pkgname-$pkgver" -D sd-bus-provider=libsystemd -D 
werror=false -D b_ndebug=true
+  ninja -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm644 "$pkgname-$pkgver/LICENSE" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 50-systemd-user.conf -t "$pkgdir/etc/sway/config.d/"
+
+  for util in autoname-workspaces.py inactive-windows-transparency.py 
grimshot; do
+install -Dm755 "$pkgname-$pkgver/contrib/$util" -t \
+   "$pkgdir/usr/share/$pkgname/scripts"
+  done
+}
+
+# vim: ts=2 sw=2 et

Copied: sway/repos/community-testing-x86_64/sway-session.target (from rev 
1126372, sway/trunk/sway-session.target)
===
--- community-testing-x86_64/sway-session.target
(rev 0)
+++ community-testing-x86_64/sway-session.target2022-02-05 04:09:15 UTC 
(rev 1126373)
@@ -0,0 +1,8 @@
+# https://github.com/swaywm/sway/wiki/Systemd-integration
+
+[Unit]
+Description=sway compositor session
+Documentation=man:systemd.special(7)
+BindsTo=graphical-session.target
+Wants=graphical-session-pre.target
+After=graphical-session-pre.target

Copied: sway/repos/

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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 04:02:07
  Author: ainola
Revision: 1126372

Enable debug package

Modified:
  sway/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 03:42:44 UTC (rev 1126371)
+++ PKGBUILD2022-02-05 04:02:07 UTC (rev 1126372)
@@ -5,7 +5,7 @@
 pkgname=sway
 pkgver=1.7
 epoch=1
-pkgrel=1
+pkgrel=2
 pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
 arch=(x86_64)
 url='https://swaywm.org/'
@@ -38,6 +38,7 @@
 
source=("https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz";
 
"https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz.sig";
 "50-systemd-user.conf")
+options=(debug)
 
sha512sums=('028cf5d504d5914bfb78d44156d6a290de660c5ed0638f4e2c56e5be76db9b0baeda035e1fa1ae23559016bd7e4312f7ff70c2fb4904df25358577c1a3d21243'
 'SKIP'
 
'c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137')



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 03:42:44
  Author: ainola
Revision: 1126371

archrelease: copy trunk to community-testing-x86_64

Added:
  wlroots/repos/community-testing-x86_64/
  wlroots/repos/community-testing-x86_64/PKGBUILD
(from rev 1126370, wlroots/trunk/PKGBUILD)

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

Copied: wlroots/repos/community-testing-x86_64/PKGBUILD (from rev 1126370, 
wlroots/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-05 03:42:44 UTC (rev 1126371)
@@ -0,0 +1,62 @@
+# Maintainer: Brett Cornwall 
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Omar Pakker
+
+pkgname=wlroots
+pkgver=0.15.1
+pkgrel=1
+license=('MIT')
+pkgdesc='Modular Wayland compositor library'
+url='https://gitlab.freedesktop.org/wlroots/wlroots'
+arch=('x86_64')
+depends=(
+'libglvnd'
+'libinput'
+'seatd' 'libseat.so'
+'libxcb'
+'libxkbcommon' 'libxkbcommon.so'
+'opengl-driver'
+'pixman' 'libpixman-1.so'
+'systemd-libs' 'libudev.so'
+'vulkan-icd-loader' 'libvulkan.so'
+'wayland'
+'xcb-util-errors'
+'xcb-util-renderutil'
+'xcb-util-wm'
+)
+makedepends=(
+'glslang'
+'meson'
+'ninja'
+'systemd'
+'vulkan-headers'
+'wayland-protocols'
+'xorg-xwayland'
+)
+optdepends=(
+'xorg-xwayland: Xwayland support'
+)
+provides=(
+'libwlroots.so'
+)
+source=(
+
"$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz";
+
"https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz.sig";
+)
+sha256sums=('5b92f11a52d978919ed1306e0d54c9d59f1762b28d44f0a2da3ef3b351305373'
+'SKIP')
+validpgpkeys=(
+'34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48' # Simon Ser
+'9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A' # Drew DeVault
+'4100929B33EEB0FD1DB852797BC79407090047CA' # Sway signing key
+)
+
+build() {
+arch-meson "$pkgname-$pkgver" build
+ninja -C build
+}
+
+package() {
+DESTDIR="$pkgdir" ninja -C build install
+install -Dm644 "$pkgname-$pkgver/LICENSE" -t 
"$pkgdir/usr/share/licenses/$pkgname/"
+}



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

2022-02-04 Thread Brett Cornwall via arch-commits
Date: Saturday, February 5, 2022 @ 03:42:25
  Author: ainola
Revision: 1126370

upgpkg: wlroots 0.15.1-1

Modified:
  wlroots/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 03:01:07 UTC (rev 1126369)
+++ PKGBUILD2022-02-05 03:42:25 UTC (rev 1126370)
@@ -3,8 +3,8 @@
 # Contributor: Omar Pakker
 
 pkgname=wlroots
-pkgver=0.15.0
-pkgrel=4
+pkgver=0.15.1
+pkgrel=1
 license=('MIT')
 pkgdesc='Modular Wayland compositor library'
 url='https://gitlab.freedesktop.org/wlroots/wlroots'
@@ -43,7 +43,7 @@
 
"$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz";
 
"https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz.sig";
 )
-sha256sums=('2921a38cea79dbb6f1da895a4dbe1faedba8d7ff2c0c2468dad94ccba12e4278'
+sha256sums=('5b92f11a52d978919ed1306e0d54c9d59f1762b28d44f0a2da3ef3b351305373'
 'SKIP')
 validpgpkeys=(
 '34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48' # Simon Ser



[arch-commits] Commit in lib32-libxkbcommon/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

2022-02-04 Thread Jan Steffens via arch-commits
Date: Saturday, February 5, 2022 @ 03:01:07
  Author: heftig
Revision: 1126369

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-libxkbcommon/repos/multilib-x86_64/PKGBUILD
(from rev 1126368, lib32-libxkbcommon/trunk/PKGBUILD)
Deleted:
  lib32-libxkbcommon/repos/multilib-x86_64/PKGBUILD

--+
 PKGBUILD |  189 ++---
 1 file changed, 95 insertions(+), 94 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-05 03:00:41 UTC (rev 1126368)
+++ PKGBUILD2022-02-05 03:01:07 UTC (rev 1126369)
@@ -1,94 +0,0 @@
-# Maintainer: Maxime Gauduin 
-# Contributor: Jan Alexander Steffens 
-# Contributor: Daniel Micay 
-# Contributor: Mladen Pejakovic 
-
-pkgbase=lib32-libxkbcommon
-pkgname=(
-  lib32-libxkbcommon
-  lib32-libxkbcommon-x11
-)
-pkgver=1.3.1
-pkgrel=1
-pkgdesc='Keymap handling library for toolkits and window systems (32-bit)'
-url=https://xkbcommon.org/
-arch=(x86_64)
-license=(custom)
-makedepends=(
-  git
-  lib32-libxcb
-  lib32-libxml2
-  lib32-wayland
-  meson
-  wayland-protocols
-  xorg-util-macros
-)
-checkdepends=(
-  xorg-server-xvfb
-  libgl
-)
-_tag=e97297b5ce1201a3992f2de5fb1118d73eb904e4
-source=(git+https://github.com/xkbcommon/libxkbcommon#tag=${_tag})
-sha256sums=('SKIP')
-
-pkgver() {
-  cd libxkbcommon
-
-  git describe --tags | sed 's/^xkbcommon-//'
-}
-
-build() {
-  export CC='gcc -m32'
-  export PKG_CONFIG='i686-pc-linux-gnu-pkg-config'
-
-  arch-meson libxkbcommon build \
---libdir=/usr/lib32 \
--D enable-docs=false
-  meson compile -C build
-}
-
-check() {
-  xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
-}
-
-package_lib32-libxkbcommon() {
-  depends=(
-lib32-libxml2
-libxkbcommon
-  )
-  provides=(
-libxkbcommon.so
-libxkbregistry.so
-  )
-
-  meson install -C build --destdir "${pkgdir}"
-  rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses
-  ln -s libxkbcommon "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon
-
-  mkdir -p x11/usr/lib32/pkgconfig
-  mv "${pkgdir}"/usr/lib32/*x11* x11/usr/lib32
-  mv "${pkgdir}"/usr/lib32/pkgconfig/*x11* x11/usr/lib32/pkgconfig
-}
-
-package_lib32-libxkbcommon-x11() {
-  pkgdesc='Keyboard handling library using XKB data for X11 XCB clients 
(32-bit)'
-  depends=(
-lib32-libxkbcommon
-libxkbcommon.so
-lib32-libxcb
-libxkbcommon-x11
-  )
-  provides=(
-libxkbcommon-x11.so
-  )
-
-  mv x11/* "${pkgdir}"/
-  find "${pkgdir}" -type d -exec chmod 755 {} +
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses
-  ln -s libxkbcommon-x11 "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon-x11
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-libxkbcommon/repos/multilib-x86_64/PKGBUILD (from rev 1126368, 
lib32-libxkbcommon/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-05 03:01:07 UTC (rev 1126369)
@@ -0,0 +1,95 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Jan Alexander Steffens 
+# Contributor: Daniel Micay 
+# Contributor: Mladen Pejakovic 
+
+pkgbase=lib32-libxkbcommon
+pkgname=(
+  lib32-libxkbcommon
+  lib32-libxkbcommon-x11
+)
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='Keymap handling library for toolkits and window systems (32-bit)'
+url=https://xkbcommon.org/
+arch=(x86_64)
+license=(custom)
+makedepends=(
+  git
+  lib32-libxcb
+  lib32-libxml2
+  lib32-wayland
+  meson
+  wayland-protocols
+  xorg-util-macros
+)
+checkdepends=(
+  xorg-server-xvfb
+  libgl
+)
+_tag=6e8f0d331715a3672f5c663b704b9ea5caabe113
+source=(git+https://github.com/xkbcommon/libxkbcommon#tag=${_tag})
+sha256sums=('SKIP')
+
+pkgver() {
+  cd libxkbcommon
+
+  git describe --tags | sed 's/^xkbcommon-//'
+}
+
+build() {
+  export CC='gcc -m32'
+  export PKG_CONFIG='i686-pc-linux-gnu-pkg-config'
+
+  arch-meson libxkbcommon build \
+--libdir=/usr/lib32 \
+-D enable-docs=false \
+-D enable-tools=false
+  meson compile -C build
+}
+
+check() {
+  xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
+}
+
+package_lib32-libxkbcommon() {
+  depends=(
+lib32-libxml2
+libxkbcommon
+  )
+  provides=(
+libxkbcommon.so
+libxkbregistry.so
+  )
+
+  meson install -C build --destdir "${pkgdir}"
+  rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libxkbcommon "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon
+
+  mkdir -p x11/usr/lib32/pkgconfig
+  mv "${pkgdir}"/usr/lib32/*x11* x11/usr/lib32
+  mv "${pkgdir}"/usr/lib32/pkgconfig/*x11* x11/usr/lib32/pkgconfig
+}
+
+package_lib32-libxkbcommon-x11() {
+  pkgdesc='Keyboard handling library using XKB data for X11 XCB clients 
(32-bit)'
+  depends=(
+lib32-libxkbcommon
+libxkbcommon.so
+lib32-libxcb
+libxkbcommon-x11
+  )
+  provides=(
+libxkbcommon-x11.so
+  )
+
+  mv x11/* "

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

2022-02-04 Thread Jan Steffens via arch-commits
Date: Saturday, February 5, 2022 @ 03:01:07
  Author: heftig
Revision: 436231

archrelease: copy trunk to extra-x86_64

Added:
  libxkbcommon/repos/extra-x86_64/PKGBUILD
(from rev 436230, libxkbcommon/trunk/PKGBUILD)
Deleted:
  libxkbcommon/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-05 03:00:28 UTC (rev 436230)
+++ PKGBUILD2022-02-05 03:01:07 UTC (rev 436231)
@@ -1,80 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) 
-# Contributor: Daniel Micay 
-# Contributor: Mladen Pejakovic 
-
-pkgbase=libxkbcommon
-pkgname=(libxkbcommon libxkbcommon-doc libxkbcommon-x11)
-pkgver=1.3.1
-pkgrel=1
-pkgdesc="Keymap handling library for toolkits and window systems"
-url="https://xkbcommon.org/";
-arch=(x86_64)
-license=(custom)
-makedepends=(xkeyboard-config libxml2 libxcb wayland wayland-protocols doxygen
- git meson xorgproto)
-checkdepends=(xorg-server-xvfb libgl)
-_commit=88222c8d40543c29af781f7d7e25d202ff40e4b7  # tags/xkbcommon-1.3.1^0
-source=("git+https://github.com/xkbcommon/libxkbcommon#commit=$_commit";)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgbase
-  git describe --tags | sed 's/^xkbcommon-//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgbase
-}
-
-build() {
-  arch-meson $pkgbase build
-  meson compile -C build
-}
-
-check() {
-  xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
-}
-
-_pick() {
-  local p="$1" f d; shift
-  for f; do
-d="$srcdir/$p/${f#$pkgdir/}"
-mkdir -p "$(dirname "$d")"
-mv "$f" "$d"
-rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
-  done
-}
-
-package_libxkbcommon() {
-  depends=(xkeyboard-config libxml2)
-  optdepends=('libxkbcommon-x11: xkbcli interactive-x11'
-  'wayland: xkbcli interactive-wayland')
-  provides=(libxkbcommon.so libxkbregistry.so)
-
-  meson install -C build --destdir "$pkgdir"
-  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/LICENSE
-
-  _pick libxkbcommon-doc "$pkgdir"/usr/share/doc
-
-  _pick libxkbcommon-x11 "$pkgdir"/usr/lib/*x11*
-  _pick libxkbcommon-x11 "$pkgdir"/usr/lib/pkgconfig/*x11*
-  _pick libxkbcommon-x11 "$pkgdir"/usr/lib/xkbcommon/*x11*
-  _pick libxkbcommon-x11 "$pkgdir"/usr/include/xkbcommon/*x11*
-  _pick libxkbcommon-x11 "$pkgdir"/usr/share/man/man1/*x11*
-}
-
-package_libxkbcommon-doc() {
-  pkgdesc="API documentation for libxkbcommon"
-
-  mv libxkbcommon-doc/* "$pkgdir"
-  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/LICENSE
-}
-
-package_libxkbcommon-x11() {
-  pkgdesc="Keyboard handling library using XKB data for X11 XCB clients"
-  depends=(libxkbcommon libxkbcommon.so libxcb)
-  provides=(libxkbcommon-x11.so)
-
-  mv libxkbcommon-x11/* "$pkgdir"
-  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/LICENSE
-}

Copied: libxkbcommon/repos/extra-x86_64/PKGBUILD (from rev 436230, 
libxkbcommon/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-05 03:01:07 UTC (rev 436231)
@@ -0,0 +1,80 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel Micay 
+# Contributor: Mladen Pejakovic 
+
+pkgbase=libxkbcommon
+pkgname=(libxkbcommon libxkbcommon-doc libxkbcommon-x11)
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Keymap handling library for toolkits and window systems"
+url="https://xkbcommon.org/";
+arch=(x86_64)
+license=(custom)
+makedepends=(xkeyboard-config libxml2 libxcb wayland wayland-protocols doxygen
+ git meson xorgproto)
+checkdepends=(xorg-server-xvfb libgl)
+_commit=ea6580cc3913d93655ecf92a5913de652315efc3  # tags/xkbcommon-1.4.0^0
+source=("git+https://github.com/xkbcommon/libxkbcommon#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/^xkbcommon-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+}
+
+build() {
+  arch-meson $pkgbase build
+  meson compile -C build
+}
+
+check() {
+  xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
+}
+
+_pick() {
+  local p="$1" f d; shift
+  for f; do
+d="$srcdir/$p/${f#$pkgdir/}"
+mkdir -p "$(dirname "$d")"
+mv "$f" "$d"
+rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+package_libxkbcommon() {
+  depends=(xkeyboard-config libxml2)
+  optdepends=('libxkbcommon-x11: xkbcli interactive-x11'
+  'wayland: xkbcli interactive-wayland')
+  provides=(libxkbcommon.so libxkbregistry.so)
+
+  meson install -C build --destdir "$pkgdir"
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/LICENSE
+
+  _pick libxkbcommon-doc "$pkgdir"/usr/share/doc
+
+  _pick libxkbcommon-x11 "$pkgdir"/usr/lib/*x11*
+  _pick libxkbcommon-x11 "$pkgdir"/usr/lib/pkgconfig/*x11*
+  _pick libxkbcommon-x11 "$pkgdir"/usr/lib/xkbc

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

2022-02-04 Thread Jan Steffens via arch-commits
Date: Saturday, February 5, 2022 @ 03:00:41
  Author: heftig
Revision: 1126368

1.4.0-1

Modified:
  lib32-libxkbcommon/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 01:28:08 UTC (rev 1126367)
+++ PKGBUILD2022-02-05 03:00:41 UTC (rev 1126368)
@@ -8,7 +8,7 @@
   lib32-libxkbcommon
   lib32-libxkbcommon-x11
 )
-pkgver=1.3.1
+pkgver=1.4.0
 pkgrel=1
 pkgdesc='Keymap handling library for toolkits and window systems (32-bit)'
 url=https://xkbcommon.org/
@@ -27,7 +27,7 @@
   xorg-server-xvfb
   libgl
 )
-_tag=e97297b5ce1201a3992f2de5fb1118d73eb904e4
+_tag=6e8f0d331715a3672f5c663b704b9ea5caabe113
 source=(git+https://github.com/xkbcommon/libxkbcommon#tag=${_tag})
 sha256sums=('SKIP')
 
@@ -43,7 +43,8 @@
 
   arch-meson libxkbcommon build \
 --libdir=/usr/lib32 \
--D enable-docs=false
+-D enable-docs=false \
+-D enable-tools=false
   meson compile -C build
 }
 



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

2022-02-04 Thread Jan Steffens via arch-commits
Date: Saturday, February 5, 2022 @ 03:00:28
  Author: heftig
Revision: 436230

1.4.0-1

Modified:
  libxkbcommon/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 02:41:07 UTC (rev 436229)
+++ PKGBUILD2022-02-05 03:00:28 UTC (rev 436230)
@@ -4,7 +4,7 @@
 
 pkgbase=libxkbcommon
 pkgname=(libxkbcommon libxkbcommon-doc libxkbcommon-x11)
-pkgver=1.3.1
+pkgver=1.4.0
 pkgrel=1
 pkgdesc="Keymap handling library for toolkits and window systems"
 url="https://xkbcommon.org/";
@@ -13,7 +13,7 @@
 makedepends=(xkeyboard-config libxml2 libxcb wayland wayland-protocols doxygen
  git meson xorgproto)
 checkdepends=(xorg-server-xvfb libgl)
-_commit=88222c8d40543c29af781f7d7e25d202ff40e4b7  # tags/xkbcommon-1.3.1^0
+_commit=ea6580cc3913d93655ecf92a5913de652315efc3  # tags/xkbcommon-1.4.0^0
 source=("git+https://github.com/xkbcommon/libxkbcommon#commit=$_commit";)
 sha256sums=('SKIP')
 



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

2022-02-04 Thread Jan Steffens via arch-commits
Date: Saturday, February 5, 2022 @ 02:41:07
  Author: heftig
Revision: 436229

archrelease: copy trunk to testing-x86_64

Added:
  upower/repos/testing-x86_64/
  upower/repos/testing-x86_64/0001-build-Fix-default-udevrulesdir.patch
(from rev 436228, upower/trunk/0001-build-Fix-default-udevrulesdir.patch)
  upower/repos/testing-x86_64/0002-build-Fix-version-macros.patch
(from rev 436228, upower/trunk/0002-build-Fix-version-macros.patch)
  upower/repos/testing-x86_64/PKGBUILD
(from rev 436228, upower/trunk/PKGBUILD)

---+
 0001-build-Fix-default-udevrulesdir.patch |   23 
 0002-build-Fix-version-macros.patch   |   31 +
 PKGBUILD  |   50 
 3 files changed, 104 insertions(+)

Copied: upower/repos/testing-x86_64/0001-build-Fix-default-udevrulesdir.patch 
(from rev 436228, upower/trunk/0001-build-Fix-default-udevrulesdir.patch)
===
--- testing-x86_64/0001-build-Fix-default-udevrulesdir.patch
(rev 0)
+++ testing-x86_64/0001-build-Fix-default-udevrulesdir.patch2022-02-05 
02:41:07 UTC (rev 436229)
@@ -0,0 +1,23 @@
+From  Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" 
+Date: Sat, 5 Feb 2022 02:26:48 +
+Subject: [PATCH] build: Fix default udevrulesdir
+
+We need to append 'rules.d' to the udev_dir.
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index f87de19b98cf..3858cbe0afdf 100644
+--- a/meson.build
 b/meson.build
+@@ -90,7 +90,7 @@ endif
+ udevrulesdir = get_option('udevrulesdir')
+ if udevrulesdir == 'auto'
+ udev_dep = dependency('udev', required: true)
+-udevrulesdir = udev_dep.get_pkgconfig_variable('udev_dir')
++udevrulesdir = udev_dep.get_pkgconfig_variable('udev_dir') / 'rules.d'
+ endif
+ 
+ dbusdir = get_option('datadir') / 'dbus-1'

Copied: upower/repos/testing-x86_64/0002-build-Fix-version-macros.patch (from 
rev 436228, upower/trunk/0002-build-Fix-version-macros.patch)
===
--- testing-x86_64/0002-build-Fix-version-macros.patch  
(rev 0)
+++ testing-x86_64/0002-build-Fix-version-macros.patch  2022-02-05 02:41:07 UTC 
(rev 436229)
@@ -0,0 +1,31 @@
+From  Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" 
+Date: Sat, 5 Feb 2022 02:30:52 +
+Subject: [PATCH] build: Fix version macros
+
+The project version is a string. We need to split it into an array of
+version components.
+---
+ libupower-glib/meson.build | 11 ---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/libupower-glib/meson.build b/libupower-glib/meson.build
+index 1bab59b80390..2ff7baf51e85 100644
+--- a/libupower-glib/meson.build
 b/libupower-glib/meson.build
+@@ -1,7 +1,12 @@
++version_arr = meson.project_version().split('.')
++major_version = version_arr[0].to_int()
++minor_version = version_arr[1].to_int()
++micro_version = version_arr[2].to_int()
++
+ cdata = configuration_data()
+-cdata.set('UP_MAJOR_VERSION', meson.project_version()[0])
+-cdata.set('UP_MINOR_VERSION', meson.project_version()[1])
+-cdata.set('UP_MICRO_VERSION', meson.project_version()[2])
++cdata.set('UP_MAJOR_VERSION', major_version)
++cdata.set('UP_MINOR_VERSION', minor_version)
++cdata.set('UP_MICRO_VERSION', micro_version)
+ 
+ up_version_h = configure_file(
+ output: 'up-version.h',

Copied: upower/repos/testing-x86_64/PKGBUILD (from rev 436228, 
upower/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-02-05 02:41:07 UTC (rev 436229)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Maintainer: Jan de Groot 
+
+pkgname=upower
+pkgver=0.99.14
+pkgrel=1
+pkgdesc="Abstraction for enumerating power devices, listening to device events 
and querying history and statistics"
+url="https://upower.freedesktop.org";
+arch=(x86_64)
+license=(GPL)
+depends=(systemd libimobiledevice libgudev)
+makedepends=(docbook-xsl gobject-introspection python git gtk-doc meson)
+checkdepends=(python-{dbus,dbusmock,gobject} umockdev)
+backup=(etc/UPower/UPower.conf)
+_commit=ab9520a7aad3795be7975e021577093a6e85946c  # tags/v0.99.14^0
+source=("git+https://gitlab.freedesktop.org/upower/upower.git#commit=$_commit";
+0001-build-Fix-default-udevrulesdir.patch
+0002-build-Fix-version-macros.patch)
+sha256sums=('SKIP'
+'8891e9baddca739f41a9323da94fd38c61f42e9267b0b42597f69fb3f4d8bf69'
+'68a916b1058dcc7b21e8e7568e6998bf929bb586b94500124739c1059107e256')
+
+pkgver() {
+  cd upower
+  git describe --tags | sed -e 
's/^v\|^UPOWER_//;s/_/\./g;s/[^-]

[arch-commits] Commit in upower/trunk (3 files)

2022-02-04 Thread Jan Steffens via arch-commits
Date: Saturday, February 5, 2022 @ 02:40:53
  Author: heftig
Revision: 436228

add meson fixes

Added:
  upower/trunk/0001-build-Fix-default-udevrulesdir.patch
  upower/trunk/0002-build-Fix-version-macros.patch
Modified:
  upower/trunk/PKGBUILD

---+
 0001-build-Fix-default-udevrulesdir.patch |   23 
 0002-build-Fix-version-macros.patch   |   31 
 PKGBUILD  |   14 +---
 3 files changed, 65 insertions(+), 3 deletions(-)

Added: 0001-build-Fix-default-udevrulesdir.patch
===
--- 0001-build-Fix-default-udevrulesdir.patch   (rev 0)
+++ 0001-build-Fix-default-udevrulesdir.patch   2022-02-05 02:40:53 UTC (rev 
436228)
@@ -0,0 +1,23 @@
+From  Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" 
+Date: Sat, 5 Feb 2022 02:26:48 +
+Subject: [PATCH] build: Fix default udevrulesdir
+
+We need to append 'rules.d' to the udev_dir.
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index f87de19b98cf..3858cbe0afdf 100644
+--- a/meson.build
 b/meson.build
+@@ -90,7 +90,7 @@ endif
+ udevrulesdir = get_option('udevrulesdir')
+ if udevrulesdir == 'auto'
+ udev_dep = dependency('udev', required: true)
+-udevrulesdir = udev_dep.get_pkgconfig_variable('udev_dir')
++udevrulesdir = udev_dep.get_pkgconfig_variable('udev_dir') / 'rules.d'
+ endif
+ 
+ dbusdir = get_option('datadir') / 'dbus-1'

Added: 0002-build-Fix-version-macros.patch
===
--- 0002-build-Fix-version-macros.patch (rev 0)
+++ 0002-build-Fix-version-macros.patch 2022-02-05 02:40:53 UTC (rev 436228)
@@ -0,0 +1,31 @@
+From  Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" 
+Date: Sat, 5 Feb 2022 02:30:52 +
+Subject: [PATCH] build: Fix version macros
+
+The project version is a string. We need to split it into an array of
+version components.
+---
+ libupower-glib/meson.build | 11 ---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/libupower-glib/meson.build b/libupower-glib/meson.build
+index 1bab59b80390..2ff7baf51e85 100644
+--- a/libupower-glib/meson.build
 b/libupower-glib/meson.build
+@@ -1,7 +1,12 @@
++version_arr = meson.project_version().split('.')
++major_version = version_arr[0].to_int()
++minor_version = version_arr[1].to_int()
++micro_version = version_arr[2].to_int()
++
+ cdata = configuration_data()
+-cdata.set('UP_MAJOR_VERSION', meson.project_version()[0])
+-cdata.set('UP_MINOR_VERSION', meson.project_version()[1])
+-cdata.set('UP_MICRO_VERSION', meson.project_version()[2])
++cdata.set('UP_MAJOR_VERSION', major_version)
++cdata.set('UP_MINOR_VERSION', minor_version)
++cdata.set('UP_MICRO_VERSION', micro_version)
+ 
+ up_version_h = configure_file(
+ output: 'up-version.h',

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 02:23:58 UTC (rev 436227)
+++ PKGBUILD2022-02-05 02:40:53 UTC (rev 436228)
@@ -13,8 +13,12 @@
 checkdepends=(python-{dbus,dbusmock,gobject} umockdev)
 backup=(etc/UPower/UPower.conf)
 _commit=ab9520a7aad3795be7975e021577093a6e85946c  # tags/v0.99.14^0
-source=("git+https://gitlab.freedesktop.org/upower/upower.git#commit=$_commit";)
-sha256sums=('SKIP')
+source=("git+https://gitlab.freedesktop.org/upower/upower.git#commit=$_commit";
+0001-build-Fix-default-udevrulesdir.patch
+0002-build-Fix-version-macros.patch)
+sha256sums=('SKIP'
+'8891e9baddca739f41a9323da94fd38c61f42e9267b0b42597f69fb3f4d8bf69'
+'68a916b1058dcc7b21e8e7568e6998bf929bb586b94500124739c1059107e256')
 
 pkgver() {
   cd upower
@@ -23,10 +27,14 @@
 
 prepare() {
   cd upower
+
+  # meson fixes
+  git apply -3 ../0001-build-Fix-default-udevrulesdir.patch
+  git apply -3 ../0002-build-Fix-version-macros.patch
 }
 
 build() {
-  arch-meson upower build -D udevrulesdir=/usr/lib/udev/rules.d
+  arch-meson upower build
   meson compile -C build
 }
 



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

2022-02-04 Thread Jan Steffens via arch-commits
Date: Saturday, February 5, 2022 @ 02:23:58
  Author: heftig
Revision: 436227

0.99.14-1

Modified:
  upower/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:40:05 UTC (rev 436226)
+++ PKGBUILD2022-02-05 02:23:58 UTC (rev 436227)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot 
 
 pkgname=upower
-pkgver=0.99.13
+pkgver=0.99.14
 pkgrel=1
 pkgdesc="Abstraction for enumerating power devices, listening to device events 
and querying history and statistics"
 url="https://upower.freedesktop.org";
@@ -9,35 +9,34 @@
 arch=(x86_64)
 license=(GPL)
 depends=(systemd libimobiledevice libgudev)
-makedepends=(docbook-xsl gobject-introspection python git gtk-doc)
+makedepends=(docbook-xsl gobject-introspection python git gtk-doc meson)
+checkdepends=(python-{dbus,dbusmock,gobject} umockdev)
 backup=(etc/UPower/UPower.conf)
-_commit=0f6cc0a10be22d7ddd684e1cd851e4364a440494  # tags/UPOWER_0_99_13^0
+_commit=ab9520a7aad3795be7975e021577093a6e85946c  # tags/v0.99.14^0
 source=("git+https://gitlab.freedesktop.org/upower/upower.git#commit=$_commit";)
-md5sums=('SKIP')
+sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
-  git describe --tags | sed -e 's/UPOWER_//' -e 's/_/\./g' -e 's/-/+/g'
+  cd upower
+  git describe --tags | sed -e 
's/^v\|^UPOWER_//;s/_/\./g;s/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
+  cd upower
 }
 
 build() {
-  cd $pkgname
-  ./configure \
---prefix=/usr \
---sysconfdir=/etc \
---localstatedir=/var \
---libexecdir=/usr/lib \
---disable-static \
---enable-gtk-doc
-  make
+  arch-meson upower build -D udevrulesdir=/usr/lib/udev/rules.d
+  meson compile -C build
 }
 
+check() {
+  meson test -C build --print-errorlogs
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  depends+=(libg{lib,object,io}-2.0.so)
+  provides+=(libupower-glib.so)
+
+  meson install -C build --destdir "$pkgdir"
 }



[arch-commits] Commit in lib32-fontconfig/repos/multilib-testing-x86_64 (6 files)

2022-02-04 Thread Jan Steffens via arch-commits
Date: Saturday, February 5, 2022 @ 01:28:08
  Author: heftig
Revision: 1126367

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-fontconfig/repos/multilib-testing-x86_64/PKGBUILD
(from rev 1126366, lib32-fontconfig/trunk/PKGBUILD)
  lib32-fontconfig/repos/multilib-testing-x86_64/fontconfig-32.hook
(from rev 1126366, lib32-fontconfig/trunk/fontconfig-32.hook)
  lib32-fontconfig/repos/multilib-testing-x86_64/fontconfig-32.install
(from rev 1126366, lib32-fontconfig/trunk/fontconfig-32.install)
Deleted:
  lib32-fontconfig/repos/multilib-testing-x86_64/PKGBUILD
  lib32-fontconfig/repos/multilib-testing-x86_64/fontconfig-32.hook
  lib32-fontconfig/repos/multilib-testing-x86_64/fontconfig-32.install

---+
 PKGBUILD  |  134 
 fontconfig-32.hook|   28 +-
 fontconfig-32.install |   22 +++
 3 files changed, 92 insertions(+), 92 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-05 01:28:00 UTC (rev 1126366)
+++ PKGBUILD2022-02-05 01:28:08 UTC (rev 1126367)
@@ -1,67 +0,0 @@
-# Maintainer: Maxime Gauduin 
-# Contributor: Jan Alexander Steffens (heftig) 
-# Contributor: Jan de Groot 
-
-pkgname=lib32-fontconfig
-pkgver=2.13.95
-pkgrel=1
-epoch=2
-pkgdesc='Library for configuring and customizing font access'
-url=https://www.freedesktop.org/wiki/Software/fontconfig/
-arch=(x86_64)
-license=(custom)
-depends=(
-  fontconfig
-  lib32-expat
-  libfreetype.so
-)
-makedepends=(
-  git
-  meson
-  gperf
-  lib32-freetype2
-)
-provides=(libfontconfig.so)
-install=fontconfig-32.install
-_tag=8cdddb07a5c414b346b8a20c2c511e00bd9050d9
-source=(
-  git+https://gitlab.freedesktop.org/fontconfig/fontconfig.git#tag=${_tag}
-  fontconfig-32.hook
-)
-b2sums=('SKIP'
-
'1cba71810c9bde6ecb6fac124e458fb7260be3ea72ade82b836e0e8e1eaa7c7df31e6e92e405fa420325cec0ce14d0f19630e777308032b0c26ec96a3d668d93')
-
-prepare() {
-  cd fontconfig
-}
-
-pkgver() {
-  cd fontconfig
-  git describe --tags
-}
-
-build() {
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
-  arch-meson fontconfig build \
---libdir=/usr/lib32 \
--D doc=disabled
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  meson install -C build --destdir "${pkgdir}"
-  rm -r "${pkgdir}"/{etc,usr/{include,share}}
-  mv "${pkgdir}"/usr/bin/fc-cache{,-32}
-  find "${pkgdir}"/usr/bin -type f -not -name '*-32' -delete
-  install -Dm 644 *.hook -t "${pkgdir}"/usr/share/libalpm/hooks/
-  install -dm 755 "${pkgdir}"/usr/share/licenses
-  ln -s fontconfig "${pkgdir}"/usr/share/licenses/lib32-fontconfig
-}
-
-# vim:set sw=2 et:

Copied: lib32-fontconfig/repos/multilib-testing-x86_64/PKGBUILD (from rev 
1126366, lib32-fontconfig/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-05 01:28:08 UTC (rev 1126367)
@@ -0,0 +1,67 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Jan Alexander Steffens (heftig) 
+# Contributor: Jan de Groot 
+
+pkgname=lib32-fontconfig
+pkgver=2.13.96
+pkgrel=1
+epoch=2
+pkgdesc='Library for configuring and customizing font access'
+url=https://www.freedesktop.org/wiki/Software/fontconfig/
+arch=(x86_64)
+license=(custom)
+depends=(
+  fontconfig
+  lib32-expat
+  libfreetype.so
+)
+makedepends=(
+  git
+  meson
+  gperf
+  lib32-freetype2
+)
+provides=(libfontconfig.so)
+install=fontconfig-32.install
+_tag=2b7f0b47824830d1f5fab85f3576e2230ab43175
+source=(
+  git+https://gitlab.freedesktop.org/fontconfig/fontconfig.git#tag=${_tag}
+  fontconfig-32.hook
+)
+b2sums=('SKIP'
+
'1cba71810c9bde6ecb6fac124e458fb7260be3ea72ade82b836e0e8e1eaa7c7df31e6e92e405fa420325cec0ce14d0f19630e777308032b0c26ec96a3d668d93')
+
+prepare() {
+  cd fontconfig
+}
+
+pkgver() {
+  cd fontconfig
+  git describe --tags
+}
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+  arch-meson fontconfig build \
+--libdir=/usr/lib32 \
+-D doc=disabled
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "${pkgdir}"
+  rm -r "${pkgdir}"/{etc,usr/{include,share}}
+  mv "${pkgdir}"/usr/bin/fc-cache{,-32}
+  find "${pkgdir}"/usr/bin -type f -not -name '*-32' -delete
+  install -Dm 644 *.hook -t "${pkgdir}"/usr/share/libalpm/hooks/
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s fontconfig "${pkgdir}"/usr/share/licenses/lib32-fontconfig
+}
+
+# vim:set sw=2 et:

Deleted: fontconfig-32.hook
===
--- fontconfig-32.hook  2022-02-05 01:28:00 UTC (rev 1126366)
+++ fontconfig-32.hook  2022-02-05 01:28:08 UTC (rev 1126367)
@@ -1,14 +0,0 @@
-[Trigger]
-Type = Path
-Operat

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

2022-02-04 Thread Jan Steffens via arch-commits
Date: Saturday, February 5, 2022 @ 01:28:00
  Author: heftig
Revision: 1126366

2.13.96-1

Modified:
  lib32-fontconfig/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:20:35 UTC (rev 1126365)
+++ PKGBUILD2022-02-05 01:28:00 UTC (rev 1126366)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot 
 
 pkgname=lib32-fontconfig
-pkgver=2.13.95
+pkgver=2.13.96
 pkgrel=1
 epoch=2
 pkgdesc='Library for configuring and customizing font access'
@@ -23,7 +23,7 @@
 )
 provides=(libfontconfig.so)
 install=fontconfig-32.install
-_tag=8cdddb07a5c414b346b8a20c2c511e00bd9050d9
+_tag=2b7f0b47824830d1f5fab85f3576e2230ab43175
 source=(
   git+https://gitlab.freedesktop.org/fontconfig/fontconfig.git#tag=${_tag}
   fontconfig-32.hook



[arch-commits] Commit in haskell-cabal-install-parsers/repos (2 files)

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:20:35
  Author: felixonmars
Revision: 1126365

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cabal-install-parsers/repos/community-staging-x86_64/
  haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD
(from rev 1126364, haskell-cabal-install-parsers/trunk/PKGBUILD)

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

Copied: haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD 
(from rev 1126364, haskell-cabal-install-parsers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-05 00:20:35 UTC (rev 1126365)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-install-parsers
+pkgname=haskell-cabal-install-parsers
+pkgver=0.4.2
+pkgrel=77
+pkgdesc="Utilities to work with cabal-install files"
+url="https://haskell-ci.rtfd.org/";
+license=("GPL" "BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-binary-instances'
+ 'haskell-cryptohash-sha256' 'haskell-lukko' 'haskell-network-uri' 
'haskell-tar')
+makedepends=('ghc' 'uusi' 'haskell-ansi-terminal' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tree-diff')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('f41dd0fe65994330aca0b372f96e370eeaf5b7f9909682aa7d394244e4144358b70e482b2d4cd54ba78068b202155fb6dacd38b81eadeaa877c6bc5bbf2ba8fb')
+
+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
+  cabal update  # Generate cabal config for tests
+  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-cabal-install-parsers/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:20:25
  Author: felixonmars
Revision: 1126364

upgpkg: haskell-cabal-install-parsers 0.4.2-77: rebuild with 
quickcheck-instances 0.3.26

Modified:
  haskell-cabal-install-parsers/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:19:27 UTC (rev 1126363)
+++ PKGBUILD2022-02-05 00:20:25 UTC (rev 1126364)
@@ -3,7 +3,7 @@
 _hkgname=cabal-install-parsers
 pkgname=haskell-cabal-install-parsers
 pkgver=0.4.2
-pkgrel=76
+pkgrel=77
 pkgdesc="Utilities to work with cabal-install files"
 url="https://haskell-ci.rtfd.org/";
 license=("GPL" "BSD")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:19:27
  Author: felixonmars
Revision: 1126363

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hie-bios/repos/community-staging-x86_64/
  haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD
(from rev 1126362, haskell-hie-bios/trunk/PKGBUILD)

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

Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 
1126362, haskell-hie-bios/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-05 00:19:27 UTC (rev 1126363)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hie-bios
+pkgname=haskell-hie-bios
+pkgver=0.7.6
+pkgrel=48
+pkgdesc="Set up a GHC API session"
+url="https://github.com/mpickering/hie-bios";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-conduit'
+ 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 
'haskell-exceptions' 'haskell-extra'
+ 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger'
+ 'haskell-optparse-applicative' 'haskell-temporary' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-hunit')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";
+
$pkgname-ghc-9.0.2.patch::https://github.com/haskell/hie-bios/commit/da0cb23384cc6e9b393792f8f25a3c174a4edafa.patch)
+sha512sums=('33ffb37f5f39ebd9e4000de298d2645c15426818704f1d806b5f186d0d0d82bfd22df70aed181a9eab9d3b2581055a1e9c0925051fa05d97f38f4c8c7c7d0d14'
+
'5fa94f58c47d8597a8b797ea526422463569983332e1acd1769e6d67fd85dcbaea1b8ad2ba72f11f9755aaa49a101f4ad601ce5121756638df7ee6e478619885')
+
+prepare() {
+  cd $_hkgname-$pkgver
+
+  patch -Np1 -i ../$pkgname-ghc-9.0.2.patch
+
+  # It is broken only in the hackage tarball
+  sed -i 's/FilePah/FilePath/' tests/ParserTests.hs
+
+  # Additional fixes for dynamic ghc
+  sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs
+
+  # https://github.com/mpickering/hie-bios/issues/290
+  chmod +x tests/projects/*/*.sh
+}
+
+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  # Generate cabal config for tests
+  # Test failures are related to process-1.6.13
+  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-hie-bios/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:19:20
  Author: felixonmars
Revision: 1126362

upgpkg: haskell-hie-bios 0.7.6-48: rebuild with quickcheck-instances 0.3.26

Modified:
  haskell-hie-bios/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:18:16 UTC (rev 1126361)
+++ PKGBUILD2022-02-05 00:19:20 UTC (rev 1126362)
@@ -3,7 +3,7 @@
 _hkgname=hie-bios
 pkgname=haskell-hie-bios
 pkgver=0.7.6
-pkgrel=47
+pkgrel=48
 pkgdesc="Set up a GHC API session"
 url="https://github.com/mpickering/hie-bios";
 license=("BSD")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:18:16
  Author: felixonmars
Revision: 1126361

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hopenpgp/repos/community-staging-x86_64/PKGBUILD (from rev 
1126360, haskell-hopenpgp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-05 00:18:16 UTC (rev 1126361)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hOpenPGP
+pkgname=haskell-hopenpgp
+pkgver=2.9.7
+pkgrel=9
+pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
+url="http://floss.scru.org/hOpenPGP/";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-asn1-encoding' 
'haskell-attoparsec'
+ 'haskell-base16-bytestring' 'haskell-bifunctors' 'haskell-bz2' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite'
+ 'haskell-crypto-cipher-types' 'haskell-errors' 'haskell-hashable'
+ 'haskell-incremental-parser' 'haskell-ixset-typed' 'haskell-lens' 
'haskell-memory'
+ 'haskell-monad-loops' 'haskell-nettle' 'haskell-network-uri'
+ 'haskell-openpgp-asciiarmor' 'haskell-prettyprinter' 
'haskell-resourcet' 'haskell-split'
+ 'haskell-time-locale-compat' 'haskell-unliftio-core' 
'haskell-unordered-containers'
+ 'haskell-zlib')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c8589b9bbbc8e211594946a1cad81bda51375f388f7252fab8d87c64ae2cc62e3fb038b405329fee8e7887335b17cf0f82014dc31c60ca1cf34c808d4f0e9b26')
+
+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 \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:18:09
  Author: felixonmars
Revision: 1126360

upgpkg: haskell-hopenpgp 2.9.7-9: rebuild with quickcheck-instances 0.3.26

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:14:22 UTC (rev 1126359)
+++ PKGBUILD2022-02-05 00:18:09 UTC (rev 1126360)
@@ -3,7 +3,7 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.9.7
-pkgrel=8
+pkgrel=9
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/";
 license=('MIT')



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:14:22
  Author: felixonmars
Revision: 1126359

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:14:15
  Author: felixonmars
Revision: 1126358

upgpkg: haskell-hasql-notifications 0.2.0.0-65: rebuild with 
quickcheck-instances 0.3.26

Modified:
  haskell-hasql-notifications/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:13:47 UTC (rev 1126357)
+++ PKGBUILD2022-02-05 00:14:15 UTC (rev 1126358)
@@ -3,7 +3,7 @@
 _hkgname=hasql-notifications
 pkgname=haskell-hasql-notifications
 pkgver=0.2.0.0
-pkgrel=64
+pkgrel=65
 pkgdesc="LISTEN/NOTIFY support for Hasql"
 url="https://github.com/diogob/hasql-notifications";
 license=("BSD")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:13:47
  Author: felixonmars
Revision: 1126357

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:13:40
  Author: felixonmars
Revision: 1126356

upgpkg: haskell-hasql-dynamic-statements 0.3.1-63: rebuild with 
quickcheck-instances 0.3.26

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

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:13:13 UTC (rev 1126355)
+++ PKGBUILD2022-02-05 00:13:40 UTC (rev 1126356)
@@ -3,7 +3,7 @@
 _hkgname=hasql-dynamic-statements
 pkgname=haskell-hasql-dynamic-statements
 pkgver=0.3.1
-pkgrel=62
+pkgrel=63
 pkgdesc="Toolkit for constructing Hasql statements dynamically"
 url="https://github.com/nikita-volkov/hasql-dynamic-statements";
 license=("MIT")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:13:13
  Author: felixonmars
Revision: 1126355

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:13:05
  Author: felixonmars
Revision: 1126354

upgpkg: haskell-optparse-simple 0.1.1.4-86: rebuild with quickcheck-instances 
0.3.26

Modified:
  haskell-optparse-simple/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:12:42 UTC (rev 1126353)
+++ PKGBUILD2022-02-05 00:13:05 UTC (rev 1126354)
@@ -4,7 +4,7 @@
 _hkgname=optparse-simple
 pkgname=haskell-optparse-simple
 pkgver=0.1.1.4
-pkgrel=85
+pkgrel=86
 pkgdesc="Simple interface to optparse-applicative"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("BSD")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:12:42
  Author: felixonmars
Revision: 1126353

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hledger/repos/community-staging-x86_64/PKGBUILD (from rev 1126352, 
hledger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-05 00:12:42 UTC (rev 1126353)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger
+pkgver=1.24.1
+pkgrel=28
+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 hledger/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:12:35
  Author: felixonmars
Revision: 1126352

upgpkg: hledger 1.24.1-28: rebuild with quickcheck-instances 0.3.26

Modified:
  hledger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:11:36 UTC (rev 1126351)
+++ PKGBUILD2022-02-05 00:12:35 UTC (rev 1126352)
@@ -3,7 +3,7 @@
 
 pkgname=hledger
 pkgver=1.24.1
-pkgrel=27
+pkgrel=28
 pkgdesc="Command-line interface for the hledger accounting system"
 url="http://hledger.org";
 license=("GPL")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:11:36
  Author: felixonmars
Revision: 1126351

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-yaml/repos/community-staging-x86_64/PKGBUILD (from rev 1126350, 
dhall-yaml/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-05 00:11:36 UTC (rev 1126351)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-yaml
+pkgver=1.2.9
+pkgrel=28
+pkgdesc="Convert between Dhall and YAML"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml";
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 
'haskell-ansi-terminal'
+ 'dhall' 'dhall-json' 'haskell-optparse-applicative' 
'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('3675bd07c4798f1329309e47d3c2563bb61a4ff6d23df3c5a02f7f79d89a3ac15113b7e9a908347793c53a695f9ad27be1964d92114896c6c42d4de7d7f1a60d')
+
+prepare() {
+  cd $pkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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 $pkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:11:28
  Author: felixonmars
Revision: 1126350

upgpkg: dhall-yaml 1.2.9-28: rebuild with quickcheck-instances 0.3.26

Modified:
  dhall-yaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:10:56 UTC (rev 1126349)
+++ PKGBUILD2022-02-05 00:11:28 UTC (rev 1126350)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-yaml
 pkgver=1.2.9
-pkgrel=27
+pkgrel=28
 pkgdesc="Convert between Dhall and YAML"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml";
 license=("GPL3")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:10:56
  Author: felixonmars
Revision: 1126349

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-lsp-server/repos/community-staging-x86_64/
  dhall-lsp-server/repos/community-staging-x86_64/PKGBUILD
(from rev 1126348, dhall-lsp-server/trunk/PKGBUILD)

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

Copied: dhall-lsp-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1126348, dhall-lsp-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-05 00:10:56 UTC (rev 1126349)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-lsp-server
+pkgver=1.0.17
+pkgrel=29
+pkgdesc="Language Server Protocol (LSP) server for Dhall"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme";
+license=("custom:MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-data-default' 'dhall'
+ 'dhall-json' 'haskell-lsp0' 'haskell-hslogger' 'haskell-lens' 
'haskell-lens-family-core'
+ 'haskell-megaparsec' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-prettyprinter' 'haskell-rope-utf16-splay' 
'haskell-unordered-containers'
+ 'haskell-uri-encode')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-doctest' 'haskell-hspec' 
'haskell-lsp0-types'
+ 'haskell-lsp0-test' 'haskell-tasty' 'haskell-tasty-hspec')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('79781f076e6725cbd5cfdb26b9113baf3c25c5ba50ba09d829dd837637fa0d1ebd8849e38ee13fa3ec0f70e8dd7e85ef1587f99bd2437f8cffcc2903fdea8af4')
+
+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'
+
+  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
+  LD_LIBRARY_PATH="$PWD/dist/build" 
PATH="$PWD/dist/build/dhall-lsp-server:$PATH" runhaskell Setup test 
--show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:10:49
  Author: felixonmars
Revision: 1126348

upgpkg: dhall-lsp-server 1.0.17-29: rebuild with quickcheck-instances 0.3.26

Modified:
  dhall-lsp-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:09:58 UTC (rev 1126347)
+++ PKGBUILD2022-02-05 00:10:49 UTC (rev 1126348)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-lsp-server
 pkgver=1.0.17
-pkgrel=28
+pkgrel=29
 pkgdesc="Language Server Protocol (LSP) server for Dhall"
 
url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme";
 license=("custom:MIT")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:09:58
  Author: felixonmars
Revision: 1126347

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
1126346, haskell-persistent-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-05 00:09:58 UTC (rev 1126347)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-qq
+pkgname=haskell-persistent-qq
+pkgver=2.12.0.1
+pkgrel=106
+pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
+url="https://github.com/yesod-web/persistent";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta' 'haskell-persistent')
+makedepends=('ghc' 'haskell-aeson' 'haskell-fast-logger' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-monad-logger' 'haskell-persistent-sqlite' 
'haskell-resourcet'
+ 'haskell-unliftio')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('14a06fd7b2b773a80f0963658bdc74f17755579ddee45f7875208ad4046d7cdee096cbf2fdba41b34baa43bc6fecb901cfdbd65c12845a9381844bf14afd6df6')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-persistent-qq/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:09:49
  Author: felixonmars
Revision: 1126346

upgpkg: haskell-persistent-qq 2.12.0.1-106: rebuild with quickcheck-instances 
0.3.26

Modified:
  haskell-persistent-qq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:08:50 UTC (rev 1126345)
+++ PKGBUILD2022-02-05 00:09:49 UTC (rev 1126346)
@@ -3,7 +3,7 @@
 _hkgname=persistent-qq
 pkgname=haskell-persistent-qq
 pkgver=2.12.0.1
-pkgrel=105
+pkgrel=106
 pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
 url="https://github.com/yesod-web/persistent";
 license=('MIT')



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:08:50
  Author: felixonmars
Revision: 1126345

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from 
rev 1126344, haskell-yesod-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-05 00:08:50 UTC (rev 1126345)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0.7
+pkgrel=131
+pkgdesc="Some helpers for using Persistent from Yesod."
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-blaze-builder" "haskell-conduit" 
"haskell-persistent"
+ "haskell-resource-pool" "haskell-resourcet" "haskell-yesod-core")
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-wai-extra' 
'haskell-persistent-sqlite')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9312189947a6ba97bec12c057535a54bb024847ee0f08ba50473a78327f7ca25083738f0742c0847d0b329ef0e764412c85ac32aab4ebde2851a29e60e82d337')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d persistent-template $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-persistent/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:08:43
  Author: felixonmars
Revision: 1126344

upgpkg: haskell-yesod-persistent 1.6.0.7-131: rebuild with quickcheck-instances 
0.3.26

Modified:
  haskell-yesod-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-05 00:08:05 UTC (rev 1126343)
+++ PKGBUILD2022-02-05 00:08:43 UTC (rev 1126344)
@@ -4,7 +4,7 @@
 _hkgname=yesod-persistent
 pkgname=haskell-yesod-persistent
 pkgver=1.6.0.7
-pkgrel=130
+pkgrel=131
 pkgdesc="Some helpers for using Persistent from Yesod."
 url="http://www.yesodweb.com/";
 license=("MIT")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:08:05
  Author: felixonmars
Revision: 1126343

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 1126342, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-05 00:08:05 UTC (rev 1126343)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+# Maintainer: Caleb Maclennan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.14.2
+pkgrel=29
+pkgdesc='Conversion between markup formats'
+url='https://pandoc.org'
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-juicypixels' 'haskell-sha' 'haskell-aeson'
+ 'haskell-aeson-pretty' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-case-insensitive'
+ 'haskell-citeproc' 'haskell-commonmark' 
'haskell-commonmark-extensions'
+ 'haskell-commonmark-pandoc' 'haskell-connection' 
'haskell-data-default'
+ 'haskell-doclayout' 'haskell-doctemplates' 'haskell-emojis' 
'haskell-file-embed'
+ 'haskell-glob' 'haskell-haddock-library' 'haskell-ipynb' 
'haskell-jira-wiki-markup'
+ 'haskell-skylighting' 'haskell-skylighting-core' 'haskell-hslua'
+ 'haskell-hslua-module-path' 'haskell-hslua-module-system' 
'haskell-hslua-module-text'
+ 'haskell-http-client' 'haskell-syb' 'haskell-hsyaml' 
'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-safe' 'haskell-split' 'haskell-texmath' 
'haskell-network'
+ 'haskell-pandoc-types' 'haskell-random' 'haskell-scientific' 
'haskell-tagsoup'
+ 'haskell-temporary' 'haskell-text-conversions' 'haskell-network-uri'
+ 'haskell-unicode-collation' 'haskell-unicode-transforms' 
'haskell-unordered-containers'
+ 'haskell-zip-archive' 'haskell-xml' 'haskell-xml-conduit' 
'haskell-zlib')
+optdepends=('pandoc-crossref: for numbering figures, equations, tables and 
cross-references to them with pandoc-crossref filter'
+'texlive-core: for pdf output')
+conflicts=('haskell-pandoc')
+replaces=('haskell-pandoc')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-lua'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-golden' 
'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('b6ea6e57fe500d4944d84007c693758a47890ef4880836ccdc7bf5b8d8f3e91c17f05e2d34892e308fdb99bacfa2098065af3d7f18d277f685eff81e810eee17')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u citeproc -u unicode-transforms $pkgname.cabal
+
+# TODO: find a better solution
+sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ 
[(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-trypandoc -f-embed_data_files -f-static
+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
+LC_CTYPE=en_US.UTF-8 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}"
+rm "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md"
+install -Dm644 man/pandoc.1 -t "${pkgdir}"/usr/share/man/man1/
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Saturday, February 5, 2022 @ 00:07:56
  Author: felixonmars
Revision: 1126342

upgpkg: pandoc 2.14.2-29: rebuild with quickcheck-instances 0.3.26

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:58:27 UTC (rev 1126341)
+++ PKGBUILD2022-02-05 00:07:56 UTC (rev 1126342)
@@ -4,7 +4,7 @@
 
 pkgname=pandoc
 pkgver=2.14.2
-pkgrel=28
+pkgrel=29
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:58:27
  Author: felixonmars
Revision: 1126341

archrelease: copy trunk to community-staging-x86_64

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

+
 PKGBUILD   |   50 +++
 ghc9.patch |  809 +++
 2 files changed, 859 insertions(+)

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

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

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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:58:18
  Author: felixonmars
Revision: 1126340

upgpkg: cryptol 2.12.0-14: rebuild with quickcheck-instances 0.3.26

Modified:
  cryptol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:55:33 UTC (rev 1126339)
+++ PKGBUILD2022-02-04 23:58:18 UTC (rev 1126340)
@@ -2,7 +2,7 @@
 
 pkgname=cryptol
 pkgver=2.12.0
-pkgrel=13
+pkgrel=14
 pkgdesc="The Language of Cryptography"
 url="https://www.cryptol.net";
 license=("BSD")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:55:33
  Author: felixonmars
Revision: 1126339

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp/repos/community-staging-x86_64/PKGBUILD (from rev 1126338, 
haskell-lsp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 23:55:33 UTC (rev 1126339)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp
+pkgname=haskell-lsp
+pkgver=1.2.0.1
+pkgrel=50
+pkgdesc="Haskell library for the Microsoft Language Server Protocol"
+url="https://github.com/haskell/lsp";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-attoparsec' 
'haskell-data-default'
+ 'haskell-dependent-map' 'haskell-exceptions' 'haskell-hashable' 
'haskell-hslogger'
+ 'haskell-lens' 'haskell-lsp-types' 'haskell-network-uri' 
'haskell-random'
+ 'haskell-scientific' 'haskell-sorted-list' 'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-uuid' 'haskell-unliftio')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck-instances' 'haskell-rope-utf16-splay')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('77c79d06cec9bf5fab707c9c1907ca8428ba15f763cad16c5a4b18fb4ee80a1b04770c2b9579d0f4ba31b16f71c2296501c2bd2d3da2475974b42e3c7daf3838')
+
+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' \
+-fdemo
+
+  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-lsp/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:55:24
  Author: felixonmars
Revision: 1126338

upgpkg: haskell-lsp 1.2.0.1-50: rebuild with quickcheck-instances 0.3.26

Modified:
  haskell-lsp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:54:21 UTC (rev 1126337)
+++ PKGBUILD2022-02-04 23:55:24 UTC (rev 1126338)
@@ -3,7 +3,7 @@
 _hkgname=lsp
 pkgname=haskell-lsp
 pkgver=1.2.0.1
-pkgrel=49
+pkgrel=50
 pkgdesc="Haskell library for the Microsoft Language Server Protocol"
 url="https://github.com/haskell/lsp";
 license=("MIT")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:54:21
  Author: felixonmars
Revision: 1126337

archrelease: copy trunk to community-staging-x86_64

Added:
  idris/repos/community-staging-x86_64/
  idris/repos/community-staging-x86_64/PKGBUILD
(from rev 1126336, idris/trunk/PKGBUILD)

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

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 1126336, 
idris/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 23:54:21 UTC (rev 1126337)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=idris
+pkgver=1.3.3
+pkgrel=323
+pkgdesc="Functional Programming Language with Dependent Types"
+url="https://www.idris-lang.org/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-base64-bytestring' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cheapskate' 'haskell-code-page' 
'haskell-fingertree'
+ 'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 
'haskell-megaparsec'
+ 'haskell-network' 'haskell-optparse-applicative' 
'haskell-parser-combinators'
+ 'haskell-regex-tdfa' 'haskell-safe' 'haskell-split' 
'haskell-terminal-size'
+ 'haskell-uniplate' 'haskell-unordered-containers' 
'haskell-utf8-string' 'haskell-vector'
+ 'haskell-vector-binary-instances' 'haskell-zip-archive')
+makedepends=('ghc' 'uusi' 'haskell-tagged' 'haskell-tasty' 
'haskell-tasty-golden' 'haskell-tasty-rerun'
+ 'nodejs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz";
+
idris-haskeline-0.8.patch::https://github.com/idris-lang/Idris-dev/pull/4871.patch)
+sha512sums=('fc5c65847c8021ed691c7968043a04fcffaed3a44a6339f611fed616fddefa1b5bc2da8e7e6662dfa552981688a1c96571eadc197e4e50ba060de3c6ddbd03de'
+
'4400ea44d61ab5080926fb88c3a9195dda6dfcefb794a335ca00dcdbc9df8a1e6cb2a9b5ed1c906c34fedea8019281b395f030a6267708be68676c8cc6e5b6fa')
+
+prepare() {
+cd Idris-dev-$pkgver
+patch -p1 -i ../idris-haskeline-0.8.patch
+sed -i '1ioverride IDRIS := env LD_PRELOAD=$(shell ls 
../../dist/build/libHSidris-*-ghc*.so) $(IDRIS)' \
+libs/*/Makefile
+sed -i 's/Just sline/sline/' src/Idris/Parser/Stack.hs
+uusi idris.cabal
+}
+
+build() {
+cd Idris-dev-$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 \
+-fFFI -fGMP -f-release -f-freestanding -f-CI -f-execonly 
--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 Idris-dev-$pkgver
+# TODO: figure out the tests
+PATH="$PWD/dist/build:$PWD/dist/build/idris:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" IDRIS_LIBRARY_PATH="$PWD/libs" runhaskell 
Setup test || echo "Tests failed"
+}
+
+package() {
+cd Idris-dev-$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 idris/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:54:13
  Author: felixonmars
Revision: 1126336

upgpkg: idris 1.3.3-323: rebuild with quickcheck-instances 0.3.26

Modified:
  idris/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:47:24 UTC (rev 1126335)
+++ PKGBUILD2022-02-04 23:54:13 UTC (rev 1126336)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.3
-pkgrel=322
+pkgrel=323
 pkgdesc="Functional Programming Language with Dependent Types"
 url="https://www.idris-lang.org/";
 license=("BSD")



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

2022-02-04 Thread Frederik Schwan via arch-commits
Date: Friday, February 4, 2022 @ 23:47:24
  Author: freswa
Revision: 1126335

archrelease: copy trunk to community-x86_64

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

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

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

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



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

2022-02-04 Thread Frederik Schwan via arch-commits
Date: Friday, February 4, 2022 @ 23:47:22
  Author: freswa
Revision: 1126334

upgpkg: libkeccak 1.3.1-1

Modified:
  libkeccak/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:43:39 UTC (rev 1126333)
+++ PKGBUILD2022-02-04 23:47:22 UTC (rev 1126334)
@@ -2,7 +2,7 @@
 # Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
 
 pkgname=libkeccak
-pkgver=1.3
+pkgver=1.3.1
 pkgrel=1
 pkgdesc='Keccak-family hashing library'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 depends=('glibc')
 checkdepends=('valgrind')
 
source=("https://github.com/maandree/libkeccak/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
-b2sums=('2e61c6b46c7479e989b2fc6316d709709308e5a3297314cae73bc37d6f37dc7679216c2c4a63cf69317da966ad681669a792b0d36d688ae75d1deb8010f4d891')
+b2sums=('cbd8466a8be32db633aadcc1cdfd7c09eedd0606d274d0f5e43b0055a5f87672c1ba27052fd03423779b84648379f0095310d8367cef2ed7ba70d49a66e03249')
 
 prepare() {
   cd ${pkgname}-${pkgver}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:43:39
  Author: felixonmars
Revision: 1126333

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-wai-json/repos/community-staging-x86_64/
  haskell-hspec-wai-json/repos/community-staging-x86_64/PKGBUILD
(from rev 1126332, haskell-hspec-wai-json/trunk/PKGBUILD)

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

Copied: haskell-hspec-wai-json/repos/community-staging-x86_64/PKGBUILD (from 
rev 1126332, haskell-hspec-wai-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 23:43:39 UTC (rev 1126333)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hspec-wai-json
+pkgname=haskell-hspec-wai-json
+pkgver=0.11.0
+pkgrel=230
+pkgdesc="Testing JSON APIs with hspec-wai"
+url="https://github.com/hspec/hspec-wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-qq' 
'haskell-case-insensitive'
+ 'haskell-hspec-wai')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('db14622fd95bfb9f52a48da4e8fa345c9fdd7014aeec1cb10d75573738f8020f36d97f7085373b9b2e865a9874f377d5532e29c1f31e27f41bf5c6c89fe68546')
+
+prepare() {
+uusi -u hspec-wai $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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-hspec-wai-json/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:43:32
  Author: felixonmars
Revision: 1126332

upgpkg: haskell-hspec-wai-json 0.11.0-230: rebuild with quickcheck-instances 
0.3.26

Modified:
  haskell-hspec-wai-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:43:08 UTC (rev 1126331)
+++ PKGBUILD2022-02-04 23:43:32 UTC (rev 1126332)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai-json
 pkgname=haskell-hspec-wai-json
 pkgver=0.11.0
-pkgrel=229
+pkgrel=230
 pkgdesc="Testing JSON APIs with hspec-wai"
 url="https://github.com/hspec/hspec-wai";
 license=("MIT")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:43:08
  Author: felixonmars
Revision: 1126331

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
1126330, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 23:43:08 UTC (rev 1126331)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=235
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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-scotty/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:43:00
  Author: felixonmars
Revision: 1126330

upgpkg: haskell-scotty 0.12-235: rebuild with quickcheck-instances 0.3.26

Modified:
  haskell-scotty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:42:25 UTC (rev 1126329)
+++ PKGBUILD2022-02-04 23:43:00 UTC (rev 1126330)
@@ -3,7 +3,7 @@
 _hkgname=scotty
 pkgname=haskell-scotty
 pkgver=0.12
-pkgrel=234
+pkgrel=235
 pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
 url="https://github.com/scotty-web/scotty";
 license=("BSD")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:42:25
  Author: felixonmars
Revision: 1126329

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 1126328, haskell-servant-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 23:42:25 UTC (rev 1126329)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.18.3
+pkgrel=93
+pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
+url="https://haskell-servant.readthedocs.org/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 
'haskell-base64-bytestring'
+ 'haskell-http-api-data' 'haskell-http-media' 'haskell-http-types'
+ 'haskell-network-uri' 'haskell-monad-control' 'haskell-network' 
'haskell-servant'
+ 'haskell-sop-core' 'haskell-string-conversions' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-transformers-base' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-warp'
+ 'haskell-word8')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-wai' 
'haskell-should-not-typecheck'
+ 'haskell-quickcheck' 'haskell-safe' 'haskell-wai-extra' 
'haskell-temporary'
+ 'haskell-transformers-compat')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('c89a676de870cba67b86e818a87f144a316294d6ef786bdcc20017da48089cf0c25fc434ed0b42e81053fae4ad1ac0628443e4d0afb7f17fa53a1b5516272d28')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-servant-server/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:42:17
  Author: felixonmars
Revision: 1126328

upgpkg: haskell-servant-server 0.18.3-93: rebuild with quickcheck-instances 
0.3.26

Modified:
  haskell-servant-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:41:23 UTC (rev 1126327)
+++ PKGBUILD2022-02-04 23:42:17 UTC (rev 1126328)
@@ -4,7 +4,7 @@
 _hkgname=servant-server
 pkgname=haskell-servant-server
 pkgver=0.18.3
-pkgrel=92
+pkgrel=93
 pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
 url="https://haskell-servant.readthedocs.org/";
 license=("BSD")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:41:23
  Author: felixonmars
Revision: 1126327

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-conduit/repos/community-staging-x86_64/PKGBUILD (from rev 
1126326, haskell-http-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 23:41:23 UTC (rev 1126327)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-conduit
+pkgname=haskell-http-conduit
+pkgver=2.3.8
+pkgrel=140
+pkgdesc="HTTP client package with conduit interface and HTTPS support"
+url="https://www.yesodweb.com/book/http-conduit";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-resourcet'
+ 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-connection'
+ 'haskell-cookie' 'haskell-data-default-class' 'haskell-hunit' 
'haskell-hspec'
+ 'haskell-lifted-base' 'haskell-network' 
'haskell-streaming-commons' 'haskell-temporary'
+ 'haskell-unliftio' 'haskell-utf8-string' 'haskell-wai' 
'haskell-wai-conduit'
+ 'haskell-warp' 'haskell-warp-tls')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('44c337f1a0a0ec74a5d6e4e28a3aa5a32609c3a4da9424e99aedc2a8db67fc4684ef10cf82d6bda0761c7ffba4f0222e683946ab6dd8de1ab8225a40cc14cf66')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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 || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:41:16
  Author: felixonmars
Revision: 1126326

upgpkg: haskell-http-conduit 2.3.8-140: rebuild with quickcheck-instances 0.3.26

Modified:
  haskell-http-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:40:39 UTC (rev 1126325)
+++ PKGBUILD2022-02-04 23:41:16 UTC (rev 1126326)
@@ -4,7 +4,7 @@
 _hkgname=http-conduit
 pkgname=haskell-http-conduit
 pkgver=2.3.8
-pkgrel=139
+pkgrel=140
 pkgdesc="HTTP client package with conduit interface and HTTPS support"
 url="https://www.yesodweb.com/book/http-conduit";
 license=("BSD")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:40:39
  Author: felixonmars
Revision: 1126325

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD (from rev 
1126324, haskell-js-jquery/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 23:40:39 UTC (rev 1126325)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=js-jquery
+pkgname=haskell-js-jquery
+pkgver=3.3.1
+pkgrel=752
+pkgdesc="Obtain minified jQuery code"
+url="https://github.com/ndmitchell/js-jquery#readme";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-http')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('359a4342bc5156d5360385a478e235def04db0381cc48f342baac5018e91350dce760adb9b9ada796bc6341d5629f807672f629ee127faefe521801d62bb')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-js-jquery/trunk (PKGBUILD)

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:40:31
  Author: felixonmars
Revision: 1126324

upgpkg: haskell-js-jquery 3.3.1-752: rebuild with quickcheck-instances 0.3.26

Modified:
  haskell-js-jquery/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:40:08 UTC (rev 1126323)
+++ PKGBUILD2022-02-04 23:40:31 UTC (rev 1126324)
@@ -4,7 +4,7 @@
 _hkgname=js-jquery
 pkgname=haskell-js-jquery
 pkgver=3.3.1
-pkgrel=751
+pkgrel=752
 pkgdesc="Obtain minified jQuery code"
 url="https://github.com/ndmitchell/js-jquery#readme";
 license=("MIT")



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:40:08
  Author: felixonmars
Revision: 1126323

archrelease: copy trunk to community-staging-x86_64

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

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

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

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

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

2022-02-04 Thread Antonio Rojas via arch-commits
Date: Friday, February 4, 2022 @ 23:40:05
  Author: arojas
Revision: 436226

archrelease: copy trunk to extra-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-04 23:39:50 UTC (rev 436225)
+++ PKGBUILD2022-02-04 23:40:05 UTC (rev 436226)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Andrea Scarpino 
-
-pkgname=qt5-declarative
-pkgver=5.15.2+kde+r44
-pkgrel=1
-_commit=9349f3975d26632befc036fc9f2ea6e03aee2182
-arch=('x86_64')
-url='https://www.qt.io'
-license=('GPL3' 'LGPL3' 'FDL' 'custom')
-pkgdesc='Classes for QML and JavaScript languages'
-depends=('qt5-base')
-makedepends=('python' 'vulkan-headers' 'git')
-groups=('qt' 'qt5')
-conflicts=('qtchooser')
-_pkgfqn=qtdeclarative
-source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
-sha256sums=('SKIP')
-options=(debug)
-
-pkgver() {
-  cd $_pkgfqn
-  echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit`
-}
-
-prepare() {
-  mkdir -p build
-
-  cd $_pkgfqn
-  git revert -n 568763928a78b52373932b01be17e040f7c3fa50 # Revert version bump
-}
-
-build() {
-  cd build
-
-  qmake ../${_pkgfqn} CONFIG+=fat-static-lto
-  make
-}
-
-package() {
-  cd build
-  make INSTALL_ROOT="$pkgdir" install
-
-  # Symlinks for backwards compatibility
-  for b in "$pkgdir"/usr/bin/*; do
-ln -s $(basename $b) "$pkgdir"/usr/bin/$(basename $b)-qt5
-  done
-
-  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
-  find "$pkgdir/usr/lib" -type f -name '*.prl' \
--exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
-
-  install -d "$pkgdir"/usr/share/licenses
-  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
-}

Copied: qt5-declarative/repos/extra-x86_64/PKGBUILD (from rev 436225, 
qt5-declarative/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-04 23:40:05 UTC (rev 436226)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-declarative
+pkgver=5.15.2+kde+r45
+pkgrel=1
+_commit=1d49a5b678957adde7e2db23a485a3f48157bc8f
+arch=('x86_64')
+url='https://www.qt.io'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for QML and JavaScript languages'
+depends=('qt5-base')
+makedepends=('python' 'vulkan-headers' 'git')
+groups=('qt' 'qt5')
+conflicts=('qtchooser')
+_pkgfqn=qtdeclarative
+source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
+sha256sums=('SKIP')
+options=(debug)
+
+pkgver() {
+  cd $_pkgfqn
+  echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit`
+}
+
+prepare() {
+  mkdir -p build
+
+  cd $_pkgfqn
+  git revert -n 568763928a78b52373932b01be17e040f7c3fa50 # Revert version bump
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn} CONFIG+=fat-static-lto
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Symlinks for backwards compatibility
+  for b in "$pkgdir"/usr/bin/*; do
+ln -s $(basename $b) "$pkgdir"/usr/bin/$(basename $b)-qt5
+  done
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "$pkgdir/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:39:57
  Author: felixonmars
Revision: 1126322

upgpkg: cabal-install 3.4.0.0-94: rebuild with quickcheck-instances 0.3.26

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:38:52 UTC (rev 1126321)
+++ PKGBUILD2022-02-04 23:39:57 UTC (rev 1126322)
@@ -5,7 +5,7 @@
 
 pkgname=cabal-install
 pkgver=3.4.0.0
-pkgrel=93
+pkgrel=94
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="https://hackage.haskell.org/package/cabal-install";
 license=('BSD')



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

2022-02-04 Thread Antonio Rojas via arch-commits
Date: Friday, February 4, 2022 @ 23:39:50
  Author: arojas
Revision: 436225

Bump revision

Modified:
  qt5-declarative/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:29:42 UTC (rev 436224)
+++ PKGBUILD2022-02-04 23:39:50 UTC (rev 436225)
@@ -2,9 +2,9 @@
 # Contributor: Andrea Scarpino 
 
 pkgname=qt5-declarative
-pkgver=5.15.2+kde+r44
+pkgver=5.15.2+kde+r45
 pkgrel=1
-_commit=9349f3975d26632befc036fc9f2ea6e03aee2182
+_commit=1d49a5b678957adde7e2db23a485a3f48157bc8f
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:38:52
  Author: felixonmars
Revision: 1126321

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ixset-typed/repos/community-staging-x86_64/
  haskell-ixset-typed/repos/community-staging-x86_64/PKGBUILD
(from rev 1126320, haskell-ixset-typed/trunk/PKGBUILD)
  haskell-ixset-typed/repos/community-staging-x86_64/ghc9.patch
(from rev 1126320, haskell-ixset-typed/trunk/ghc9.patch)

+
 PKGBUILD   |   49 +
 ghc9.patch |   54 ++
 2 files changed, 103 insertions(+)

Copied: haskell-ixset-typed/repos/community-staging-x86_64/PKGBUILD (from rev 
1126320, haskell-ixset-typed/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 23:38:52 UTC (rev 1126321)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ixset-typed
+pkgname=haskell-ixset-typed
+pkgver=0.5
+pkgrel=229
+pkgdesc="Efficient relational queries on Haskell sets"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-safecopy' 'haskell-syb')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+ghc9.patch)
+sha512sums=('0f25a540835805cdea68b46de5956afa887172cf16135f7d13e1c1f59e750652defae74d3ecebdacdb606ddf3bdc515c370e0b57f7ada21e3aa3f6e1b62fe582'
+
'4febefe2d34337482033ad4bfb28ec037323b176127e4a015244d630f8c5071a685d967a633cf64016865b095eb8f473abd5ec829bdf51c431e00ccd478abb0a')
+
+prepare() {
+patch -d $_hkgname-$pkgver -p1 < ghc9.patch
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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 "COPYING" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}

Copied: haskell-ixset-typed/repos/community-staging-x86_64/ghc9.patch (from rev 
1126320, haskell-ixset-typed/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2022-02-04 23:38:52 UTC (rev 1126321)
@@ -0,0 +1,54 @@
+commit fb8a9ae632ae7685e7fe9e1f9024b22f2e980b4a
+Author: Felix Yan 
+Date:   Tue Jun 22 09:59:29 2021 +0800
+
+Add support for template-haskell 2.17
+
+diff --git a/ixset-typed.cabal b/ixset-typed.cabal
+index 458577b..43c784c 100644
+--- a/ixset-typed.cabal
 b/ixset-typed.cabal
+@@ -38,7 +38,7 @@ library
+  deepseq  >= 1.3 && < 2,
+  safecopy >= 0.8 && < 0.11,
+  syb  >= 0.4 && < 1,
+- template-haskell >= 2.8 && < 2.17
++ template-haskell >= 2.8 && < 2.18
+ 
+   hs-source-dirs:src
+   exposed-modules:
+diff --git a/src/Data/IxSet/Typed.hs b/src/Data/IxSet/Typed.hs
+index 75be66d..fc628ea 100644
+--- a/src/Data/IxSet/Typed.hs
 b/src/Data/IxSet/Typed.hs
+@@ -594,7 +594,13 @@ inferIxSet ixset typeName calName entryPoints
+getCalType t' = error ("Unexpected type in getCalType: " 
++ pprint t')
+-}
+mkEntryPoint n = (conE 'Ix) `appE`
+-(sigE (varE 'Map.empty) (forallT binders 
(return context) $
++(sigE (varE 'Map.empty) (forallT
++#if MIN_VERSION_template_haskell(2,17,0)
++ (map 
(SpecifiedSpec <$) binders)
++#else
++ binders
++#endif
++ (return context) 
$
+  appT (appT (conT 
''Map)

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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:38:43
  Author: felixonmars
Revision: 1126320

upgpkg: haskell-ixset-typed 0.5-229: rebuild with quickcheck-instances 0.3.26

Modified:
  haskell-ixset-typed/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:38:14 UTC (rev 1126319)
+++ PKGBUILD2022-02-04 23:38:43 UTC (rev 1126320)
@@ -3,7 +3,7 @@
 _hkgname=ixset-typed
 pkgname=haskell-ixset-typed
 pkgver=0.5
-pkgrel=228
+pkgrel=229
 pkgdesc="Efficient relational queries on Haskell sets"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('BSD')



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:38:14
  Author: felixonmars
Revision: 1126319

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-summoner-tui/repos/community-staging-x86_64/PKGBUILD (from rev 
1126318, haskell-summoner-tui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 23:38:14 UTC (rev 1126319)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=summoner-tui
+pkgname=haskell-summoner-tui
+pkgver=2.0.1.1
+pkgrel=287
+pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
+url="https://github.com/kowainik/summoner";
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-brick' 'haskell-colourista' 'haskell-microlens' 
'haskell-microlens-th'
+ 'haskell-relude' 'haskell-summoner' 'haskell-validation-selective' 
'haskell-vty')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('9f840f25d72c54b4b5ed0c5e6755e52ca71e9961759de6bd0046d567bd1f2c27')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  uusi $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:38:07
  Author: felixonmars
Revision: 1126318

upgpkg: haskell-summoner-tui 2.0.1.1-287: rebuild with quickcheck-instances 
0.3.26

Modified:
  haskell-summoner-tui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-02-04 23:37:36 UTC (rev 1126317)
+++ PKGBUILD2022-02-04 23:38:07 UTC (rev 1126318)
@@ -4,7 +4,7 @@
 _hkgname=summoner-tui
 pkgname=haskell-summoner-tui
 pkgver=2.0.1.1
-pkgrel=286
+pkgrel=287
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
 url="https://github.com/kowainik/summoner";
 license=('MPL2')



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 23:37:36
  Author: felixonmars
Revision: 1126317

archrelease: copy trunk to community-staging-x86_64

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

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

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



  1   2   3   4   5   6   7   8   9   >