[arch-commits] Commit in clawsker/repos/extra-any (PKGBUILD PKGBUILD)

2021-02-23 Thread Tobias Powalowski via arch-commits
Date: Wednesday, February 24, 2021 @ 06:56:06
  Author: tpowa
Revision: 408705

archrelease: copy trunk to extra-any

Added:
  clawsker/repos/extra-any/PKGBUILD
(from rev 408704, clawsker/trunk/PKGBUILD)
Deleted:
  clawsker/repos/extra-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-24 06:56:00 UTC (rev 408704)
+++ PKGBUILD2021-02-24 06:56:06 UTC (rev 408705)
@@ -1,30 +0,0 @@
-# Maintainer: Tobias Powalowski 
-# Contributor: Francesco Groccia 
-# Contributor: Jakub "mr.MikyMaus" Fiser 
-
-pkgname=clawsker
-pkgver=1.3.3
-pkgrel=1
-pkgdesc="An applet to edit Claws Mail's hidden preferences."
-arch=('any')
-url="https://www.claws-mail.org/clawsker.php;
-license=('GPL3')
-makedepends=('gettext')
-depends=('perl-gtk3' 'perl-locale-gettext' 'perl-file-which' 'claws-mail')
-validpgpkeys=('43BC364B16DF0C205EBD75921F0F0A88DE5BCCA6') # Ricardo Mones 
Lastra 
-source=("https://www.claws-mail.org/tools/$pkgname-$pkgver.tar.xz"{,.asc})
-md5sums=('4ac9a798802a5272fd74d0d3558891e9'
- 'SKIP')
-
-build()
-{
-  cd "$srcdir/$pkgname-$pkgver"
-  make PREFIX="/usr"
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  # race condition fixed upstream
-  # TODO: remove '-j1' for next release
-  make -j1 PREFIX="/usr" DESTDIR="$pkgdir" install
-}

Copied: clawsker/repos/extra-any/PKGBUILD (from rev 408704, 
clawsker/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-24 06:56:06 UTC (rev 408705)
@@ -0,0 +1,30 @@
+# Maintainer: Tobias Powalowski 
+# Contributor: Francesco Groccia 
+# Contributor: Jakub "mr.MikyMaus" Fiser 
+
+pkgname=clawsker
+pkgver=1.3.4
+pkgrel=1
+pkgdesc="An applet to edit Claws Mail's hidden preferences."
+arch=('any')
+url="https://www.claws-mail.org/clawsker.php;
+license=('GPL3')
+makedepends=('gettext')
+depends=('perl-gtk3' 'perl-locale-gettext' 'perl-file-which' 'claws-mail')
+validpgpkeys=('43BC364B16DF0C205EBD75921F0F0A88DE5BCCA6') # Ricardo Mones 
Lastra 
+source=("https://www.claws-mail.org/tools/$pkgname-$pkgver.tar.xz"{,.asc})
+md5sums=('0ec88193b0477606af4e6508cf66caab'
+ 'SKIP')
+
+build()
+{
+  cd "$srcdir/$pkgname-$pkgver"
+  make PREFIX="/usr"
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # race condition fixed upstream
+  # TODO: remove '-j1' for next release
+  make -j1 PREFIX="/usr" DESTDIR="$pkgdir" install
+}


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

2021-02-23 Thread Tobias Powalowski via arch-commits
Date: Wednesday, February 24, 2021 @ 06:56:00
  Author: tpowa
Revision: 408704

upgpkg: clawsker 1.3.4-1: bump to latest version

Modified:
  clawsker/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-23 23:07:06 UTC (rev 408703)
+++ PKGBUILD2021-02-24 06:56:00 UTC (rev 408704)
@@ -3,7 +3,7 @@
 # Contributor: Jakub "mr.MikyMaus" Fiser 
 
 pkgname=clawsker
-pkgver=1.3.3
+pkgver=1.3.4
 pkgrel=1
 pkgdesc="An applet to edit Claws Mail's hidden preferences."
 arch=('any')
@@ -13,7 +13,7 @@
 depends=('perl-gtk3' 'perl-locale-gettext' 'perl-file-which' 'claws-mail')
 validpgpkeys=('43BC364B16DF0C205EBD75921F0F0A88DE5BCCA6') # Ricardo Mones 
Lastra 
 source=("https://www.claws-mail.org/tools/$pkgname-$pkgver.tar.xz"{,.asc})
-md5sums=('4ac9a798802a5272fd74d0d3558891e9'
+md5sums=('0ec88193b0477606af4e6508cf66caab'
  'SKIP')
 
 build()


[arch-commits] Commit in nextcloud-app-mail/repos/community-any (PKGBUILD PKGBUILD)

2021-02-23 Thread Sergej Pupykin via arch-commits
Date: Wednesday, February 24, 2021 @ 06:08:07
  Author: spupykin
Revision: 871011

archrelease: copy trunk to community-any

Added:
  nextcloud-app-mail/repos/community-any/PKGBUILD
(from rev 871010, nextcloud-app-mail/trunk/PKGBUILD)
Deleted:
  nextcloud-app-mail/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-24 06:07:56 UTC (rev 871010)
+++ PKGBUILD2021-02-24 06:08:07 UTC (rev 871011)
@@ -1,24 +0,0 @@
-# Maintainer: Sergej Pupykin 
-# Maintainer: Jonas Heinrich 
-# Contributor: Jonas Heinrich 
-
-pkgname=nextcloud-app-mail
-pkgver=1.8.0
-pkgrel=1
-pkgdesc="An email app for NextCloud"
-arch=('any')
-url="https://github.com/nextcloud/mail;
-license=('AGPL')
-depends=('nextcloud')
-options=('!strip')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud/mail/releases/download/v${pkgver}/mail.tar.gz;)
-sha512sums=('b769799fb622dcdc62e9412eb5655c18bdf7caa1ee2fb5f91158579205d3897efa693b156d18e6882ed80841c786c3edc554cf7a1d119b61e623f618b526e9e9')
-
-prepare() {
-  sed -i 's|max-version="7.0"|max-version="7.1"|' 
"${srcdir}/mail/appinfo/info.xml"
-}
-
-package() {
-  install -d "${pkgdir}/usr/share/webapps/nextcloud/apps"
-  cp -a "${srcdir}/mail" "${pkgdir}/usr/share/webapps/nextcloud/apps/mail"
-}

Copied: nextcloud-app-mail/repos/community-any/PKGBUILD (from rev 871010, 
nextcloud-app-mail/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-24 06:08:07 UTC (rev 871011)
@@ -0,0 +1,24 @@
+# Maintainer: Sergej Pupykin 
+# Maintainer: Jonas Heinrich 
+# Contributor: Jonas Heinrich 
+
+pkgname=nextcloud-app-mail
+pkgver=1.8.3
+pkgrel=1
+pkgdesc="An email app for NextCloud"
+arch=('any')
+url="https://github.com/nextcloud/mail;
+license=('AGPL')
+depends=('nextcloud')
+options=('!strip')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud/mail/releases/download/v${pkgver}/mail.tar.gz;)
+sha512sums=('72a3cad3362325b664796419297841d003105644806ce314820c103d81a8178d9be0f4268c603118d0151c2e68a75220db1c8a79aee822cbc3c65690c4d88fa3')
+
+prepare() {
+  sed -i 's|max-version="7.0"|max-version="7.1"|' 
"${srcdir}/mail/appinfo/info.xml"
+}
+
+package() {
+  install -d "${pkgdir}/usr/share/webapps/nextcloud/apps"
+  cp -a "${srcdir}/mail" "${pkgdir}/usr/share/webapps/nextcloud/apps/mail"
+}


[arch-commits] Commit in nextcloud-app-mail/trunk (PKGBUILD)

2021-02-23 Thread Sergej Pupykin via arch-commits
Date: Wednesday, February 24, 2021 @ 06:07:56
  Author: spupykin
Revision: 871010

upgpkg: nextcloud-app-mail 1.8.3-1

Modified:
  nextcloud-app-mail/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 04:51:35 UTC (rev 871009)
+++ PKGBUILD2021-02-24 06:07:56 UTC (rev 871010)
@@ -3,7 +3,7 @@
 # Contributor: Jonas Heinrich 
 
 pkgname=nextcloud-app-mail
-pkgver=1.8.0
+pkgver=1.8.3
 pkgrel=1
 pkgdesc="An email app for NextCloud"
 arch=('any')
@@ -12,7 +12,7 @@
 depends=('nextcloud')
 options=('!strip')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud/mail/releases/download/v${pkgver}/mail.tar.gz;)
-sha512sums=('b769799fb622dcdc62e9412eb5655c18bdf7caa1ee2fb5f91158579205d3897efa693b156d18e6882ed80841c786c3edc554cf7a1d119b61e623f618b526e9e9')
+sha512sums=('72a3cad3362325b664796419297841d003105644806ce314820c103d81a8178d9be0f4268c603118d0151c2e68a75220db1c8a79aee822cbc3c65690c4d88fa3')
 
 prepare() {
   sed -i 's|max-version="7.0"|max-version="7.1"|' 
"${srcdir}/mail/appinfo/info.xml"


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

2021-02-23 Thread Chih-Hsuan Yen via arch-commits
Date: Wednesday, February 24, 2021 @ 04:51:35
  Author: yan12125
Revision: 871009

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-24 04:51:19 UTC (rev 871008)
+++ PKGBUILD2021-02-24 04:51:35 UTC (rev 871009)
@@ -1,44 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=python-cfn-lint
-pkgver=0.45.0
-pkgrel=1
-pkgdesc='CloudFormation Linter'
-arch=(any)
-url='https://github.com/aws-cloudformation/cfn-python-lint'
-license=('custom:MIT No Attribution')
-depends=(python python-yaml python-six python-aws-sam-translator
- python-jsonpatch python-jsonschema python-networkx
- python-junit-xml)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-mock python-pydot)
-optdepends=(
-  'python-pydot: for building graphs from templates'
-)
-source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz;)
-sha256sums=('5fe7baa0e92bfc984bbea4fd6992feb5336e5f6ef0e090f44fc3596a054b002a')
-
-build() {
-  cd cfn-python-lint-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd cfn-python-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-python-lint as a git repo
-  pytest test -k 'not test_update_docs'
-}
-
-package() {
-  cd cfn-python-lint-$pkgver
-  # use PYTHONHASHSEED=0 to work around https://bugs.python.org/issue34033
-  PYTHONHASHSEED=0 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 871008, 
python-cfn-lint/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-24 04:51:35 UTC (rev 871009)
@@ -0,0 +1,44 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-cfn-lint
+pkgver=0.46.0
+pkgrel=1
+pkgdesc='CloudFormation Linter'
+arch=(any)
+url='https://github.com/aws-cloudformation/cfn-python-lint'
+license=('custom:MIT No Attribution')
+depends=(python python-yaml python-six python-aws-sam-translator
+ python-jsonpatch python-jsonschema python-networkx
+ python-junit-xml)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-mock python-pydot)
+optdepends=(
+  'python-pydot: for building graphs from templates'
+)
+source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz;)
+sha256sums=('c3f4946a0b654b61b8913e3d9555ec7eca227398d7dafb6851e5d5d0aabf658f')
+
+build() {
+  cd cfn-python-lint-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cfn-python-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-python-lint as a git repo
+  pytest test -k 'not test_update_docs'
+}
+
+package() {
+  cd cfn-python-lint-$pkgver
+  # use PYTHONHASHSEED=0 to work around https://bugs.python.org/issue34033
+  PYTHONHASHSEED=0 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)

2021-02-23 Thread Chih-Hsuan Yen via arch-commits
Date: Wednesday, February 24, 2021 @ 04:51:19
  Author: yan12125
Revision: 871008

upgpkg: python-cfn-lint 0.46.0-1

Modified:
  python-cfn-lint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 04:15:55 UTC (rev 871007)
+++ PKGBUILD2021-02-24 04:51:19 UTC (rev 871008)
@@ -1,7 +1,7 @@
 # Maintainer: Chih-Hsuan Yen 
 
 pkgname=python-cfn-lint
-pkgver=0.45.0
+pkgver=0.46.0
 pkgrel=1
 pkgdesc='CloudFormation Linter'
 arch=(any)
@@ -16,7 +16,7 @@
   'python-pydot: for building graphs from templates'
 )
 
source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz;)
-sha256sums=('5fe7baa0e92bfc984bbea4fd6992feb5336e5f6ef0e090f44fc3596a054b002a')
+sha256sums=('c3f4946a0b654b61b8913e3d9555ec7eca227398d7dafb6851e5d5d0aabf658f')
 
 build() {
   cd cfn-python-lint-$pkgver


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

2021-02-23 Thread Daniel M. Capella via arch-commits
Date: Wednesday, February 24, 2021 @ 04:15:55
  Author: polyzen
Revision: 871007

archrelease: copy trunk to community-any

Added:
  firefox-stylus/repos/community-any/PKGBUILD
(from rev 871006, firefox-stylus/trunk/PKGBUILD)
Deleted:
  firefox-stylus/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-24 04:15:35 UTC (rev 871006)
+++ PKGBUILD2021-02-24 04:15:55 UTC (rev 871007)
@@ -1,31 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-pkgname=firefox-stylus
-pkgver=1.5.15
-pkgrel=2
-pkgdesc='Easily install themes and skins for many popular sites'
-url=https://add0n.com/stylus.html
-arch=('any')
-license=('GPL3')
-groups=('firefox-addons')
-makedepends=('git' 'npm')
-source=("https://github.com/openstyles/stylus/archive/v$pkgver/stylus-v$pkgver.tar.gz;)
-b2sums=('92dbebdcf65b756d107daa49a7567fc671a58d0beaf82153adada9683477ae4f8a870b96d50fca2417fbe42492ce23d7b47cf2777f15b1c1023dc737b871f6b2')
-
-prepare() {
-  git config --global url."https://github.com".insteadOf ssh://g...@github.com
-}
-
-build() {
-  cd stylus-$pkgver
-  npm ci
-  npm run zip
-}
-
-package() {
-  cd stylus-$pkgver
-  install -Dm644 stylus.zip \
-
"$pkgdir"/usr/lib/firefox/browser/extensions/{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}.xpi
-}
-
-# vim:set ts=2 sw=2 et:

Copied: firefox-stylus/repos/community-any/PKGBUILD (from rev 871006, 
firefox-stylus/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-24 04:15:55 UTC (rev 871007)
@@ -0,0 +1,31 @@
+# Maintainer: Daniel M. Capella 
+
+pkgname=firefox-stylus
+pkgver=1.5.16
+pkgrel=1
+pkgdesc='Easily install themes and skins for many popular sites'
+url=https://add0n.com/stylus.html
+arch=('any')
+license=('GPL3')
+groups=('firefox-addons')
+makedepends=('git' 'npm')
+source=("https://github.com/openstyles/stylus/archive/v$pkgver/stylus-v$pkgver.tar.gz;)
+b2sums=('8dcf4a06fca14e2011e86247f4287b0e58f26a3963bcd302795f597643df0858d1ac08c23d10af4de5037fac9da880a087cc9815dab0b1cae89170a1ed9e955b')
+
+prepare() {
+  git config --global url."https://github.com".insteadOf ssh://g...@github.com
+}
+
+build() {
+  cd stylus-$pkgver
+  npm ci
+  npm run zip
+}
+
+package() {
+  cd stylus-$pkgver
+  install -Dm644 stylus.zip \
+
"$pkgdir"/usr/lib/firefox/browser/extensions/{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}.xpi
+}
+
+# vim:set ts=2 sw=2 et:


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

2021-02-23 Thread Daniel M. Capella via arch-commits
Date: Wednesday, February 24, 2021 @ 04:15:35
  Author: polyzen
Revision: 871006

upgpkg: firefox-stylus 1.5.16-1

Modified:
  firefox-stylus/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 01:07:57 UTC (rev 871005)
+++ PKGBUILD2021-02-24 04:15:35 UTC (rev 871006)
@@ -1,8 +1,8 @@
 # Maintainer: Daniel M. Capella 
 
 pkgname=firefox-stylus
-pkgver=1.5.15
-pkgrel=2
+pkgver=1.5.16
+pkgrel=1
 pkgdesc='Easily install themes and skins for many popular sites'
 url=https://add0n.com/stylus.html
 arch=('any')
@@ -10,7 +10,7 @@
 groups=('firefox-addons')
 makedepends=('git' 'npm')
 
source=("https://github.com/openstyles/stylus/archive/v$pkgver/stylus-v$pkgver.tar.gz;)
-b2sums=('92dbebdcf65b756d107daa49a7567fc671a58d0beaf82153adada9683477ae4f8a870b96d50fca2417fbe42492ce23d7b47cf2777f15b1c1023dc737b871f6b2')
+b2sums=('8dcf4a06fca14e2011e86247f4287b0e58f26a3963bcd302795f597643df0858d1ac08c23d10af4de5037fac9da880a087cc9815dab0b1cae89170a1ed9e955b')
 
 prepare() {
   git config --global url."https://github.com".insteadOf ssh://g...@github.com


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 01:07:57
  Author: felixonmars
Revision: 871005

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 01:02:40
  Author: felixonmars
Revision: 870999

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
870998, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 01:02:40 UTC (rev 870999)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.13.4.1
+pkgrel=170
+pkgdesc="A static website compiler library"
+url="https://jaspervdj.be/hakyll;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' 'haskell-memory' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'pandoc' 'pandoc-citeproc' 
'haskell-random'
+ 'haskell-regex-tdfa' 'haskell-resourcet' 'haskell-scientific' 
'haskell-tagsoup'
+ 'haskell-time-locale-compat' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-wai' 'haskell-wai-app-static' 'haskell-warp' 'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6045a1461855d46f57a20f7a84636f90e6d151bcbaf09511f10ab66fa0567062e355ff580d1f12a4432bbe517bc9e162d65927f3c343f8f077e81981e7c7973c')
+
+prepare() {
+cd $_hkgname-$pkgver
+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 --datasubdir="$pkgname" 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test || echo 
"https://github.com/jaspervdj/hakyll/issues/682;
+}
+
+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 pandoc-citeproc/repos (2 files)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 01:01:17
  Author: felixonmars
Revision: 870997

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
870996, pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 01:01:17 UTC (rev 870997)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-citeproc
+pkgver=0.17.0.2
+pkgrel=205
+pkgdesc="Supports using pandoc with citeproc"
+url="https://hackage.haskell.org/package/$pkgname;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-base-compat' 'haskell-data-default' 'haskell-hs-bibutils' 
'haskell-libyaml'
+ 'haskell-network' 'haskell-old-locale' 'pandoc' 
'haskell-pandoc-types' 'haskell-rfc5051'
+ 'haskell-safe' 'haskell-setenv' 'haskell-split' 'haskell-syb' 
'haskell-tagsoup'
+ 'haskell-temporary' 'haskell-text-icu' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-xml-conduit' 'haskell-yaml' 'haskell-hsyaml' 
'haskell-hsyaml-aeson')
+conflicts=('haskell-pandoc-citeproc')
+replaces=('haskell-pandoc-citeproc')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;)
+sha512sums=('5ce079a542b096c06d6e4e205625a993422a972f04787495ac9013dd3131df62733f30e4c3004335e3738b02bb22a7ad50a31c1eb3f67d2b4ef51605c7fcbf16')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+uusi $pkgname.cabal
+# TODO: find a better solution
+sed -i 
"s|(\"HOME\",\".\")|(\"HOME\",\".\"),(\"LD_LIBRARY_PATH\",\"$PWD/dist/build\"),(\"pandoc_citeproc_datadir\",\"$PWD\")|"
 tests/test-pandoc-citeproc.hs
+}
+
+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" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils -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
+# https://github.com/jgm/pandoc-citeproc/issues/342
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd "${srcdir}/$pkgname-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/$pkgname.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/$pkgname.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/$pkgname/LICENSE"
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 01:02:26
  Author: felixonmars
Revision: 870998

upgpkg: haskell-hakyll 4.13.4.1-170: rebuild with network-uri 2.6.4.1

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 01:01:17 UTC (rev 870997)
+++ PKGBUILD2021-02-24 01:02:26 UTC (rev 870998)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.13.4.1
-pkgrel=169
+pkgrel=170
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 01:07:44
  Author: felixonmars
Revision: 871004

upgpkg: haskell-ci 0.10.3-174: rebuild with network-uri 2.6.4.1

Modified:
  haskell-ci/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 01:06:42 UTC (rev 871003)
+++ PKGBUILD2021-02-24 01:07:44 UTC (rev 871004)
@@ -3,7 +3,7 @@
 _hkgname=haskell-ci
 pkgname=haskell-ci
 pkgver=0.10.3
-pkgrel=173
+pkgrel=174
 pkgdesc="Cabal package script generator for Travis-CI"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 01:06:42
  Author: felixonmars
Revision: 871003

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 01:04:03
  Author: felixonmars
Revision: 871001

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
871000, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 01:04:03 UTC (rev 871001)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.9.0
+pkgrel=18
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname};
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-data-accessor' 
'haskell-data-accessor-template'
+ 'haskell-data-accessor-transformers' 'haskell-gitrev' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 
'haskell-roman-numerals'
+ 'haskell-syb' 'haskell-utility-ht')
+makedepends=('ghc' 'haskell-hspec')
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz;)
+sha512sums=('03c4f1dc2363fb7e6c097c2e52a1c3f0191806f74e678ab3c8fdb9d116deda400b4517665061c87a44ef48648f75e3c4153aa1e08c9c369a50b5b8356bcc3bb1')
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+   -f-enable_flaky_tests
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+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 shellcheck/trunk (PKGBUILD)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 01:06:29
  Author: felixonmars
Revision: 871002

upgpkg: shellcheck 0.7.1-304: rebuild with network-uri 2.6.4.1

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 01:04:03 UTC (rev 871001)
+++ PKGBUILD2021-02-24 01:06:29 UTC (rev 871002)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.7.1
-pkgrel=303
+pkgrel=304
 pkgdesc="Shell script analysis tool"
 url="https://www.shellcheck.net;
 license=("GPL")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 01:03:50
  Author: felixonmars
Revision: 871000

upgpkg: pandoc-crossref 0.3.9.0-18: rebuild with network-uri 2.6.4.1

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 01:02:40 UTC (rev 870999)
+++ PKGBUILD2021-02-24 01:03:50 UTC (rev 871000)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.9.0
-pkgrel=17
+pkgrel=18
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:47:29
  Author: felixonmars
Revision: 870990

upgpkg: haskell-skylighting-core 0.10.2-30: rebuild with network-uri 2.6.4.1

Modified:
  haskell-skylighting-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:46:29 UTC (rev 870989)
+++ PKGBUILD2021-02-24 00:47:29 UTC (rev 870990)
@@ -3,7 +3,7 @@
 _hkgname=skylighting-core
 pkgname=haskell-skylighting-core
 pkgver=0.10.2
-pkgrel=29
+pkgrel=30
 pkgdesc="Syntax highlighting library"
 url="https://github.com/jgm/skylighting;
 license=('BSD')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:40:15
  Author: felixonmars
Revision: 870981

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 870980, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/optparse-applicative-0.16.patch
(from rev 870980, stack/trunk/optparse-applicative-0.16.patch)
  stack/repos/community-staging-x86_64/stack.install
(from rev 870980, stack/trunk/stack.install)

-+
 PKGBUILD|   81 ++
 optparse-applicative-0.16.patch |   25 +++
 stack.install   |4 +
 3 files changed, 110 insertions(+)

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

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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:45:18
  Author: felixonmars
Revision: 870987

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:58:50
  Author: felixonmars
Revision: 870995

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 870994, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:58:50 UTC (rev 870995)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.11.3
+pkgrel=56
+pkgdesc='Conversion between markup formats'
+url='https://pandoc.org'
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' '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-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-transforms' 
'haskell-unordered-containers'
+ 'haskell-zip-archive' 'haskell-xml' 'haskell-zlib')
+optdepends=('pandoc-citeproc: for citation rendering with pandoc-citeproc 
filter'
+'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'
+ 'haskell-executable-path')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('2c37643164223a5c2816b4e5a8520131ccb677072a2373ad4ea7d332b40f8a9f0c48e7981aa4fb3d48e1fe9c2be2f239246a268cb420b6756f727c2e58f0529f')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u base64-bytestring -u random $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 \
+-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-citeproc/trunk (PKGBUILD)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 01:01:04
  Author: felixonmars
Revision: 870996

upgpkg: pandoc-citeproc 0.17.0.2-205: rebuild with network-uri 2.6.4.1

Modified:
  pandoc-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:58:50 UTC (rev 870995)
+++ PKGBUILD2021-02-24 01:01:04 UTC (rev 870996)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-citeproc
 pkgver=0.17.0.2
-pkgrel=204
+pkgrel=205
 pkgdesc="Supports using pandoc with citeproc"
 url="https://hackage.haskell.org/package/$pkgname;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:39:54
  Author: felixonmars
Revision: 870980

upgpkg: stack 2.5.1-131: rebuild with network-uri 2.6.4.1

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:36:04 UTC (rev 870979)
+++ PKGBUILD2021-02-24 00:39:54 UTC (rev 870980)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.5.1
-pkgrel=130
+pkgrel=131
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:35:48
  Author: felixonmars
Revision: 870978

upgpkg: cabal-install 3.2.0.0-185: rebuild with network-uri 2.6.4.1

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:33:44 UTC (rev 870977)
+++ PKGBUILD2021-02-24 00:35:48 UTC (rev 870978)
@@ -5,7 +5,7 @@
 
 pkgname=cabal-install
 pkgver=3.2.0.0
-pkgrel=184
+pkgrel=185
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="https://hackage.haskell.org/package/cabal-install;
 license=('BSD')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:42:57
  Author: felixonmars
Revision: 870985

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:48:25
  Author: felixonmars
Revision: 870993

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:41:40
  Author: felixonmars
Revision: 870983

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 870982, 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 870982, haskell-cabal-install-parsers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:41:40 UTC (rev 870983)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-install-parsers
+pkgname=haskell-cabal-install-parsers
+pkgver=0.4
+pkgrel=62
+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=('ed521221e822b471ed297d8291fb1360d785197b0d36de7a4e1dd2bf44b5c2840281fc423e2618dd70dc38354b156984e05f7469f3915321a181a349e94a1a27')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  cabal update  # Generate cabal config for tests
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:46:29
  Author: felixonmars
Revision: 870989

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hxt/repos/community-staging-x86_64/PKGBUILD (from rev 870988, 
haskell-hxt/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:46:29 UTC (rev 870989)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hxt
+pkgname=haskell-hxt
+pkgver=9.3.1.21
+pkgrel=11
+pkgdesc="A collection of tools for processing XML with Haskell."
+url="https://github.com/UweSchmidt/hxt;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hxt-charproperties' 'haskell-hxt-regex-xmlschema' 
'haskell-hxt-unicode'
+ 'haskell-network-uri')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b06cfbce3b9c9ee09dab7ba74bb2e64d9123c92632757add63d0a3247dcdeec0365002af9f7104a8ebf8d00994a951638a6ba3f1024c8f066f4b0da9b5c53a7f')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:45:04
  Author: felixonmars
Revision: 870986

upgpkg: postgrest 7.0.1-240: rebuild with network-uri 2.6.4.1

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:42:57 UTC (rev 870985)
+++ PKGBUILD2021-02-24 00:45:04 UTC (rev 870986)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.1
-pkgrel=239
+pkgrel=240
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:41:27
  Author: felixonmars
Revision: 870982

upgpkg: haskell-cabal-install-parsers 0.4-62: rebuild with network-uri 2.6.4.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:40:15 UTC (rev 870981)
+++ PKGBUILD2021-02-24 00:41:27 UTC (rev 870982)
@@ -3,7 +3,7 @@
 _hkgname=cabal-install-parsers
 pkgname=haskell-cabal-install-parsers
 pkgver=0.4
-pkgrel=61
+pkgrel=62
 pkgdesc="Utilities to work with cabal-install files"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL" "BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:36:04
  Author: felixonmars
Revision: 870979

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 870978, cabal-install/trunk/PKGBUILD)
  
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
(from rev 870978, 
cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)

--+
 PKGBUILD |   49 +
 cabal-install-base16-bytestring1.0.patch |   38 ++
 2 files changed, 87 insertions(+)

Copied: cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 870978, 
cabal-install/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:36:04 UTC (rev 870979)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=cabal-install
+pkgver=3.2.0.0
+pkgrel=185
+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' 'haskell-network-uri' 
'haskell-random' 'haskell-resolv'
+ 'haskell-tar' 'haskell-zlib' 'haskell-lukko')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;
+
$pkgname-ghc8.10.patch::https://github.com/haskell/cabal/pull/6711.patch
+$pkgname-base16-bytestring1.0.patch)
+sha512sums=('ad937b2df42b688e4608aa2b91a25daf1042e5573626202e5182cbfeca9acc5933194853405a6396c60d0d28d6d0d5c5276fd85cb6acf4be2c8cd12afe747062'
+
'9e7245f5080e9c1609994b21d13ecbacb78fa9314d80425464f714f9bd68910d3fb4a5101b582461a89ec0b7115ef6acb2eb4ffba7a2477f65dca192f1eac1e7'
+
'391356a85d78a147a909e9dee5981b46b1f2c5ffa251c070f3bef700d8ac490e02f5fa45ea9674f5fb4e3d3067809dfd72494753dc5d20b01e64c11d6320367f')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p2 -i ../$pkgname-ghc8.10.patch || :
+patch -p2 -i ../$pkgname-base16-bytestring1.0.patch
+sed -i 's/< *1.2/<2/' $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 870978, cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)
===
--- community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
(rev 0)
+++ community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
2021-02-24 00:36:04 UTC (rev 870979)
@@ -0,0 +1,38 @@
+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/cabal-install.cabal 
b/cabal-install/cabal-install.cabal
+index ee49fe245..6d423fdb3 100644
+--- a/cabal-install/cabal-install.cabal
 b/cabal-install/cabal-install.cabal
+@@ -319,7 +319,7 @@ executable cabal
+ async  >= 2.0  && < 2.3,
+ array  >= 0.4  && < 0.6,
+ base   >= 4.8  && < 

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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:58:38
  Author: felixonmars
Revision: 870994

upgpkg: pandoc 2.11.3-56: rebuild with network-uri 2.6.4.1

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:48:25 UTC (rev 870993)
+++ PKGBUILD2021-02-24 00:58:38 UTC (rev 870994)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.11.3
-pkgrel=55
+pkgrel=56
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:47:41
  Author: felixonmars
Revision: 870991

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-skylighting-core/repos/community-staging-x86_64/PKGBUILD (from 
rev 870990, haskell-skylighting-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:47:41 UTC (rev 870991)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=skylighting-core
+pkgname=haskell-skylighting-core
+pkgver=0.10.2
+pkgrel=30
+pkgdesc="Syntax highlighting library"
+url="https://github.com/jgm/skylighting;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-attoparsec'
+ 'haskell-base64-bytestring' 'haskell-blaze-html' 
'haskell-case-insensitive'
+ 'haskell-colour' 'haskell-hxt' 'haskell-safe' 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-pretty-show' 
'haskell-quickcheck'
+ 'haskell-random' 'haskell-tasty' 'haskell-tasty-golden' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c3d20694b29dee660cbba681dec4b7610b1b5be8e5b359931935b0e2a466f41a494847231557c6c5906d5b31487360516af0e00c46689cbc03c9de58e3430698')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fexecutable
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:46:17
  Author: felixonmars
Revision: 870988

upgpkg: haskell-hxt 9.3.1.21-11: rebuild with network-uri 2.6.4.1

Modified:
  haskell-hxt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:45:18 UTC (rev 870987)
+++ PKGBUILD2021-02-24 00:46:17 UTC (rev 870988)
@@ -3,7 +3,7 @@
 _hkgname=hxt
 pkgname=haskell-hxt
 pkgver=9.3.1.21
-pkgrel=10
+pkgrel=11
 pkgdesc="A collection of tools for processing XML with Haskell."
 url="https://github.com/UweSchmidt/hxt;
 license=('MIT')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:42:44
  Author: felixonmars
Revision: 870984

upgpkg: xmobar 0.36-120: rebuild with network-uri 2.6.4.1

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:41:40 UTC (rev 870983)
+++ PKGBUILD2021-02-24 00:42:44 UTC (rev 870984)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.36
-pkgrel=119
+pkgrel=120
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:48:12
  Author: felixonmars
Revision: 870992

upgpkg: haskell-skylighting 0.10.2-30: rebuild with network-uri 2.6.4.1

Modified:
  haskell-skylighting/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:47:41 UTC (rev 870991)
+++ PKGBUILD2021-02-24 00:48:12 UTC (rev 870992)
@@ -3,7 +3,7 @@
 _hkgname=skylighting
 pkgname=haskell-skylighting
 pkgver=0.10.2
-pkgrel=29
+pkgrel=30
 pkgdesc="Syntax highlighting library"
 url="https://github.com/jgm/skylighting;
 license=('GPL2')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:25:54
  Author: felixonmars
Revision: 870973

archrelease: copy trunk to community-staging-x86_64

Added:
  hoogle/repos/community-staging-x86_64/
  hoogle/repos/community-staging-x86_64/PKGBUILD
(from rev 870972, hoogle/trunk/PKGBUILD)

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

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 870972, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:25:54 UTC (rev 870973)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.18.1
+pkgrel=59
+pkgdesc="Haskell API Search"
+url="https://www.haskell.org/hoogle/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cmdargs' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-connection' 'haskell-extra' 'haskell-foundation' 
'haskell-hashable'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-mmap' 'haskell-network' 'haskell-old-locale' 
'haskell-process-extras'
+ 'haskell-resourcet' 'haskell-src-exts' 'haskell-storable-tuple' 
'haskell-tar'
+ 'haskell-uniplate' 'haskell-utf8-string' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls' 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('00abbcf557824c604abbd5e9d27a5ca3d4a89e943888b6eef70dea46b8f786dfc851cb1c8f1531c808f4b71b34d3899258f3b009b0a38a385fc5c393a914da17')
+
+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='-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
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:33:44
  Author: felixonmars
Revision: 870977

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:24:07
  Author: felixonmars
Revision: 870971

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 870970, haskell-js-jquery/trunk/PKGBUILD)

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:33:31
  Author: felixonmars
Revision: 870976

upgpkg: haskell-hls-plugin-api 0.6.0.0-35: rebuild with network-uri 2.6.4.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:32:56 UTC (rev 870975)
+++ PKGBUILD2021-02-24 00:33:31 UTC (rev 870976)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=0.6.0.0
-pkgrel=34
+pkgrel=35
 pkgdesc="Haskell Language Server API for plugin communication"
 url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
 license=("Apache")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:23:20
  Author: felixonmars
Revision: 870968

upgpkg: haskell-http 4000.3.15-113: rebuild with network-uri 2.6.4.1

Modified:
  haskell-http/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:22:39 UTC (rev 870967)
+++ PKGBUILD2021-02-24 00:23:20 UTC (rev 870968)
@@ -4,7 +4,7 @@
 _hkgname=HTTP
 pkgname=haskell-http
 pkgver=4000.3.15
-pkgrel=112
+pkgrel=113
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:32:44
  Author: felixonmars
Revision: 870974

upgpkg: haskell-shake 0.19.4-38: rebuild with network-uri 2.6.4.1

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:25:54 UTC (rev 870973)
+++ PKGBUILD2021-02-24 00:32:44 UTC (rev 870974)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.4
-pkgrel=37
+pkgrel=38
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:25:10
  Author: felixonmars
Revision: 870972

upgpkg: hoogle 5.0.18.1-59: rebuild with network-uri 2.6.4.1

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:24:07 UTC (rev 870971)
+++ PKGBUILD2021-02-24 00:25:10 UTC (rev 870972)
@@ -3,7 +3,7 @@
 
 pkgname=hoogle
 pkgver=5.0.18.1
-pkgrel=58
+pkgrel=59
 pkgdesc="Haskell API Search"
 url="https://www.haskell.org/hoogle/;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:23:31
  Author: felixonmars
Revision: 870969

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:23:55
  Author: felixonmars
Revision: 870970

upgpkg: haskell-js-jquery 3.3.1-605: rebuild with network-uri 2.6.4.1

Modified:
  haskell-js-jquery/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:23:31 UTC (rev 870969)
+++ PKGBUILD2021-02-24 00:23:55 UTC (rev 870970)
@@ -4,7 +4,7 @@
 _hkgname=js-jquery
 pkgname=haskell-js-jquery
 pkgver=3.3.1
-pkgrel=604
+pkgrel=605
 pkgdesc="Obtain minified jQuery code"
 url="https://github.com/ndmitchell/js-jquery#readme;
 license=("MIT")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:32:56
  Author: felixonmars
Revision: 870975

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 870974, 
haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:32:56 UTC (rev 870975)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.4
+pkgrel=38
+pkgdesc="Build system library, like Make, but more accurate dependencies."
+url="https://shakebuild.com;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-filepattern' 'haskell-hashable'
+ 'haskell-heaps' 'haskell-js-dgtable' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-primitive' 'haskell-random' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('11e1598bbdc8d747615ea00bc8b2dd6b1a6c8402e488b437027b4b5cb8f60b0847327a41f3c220b04b1849267b1bb2ed24cc5ccbb3aeecca3213f1e29de2e575')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/ghc --make/ghc -dynamic --make/' 
src/Test/{Command.hs,CloseFileHandles.hs}
+sed -e 's/ghc -package=Cabal/ghc -package=Cabal -dynamic/' \
+-e 's/ghc -fno-code/ghc -dynamic -fno-code/' \
+-e 
's/"configure",/"configure","--enable-executable-dynamic","--disable-library-vanilla",/'
 \
+-i src/Test/Docs.hs
+sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs 
src/Test/SelfMake.hs
+sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
+
+# Not sure about this one:
+sed -i 's/at cmd, called at/at want, called at/' src/Test/Errors.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-portable -f-cloud -f-embed-files
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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-httpd-shed/trunk (PKGBUILD)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:22:27
  Author: felixonmars
Revision: 870966

upgpkg: haskell-httpd-shed 0.4.1.1-315: rebuild with network-uri 2.6.4.1

Modified:
  haskell-httpd-shed/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:22:04 UTC (rev 870965)
+++ PKGBUILD2021-02-24 00:22:27 UTC (rev 870966)
@@ -4,7 +4,7 @@
 _hkgname=httpd-shed
 pkgname=haskell-httpd-shed
 pkgver=0.4.1.1
-pkgrel=314
+pkgrel=315
 pkgdesc="A simple web-server with an interact style API"
 url="https://github.com/andygill/httpd-shed/;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:22:39
  Author: felixonmars
Revision: 870967

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-httpd-shed/repos/community-staging-x86_64/
  haskell-httpd-shed/repos/community-staging-x86_64/PKGBUILD
(from rev 870966, haskell-httpd-shed/trunk/PKGBUILD)

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

Copied: haskell-httpd-shed/repos/community-staging-x86_64/PKGBUILD (from rev 
870966, haskell-httpd-shed/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:22:39 UTC (rev 870967)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=httpd-shed
+pkgname=haskell-httpd-shed
+pkgver=0.4.1.1
+pkgrel=315
+pkgdesc="A simple web-server with an interact style API"
+url="https://github.com/andygill/httpd-shed/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network' 'haskell-network-bsd' 
'haskell-network-uri')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b168fd18f4d476fc6d903d8dc17a1831645049dc6ae57e977b97453f69c98dc3a288e2c8d0298283bc2b8dd0d4e994fcec27058bb36b9ee0d4d4aac2b9de3b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-buildexamples -fnetwork-uri -fnetwork-bsd
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:20:45
  Author: felixonmars
Revision: 870963

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 870962, haskell-hopenpgp/trunk/PKGBUILD)

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

Copied: haskell-hopenpgp/repos/community-staging-x86_64/PKGBUILD (from rev 
870962, haskell-hopenpgp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:20:45 UTC (rev 870963)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hOpenPGP
+pkgname=haskell-hopenpgp
+pkgver=2.9.5
+pkgrel=81
+pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
+url="http://floss.scru.org/hOpenPGP/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-asn1-encoding' 
'haskell-attoparsec'
+ 'haskell-base16-bytestring' 'haskell-bifunctors' 'haskell-bz2' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite'
+ 'haskell-crypto-cipher-types' 'haskell-errors' 'haskell-hashable'
+ 'haskell-incremental-parser' 'haskell-ixset-typed' 'haskell-lens' 
'haskell-memory'
+ 'haskell-monad-loops' 'haskell-nettle' 'haskell-network-uri'
+ 'haskell-openpgp-asciiarmor' 'haskell-prettyprinter' 
'haskell-resourcet' 'haskell-split'
+ 'haskell-time-locale-compat' 'haskell-unliftio-core' 
'haskell-unordered-containers'
+ 'haskell-zlib')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('7e0ecc73054c5315093e7f64f92bc7c62a7f9ff1b2c985595db427a063460b3fc692343079676631987c9a651212d1d739289f9b1e2ecb1c086b2c9bd5a4ba0e')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:21:52
  Author: felixonmars
Revision: 870964

upgpkg: hopenpgp-tools 0.23.6-36: rebuild with network-uri 2.6.4.1

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:20:45 UTC (rev 870963)
+++ PKGBUILD2021-02-24 00:21:52 UTC (rev 870964)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.6
-pkgrel=35
+pkgrel=36
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools;
 license=("AGPL3")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:22:04
  Author: felixonmars
Revision: 870965

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:19:04
  Author: felixonmars
Revision: 870961

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
870960, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:19:04 UTC (rev 870961)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.1
+pkgrel=281
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-either' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('162360cb635d40086721d4dd350036884207679b240d30420b9fc71eebef847e542bd143275931a22a42c583d513d0c906a6b112d780824dc189ad07e3027aa3')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:20:33
  Author: felixonmars
Revision: 870962

upgpkg: haskell-hopenpgp 2.9.5-81: rebuild with network-uri 2.6.4.1

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:19:04 UTC (rev 870961)
+++ PKGBUILD2021-02-24 00:20:33 UTC (rev 870962)
@@ -3,7 +3,7 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.9.5
-pkgrel=80
+pkgrel=81
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/;
 license=('MIT')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:14:27
  Author: felixonmars
Revision: 870955

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
870954, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:14:27 UTC (rev 870955)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.7.2
+pkgrel=192
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/afcowie/http-streams;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
+ 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
+ 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
+ 'haskell-system-fileio' 'haskell-system-filepath')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('1028e7a102fc189ddd20d353492306d506f24f0408a234e0ec2b01c11737bc9ffec76a5609e18e355ef838663ec412ce3b358d8223deea7dd4c35ada5223f3ea')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:18:07
  Author: felixonmars
Revision: 870959

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wreq/repos/community-staging-x86_64/PKGBUILD (from rev 870958, 
haskell-wreq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:18:07 UTC (rev 870959)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=wreq
+pkgname=haskell-wreq
+pkgver=0.5.3.3
+pkgrel=14
+pkgdesc="An easy-to-use HTTP client library."
+url="https://github.com/bos/wreq;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-authenticate-oauth'
+ 'haskell-base16-bytestring' 'haskell-case-insensitive' 
'haskell-cryptonite'
+ 'haskell-hashable' 'haskell-http-client' 'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-lens' 'haskell-lens-aeson' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-psqueues' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-aeson-pretty' 
'haskell-base64-bytestring'
+ 'haskell-snap-core' 'haskell-snap-server' 'haskell-unix-compat' 
'haskell-uuid')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-network-info' 'haskell-temporary' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f074790cf3370d9356efbf5aeabb7421d59299471e02d93010453bb6f4e8daee517fcdf6891245272a9b08a35bc7b1b2233b75825ec377f6403c99cf91041f2e')
+
+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 \
+-fdoctest -f-aws -fhttpbin -f-developer
+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.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:18:52
  Author: felixonmars
Revision: 870960

upgpkg: haskell-mustache 2.3.1-281: rebuild with network-uri 2.6.4.1

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:18:07 UTC (rev 870959)
+++ PKGBUILD2021-02-24 00:18:52 UTC (rev 870960)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.1
-pkgrel=280
+pkgrel=281
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache;
 license=('BSD')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:17:55
  Author: felixonmars
Revision: 870958

upgpkg: haskell-wreq 0.5.3.3-14: rebuild with network-uri 2.6.4.1

Modified:
  haskell-wreq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:16:24 UTC (rev 870957)
+++ PKGBUILD2021-02-24 00:17:55 UTC (rev 870958)
@@ -3,7 +3,7 @@
 _hkgname=wreq
 pkgname=haskell-wreq
 pkgver=0.5.3.3
-pkgrel=13
+pkgrel=14
 pkgdesc="An easy-to-use HTTP client library."
 url="https://github.com/bos/wreq;
 license=('BSD')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:16:10
  Author: felixonmars
Revision: 870956

upgpkg: haskell-snap-server 1.1.2.0-110: rebuild with network-uri 2.6.4.1

Modified:
  haskell-snap-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:14:27 UTC (rev 870955)
+++ PKGBUILD2021-02-24 00:16:10 UTC (rev 870956)
@@ -3,7 +3,7 @@
 _hkgname=snap-server
 pkgname=haskell-snap-server
 pkgver=1.1.2.0
-pkgrel=109
+pkgrel=110
 pkgdesc="A web server for the Snap Framework"
 url="https://github.com/snapframework/snap-server;
 license=('BSD')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:09:01
  Author: felixonmars
Revision: 870945

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-arch-web/repos/community-staging-x86_64/PKGBUILD (from rev 
870944, haskell-arch-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:09:01 UTC (rev 870945)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=arch-web
+pkgname=haskell-arch-web
+pkgver=0.1.0
+pkgrel=43
+pkgdesc="Arch Linux official and AUR web interface binding"
+url="https://github.com/berberman/arch-web;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-deriving-aeson' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lens' 
'haskell-servant'
+ 'haskell-servant-client' 'haskell-servant-client-core')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('ffb66a4bee5432799e75f4c637856ae49868b2633e3711b3468a8d78b9263ef2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u http-client $_hkgname.cabal
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-snap-core/trunk (PKGBUILD)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:12:40
  Author: felixonmars
Revision: 870950

upgpkg: haskell-snap-core 1.0.4.2-129: rebuild with network-uri 2.6.4.1

Modified:
  haskell-snap-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:11:14 UTC (rev 870949)
+++ PKGBUILD2021-02-24 00:12:40 UTC (rev 870950)
@@ -3,7 +3,7 @@
 _hkgname=snap-core
 pkgname=haskell-snap-core
 pkgver=1.0.4.2
-pkgrel=128
+pkgrel=129
 pkgdesc="A Haskell Web Framework (core interfaces and types)"
 url="https://github.com/snapframework/snap-core;
 license=('BSD')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:13:24
  Author: felixonmars
Revision: 870952

upgpkg: haskell-snap-server 1.1.2.0-109: rebuild with network-uri 2.6.4.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-snap-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:12:52 UTC (rev 870951)
+++ PKGBUILD2021-02-24 00:13:24 UTC (rev 870952)
@@ -3,7 +3,7 @@
 _hkgname=snap-server
 pkgname=haskell-snap-server
 pkgver=1.1.2.0
-pkgrel=108
+pkgrel=109
 pkgdesc="A web server for the Snap Framework"
 url="https://github.com/snapframework/snap-server;
 license=('BSD')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:14:15
  Author: felixonmars
Revision: 870954

upgpkg: haskell-http-streams 0.8.7.2-192: rebuild with network-uri 2.6.4.1

Modified:
  haskell-http-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:13:36 UTC (rev 870953)
+++ PKGBUILD2021-02-24 00:14:15 UTC (rev 870954)
@@ -3,7 +3,7 @@
 _hkgname=http-streams
 pkgname=haskell-http-streams
 pkgver=0.8.7.2
-pkgrel=191
+pkgrel=192
 pkgdesc="An HTTP client using io-streams"
 url="https://github.com/afcowie/http-streams;
 license=('BSD')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:10:18
  Author: felixonmars
Revision: 870947

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:13:36
  Author: felixonmars
Revision: 870953

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
870952, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:13:36 UTC (rev 870953)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=109
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/bytestring-builder/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:11:02
  Author: felixonmars
Revision: 870948

upgpkg: haskell-jose 0.8.4-93: rebuild with network-uri 2.6.4.1

Modified:
  haskell-jose/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:10:18 UTC (rev 870947)
+++ PKGBUILD2021-02-24 00:11:02 UTC (rev 870948)
@@ -4,7 +4,7 @@
 _hkgname=jose
 pkgname=haskell-jose
 pkgver=0.8.4
-pkgrel=92
+pkgrel=93
 pkgdesc="Javascript Object Signing and Encryption and JSON Web Token library"
 url="https://github.com/frasertweedale/hs-jose;
 license=("Apache")


[arch-commits] Commit in haskell-snap-server/repos/community-staging-x86_64 (2 files)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:16:24
  Author: felixonmars
Revision: 870957

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-snap-server/repos/community-staging-x86_64/PKGBUILD
(from rev 870956, haskell-snap-server/trunk/PKGBUILD)
Deleted:
  haskell-snap-server/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  122 ++---
 1 file changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-24 00:16:10 UTC (rev 870956)
+++ PKGBUILD2021-02-24 00:16:24 UTC (rev 870957)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=109
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-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
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
870956, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-24 00:16:24 UTC (rev 870957)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=110
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/bytestring-builder/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+

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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:08:48
  Author: felixonmars
Revision: 870944

upgpkg: haskell-arch-web 0.1.0-43: rebuild with network-uri 2.6.4.1

Modified:
  haskell-arch-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:07:47 UTC (rev 870943)
+++ PKGBUILD2021-02-24 00:08:48 UTC (rev 870944)
@@ -3,7 +3,7 @@
 _hkgname=arch-web
 pkgname=haskell-arch-web
 pkgver=0.1.0
-pkgrel=42
+pkgrel=43
 pkgdesc="Arch Linux official and AUR web interface binding"
 url="https://github.com/berberman/arch-web;
 license=("MIT")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:12:52
  Author: felixonmars
Revision: 870951

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
870950, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:12:52 UTC (rev 870951)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=129
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+sed -i -e '/bytestring-builder/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+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-jose/repos (2 files)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:11:14
  Author: felixonmars
Revision: 870949

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-jose/repos/community-staging-x86_64/PKGBUILD (from rev 870948, 
haskell-jose/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:11:14 UTC (rev 870949)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=jose
+pkgname=haskell-jose
+pkgver=0.8.4
+pkgrel=93
+pkgdesc="Javascript Object Signing and Encryption and JSON Web Token library"
+url="https://github.com/frasertweedale/hs-jose;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-concise'
+ 'haskell-cryptonite' 'haskell-lens' 'haskell-memory' 
'haskell-monad-time'
+ 'haskell-safe' 'haskell-aeson' 'haskell-unordered-containers' 
'haskell-network-uri'
+ 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-x509' 
'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4141e8f48b97b0d801fab576c3098b95dc1cc9b7c98815cff6bd62324aa2c6d5a4648734d14a00ef08aa36c523befdc6cb7dfdadb9d92d0dce2b434ef8165882')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:04:33
  Author: felixonmars
Revision: 870937

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD (from 
rev 870936, haskell-servant-swagger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:04:33 UTC (rev 870937)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-swagger
+pkgname=haskell-servant-swagger
+pkgver=1.1.10
+pkgrel=113
+pkgdesc="Generate Swagger specification for your servant API."
+url="https://github.com/haskell-servant/servant-swagger;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-servant'
+ 'haskell-singleton-bool' 'haskell-swagger2' 
'haskell-unordered-containers'
+ 'haskell-hspec' 'haskell-quickcheck')
+makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-cabal-doctest' 
'haskell-doctest'
+ 'haskell-hspec-discover' 'haskell-lens-aeson' 
'haskell-utf8-string' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('df3b397ce03dbb4c852598d4d188bcddde40fd9bd762eac53c837267420876ba3aa4d07fb638ffe0d0fa60c9cf080ad483508bf0359b45120f807ed65331f3bc')
+
+prepare() {
+cd $_hkgname-$pkgver
+# https://github.com/haskell-servant/servant-swagger/issues/129
+sed -i '/toSwagger comprehensiveAPI/d' test/Servant/SwaggerSpec.hs
+uusi -u doctest $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:06:21
  Author: felixonmars
Revision: 870940

upgpkg: haskell-servant-server 0.18.2-41: rebuild with network-uri 2.6.4.1

Modified:
  haskell-servant-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:05:20 UTC (rev 870939)
+++ PKGBUILD2021-02-24 00:06:21 UTC (rev 870940)
@@ -4,7 +4,7 @@
 _hkgname=servant-server
 pkgname=haskell-servant-server
 pkgver=0.18.2
-pkgrel=40
+pkgrel=41
 pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
 url="https://haskell-servant.readthedocs.org/;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:02:50
  Author: felixonmars
Revision: 870933

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 870932, dhall-lsp-server/trunk/PKGBUILD)

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

Copied: dhall-lsp-server/repos/community-staging-x86_64/PKGBUILD (from rev 
870932, dhall-lsp-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:02:50 UTC (rev 870933)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-lsp-server
+pkgver=1.0.13
+pkgrel=23
+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-lsp' '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' 'uusi' 'haskell-quickcheck' 'haskell-doctest' 
'haskell-lsp-types' 'haskell-lsp-test'
+ 'haskell-tasty' 'haskell-tasty-hspec')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('97821e85ac4b8610eeedc678cfe03f94758fbe3edb853ba12bb670aee583f6c78940092b6510a0e8cd5a3ce9d2b9089e28f95284452d6cb285cb75808dcc999a')
+
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u doctest $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-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
+}
+
+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 arch-hs/trunk (PKGBUILD)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:10:05
  Author: felixonmars
Revision: 870946

upgpkg: arch-hs 0.7.0.0-38: rebuild with network-uri 2.6.4.1

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:09:01 UTC (rev 870945)
+++ PKGBUILD2021-02-24 00:10:05 UTC (rev 870946)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.7.0.0
-pkgrel=37
+pkgrel=38
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:07:47
  Author: felixonmars
Revision: 870943

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-client/repos/community-staging-x86_64/PKGBUILD (from 
rev 870942, haskell-servant-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:07:47 UTC (rev 870943)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=servant-client
+pkgname=haskell-servant-client
+pkgver=0.18.2
+pkgrel=41
+pkgdesc="Automatic derivation of querying functions for servant"
+url="http://docs.servant.dev/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-http-client' 
'haskell-http-media'
+ 'haskell-http-types' 'haskell-kan-extensions' 'haskell-monad-control'
+ 'haskell-semigroupoids' 'haskell-servant' 
'haskell-servant-client-core'
+ 'haskell-transformers-base' 'haskell-transformers-compat')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 'haskell-aeson' 
'haskell-entropy'
+ 'haskell-hspec' 'haskell-hspec-discover' 'haskell-http-api-data'
+ 'haskell-markdown-unlit' 'haskell-network' 
'haskell-servant-server' 'haskell-sop-core'
+ 'haskell-tdigest' 'haskell-wai' 'haskell-warp')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('2172febb8d288c7776e20298e21b6c054f41129608147eeb93c2e412abbc9c29')
+
+prepare() {
+  uusi -u QuickCheck -u http-client $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-servant-client-core/trunk (PKGBUILD)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:05:07
  Author: felixonmars
Revision: 870938

upgpkg: haskell-servant-client-core 0.18.2-29: rebuild with network-uri 2.6.4.1

Modified:
  haskell-servant-client-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:04:33 UTC (rev 870937)
+++ PKGBUILD2021-02-24 00:05:07 UTC (rev 870938)
@@ -3,7 +3,7 @@
 _hkgname=servant-client-core
 pkgname=haskell-servant-client-core
 pkgver=0.18.2
-pkgrel=28
+pkgrel=29
 pkgdesc="Core functionality and class for client function generation for 
servant APIs"
 url="http://docs.servant.dev/;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:06:33
  Author: felixonmars
Revision: 870941

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 870940, haskell-servant-server/trunk/PKGBUILD)

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

Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 870940, haskell-servant-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:06:33 UTC (rev 870941)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.18.2
+pkgrel=41
+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' 'uusi' '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=('a8203535a2d4a62b16f717e262fda28685bba466c5e271b2bba991a668a7df4d494de8c10b0843faf3d56e71dba0f88065066ba7acce0e66e16d4a6ba2d96229')
+
+prepare() {
+uusi -u http-api-data -u base64-bytestring 
$_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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:05:20
  Author: felixonmars
Revision: 870939

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-servant-client-core/repos/community-staging-x86_64/
  haskell-servant-client-core/repos/community-staging-x86_64/PKGBUILD
(from rev 870938, haskell-servant-client-core/trunk/PKGBUILD)

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

Copied: haskell-servant-client-core/repos/community-staging-x86_64/PKGBUILD 
(from rev 870938, haskell-servant-client-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:05:20 UTC (rev 870939)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=servant-client-core
+pkgname=haskell-servant-client-core
+pkgver=0.18.2
+pkgrel=29
+pkgdesc="Core functionality and class for client function generation for 
servant APIs"
+url="http://docs.servant.dev/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat' 
'haskell-base64-bytestring' 'haskell-free'
+ 'haskell-http-media' 'haskell-http-types' 'haskell-network-uri' 
'haskell-safe'
+ 'haskell-servant' 'haskell-sop-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('799c40759420b947b860521ea2347da98e2c8bb9a4097651ea1a888f044b842c')
+
+prepare() {
+  uusi -u QuickCheck -u base64-bytestring $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-servant-client/trunk (PKGBUILD)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:07:35
  Author: felixonmars
Revision: 870942

upgpkg: haskell-servant-client 0.18.2-41: rebuild with network-uri 2.6.4.1

Modified:
  haskell-servant-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:06:33 UTC (rev 870941)
+++ PKGBUILD2021-02-24 00:07:35 UTC (rev 870942)
@@ -3,7 +3,7 @@
 _hkgname=servant-client
 pkgname=haskell-servant-client
 pkgver=0.18.2
-pkgrel=40
+pkgrel=41
 pkgdesc="Automatic derivation of querying functions for servant"
 url="http://docs.servant.dev/;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:02:31
  Author: felixonmars
Revision: 870932

upgpkg: dhall-lsp-server 1.0.13-23: rebuild with network-uri 2.6.4.1

Modified:
  dhall-lsp-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:01:37 UTC (rev 870931)
+++ PKGBUILD2021-02-24 00:02:31 UTC (rev 870932)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-lsp-server
 pkgver=1.0.13
-pkgrel=22
+pkgrel=23
 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-servant/repos (2 files)

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:03:37
  Author: felixonmars
Revision: 870935

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant/repos/community-staging-x86_64/PKGBUILD (from rev 
870934, haskell-servant/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 00:03:37 UTC (rev 870935)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant
+pkgname=haskell-servant
+pkgver=0.18.2
+pkgrel=28
+pkgdesc="A family of combinators for defining webservices APIs"
+url="http://haskell-servant.readthedocs.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 'haskell-attoparsec'
+ 'haskell-bifunctors' 'haskell-case-insensitive' 
'haskell-http-api-data'
+ 'haskell-http-media' 'haskell-http-types' 'haskell-mmorph' 
'haskell-network-uri'
+ 'haskell-quickcheck' 'haskell-tagged' 'haskell-sop-core' 
'haskell-singleton-bool'
+ 'haskell-string-conversions' 'haskell-vault')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('97214847dc3a66d167be93ae28ab711058652b7b0201a14e7b2093b34b21c731f359f2022a6dea2a1f78ba6f27d1ea78332e5b64a03200b6c5e73c1bc44a0c88')
+
+prepare() {
+uusi -u http-api-data $_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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:01:25
  Author: felixonmars
Revision: 870930

upgpkg: haskell-lsp-test 0.11.0.7-101: rebuild with network-uri 2.6.4.1

Modified:
  haskell-lsp-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-23 23:59:30 UTC (rev 870929)
+++ PKGBUILD2021-02-24 00:01:25 UTC (rev 870930)
@@ -3,7 +3,7 @@
 _hkgname=lsp-test
 pkgname=haskell-lsp-test
 pkgver=0.11.0.7
-pkgrel=100
+pkgrel=101
 pkgdesc="Functional test framework for LSP servers"
 url="https://github.com/bubba/lsp-test#readme;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:01:37
  Author: felixonmars
Revision: 870931

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:59:30
  Author: felixonmars
Revision: 870929

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 870928, haskell-lsp/trunk/PKGBUILD)

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

Copied: haskell-lsp/repos/community-staging-x86_64/PKGBUILD (from rev 870928, 
haskell-lsp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-23 23:59:30 UTC (rev 870929)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=haskell-lsp
+pkgname=haskell-lsp
+pkgver=0.24.0.0
+pkgrel=28
+pkgdesc="Haskell library for the Microsoft Language Server Protocol"
+url="https://github.com/alanz/haskell-lsp;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-attoparsec' 
'haskell-data-default'
+ 'haskell-hashable' 'haskell-lsp-types' 'haskell-hslogger' 
'haskell-lens'
+ 'haskell-network-uri' 'haskell-rope-utf16-splay' 'haskell-sorted-list'
+ 'haskell-temporary' 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('91ab856483ced484ba4b804a269d877595db6c4d606df8da81d0ba557deac2fc97970b645dac8594dbdce28f27e3f09877e45a8b28932317ed2c60e766a28a30')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:03:25
  Author: felixonmars
Revision: 870934

upgpkg: haskell-servant 0.18.2-28: rebuild with network-uri 2.6.4.1

Modified:
  haskell-servant/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:02:50 UTC (rev 870933)
+++ PKGBUILD2021-02-24 00:03:25 UTC (rev 870934)
@@ -4,7 +4,7 @@
 _hkgname=servant
 pkgname=haskell-servant
 pkgver=0.18.2
-pkgrel=27
+pkgrel=28
 pkgdesc="A family of combinators for defining webservices APIs"
 url="http://haskell-servant.readthedocs.org/;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 00:04:21
  Author: felixonmars
Revision: 870936

upgpkg: haskell-servant-swagger 1.1.10-113: rebuild with network-uri 2.6.4.1

Modified:
  haskell-servant-swagger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-24 00:03:37 UTC (rev 870935)
+++ PKGBUILD2021-02-24 00:04:21 UTC (rev 870936)
@@ -4,7 +4,7 @@
 _hkgname=servant-swagger
 pkgname=haskell-servant-swagger
 pkgver=1.1.10
-pkgrel=112
+pkgrel=113
 pkgdesc="Generate Swagger specification for your servant API."
 url="https://github.com/haskell-servant/servant-swagger;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:56:16
  Author: felixonmars
Revision: 870925

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 870924, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 870924, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-23 23:56:16 UTC (rev 870925)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=67
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+
Agda-ghc-8.10.3.patch::https://github.com/agda/agda/commit/76278c23d447b49f59fac581ca4ac605792aabbc.patch)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615'
+
'6e9069daa725efb75394b10eb6b637b891c5cff52dc4ae169f6b49ee0601f82a0dca65326a0747affa25670722e447b3b9f4893da6e7788277951af0c9fb22ee')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../Agda-ghc-8.10.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+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
+}
+
+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"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:57:52
  Author: felixonmars
Revision: 870926

upgpkg: haskell-lsp-types 0.24.0.0-27: rebuild with network-uri 2.6.4.1

Modified:
  haskell-lsp-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-23 23:56:16 UTC (rev 870925)
+++ PKGBUILD2021-02-23 23:57:52 UTC (rev 870926)
@@ -3,7 +3,7 @@
 _hkgname=haskell-lsp-types
 pkgname=haskell-lsp-types
 pkgver=0.24.0.0
-pkgrel=26
+pkgrel=27
 pkgdesc="Haskell library for the Microsoft Language Server Protocol, data 
types"
 url="https://github.com/alanz/haskell-lsp;
 license=("MIT")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:59:18
  Author: felixonmars
Revision: 870928

upgpkg: haskell-lsp 0.24.0.0-28: rebuild with network-uri 2.6.4.1

Modified:
  haskell-lsp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-23 23:58:04 UTC (rev 870927)
+++ PKGBUILD2021-02-23 23:59:18 UTC (rev 870928)
@@ -3,7 +3,7 @@
 _hkgname=haskell-lsp
 pkgname=haskell-lsp
 pkgver=0.24.0.0
-pkgrel=27
+pkgrel=28
 pkgdesc="Haskell library for the Microsoft Language Server Protocol"
 url="https://github.com/alanz/haskell-lsp;
 license=("MIT")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:56:03
  Author: felixonmars
Revision: 870924

upgpkg: agda 2.6.1.2-67: rebuild with network-uri 2.6.4.1

Modified:
  agda/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-23 23:44:06 UTC (rev 870923)
+++ PKGBUILD2021-02-23 23:56:03 UTC (rev 870924)
@@ -4,7 +4,7 @@
 _hkgname=Agda
 pkgname=agda
 pkgver=2.6.1.2
-pkgrel=66
+pkgrel=67
 pkgdesc="A dependently typed functional programming language and proof 
assistant"
 url="https://wiki.portal.chalmers.se/agda/;
 license=("custom")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:58:04
  Author: felixonmars
Revision: 870927

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp-types/repos/community-staging-x86_64/PKGBUILD (from rev 
870926, haskell-lsp-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-23 23:58:04 UTC (rev 870927)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=haskell-lsp-types
+pkgname=haskell-lsp-types
+pkgver=0.24.0.0
+pkgrel=27
+pkgdesc="Haskell library for the Microsoft Language Server Protocol, data 
types"
+url="https://github.com/alanz/haskell-lsp;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-data-default' 'haskell-hashable' 
'haskell-lens'
+ 'haskell-network-uri' 'haskell-scientific' 
'haskell-unordered-containers')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('736bf29157aed1ef5d075c8fdb5cd06a356b53ef5e87c88173c265c2b59d757c8af48ec0ef2b42681e27861c9d8e969a204ca563d643fb7e7d5638522e203584')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Massimiliano Torromeo via arch-commits
Date: Tuesday, February 23, 2021 @ 23:43:59
  Author: mtorromeo
Revision: 870922

upgpkg: geoipupdate 4.6.0-2: go 1.16 rebuild

Modified:
  geoipupdate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-23 23:40:22 UTC (rev 870921)
+++ PKGBUILD2021-02-23 23:43:59 UTC (rev 870922)
@@ -2,7 +2,7 @@
 
 pkgname=geoipupdate
 pkgver=4.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Update GeoIP2 and GeoIP Legacy binary databases from MaxMind"
 license=('Apache' 'MIT')
 arch=('x86_64')


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:33:35
  Author: felixonmars
Revision: 870915

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:30:07
  Author: felixonmars
Revision: 870909

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD 
(from rev 870908, haskell-wai-middleware-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-23 23:30:07 UTC (rev 870909)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-middleware-static
+pkgname=haskell-wai-middleware-static
+pkgver=0.9.0
+pkgrel=86
+pkgdesc="WAI middleware that serves requests to static files"
+url="https://github.com/scotty-web/wai-middleware-static;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cryptonite' 'haskell-memory' 
'haskell-expiring-cache-map'
+ 'haskell-http-types' 'haskell-mime-types' 'haskell-old-locale' 
'haskell-wai')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-hspec-expectations-lifted'
+ 'haskell-hspec-wai' 'haskell-mockery' 'haskell-scotty' 
'haskell-wai-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4833afa649ed2e9604f396481dbf5e1f4d96db841fb9c300a9c0b66641241c12c14d8e010860626a3d4bf00507fa0b28b5480d37ac1f8d6daa1c3e96685b654c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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 geoipupdate/repos/community-x86_64 (6 files)

2021-02-23 Thread Massimiliano Torromeo via arch-commits
Date: Tuesday, February 23, 2021 @ 23:44:06
  Author: mtorromeo
Revision: 870923

archrelease: copy trunk to community-x86_64

Added:
  geoipupdate/repos/community-x86_64/PKGBUILD
(from rev 870922, geoipupdate/trunk/PKGBUILD)
  geoipupdate/repos/community-x86_64/geoipupdate.service
(from rev 870922, geoipupdate/trunk/geoipupdate.service)
  geoipupdate/repos/community-x86_64/geoipupdate.timer
(from rev 870922, geoipupdate/trunk/geoipupdate.timer)
Deleted:
  geoipupdate/repos/community-x86_64/PKGBUILD
  geoipupdate/repos/community-x86_64/geoipupdate.service
  geoipupdate/repos/community-x86_64/geoipupdate.timer

-+
 PKGBUILD|  136 +-
 geoipupdate.service |   16 ++---
 geoipupdate.timer   |   20 +++
 3 files changed, 86 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-23 23:43:59 UTC (rev 870922)
+++ PKGBUILD2021-02-23 23:44:06 UTC (rev 870923)
@@ -1,68 +0,0 @@
-# Maintainer: Massimiliano Torromeo 
-
-pkgname=geoipupdate
-pkgver=4.6.0
-pkgrel=1
-pkgdesc="Update GeoIP2 and GeoIP Legacy binary databases from MaxMind"
-license=('Apache' 'MIT')
-arch=('x86_64')
-url="https://dev.maxmind.com/geoip/geoipupdate;
-depends=(glibc)
-makedepends=(go pandoc)
-backup=(etc/GeoIP.conf)
-provides=(geoip2-database)
-replaces=(geoip2-database)
-
-source=(
-
"https://github.com/maxmind/geoipupdate/archive/v$pkgver/$pkgname-$pkgver.tar.gz;
-"geoipupdate.service"
-"geoipupdate.timer"
-)
-
-sha256sums=('e64c3cb6f2c999e11e8401814305cbd7676c9d78a0131e06ed9dd950606dffcd'
-'94d120a089524b91b2c3095332dee66b346bc97f1496cbff677ff02afa37a6cc'
-'ba9039ae9cc3dea4fe48480527b515cab2ad3a2f69aea5bf55f551e6895779e3')
-
-prepare() {
-cd "$srcdir/$pkgname-$pkgver"
-sed -i 's/EditionIDs .*/EditionIDs GeoLite2-ASN GeoLite2-City 
GeoLite2-Country/' conf/GeoIP.conf.default
-}
-
-build() {
-cd "$srcdir/$pkgname-$pkgver"
-
-export CONFFILE=/etc/GeoIP.conf
-export DATADIR=/var/lib/GeoIP
-
-make BUILDDIR="$srcdir/build" data
-
-cd cmd/geoipupdate
-go build \
--trimpath \
--buildmode=pie \
--mod=readonly \
--modcacherw \
--ldflags "-extldflags \"$LDFLAGS\" -X main.defaultConfigFile=$CONFFILE 
-X main.defaultDatabaseDirectory=$DATADIR -X main.version=$pkgver" \
--o "$srcdir/build/geoipupdate" \
-.
-}
-
-package() {
-install -dm755 "$pkgdir/var/lib/GeoIP"
-
-cd "$srcdir"
-install -Dm644 geoipupdate.service 
"$pkgdir/usr/lib/systemd/system/geoipupdate.service"
-install -Dm644 geoipupdate.timer 
"$pkgdir/usr/lib/systemd/system/geoipupdate.timer"
-
-cd "$srcdir/build"
-install -Dm755 geoipupdate "$pkgdir/usr/bin/geoipupdate"
-install -Dm600 GeoIP.conf "$pkgdir/etc/GeoIP.conf"
-install -Dm644 geoipupdate.md 
"$pkgdir/usr/share/doc/$pkgname/geoipupdate.md"
-install -Dm644 GeoIP.conf.md "$pkgdir/usr/share/doc/$pkgname/GeoIP.conf.md"
-install -Dm644 geoipupdate.1 "$pkgdir/usr/share/man/man1/geoipupdate.1"
-install -Dm644 GeoIP.conf.5 "$pkgdir/usr/share/man/man5/GeoIP.conf.5"
-
-cd "$srcdir/$pkgname-$pkgver"
-install -Dm644 LICENSE-APACHE 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
-install -Dm644 LICENSE-MIT 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-}

Copied: geoipupdate/repos/community-x86_64/PKGBUILD (from rev 870922, 
geoipupdate/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-23 23:44:06 UTC (rev 870923)
@@ -0,0 +1,68 @@
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=geoipupdate
+pkgver=4.6.0
+pkgrel=2
+pkgdesc="Update GeoIP2 and GeoIP Legacy binary databases from MaxMind"
+license=('Apache' 'MIT')
+arch=('x86_64')
+url="https://dev.maxmind.com/geoip/geoipupdate;
+depends=(glibc)
+makedepends=(go pandoc)
+backup=(etc/GeoIP.conf)
+provides=(geoip2-database)
+replaces=(geoip2-database)
+
+source=(
+
"https://github.com/maxmind/geoipupdate/archive/v$pkgver/$pkgname-$pkgver.tar.gz;
+"geoipupdate.service"
+"geoipupdate.timer"
+)
+
+sha256sums=('e64c3cb6f2c999e11e8401814305cbd7676c9d78a0131e06ed9dd950606dffcd'
+'94d120a089524b91b2c3095332dee66b346bc97f1496cbff677ff02afa37a6cc'
+'ba9039ae9cc3dea4fe48480527b515cab2ad3a2f69aea5bf55f551e6895779e3')
+
+prepare() {
+cd "$srcdir/$pkgname-$pkgver"
+sed -i 's/EditionIDs .*/EditionIDs GeoLite2-ASN GeoLite2-City 
GeoLite2-Country/' conf/GeoIP.conf.default
+}
+
+build() {
+cd "$srcdir/$pkgname-$pkgver"
+
+export CONFFILE=/etc/GeoIP.conf
+export DATADIR=/var/lib/GeoIP
+
+make BUILDDIR="$srcdir/build" data
+
+cd cmd/geoipupdate
+go build \
+-trimpath \
+-buildmode=pie \
+-mod=readonly \
+-modcacherw \
+-ldflags "-extldflags 

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

2021-02-23 Thread Massimiliano Torromeo via arch-commits
Date: Tuesday, February 23, 2021 @ 23:40:22
  Author: mtorromeo
Revision: 870921

archrelease: copy trunk to community-x86_64

Added:
  percona-toolkit/repos/community-x86_64/PKGBUILD
(from rev 870920, percona-toolkit/trunk/PKGBUILD)
Deleted:
  percona-toolkit/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-23 23:40:07 UTC (rev 870920)
+++ PKGBUILD2021-02-23 23:40:22 UTC (rev 870921)
@@ -1,70 +0,0 @@
-# Maintainer: Massimiliano Torromeo 
-# Contributor: D. Can Celasun 
-# Contributor: Felix Hanley 
-# Contributor: SÅ‚awomir Kowalski 
-
-pkgname=percona-toolkit
-pkgver=3.3.0
-pkgrel=1
-pkgdesc="Collection of advanced command-line tools to perform a variety of 
MySQL and system tasks."
-url="https://www.percona.com/software/database-tools/percona-toolkit;
-arch=('x86_64')
-license=('GPL')
-depends=('perl-term-readkey')
-makedepends=('perl-dbd-mysql' 'perl-dbi' 'go' 'dep' 'git')
-optdepends=(
-'perl-dbd-mysql: MySQL connections'
-'perl-dbi: MySQL connections'
-)
-options=('!emptydirs' 'purge')
-source=("https://github.com/percona/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
-sha256sums=('1a4a5a2a9778bbb0f6959b5a8e5f46099e03d974c35ac49fc630af1a78837728')
-
-prepare() {
-mkdir -p "$srcdir"/src/github.com/percona
-cd "$srcdir"/src/github.com/percona
-mv "$srcdir"/$pkgname-$pkgver $pkgname
-cd $pkgname
-
-sed -ri src/go{,/*}/Makefile \
--e "s#\\$\\(shell git describe --abbrev=0\\)#v$pkgver#" \
--e "s#\\$\\(shell git rev-(parse|list).* HEAD\\)#v$pkgver#" \
--e "s#\\$\\(shell git rev-parse 
--show-toplevel\\)#$srcdir/src/github.com/percona/$pkgname#" \
--e "s#\\$\\(shell basename \`git rev-parse 
--show-toplevel\`\\)#$pkgname#" \
--e "s#\\bLDFLAGS\\b#PTLDFLAGS#" \
--e 's#^PTLDFLAGS="#PTLDFLAGS="-extldflags \\"$(LDFLAGS)\\" #'
-}
-
-build() {
-export CGO_CPPFLAGS="${CPPFLAGS}"
-export CGO_CFLAGS="${CFLAGS}"
-export CGO_CXXFLAGS="${CXXFLAGS}"
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-export GOPATH="$srcdir"
-export PATH="$GOPATH/bin:$PATH"
-
-cd "$srcdir"/src/github.com/percona/$pkgname
-unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
-export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps 
MODULEBUILDRC=/dev/null
-perl Makefile.PL INSTALLDIRS=vendor
-make
-
-cd src/go
-make linux-amd64
-}
-
-package() {
-cd "$srcdir"/src/github.com/percona/$pkgname
-unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
-make install DESTDIR="$pkgdir"
-rm -rf "$pkgdir"/usr/lib
-
-cd bin
-for bin in *; do
-if [ ! -f "$pkgdir/usr/bin/vendor_perl/$bin" ]; then
-install -Dm755 "$bin" "$pkgdir/usr/bin/$bin"
-fi
-done
-}

Copied: percona-toolkit/repos/community-x86_64/PKGBUILD (from rev 870920, 
percona-toolkit/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-23 23:40:22 UTC (rev 870921)
@@ -0,0 +1,73 @@
+# Maintainer: Massimiliano Torromeo 
+# Contributor: D. Can Celasun 
+# Contributor: Felix Hanley 
+# Contributor: SÅ‚awomir Kowalski 
+
+pkgname=percona-toolkit
+pkgver=3.3.0
+pkgrel=2
+pkgdesc="Collection of advanced command-line tools to perform a variety of 
MySQL and system tasks."
+url="https://www.percona.com/software/database-tools/percona-toolkit;
+arch=('x86_64')
+license=('GPL')
+depends=('perl-term-readkey')
+makedepends=('perl-dbd-mysql' 'perl-dbi' 'go' 'git')
+optdepends=(
+'perl-dbd-mysql: MySQL connections'
+'perl-dbi: MySQL connections'
+)
+options=('!emptydirs' 'purge')
+source=("https://github.com/percona/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('1a4a5a2a9778bbb0f6959b5a8e5f46099e03d974c35ac49fc630af1a78837728')
+
+prepare() {
+mkdir -p "$srcdir"/src/github.com/percona
+cd "$srcdir"/src/github.com/percona
+mv "$srcdir"/$pkgname-$pkgver $pkgname
+cd $pkgname
+
+sed -ri src/go{,/*}/Makefile \
+-e "s#\\$\\(shell git describe --abbrev=0\\)#v$pkgver#" \
+-e "s#\\$\\(shell git rev-(parse|list).* HEAD\\)#v$pkgver#" \
+-e "s#\\$\\(shell git rev-parse 
--show-toplevel\\)#$srcdir/src/github.com/percona/$pkgname#" \
+-e "s#\\$\\(shell basename \`git rev-parse 
--show-toplevel\`\\)#$pkgname#" \
+-e "s#\\bLDFLAGS\\b#PTLDFLAGS#" \
+-e 's#^PTLDFLAGS="#PTLDFLAGS="-extldflags \\"$(LDFLAGS)\\" #'
+
+# disable go dep
+sed '/dep ensure/d' -i src/go/Makefile
+}
+
+build() {
+export CGO_CPPFLAGS="${CPPFLAGS}"
+export CGO_CFLAGS="${CFLAGS}"
+export CGO_CXXFLAGS="${CXXFLAGS}"
+export CGO_LDFLAGS="${LDFLAGS}"
+export 

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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:35:17
  Author: felixonmars
Revision: 870919

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 870918, dhall-yaml/trunk/PKGBUILD)

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

Copied: dhall-yaml/repos/community-staging-x86_64/PKGBUILD (from rev 870918, 
dhall-yaml/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-23 23:35:17 UTC (rev 870919)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-yaml
+pkgver=1.2.5
+pkgrel=22
+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' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('c443322c3cf597ba20c391e139f7b44d9f2adce3772c3a601a6652ef0bc909676e8ee985d7e59052abbc41e4f3b5ab926c5598069f3e74807967c3c55206c914')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+  
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test
+}
+
+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/repos (2 files)

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:32:49
  Author: felixonmars
Revision: 870913

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall/repos/community-staging-x86_64/PKGBUILD (from rev 870912, 
dhall/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-23 23:32:49 UTC (rev 870913)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall
+pkgver=1.38.0
+pkgrel=22
+pkgdesc='A configuration language guaranteed to terminate'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+ 'haskell-atomic-write' 'haskell-case-insensitive' 'haskell-cborg' 
'haskell-cborg-json'
+ 'haskell-contravariant' 'haskell-data-fix' 'haskell-diff' 
'haskell-dotgen'
+ 'haskell-either' 'haskell-half' 'haskell-hashable' 
'haskell-lens-family-core'
+ 'haskell-megaparsec' 'haskell-memory' 'haskell-mmorph' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'haskell-parsers' 
'haskell-parser-combinators'
+ 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal' 
'haskell-pretty-simple'
+ 'haskell-profunctors' 'haskell-repline' 'haskell-serialise' 
'haskell-scientific'
+ 'haskell-text-manipulate' 'haskell-th-lift-instances' 
'haskell-transformers-compat'
+ 'haskell-unordered-containers' 'haskell-uri-encode' 'haskell-vector' 
'haskell-cryptonite'
+ 'haskell-http-types' 'haskell-http-client' 'haskell-http-client-tls')
+makedepends=('ghc' 'haskell-foldl' 'haskell-generic-random' 'haskell-mockery' 
'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-special-values' 
'haskell-spoon'
+ 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-silver' 
'haskell-turtle' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('ebb8525053d3d315c8f620d4b0fa760188d918978a991e0457a8f66d75463934e0d99869d52bad3b3f8faa2329843b86512aaf0978fbb5c6e7247efa510e873f')
+
+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" --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+# https://github.com/dhall-lang/dhall-haskell/issues/1985
+#runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:29:11
  Author: felixonmars
Revision: 870906

upgpkg: haskell-scotty 0.12-86: rebuild with network-uri 2.6.4.1

Modified:
  haskell-scotty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-23 23:28:31 UTC (rev 870905)
+++ PKGBUILD2021-02-23 23:29:11 UTC (rev 870906)
@@ -3,7 +3,7 @@
 _hkgname=scotty
 pkgname=haskell-scotty
 pkgver=0.12
-pkgrel=85
+pkgrel=86
 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-uri-encode/trunk (PKGBUILD)

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:30:31
  Author: felixonmars
Revision: 870910

upgpkg: haskell-uri-encode 1.5.0.7-76: rebuild with network-uri 2.6.4.1

Modified:
  haskell-uri-encode/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-23 23:30:07 UTC (rev 870909)
+++ PKGBUILD2021-02-23 23:30:31 UTC (rev 870910)
@@ -4,7 +4,7 @@
 _hkgname=uri-encode
 pkgname=haskell-uri-encode
 pkgver=1.5.0.7
-pkgrel=75
+pkgrel=76
 pkgdesc="Unicode aware uri-encoding"
 url="https://github.com/silkapp/uri-encode;
 license=("BSD")


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 23:35:05
  Author: felixonmars
Revision: 870918

upgpkg: dhall-yaml 1.2.5-22: rebuild with network-uri 2.6.4.1

Modified:
  dhall-yaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-23 23:34:29 UTC (rev 870917)
+++ PKGBUILD2021-02-23 23:35:05 UTC (rev 870918)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-yaml
 pkgver=1.2.5
-pkgrel=21
+pkgrel=22
 pkgdesc="Convert between Dhall and YAML"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml;
 license=("GPL3")


  1   2   3   4   5   6   7   8   9   10   >