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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:57:54
  Author: felixonmars
Revision: 578222

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 578221, pandoc-citeproc/trunk/PKGBUILD)

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

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
578221, pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 07:57:54 UTC (rev 578222)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-citeproc
+pkgver=0.16.4.1
+pkgrel=61
+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')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;)
+sha512sums=('1a9f961c974cb5cd7dc51980e389cbce36b189b06fe0c1fd8ecbbd7cbbf6aaf5cccf1a8d6cf5b28e5d4a355c57d090050f458b8d6a304d37a4c64e6e220a502f')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+# 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
+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 || warning "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 pandoc-citeproc/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:57:46
  Author: felixonmars
Revision: 578221

upgpkg: pandoc-citeproc 0.16.4.1-61: rebuild with tasty-lua 0.2.2

Modified:
  pandoc-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 07:54:53 UTC (rev 578220)
+++ PKGBUILD2020-02-22 07:57:46 UTC (rev 578221)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-citeproc
 pkgver=0.16.4.1
-pkgrel=60
+pkgrel=61
 pkgdesc="Supports using pandoc with citeproc"
 url="https://hackage.haskell.org/package/$pkgname;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:54:53
  Author: felixonmars
Revision: 578220

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 578219, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 07:54:53 UTC (rev 578220)
@@ -0,0 +1,68 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.9.2
+pkgrel=11
+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-base-compat'
+ 'haskell-base64-bytestring' 'haskell-blaze-html' 
'haskell-blaze-markup'
+ 'haskell-case-insensitive' 'haskell-cmark-gfm' 'haskell-data-default' 
'haskell-doclayout'
+ 'haskell-doctemplates' 'haskell-emojis' 'haskell-exceptions' 
'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-vector' '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' '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=('af67ad7ff6f5f16d62a9a5b988bb402f17e5774fcc91a7be56d95b2694640051628495c526ae9f92095ec7050ebb096db5d23ef07a105e73bbf50386a67eb532')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+
+# 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 "${srcdir}/${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
+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 "${srcdir}/${pkgname}-${pkgver}"
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd "${srcdir}/${pkgbase}-${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 "${pkgdir}"/usr/share/man/man1/pandoc.1
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:54:46
  Author: felixonmars
Revision: 578219

upgpkg: pandoc 2.9.2-11: rebuild with tasty-lua 0.2.2

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 07:34:38 UTC (rev 578218)
+++ PKGBUILD2020-02-22 07:54:46 UTC (rev 578219)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.9.2
-pkgrel=10
+pkgrel=11
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:34:31
  Author: felixonmars
Revision: 578217

upgpkg: haskell-tasty-lua 0.2.2-1: rebuild with tasty-lua 0.2.2

Modified:
  haskell-tasty-lua/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 07:32:33 UTC (rev 578216)
+++ PKGBUILD2020-02-22 07:34:31 UTC (rev 578217)
@@ -2,7 +2,7 @@
 
 _hkgname=tasty-lua
 pkgname=haskell-tasty-lua
-pkgver=0.2.1
+pkgver=0.2.2
 pkgrel=1
 pkgdesc="Write tests in Lua, integrate into tasty."
 url="https://github.com/hslua/tasty-lua;
@@ -11,7 +11,7 @@
 depends=('ghc-libs' 'haskell-file-embed' 'haskell-hslua' 'haskell-tasty')
 makedepends=('ghc' 'haskell-tasty-hunit')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('d9d56a83ed234974ab93d3de6287e1f1aa6db1fb683091fa4b6c57fd4a38a0f2093c089f06ab4d7bebaf2096eb2d37b76acccd6e8881797f0ac60bc1f66f3c99')
+sha512sums=('d0407fa44d794747506652ec924801559e9d5314550c3045a3f263dc6c4747cea559d77b835a4fe24909627664c11fef0e08341923c92e821968b8ec273aa9b3')
 
 build() {
 cd $_hkgname-$pkgver
@@ -37,6 +37,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:34:38
  Author: felixonmars
Revision: 578218

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-lua/repos/community-staging-x86_64/
  haskell-tasty-lua/repos/community-staging-x86_64/PKGBUILD
(from rev 578217, haskell-tasty-lua/trunk/PKGBUILD)

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

Copied: haskell-tasty-lua/repos/community-staging-x86_64/PKGBUILD (from rev 
578217, haskell-tasty-lua/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 07:34:38 UTC (rev 578218)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-lua
+pkgname=haskell-tasty-lua
+pkgver=0.2.2
+pkgrel=1
+pkgdesc="Write tests in Lua, integrate into tasty."
+url="https://github.com/hslua/tasty-lua;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-file-embed' 'haskell-hslua' 'haskell-tasty')
+makedepends=('ghc' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('d0407fa44d794747506652ec924801559e9d5314550c3045a3f263dc6c4747cea559d77b835a4fe24909627664c11fef0e08341923c92e821968b8ec273aa9b3')
+
+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
+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 shellcheck/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:23:41
  Author: felixonmars
Revision: 578204

upgpkg: shellcheck 0.7.0-137: rebuild with ghc-lib-parser-ex 8.8.3.0, hlint 
2.2.8

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 07:20:27 UTC (rev 578203)
+++ PKGBUILD2020-02-22 07:23:41 UTC (rev 578204)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.7.0
-pkgrel=136
+pkgrel=137
 pkgdesc="Shell script analysis tool"
 url="https://www.shellcheck.net;
 license=("GPL")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:23:50
  Author: felixonmars
Revision: 578205

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 578204, 
shellcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 07:23:50 UTC (rev 578205)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.7.0
+pkgrel=137
+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;
+
shellcheck-cabal3.patch::https://github.com/koalaman/shellcheck/commit/2c026f1ec7c205c731ff2a0ccd85365f37245758.patch)
+sha512sums=('46ef486dff09bd51bdc5f053b1dda9e3f2943c66bbf6788824ddf8fcf3b69b7a3a9c00bf98bca0dee9d57ee6df833ca4088252dbf773815248be0fa667f35215'
+
'88b7101a536598ecbf4d1c48cfd4eb10b1a6424a2344e4b1be6f6a814dcf1c3d00e78390070242369bc55ed9c20defd4cc7337854da71761fb08e13240619684')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../shellcheck-cabal3.patch
+
+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
+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/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:20:20
  Author: felixonmars
Revision: 578202

upgpkg: pandoc-crossref 0.3.6.0-29: rebuild with ghc-lib-parser-ex 8.8.3.0, 
hlint 2.2.8

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 07:18:37 UTC (rev 578201)
+++ PKGBUILD2020-02-22 07:20:20 UTC (rev 578202)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.6.0
-pkgrel=28
+pkgrel=29
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:20:27
  Author: felixonmars
Revision: 578203

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 578202, pandoc-crossref/trunk/PKGBUILD)

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
578202, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 07:20:27 UTC (rev 578203)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.6.0
+pkgrel=29
+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=('059161c0a6a52cf6c573841afb0eea44dfacb122c6cb7eee5ca8554557772c38e18ec4d367abc1edd3c6efd8a993b42165083cfca41c0d5823abb19cbc3cf125')
+
+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
+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 haskell-hakyll/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:18:28
  Author: felixonmars
Revision: 578200

upgpkg: haskell-hakyll 4.13.0.1-5: rebuild with ghc-lib-parser-ex 8.8.3.0, 
hlint 2.2.8

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 07:16:38 UTC (rev 578199)
+++ PKGBUILD2020-02-22 07:18:28 UTC (rev 578200)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.13.0.1
-pkgrel=4
+pkgrel=5
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:18:37
  Author: felixonmars
Revision: 578201

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 578200, haskell-hakyll/trunk/PKGBUILD)

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
578200, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 07:18:37 UTC (rev 578201)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.13.0.1
+pkgrel=5
+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-cryptohash'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' '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' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('36d3d0c9e3cefbc6b159ec868a523be37cfd92db8997f914cbf9eb568cba6f16169048aca7d4bebdf8a800ec3ed6bb710c9330723b3444629ab8fae77e9325df')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/< *1.3/<2/' -e 's/< *2/<3/' -e 's/< *3.3/<4/' -e 's/< 
*0.15/<1/' $_hkgname.cabal
+sed -i 's/fail /error /' lib/Hakyll/Core/Metadata.hs 
lib/Hakyll/Web/Redirect.hs lib/Hakyll/Web/Template/Context.hs
+sed -i '/fail = /i instance MonadFail Compiler where' 
lib/Hakyll/Core/Compiler/Internal.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 \
+-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
+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 $_hkgname-$pkgver
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test || warning 
"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/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:16:31
  Author: felixonmars
Revision: 578198

upgpkg: pandoc-citeproc 0.16.4.1-60: rebuild with ghc-lib-parser-ex 8.8.3.0, 
hlint 2.2.8

Modified:
  pandoc-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 07:13:39 UTC (rev 578197)
+++ PKGBUILD2020-02-22 07:16:31 UTC (rev 578198)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-citeproc
 pkgver=0.16.4.1
-pkgrel=59
+pkgrel=60
 pkgdesc="Supports using pandoc with citeproc"
 url="https://hackage.haskell.org/package/$pkgname;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:16:38
  Author: felixonmars
Revision: 578199

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 578198, pandoc-citeproc/trunk/PKGBUILD)

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

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
578198, pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 07:16:38 UTC (rev 578199)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-citeproc
+pkgver=0.16.4.1
+pkgrel=60
+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')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;)
+sha512sums=('1a9f961c974cb5cd7dc51980e389cbce36b189b06fe0c1fd8ecbbd7cbbf6aaf5cccf1a8d6cf5b28e5d4a355c57d090050f458b8d6a304d37a4c64e6e220a502f')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+# 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
+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 || warning "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 pandoc/repos (2 files)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:13:39
  Author: felixonmars
Revision: 578197

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 578196, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 07:13:39 UTC (rev 578197)
@@ -0,0 +1,68 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.9.2
+pkgrel=10
+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-base-compat'
+ 'haskell-base64-bytestring' 'haskell-blaze-html' 
'haskell-blaze-markup'
+ 'haskell-case-insensitive' 'haskell-cmark-gfm' 'haskell-data-default' 
'haskell-doclayout'
+ 'haskell-doctemplates' 'haskell-emojis' 'haskell-exceptions' 
'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-vector' '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' '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=('af67ad7ff6f5f16d62a9a5b988bb402f17e5774fcc91a7be56d95b2694640051628495c526ae9f92095ec7050ebb096db5d23ef07a105e73bbf50386a67eb532')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+
+# 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 "${srcdir}/${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
+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 "${srcdir}/${pkgname}-${pkgver}"
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd "${srcdir}/${pkgbase}-${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 "${pkgdir}"/usr/share/man/man1/pandoc.1
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 07:13:31
  Author: felixonmars
Revision: 578196

upgpkg: pandoc 2.9.2-10: rebuild with ghc-lib-parser-ex 8.8.3.0, hlint 2.2.8

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:52:40 UTC (rev 578195)
+++ PKGBUILD2020-02-22 07:13:31 UTC (rev 578196)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.9.2
-pkgrel=9
+pkgrel=10
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:52:40
  Author: felixonmars
Revision: 578195

archrelease: copy trunk to community-staging-x86_64

Added:
  cryptol/repos/community-staging-x86_64/
  cryptol/repos/community-staging-x86_64/PKGBUILD
(from rev 578194, cryptol/trunk/PKGBUILD)

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

Copied: cryptol/repos/community-staging-x86_64/PKGBUILD (from rev 578194, 
cryptol/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:52:40 UTC (rev 578195)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+pkgname=cryptol
+pkgver=2.8.0
+pkgrel=51
+pkgdesc="The Language of Cryptography"
+url="https://www.cryptol.net;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'z3' 'haskell-base-compat' 'haskell-cryptohash-sha1' 
'haskell-gitrev'
+ 'haskell-graphscc' 'haskell-heredoc' 'haskell-monad-control' 
'haskell-monadlib'
+ 'haskell-panic' 'haskell-random' 'haskell-sbv' 'haskell-simple-smt' 
'haskell-strict'
+ 'haskell-tf-random' 'haskell-transformers-base' 
'haskell-ansi-terminal'
+ 'haskell-blaze-html')
+makedepends=('ghc' 'alex' 'happy')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/GaloisInc/cryptol/archive/$pkgver.tar.gz;
+ghc-8.8.patch::https://github.com/GaloisInc/cryptol/pull/655.patch)
+sha512sums=('ad2cbb67dbcd10dba12457b24558af4ef7066817f18e162432607e7d887071fef13a1c958e37a3f7e8e3fd04079c20cc2a8abdcf1c9dd35a9a93e7e0a2d383b0'
+
'f5399cfde04c2645e0bc80d80a39ac570c9649961e22bf9808bb55ba8457f9a124469d699de73624b2debabe8d672879bd0b2279b60dfcb08d328de67ca78e84')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../ghc-8.8.patch
+sed -i 's/< *0.11/<1/' $pkgname.cabal
+#sed -i 's/import Prelude.Compat/import Prelude.Compat hiding ( fail )/' 
src/Cryptol/Parser/{NoPat,ParserUtils}.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" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-static -f-relocatable --ghc-option='-pie'
+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
+}
+
+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 cryptol/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:52:33
  Author: felixonmars
Revision: 578194

upgpkg: cryptol 2.8.0-51: rebuild with ghc-lib-parser-ex 8.8.3.0, hlint 2.2.8

Modified:
  cryptol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:49:26 UTC (rev 578193)
+++ PKGBUILD2020-02-22 06:52:33 UTC (rev 578194)
@@ -2,7 +2,7 @@
 
 pkgname=cryptol
 pkgver=2.8.0
-pkgrel=50
+pkgrel=51
 pkgdesc="The Language of Cryptography"
 url="https://www.cryptol.net;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:49:26
  Author: felixonmars
Revision: 578193

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sbv/repos/community-staging-x86_64/PKGBUILD (from rev 578192, 
haskell-sbv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:49:26 UTC (rev 578193)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=sbv
+pkgname=haskell-sbv
+pkgver=8.6
+pkgrel=13
+pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
+url="https://leventerkok.github.com/sbv;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-quickcheck' 'haskell-cracknum' 
'haskell-async'
+ 'haskell-random' 'haskell-syb' 'haskell-generic-deriving')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'hlint' '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=('2282c63d21c6baa8070ec8afbfb75deeae6becead7963efd0894d9a82af31de7e993d7bc57c17c5e7914bd458f45771ac7e0995632511584dd6d90bff9034f1f')
+
+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
+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-sbv/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:49:18
  Author: felixonmars
Revision: 578192

upgpkg: haskell-sbv 8.6-13: rebuild with ghc-lib-parser-ex 8.8.3.0, hlint 2.2.8

Modified:
  haskell-sbv/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:38:26 UTC (rev 578191)
+++ PKGBUILD2020-02-22 06:49:18 UTC (rev 578192)
@@ -4,7 +4,7 @@
 _hkgname=sbv
 pkgname=haskell-sbv
 pkgver=8.6
-pkgrel=12
+pkgrel=13
 pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
 url="https://leventerkok.github.com/sbv;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:38:26
  Author: felixonmars
Revision: 578191

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ipynb/repos/community-staging-x86_64/PKGBUILD (from rev 578190, 
haskell-ipynb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:38:26 UTC (rev 578191)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ipynb
+pkgname=haskell-ipynb
+pkgver=0.1
+pkgrel=124
+pkgdesc="Data structure for working with Jupyter notebooks (ipynb)"
+url="https://github.com/jgm/ipynb;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base64-bytestring' 
'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-aeson-diff' 'haskell-microlens' 
'haskell-microlens-aeson'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('8717dac6496905afc5e8735abc3b3a4a90b171253b035efa0751a6311b901caad563fdfeaa455987c1307d0532273ab80be37256562143db575f13c326843bf4')
+
+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
+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-ipynb/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:38:19
  Author: felixonmars
Revision: 578190

upgpkg: haskell-ipynb 0.1-124: rebuild with ghc-lib-parser-ex 8.8.3.0, hlint 
2.2.8

Modified:
  haskell-ipynb/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:37:32 UTC (rev 578189)
+++ PKGBUILD2020-02-22 06:38:19 UTC (rev 578190)
@@ -3,7 +3,7 @@
 _hkgname=ipynb
 pkgname=haskell-ipynb
 pkgver=0.1
-pkgrel=123
+pkgrel=124
 pkgdesc="Data structure for working with Jupyter notebooks (ipynb)"
 url="https://github.com/jgm/ipynb;
 license=('BSD')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:37:25
  Author: felixonmars
Revision: 578188

upgpkg: haskell-aeson-diff 1.1.0.8-42: rebuild with ghc-lib-parser-ex 8.8.3.0, 
hlint 2.2.8

Modified:
  haskell-aeson-diff/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:35:37 UTC (rev 578187)
+++ PKGBUILD2020-02-22 06:37:25 UTC (rev 578188)
@@ -3,7 +3,7 @@
 _hkgname=aeson-diff
 pkgname=haskell-aeson-diff
 pkgver=1.1.0.8
-pkgrel=41
+pkgrel=42
 pkgdesc="Extract and apply patches to JSON documents"
 url="https://github.com/thsutton/aeson-diff;
 license=('BSD')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:37:32
  Author: felixonmars
Revision: 578189

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-aeson-diff/repos/community-staging-x86_64/
  haskell-aeson-diff/repos/community-staging-x86_64/PKGBUILD
(from rev 578188, haskell-aeson-diff/trunk/PKGBUILD)

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

Copied: haskell-aeson-diff/repos/community-staging-x86_64/PKGBUILD (from rev 
578188, haskell-aeson-diff/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:37:32 UTC (rev 578189)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=aeson-diff
+pkgname=haskell-aeson-diff
+pkgver=1.1.0.8
+pkgrel=42
+pkgdesc="Extract and apply patches to JSON documents"
+url="https://github.com/thsutton/aeson-diff;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-edit-distance-vector' 
'haskell-hashable'
+ 'haskell-scientific' 'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'hlint')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('5a5f703dec592c0cfd825eb1899006350649c52bf810ff1aaaf4134ebfbc11f5fbe9e7f158a8c3a21dbef4902b1f9e94148bc116e27418b2b786f6d31c7561fb')
+
+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
+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 hlint/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:35:29
  Author: felixonmars
Revision: 578186

upgpkg: hlint 2.2.9-1: rebuild with ghc-lib-parser-ex 8.8.3.0, hlint 2.2.8

Modified:
  hlint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:34:03 UTC (rev 578185)
+++ PKGBUILD2020-02-22 06:35:29 UTC (rev 578186)
@@ -2,8 +2,8 @@
 # Contributor: Arch Haskell Team 
 
 pkgname=hlint
-pkgver=2.2.8
-pkgrel=2
+pkgver=2.2.9
+pkgrel=1
 pkgdesc="Source code suggestions"
 url="http://community.haskell.org/~ndm/hlint/;
 license=("BSD")
@@ -17,7 +17,7 @@
 replaces=('haskell-hlint')
 makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
-sha512sums=('578f59bb345d353d23c4e8d50beaf6732202d77ff186f509366a536935f8be2048c7f4b6d8f74f373c7a95a7f90ce1bbb11bc3072a03ccf0181b5df9dadac57e')
+sha512sums=('877af90314033f902edfc9859cb11c12ef853b8872233e62bcb74a32319bc50cd30954d73b48c0dfa84800ab197ef2cc4d243251da0e3c399ce73c94a9d43c7d')
 
 build() {
 cd "${srcdir}/${pkgname}-${pkgver}"


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:35:37
  Author: felixonmars
Revision: 578187

archrelease: copy trunk to community-staging-x86_64

Added:
  hlint/repos/community-staging-x86_64/
  hlint/repos/community-staging-x86_64/PKGBUILD
(from rev 578186, hlint/trunk/PKGBUILD)

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

Copied: hlint/repos/community-staging-x86_64/PKGBUILD (from rev 578186, 
hlint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:35:37 UTC (rev 578187)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hlint
+pkgver=2.2.9
+pkgrel=1
+pkgdesc="Source code suggestions"
+url="http://community.haskell.org/~ndm/hlint/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-cmdargs' 
'haskell-cpphs'
+ 'haskell-data-default' 'haskell-extra' 'haskell-file-embed' 
'haskell-filepattern'
+ 'haskell-ghc' 'haskell-ghc-lib-parser-ex' 'haskell-hscolour' 
'haskell-refact'
+ 'haskell-src-exts' 'haskell-src-exts-util' 'haskell-syb' 
'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector' 
'haskell-yaml')
+conflicts=('haskell-hlint')
+replaces=('haskell-hlint')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('877af90314033f902edfc9859cb11c12ef853b8872233e62bcb74a32319bc50cd30954d73b48c0dfa84800ab197ef2cc4d243251da0e3c399ce73c94a9d43c7d')
+
+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 \
+-fgpl -fthreaded
+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
+}
+
+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}/COPYING.BSD3"
+}


[arch-commits] Commit in haskell-ghc-lib-parser-ex/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:33:52
  Author: felixonmars
Revision: 578184

upgpkg: haskell-ghc-lib-parser-ex 8.8.3.0-1: rebuild with ghc-lib-parser-ex 
8.8.3.0, hlint 2.2.8

Modified:
  haskell-ghc-lib-parser-ex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:30:34 UTC (rev 578183)
+++ PKGBUILD2020-02-22 06:33:52 UTC (rev 578184)
@@ -2,7 +2,7 @@
 
 _hkgname=ghc-lib-parser-ex
 pkgname=haskell-ghc-lib-parser-ex
-pkgver=8.8.2
+pkgver=8.8.3.0
 pkgrel=1
 pkgdesc="Algorithms on GHC parse trees"
 url="https://github.com/shayne-fletcher/ghc-lib-parser-ex;
@@ -11,7 +11,7 @@
 depends=('ghc-libs' 'haskell-uniplate' 'haskell-ghc')
 makedepends=('ghc' 'haskell-extra' 'haskell-tasty' 'haskell-tasty-hunit')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('956e2edab9284a9bb309a3b9689bb7c1080f8b6578c8842273075ddd65c7a7986b5666278aa70dd23c942feccb9512e2970783113f9b8deac6a03020e7b9466f')
+sha512sums=('44a7a489fe4ec23ff611a8a2e4bc7094501b41ea8a27a8285704f87d37afa6070f32f7f339d4d417401abd1c9a21d8440a23351f8e26fc92044cbbc70978113d')
 
 build() {
 cd $_hkgname-$pkgver
@@ -37,6 +37,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


[arch-commits] Commit in haskell-ghc-lib-parser-ex/repos (2 files)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:34:03
  Author: felixonmars
Revision: 578185

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-lib-parser-ex/repos/community-staging-x86_64/
  haskell-ghc-lib-parser-ex/repos/community-staging-x86_64/PKGBUILD
(from rev 578184, haskell-ghc-lib-parser-ex/trunk/PKGBUILD)

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

Copied: haskell-ghc-lib-parser-ex/repos/community-staging-x86_64/PKGBUILD (from 
rev 578184, haskell-ghc-lib-parser-ex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:34:03 UTC (rev 578185)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-lib-parser-ex
+pkgname=haskell-ghc-lib-parser-ex
+pkgver=8.8.3.0
+pkgrel=1
+pkgdesc="Algorithms on GHC parse trees"
+url="https://github.com/shayne-fletcher/ghc-lib-parser-ex;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-uniplate' 'haskell-ghc')
+makedepends=('ghc' 'haskell-extra' 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('44a7a489fe4ec23ff611a8a2e4bc7094501b41ea8a27a8285704f87d37afa6070f32f7f339d4d417401abd1c9a21d8440a23351f8e26fc92044cbbc70978113d')
+
+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
+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 stack/repos (3 files)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:29:13
  Author: felixonmars
Revision: 578170

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   84 
 stack.install |4 ++
 2 files changed, 88 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 578169, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:29:13 UTC (rev 578170)
@@ -0,0 +1,84 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.1.3.20200209
+_commit=35f5d869558c4ac8c50e33c4930b0b72cb173b8b
+pkgrel=31
+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-exceptions'
+ '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-terminal-size' '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#commit=$_commit;)
+sha512sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  hpack
+  sed -i -e '/semigroups/d' $pkgname.cabal
+
+  sed -i -e 's/fail $ "Invalid package name:/error $ "Invalid package name:/' \
+ -e 's/fail $ "Invalid CabalConfigKey/error $ "Invalid 
CabalConfigKey/' \
+src/Stack/Types/Config.hs
+  sed -i -e 's/fail \$$/error $/' src/Stack/Coverage.hs
+}
+
+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
+  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 "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 

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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:29:04
  Author: felixonmars
Revision: 578169

upgpkg: stack 2.1.3.20200209-31: rebuild with contravariant-extras 0.3.5.1

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:23:30 UTC (rev 578168)
+++ PKGBUILD2020-02-22 06:29:04 UTC (rev 578169)
@@ -4,7 +4,7 @@
 pkgname=stack
 pkgver=2.1.3.20200209
 _commit=35f5d869558c4ac8c50e33c4930b0b72cb173b8b
-pkgrel=30
+pkgrel=31
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:23:30
  Author: felixonmars
Revision: 578168

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 578167, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:23:30 UTC (rev 578168)
@@ -0,0 +1,77 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=6.0.2
+pkgrel=57
+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' '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;
+
postgrest-swagger-2.4.patch::https://github.com/PostgREST/postgrest/pull/1326.patch)
+sha512sums=('abdcec3291c2216cb7383e13c80cb36c7bbecaded95ebebdc4482e44418d11abafab591ed1e5568ac38cdfc8e3f8b2c6c1c2a0e3e846ee6f97ab48b42c4c580d'
+
'd8c654e55e424c8ad29c2791362109af6d0ae94a04d8726946f95caa1bd6b11d9a818069df61e03591e02b54ff15b86e4097375343e28f9354f7fafa5efdcee1')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../postgrest-swagger-2.4.patch
+sed -i -e 's/< *4/<5/' -e 's/< *1/<2/' -e 's/< *3.3/<4/' -e 's/< 
*0.15/<1/' $pkgname.cabal
+
+sed -i -e '/ fail /d' src/PostgREST/Config.hs
+
+sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
+}
+
+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
+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 || warning 
"Tests failed"
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:23:23
  Author: felixonmars
Revision: 578167

upgpkg: postgrest 6.0.2-57: rebuild with contravariant-extras 0.3.5.1

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:22:46 UTC (rev 578166)
+++ PKGBUILD2020-02-22 06:23:23 UTC (rev 578167)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=6.0.2
-pkgrel=56
+pkgrel=57
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:22:46
  Author: felixonmars
Revision: 578166

archrelease: copy trunk to community-x86_64

Added:
  ukui-interface/repos/community-x86_64/
  ukui-interface/repos/community-x86_64/PKGBUILD
(from rev 578165, ukui-interface/trunk/PKGBUILD)

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

Copied: ukui-interface/repos/community-x86_64/PKGBUILD (from rev 578165, 
ukui-interface/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-02-22 06:22:46 UTC (rev 578166)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+
+pkgname=ukui-interface
+pkgver=1.0.0a1
+_tag=mentors-1.0.0-1
+pkgrel=1
+pkgdesc="UKUI interface for system configuration and related libraries"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/ukui/ukui-interface;
+groups=('ukui')
+depends=('qt5-base')
+makedepends=('mate-common')
+source=("$pkgname-$_tag.tar.gz::https://github.com/ukui/ukui-interface/archive/$_tag.tar.gz;)
+sha512sums=('9829d9382beb37c755db71847248c502d353ed5d78b2fcbaa3c2ad255c4cd95efc7b61189b8bd1e05ec73b0a5da981623fb699a01c479bd8a0a0a25210876e47')
+
+prepare() {
+  cd $pkgname-$_tag
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname-$_tag
+  ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname --sysconfdir=/etc 
--enable-introspection
+  make
+}
+
+package() {
+  cd $pkgname-$_tag
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in (4 files)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:22:29
  Author: felixonmars
Revision: 578165

addpkg: ukui-interface 1.0.0a1-1

Added:
  ukui-interface/
  ukui-interface/repos/
  ukui-interface/trunk/
  ukui-interface/trunk/PKGBUILD

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

Added: ukui-interface/trunk/PKGBUILD
===
--- ukui-interface/trunk/PKGBUILD   (rev 0)
+++ ukui-interface/trunk/PKGBUILD   2020-02-22 06:22:29 UTC (rev 578165)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+
+pkgname=ukui-interface
+pkgver=1.0.0a1
+_tag=mentors-1.0.0-1
+pkgrel=1
+pkgdesc="UKUI interface for system configuration and related libraries"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/ukui/ukui-interface;
+groups=('ukui')
+depends=('qt5-base')
+makedepends=('mate-common')
+source=("$pkgname-$_tag.tar.gz::https://github.com/ukui/ukui-interface/archive/$_tag.tar.gz;)
+sha512sums=('9829d9382beb37c755db71847248c502d353ed5d78b2fcbaa3c2ad255c4cd95efc7b61189b8bd1e05ec73b0a5da981623fb699a01c479bd8a0a0a25210876e47')
+
+prepare() {
+  cd $pkgname-$_tag
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname-$_tag
+  ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname --sysconfdir=/etc 
--enable-introspection
+  make
+}
+
+package() {
+  cd $pkgname-$_tag
+  make DESTDIR="$pkgdir" install
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:19:54
  Author: felixonmars
Revision: 578164

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:19:46
  Author: felixonmars
Revision: 578163

upgpkg: haskell-hasql-transaction 0.7.2-55: rebuild with contravariant-extras 
0.3.5.1

Modified:
  haskell-hasql-transaction/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:18:59 UTC (rev 578162)
+++ PKGBUILD2020-02-22 06:19:46 UTC (rev 578163)
@@ -3,7 +3,7 @@
 _hkgname=hasql-transaction
 pkgname=haskell-hasql-transaction
 pkgver=0.7.2
-pkgrel=54
+pkgrel=55
 pkgdesc="A composable abstraction over the retryable transactions for Hasql"
 url="https://github.com/nikita-volkov/hasql-transaction;
 license=('MIT')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:18:59
  Author: felixonmars
Revision: 578162

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql-pool/repos/community-staging-x86_64/PKGBUILD (from rev 
578161, haskell-hasql-pool/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:18:59 UTC (rev 578162)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql-pool
+pkgname=haskell-hasql-pool
+pkgver=0.5.1
+pkgrel=59
+pkgdesc="A pool of connections for Hasql"
+url="https://github.com/nikita-volkov/hasql-pool;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-hasql' 
'haskell-resource-pool')
+makedepends=('ghc' 'haskell-hspec')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('09f25a26f2317a0cdfa578ddb0ab23f6077c3e2849da2d4ecb72f2e1c63a57693b566269a2a01b5fb2bca8a3c85871ee6c24be715e9c9b810001447cee1c4a3e')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' test/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+#runhaskell Setup test
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:18:51
  Author: felixonmars
Revision: 578161

upgpkg: haskell-hasql-pool 0.5.1-59: rebuild with contravariant-extras 0.3.5.1

Modified:
  haskell-hasql-pool/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:18:06 UTC (rev 578160)
+++ PKGBUILD2020-02-22 06:18:51 UTC (rev 578161)
@@ -4,7 +4,7 @@
 _hkgname=hasql-pool
 pkgname=haskell-hasql-pool
 pkgver=0.5.1
-pkgrel=58
+pkgrel=59
 pkgdesc="A pool of connections for Hasql"
 url="https://github.com/nikita-volkov/hasql-pool;
 license=('MIT')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:17:59
  Author: felixonmars
Revision: 578159

upgpkg: haskell-hasql 1.4.0.1-26: rebuild with contravariant-extras 0.3.5.1

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:16:41 UTC (rev 578158)
+++ PKGBUILD2020-02-22 06:17:59 UTC (rev 578159)
@@ -4,7 +4,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.4.0.1
-pkgrel=25
+pkgrel=26
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql;
 license=('MIT')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:18:06
  Author: felixonmars
Revision: 578160

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql/repos/community-staging-x86_64/PKGBUILD (from rev 578159, 
haskell-hasql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:18:06 UTC (rev 578160)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql
+pkgname=haskell-hasql
+pkgver=1.4.0.1
+pkgrel=26
+pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
+url="https://github.com/nikita-volkov/hasql;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-prelude' 
'haskell-bytestring-strict-builder'
+ 'haskell-contravariant' 'haskell-contravariant-extras' 
'haskell-dlist' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-loch-th' 'haskell-placeholders' 
'haskell-postgresql-binary'
+ 'haskell-postgresql-libpq' 'haskell-profunctors' 
'haskell-text-builder' 'haskell-vector')
+makedepends=('ghc' 'haskell-bug' 'haskell-tasty' 'haskell-tasty-quickcheck' 
'haskell-tasty-hunit'
+ 'haskell-quickcheck-instances' 'haskell-quickcheck' 
'haskell-rebase' 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('14610775eae82558b2f5bd3a686f65ad8c8b9409be4d235a9e734a4581f3ad5cbabe79ad496f912e5257a49f07abaaad7585c5e85048adde6f176da72d9dc5e6')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/*.hs threads-test/*.hs profiling/*.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:16:33
  Author: felixonmars
Revision: 578157

upgpkg: haskell-text-builder 0.6.6.1-17: rebuild with contravariant-extras 
0.3.5.1

Modified:
  haskell-text-builder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:15:49 UTC (rev 578156)
+++ PKGBUILD2020-02-22 06:16:33 UTC (rev 578157)
@@ -3,7 +3,7 @@
 _hkgname=text-builder
 pkgname=haskell-text-builder
 pkgver=0.6.6.1
-pkgrel=16
+pkgrel=17
 pkgdesc="An efficient strict text builder"
 url="https://github.com/nikita-volkov/text-builder;
 license=('MIT')
@@ -38,6 +38,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:16:41
  Author: felixonmars
Revision: 578158

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-text-builder/repos/community-staging-x86_64/PKGBUILD (from rev 
578157, haskell-text-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:16:41 UTC (rev 578158)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=text-builder
+pkgname=haskell-text-builder
+pkgver=0.6.6.1
+pkgrel=17
+pkgdesc="An efficient strict text builder"
+url="https://github.com/nikita-volkov/text-builder;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-deferred-folds')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c98381114426ca93b4f4bf6899265a0c62ee683080acf3896e6f6592cefc4a2df00460908755a55be8b33af7840ccd378e48c52f4379f8dd4bc3411928c5c067')
+
+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
+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-postgresql-binary/repos (2 files)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:15:49
  Author: felixonmars
Revision: 578156

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD (from 
rev 578155, haskell-postgresql-binary/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:15:49 UTC (rev 578156)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=postgresql-binary
+pkgname=haskell-postgresql-binary
+pkgver=0.12.2
+pkgrel=17
+pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
+url="https://github.com/nikita-volkov/postgresql-binary;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-prelude' 
'haskell-binary-parser'
+ 'haskell-bytestring-strict-builder' 'haskell-loch-th' 
'haskell-network-ip'
+ 'haskell-placeholders' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc' 'haskell-postgresql-libpq' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-json-ast' 'haskell-conversion' 
'haskell-conversion-bytestring'
+ 'haskell-conversion-text' 'haskell-rerebase' 'pifpaf' 
'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f4876c89d8b19ea7e39d6e6dfe41c972de3aa072b7f6550bb8b650f6aedccd24526f8385cca770c11f8212d02c00ec07eedfa64f92c1250c90102d7743637c8b')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/DB.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:15:40
  Author: felixonmars
Revision: 578155

upgpkg: haskell-postgresql-binary 0.12.2-17: rebuild with contravariant-extras 
0.3.5.1

Modified:
  haskell-postgresql-binary/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:14:00 UTC (rev 578154)
+++ PKGBUILD2020-02-22 06:15:40 UTC (rev 578155)
@@ -4,7 +4,7 @@
 _hkgname=postgresql-binary
 pkgname=haskell-postgresql-binary
 pkgver=0.12.2
-pkgrel=16
+pkgrel=17
 pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
 url="https://github.com/nikita-volkov/postgresql-binary;
 license=("MIT")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:14:00
  Author: felixonmars
Revision: 578154

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-neat-interpolation/repos/community-staging-x86_64/
  haskell-neat-interpolation/repos/community-staging-x86_64/PKGBUILD
(from rev 578153, haskell-neat-interpolation/trunk/PKGBUILD)

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

Copied: haskell-neat-interpolation/repos/community-staging-x86_64/PKGBUILD 
(from rev 578153, haskell-neat-interpolation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:14:00 UTC (rev 578154)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=neat-interpolation
+pkgname=haskell-neat-interpolation
+pkgver=0.3.2.6
+pkgrel=2
+pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
+url="https://github.com/nikita-volkov/neat-interpolation;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0b3725258cebdf6144a9442b3dfb5e46a1d36525fdfec7f1797546416ef7788c7ad679d33105d541ae37b208c170d695757355291ef0d05297d8e35ea4116546')
+
+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
+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-neat-interpolation/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:13:53
  Author: felixonmars
Revision: 578153

upgpkg: haskell-neat-interpolation 0.3.2.6-2: rebuild with contravariant-extras 
0.3.5.1

Modified:
  haskell-neat-interpolation/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:13:14 UTC (rev 578152)
+++ PKGBUILD2020-02-22 06:13:53 UTC (rev 578153)
@@ -4,7 +4,7 @@
 _hkgname=neat-interpolation
 pkgname=haskell-neat-interpolation
 pkgver=0.3.2.6
-pkgrel=1
+pkgrel=2
 pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
 url="https://github.com/nikita-volkov/neat-interpolation;
 license=("MIT")
@@ -39,6 +39,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:13:14
  Author: felixonmars
Revision: 578152

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-deferred-folds/repos/community-staging-x86_64/
  haskell-deferred-folds/repos/community-staging-x86_64/PKGBUILD
(from rev 578151, haskell-deferred-folds/trunk/PKGBUILD)

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

Copied: haskell-deferred-folds/repos/community-staging-x86_64/PKGBUILD (from 
rev 578151, haskell-deferred-folds/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:13:14 UTC (rev 578152)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deferred-folds
+pkgname=haskell-deferred-folds
+pkgver=0.9.10.1
+pkgrel=56
+pkgdesc="Abstractions over deferred folds"
+url="https://github.com/metrix-ai/deferred-folds;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-foldl' 'haskell-hashable' 'haskell-primitive'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('920f26c8c1c02642d490220a19c1671d4060149dc1a48bb6a16f6be682342f355835ae55724fc680478d348c8be8347a0eec14666824c0f1651de1f07c23e4ca')
+
+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
+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-deferred-folds/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:13:07
  Author: felixonmars
Revision: 578151

upgpkg: haskell-deferred-folds 0.9.10.1-56: rebuild with contravariant-extras 
0.3.5.1

Modified:
  haskell-deferred-folds/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:12:26 UTC (rev 578150)
+++ PKGBUILD2020-02-22 06:13:07 UTC (rev 578151)
@@ -3,7 +3,7 @@
 _hkgname=deferred-folds
 pkgname=haskell-deferred-folds
 pkgver=0.9.10.1
-pkgrel=55
+pkgrel=56
 pkgdesc="Abstractions over deferred folds"
 url="https://github.com/metrix-ai/deferred-folds;
 license=('MIT')
@@ -39,6 +39,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:12:26
  Author: felixonmars
Revision: 578150

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-bytestring-strict-builder/repos/community-staging-x86_64/
  haskell-bytestring-strict-builder/repos/community-staging-x86_64/PKGBUILD
(from rev 578149, haskell-bytestring-strict-builder/trunk/PKGBUILD)

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

Copied: 
haskell-bytestring-strict-builder/repos/community-staging-x86_64/PKGBUILD (from 
rev 578149, haskell-bytestring-strict-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:12:26 UTC (rev 578150)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytestring-strict-builder
+pkgname=haskell-bytestring-strict-builder
+pkgver=0.4.5.3
+pkgrel=49
+pkgdesc="An efficient strict bytestring builder"
+url="https://github.com/nikita-volkov/bytestring-strict-builder;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck-instances' 
'haskell-rerebase')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3527960d2c6db8acfb9273130d169558f769826c9f7c68dfd04c22d1172700dd42eef6c81dae8e8ee1ba93ca471ef7a3572da4d155eeaa9f44b065412537fda8')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e '/semigroups/d' -i $_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
+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-bytestring-strict-builder/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:12:19
  Author: felixonmars
Revision: 578149

upgpkg: haskell-bytestring-strict-builder 0.4.5.3-49: rebuild with 
contravariant-extras 0.3.5.1

Modified:
  haskell-bytestring-strict-builder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:11:40 UTC (rev 578148)
+++ PKGBUILD2020-02-22 06:12:19 UTC (rev 578149)
@@ -3,7 +3,7 @@
 _hkgname=bytestring-strict-builder
 pkgname=haskell-bytestring-strict-builder
 pkgver=0.4.5.3
-pkgrel=48
+pkgrel=49
 pkgdesc="An efficient strict bytestring builder"
 url="https://github.com/nikita-volkov/bytestring-strict-builder;
 license=('MIT')
@@ -43,6 +43,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:11:40
  Author: felixonmars
Revision: 578148

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rerebase/repos/community-staging-x86_64/PKGBUILD (from rev 
578147, haskell-rerebase/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:11:40 UTC (rev 578148)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=rerebase
+pkgname=haskell-rerebase
+pkgver=1.4.1
+pkgrel=27
+pkgdesc='Reexports from "base" with a bunch of other standard libraries'
+url="https://github.com/nikita-volkov/rerebase;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-rebase')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('102e88858f46d57a59c830a32f6bbd1644b5c36b7addf591b296ae5f1b7bc0d225d6ba6996d518dc0e67858b10863fcd561cdec0294fd798cb71cd3b8dd34c32')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/==1/>=1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-rebase/repos (2 files)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:10:50
  Author: felixonmars
Revision: 578146

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rebase/repos/community-staging-x86_64/PKGBUILD (from rev 
578145, haskell-rebase/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:10:50 UTC (rev 578146)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=rebase
+pkgname=haskell-rebase
+pkgver=1.4.1
+pkgrel=27
+pkgdesc='A more progressive alternative to the "base" package'
+url="https://github.com/nikita-volkov/rebase;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-bifunctors' 
'haskell-contravariant'
+ 'haskell-contravariant-extras' 'haskell-comonad' 'haskell-dlist' 
'haskell-either'
+ 'haskell-hashable' 'haskell-profunctors' 'haskell-scientific' 
'haskell-selective'
+ 'haskell-semigroupoids' 'haskell-unordered-containers' 'haskell-uuid' 
'haskell-vector'
+ 'haskell-void')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('70bb6513e6ea6a1cd3adf077fe454cf4f1a3b220224fc76e3d63050f17c22cc2d218efa8803f269a3605cb0b95e7ea11b3e8b55ec80cd7fb2db4dbf330739a18')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e '/fail/d' -e '/semigroups/d' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-rerebase/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:11:32
  Author: felixonmars
Revision: 578147

upgpkg: haskell-rerebase 1.4.1-27: rebuild with contravariant-extras 0.3.5.1

Modified:
  haskell-rerebase/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:10:50 UTC (rev 578146)
+++ PKGBUILD2020-02-22 06:11:32 UTC (rev 578147)
@@ -4,7 +4,7 @@
 _hkgname=rerebase
 pkgname=haskell-rerebase
 pkgver=1.4.1
-pkgrel=26
+pkgrel=27
 pkgdesc='Reexports from "base" with a bunch of other standard libraries'
 url="https://github.com/nikita-volkov/rerebase;
 license=("MIT")
@@ -38,6 +38,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:10:42
  Author: felixonmars
Revision: 578145

upgpkg: haskell-rebase 1.4.1-27: rebuild with contravariant-extras 0.3.5.1

Modified:
  haskell-rebase/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:09:54 UTC (rev 578144)
+++ PKGBUILD2020-02-22 06:10:42 UTC (rev 578145)
@@ -4,7 +4,7 @@
 _hkgname=rebase
 pkgname=haskell-rebase
 pkgver=1.4.1
-pkgrel=26
+pkgrel=27
 pkgdesc='A more progressive alternative to the "base" package'
 url="https://github.com/nikita-volkov/rebase;
 license=("MIT")
@@ -42,6 +42,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:09:47
  Author: felixonmars
Revision: 578143

upgpkg: haskell-contravariant-extras 0.3.5.1-1: rebuild with 
contravariant-extras 0.3.5.1

Modified:
  haskell-contravariant-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 06:01:57 UTC (rev 578142)
+++ PKGBUILD2020-02-22 06:09:47 UTC (rev 578143)
@@ -3,22 +3,17 @@
 
 _hkgname=contravariant-extras
 pkgname=haskell-contravariant-extras
-pkgver=0.3.5
-pkgrel=3
+pkgver=0.3.5.1
+pkgrel=1
 pkgdesc="Extras for the \"contravariant\" package"
 url="https://github.com/nikita-volkov/contravariant-extras;
 license=("MIT")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-prelude' 'haskell-contravariant' 
'haskell-tuple-th')
+depends=('ghc-libs' 'haskell-contravariant' 
'haskell-template-haskell-compat-v0208')
 makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('0ae04eca3297df56f1c86063fdc9eb7f99804dc387732212daeadd729d79dbd50ef12b849b2ca8dac7021752818e0779e650102275ff3d15e5aa9551b0b370bc')
+sha512sums=('871e9545f8e288e6bd89a5fa5ddc93154092f713505e30120db30750bdacea40f55ed52bf9d59984fc8ee936f4e9148c3d1125b8e59fb4ed0c68044158de7917')
 
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/semigroups/d' -e 's/base-prelude >= 0.1.19 && < 
2,/base-prelude >= 0.1.19 \&\& < 2/' $_hkgname.cabal
-}
-
 build() {
 cd $_hkgname-$pkgver
 
@@ -38,6 +33,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 06:09:54
  Author: felixonmars
Revision: 578144

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-contravariant-extras/repos/community-staging-x86_64/
  haskell-contravariant-extras/repos/community-staging-x86_64/PKGBUILD
(from rev 578143, haskell-contravariant-extras/trunk/PKGBUILD)

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

Copied: haskell-contravariant-extras/repos/community-staging-x86_64/PKGBUILD 
(from rev 578143, haskell-contravariant-extras/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 06:09:54 UTC (rev 578144)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=contravariant-extras
+pkgname=haskell-contravariant-extras
+pkgver=0.3.5.1
+pkgrel=1
+pkgdesc="Extras for the \"contravariant\" package"
+url="https://github.com/nikita-volkov/contravariant-extras;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 
'haskell-template-haskell-compat-v0208')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('871e9545f8e288e6bd89a5fa5ddc93154092f713505e30120db30750bdacea40f55ed52bf9d59984fc8ee936f4e9148c3d1125b8e59fb4ed0c68044158de7917')
+
+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
+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 lib32-libglvnd/repos (3 files)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 05:57:40
  Author: felixonmars
Revision: 577979

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-libglvnd/repos/multilib-testing-x86_64/
  lib32-libglvnd/repos/multilib-testing-x86_64/LICENSE
(from rev 577978, lib32-libglvnd/trunk/LICENSE)
  lib32-libglvnd/repos/multilib-testing-x86_64/PKGBUILD
(from rev 577978, lib32-libglvnd/trunk/PKGBUILD)

--+
 LICENSE  |   26 ++
 PKGBUILD |   38 ++
 2 files changed, 64 insertions(+)

Copied: lib32-libglvnd/repos/multilib-testing-x86_64/LICENSE (from rev 577978, 
lib32-libglvnd/trunk/LICENSE)
===
--- multilib-testing-x86_64/LICENSE (rev 0)
+++ multilib-testing-x86_64/LICENSE 2020-02-22 05:57:40 UTC (rev 577979)
@@ -0,0 +1,26 @@
+Copyright (c) 2013, NVIDIA CORPORATION.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and/or associated documentation files (the
+"Materials"), to deal in the Materials without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Materials, and to
+permit persons to whom the Materials are furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+unaltered in all copies or substantial portions of the Materials.
+Any additions, deletions, or changes to the original source files
+must be clearly indicated in accompanying documentation.
+
+If only executable code is distributed, then the accompanying
+documentation must state that "this software is based in part on the
+work of the Khronos Group."
+
+THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
\ No newline at end of file

Copied: lib32-libglvnd/repos/multilib-testing-x86_64/PKGBUILD (from rev 577978, 
lib32-libglvnd/trunk/PKGBUILD)
===
--- multilib-testing-x86_64/PKGBUILD(rev 0)
+++ multilib-testing-x86_64/PKGBUILD2020-02-22 05:57:40 UTC (rev 577979)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+
+pkgname=lib32-libglvnd
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="The GL Vendor-Neutral Dispatch library"
+arch=('x86_64')
+url="https://github.com/NVIDIA/libglvnd;
+license=('custom:BSD-like')
+makedepends=('lib32-libx11' 'lib32-libxext' 'xorgproto' 'python' 'meson')
+provides=('lib32-libgl' 'lib32-libegl' 'lib32-libgles')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v${pkgver}/libglvnd-v${pkgver}.tar.gz;)
+sha512sums=('f10b24ea983ee27813b7b64f13419d309479e34f3a1e4304f57ed01732d66df8d9d2c1e4f76577fc0827305d1b0a2fcea18445ce2953641f1d8452aa65b22e14')
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  arch-meson libglvnd-v$pkgver build \
+--libdir=/usr/lib32 \
+-D headers=false \
+-D gles1=false
+
+  ninja -C build
+}
+
+package() {
+  # lib32-libglvnd needs lib32-mesa for indirect rendering
+  depends=('lib32-libxext' 'libglvnd' 'lib32-mesa' 'lib32-opengl-driver')
+
+  DESTDIR="$pkgdir" ninja -C build install
+
+  rm -r "$pkgdir"/usr/include
+
+  mkdir -p "$pkgdir"/usr/share/licenses
+  ln -s libglvnd "$pkgdir"/usr/share/licenses/$pkgname
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 05:57:31
  Author: felixonmars
Revision: 577978

upgpkg: lib32-libglvnd 1.3.1-1

Modified:
  lib32-libglvnd/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:49:02 UTC (rev 577977)
+++ PKGBUILD2020-02-22 05:57:31 UTC (rev 577978)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=lib32-libglvnd
-pkgver=1.3.0
-pkgrel=2
+pkgver=1.3.1
+pkgrel=1
 pkgdesc="The GL Vendor-Neutral Dispatch library"
 arch=('x86_64')
 url="https://github.com/NVIDIA/libglvnd;
@@ -10,7 +10,7 @@
 makedepends=('lib32-libx11' 'lib32-libxext' 'xorgproto' 'python' 'meson')
 provides=('lib32-libgl' 'lib32-libegl' 'lib32-libgles')
 
source=("$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v${pkgver}/libglvnd-v${pkgver}.tar.gz;)
-sha512sums=('277d0951596fee654fa90b6c644ccde781d83732bb6caa13ad57103198caa9702732922efd9c84cfbe1689ff40b9d710d9d375f5b4a2f0c86c88c8b3e2b3f732')
+sha512sums=('f10b24ea983ee27813b7b64f13419d309479e34f3a1e4304f57ed01732d66df8d9d2c1e4f76577fc0827305d1b0a2fcea18445ce2953641f1d8452aa65b22e14')
 
 build() {
   export CC='gcc -m32'


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:49:02
  Author: felixonmars
Revision: 577977

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 577976, 
xmobar/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:49:02 UTC (rev 577977)
@@ -0,0 +1,64 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributer: Sergej Pupykin 
+# Contributor: Arch Haskell Team 
+
+pkgname=xmobar
+pkgver=0.32
+pkgrel=38
+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-iwlib'
+ 'wireless_tools' 'haskell-text' 'haskell-async' 'haskell-aeson'
+ 'haskell-timezone-olson' 'haskell-timezone-series' 'alsa-lib'
+ 'haskell-extensible-exceptions' 'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-alsa-core' 'haskell-alsa-mixer')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=(https://github.com/jaor/xmobar/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('8d2543152b050460bf48514aaa981e6d508cabb7688b848a3b3528cfcecacb76')
+sha512sums=('fa9b7c5d568b1c8e731b525736d8cf6a630def93a75884fcf3adc68e5527b31b61ef96df3019befafb83fa080703865ba511750deeb09d8ab70582ccf433b1f6')
+
+prepare() {
+  cd xmobar-$pkgver
+  sed -e 's/&& <.*,/,/g' -e 's/==.*,/,/g' -i xmobar.cabal
+}
+
+build() {
+  cd xmobar-${pkgver}
+
+  _flags=(with_xft with_utf8 with_inotify with_iwlib with_mpd with_alsa
+  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
+}
+
+check() {
+  cd xmobar-${pkgver}
+  runhaskell setup test
+}
+
+package() {
+  cd xmobar-${pkgver}
+  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 xmobar/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:48:54
  Author: felixonmars
Revision: 577976

upgpkg: xmobar 0.32-38: rebuild with tasty-golden 2.3.3

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:47:21 UTC (rev 577975)
+++ PKGBUILD2020-02-22 04:48:54 UTC (rev 577976)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.32
-pkgrel=37
+pkgrel=38
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:47:21
  Author: felixonmars
Revision: 577975

archrelease: copy trunk to community-staging-x86_64

Added:
  taskell/repos/community-staging-x86_64/
  taskell/repos/community-staging-x86_64/PKGBUILD
(from rev 577974, taskell/trunk/PKGBUILD)

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

Copied: taskell/repos/community-staging-x86_64/PKGBUILD (from rev 577974, 
taskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:47:21 UTC (rev 577975)
@@ -0,0 +1,44 @@
+# Maintainer: Jelle van der Waa https://hackage.haskell.org/package/$pkgname;
+depends=(ghc-libs haskell-aeson haskell-attoparsec haskell-brick 
haskell-config-ini haskell-file-embed haskell-fold-debounce haskell-http-client 
haskell-http-conduit haskell-http-types haskell-lens haskell-tz haskell-vty 
haskell-classy-prelude)
+makedepends=(ghc)
+source=(https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('4c55922ad9f6c529a8c8ca73602b9f42fa3cda4945fe8edaa554909334445e089db0b7a5ba7f6804bdf618274543fd6598d19802907a0ae661571ed48366376b')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's/== *0.50/==0.52/' -e 's/< *4/<5/' -e 's/< *2/<3/' -e 's/< 
*1/<2/' $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--datasubdir=$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+  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
+}
+
+package() {
+  cd $pkgname-$pkgver
+  runghc Setup.hs copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Doc only contains the license
+  rm -rf "$pkgdir/usr/share/doc"
+}
+
+# vim: ts=2 sw=2 et:


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:47:14
  Author: felixonmars
Revision: 577974

upgpkg: taskell 1.9.2.0-21: rebuild with tasty-golden 2.3.3

Modified:
  taskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:45:56 UTC (rev 577973)
+++ PKGBUILD2020-02-22 04:47:14 UTC (rev 577974)
@@ -2,7 +2,7 @@
 
 pkgname=taskell
 pkgver=1.9.2.0
-pkgrel=20
+pkgrel=21
 pkgdesc='A command-line kanban board/task manager'
 license=(BSD)
 arch=(x86_64)


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:45:56
  Author: felixonmars
Revision: 577973

archrelease: copy trunk to community-staging-x86_64

Added:
  tamarin-prover/repos/community-staging-x86_64/
  tamarin-prover/repos/community-staging-x86_64/PKGBUILD
(from rev 577972, tamarin-prover/trunk/PKGBUILD)

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

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
577972, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:45:56 UTC (rev 577973)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.4.1
+pkgrel=258
+pkgdesc="The Tamarin prover for security protocol analysis"
+url="https://tamarin-prover.github.io;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'graphviz' 'maude' 'haskell-hunit' 
'haskell-binary-instances' 'haskell-binary-orphans'
+ 'haskell-blaze-builder' 'haskell-blaze-html' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-fclabels' 'haskell-file-embed' 'haskell-gitrev' 
'haskell-http-types'
+ 'haskell-lifted-base' 'haskell-monad-unlift'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-shakespeare' 
'haskell-threads'
+ 'haskell-wai' 'haskell-warp' 'haskell-yesod-core' 
'haskell-yesod-static'
+ 'haskell-tamarin-prover-utils' 'haskell-tamarin-prover-term'
+ 'haskell-tamarin-prover-theory')
+optdepends=('ocaml: for sapic support')
+makedepends=('ghc' 'ocaml')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz;)
+sha512sums=('4d3aeae02be5d430bff6c55d78656e3c9a648674d235bfeb36ce227a39abd3054a132b99ff8040abf05d8e26506fe85d21ecfb6fce73062dd45b5ba98d941144')
+
+prepare() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+sed -i '/cp sapic/d' plugins/sapic/Makefile
+
+sed -i 's/binary-orphans/binary-instances/' $pkgname.cabal
+sed -i 's/Data.Binary.Orphans/Data.Binary.Instances/' src/Web/Types.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+-fthreaded -ftest-coverage -f-build-tests --ghc-option='-pie'
+runhaskell Setup build
+
+cd plugins/sapic
+make -j1
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+install -Dm644 etc/filetype.vim 
"$pkgdir"/usr/share/vim/vimfiles/ftdetect/tamarin.vim
+install -Dm644 etc/spthy.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+install -Dm644 etc/sapic.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+cd plugins/sapic
+install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:45:49
  Author: felixonmars
Revision: 577972

upgpkg: tamarin-prover 1.4.1-258: rebuild with tasty-golden 2.3.3

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:44:12 UTC (rev 577971)
+++ PKGBUILD2020-02-22 04:45:49 UTC (rev 577972)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.4.1
-pkgrel=257
+pkgrel=258
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io;
 license=("GPL")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:44:12
  Author: felixonmars
Revision: 577971

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: stylish-haskell/repos/community-staging-x86_64/PKGBUILD (from rev 
577970, stylish-haskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:44:12 UTC (rev 577971)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stylish-haskell
+pkgver=0.10.0.0
+pkgrel=5
+pkgdesc="Haskell code prettifier"
+url="https://github.com/jaspervdj/stylish-haskell;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-file-embed' 
'haskell-optparse-applicative'
+ 'haskell-src-exts' 'haskell-strict' 'haskell-syb' 'haskell-hsyaml' 
'haskell-hsyaml-aeson')
+makedepends=('ghc' 'haskell-hunit' 'haskell-random' 'haskell-test-framework'
+ 'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('ec9675a49f26fa5b7935ad65e35b78c13cbbd14637a638b947791ebbffb4f119f076f3c55d7de7f3e7658f9f509c3597b9d82a1cb018784a6c3adfb6c3dc413a')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e '/semigroups/d' $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 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-old_base --ghc-option='-pie'
+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 $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 stylish-haskell/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:44:04
  Author: felixonmars
Revision: 577970

upgpkg: stylish-haskell 0.10.0.0-5: rebuild with tasty-golden 2.3.3

Modified:
  stylish-haskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:43:02 UTC (rev 577969)
+++ PKGBUILD2020-02-22 04:44:04 UTC (rev 577970)
@@ -3,7 +3,7 @@
 
 pkgname=stylish-haskell
 pkgver=0.10.0.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Haskell code prettifier"
 url="https://github.com/jaspervdj/stylish-haskell;
 license=("BSD")
@@ -45,6 +45,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:43:12
  Author: felixonmars
Revision: 376023

upgpkg: libglvnd 1.3.1-1

Modified:
  libglvnd/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 01:09:06 UTC (rev 376022)
+++ PKGBUILD2020-02-22 04:43:12 UTC (rev 376023)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=libglvnd
-pkgver=1.3.0
-pkgrel=2
+pkgver=1.3.1
+pkgrel=1
 pkgdesc="The GL Vendor-Neutral Dispatch library"
 arch=('x86_64')
 url="https://github.com/NVIDIA/libglvnd;
@@ -11,7 +11,7 @@
 provides=('libgl' 'libegl' 'libgles')
 
source=("$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v${pkgver}/libglvnd-v${pkgver}.tar.gz;
 LICENSE)
-sha512sums=('277d0951596fee654fa90b6c644ccde781d83732bb6caa13ad57103198caa9702732922efd9c84cfbe1689ff40b9d710d9d375f5b4a2f0c86c88c8b3e2b3f732'
+sha512sums=('f10b24ea983ee27813b7b64f13419d309479e34f3a1e4304f57ed01732d66df8d9d2c1e4f76577fc0827305d1b0a2fcea18445ce2953641f1d8452aa65b22e14'
 
'bf0f4a7e04220a407400f89226ecc1f798cc43035f2538cc8860e5088e1f84140baf0d4b0b28f66e4b802d4d6925769a1297c24e1ba39c1c093902b2931781a5')
 
 build() {


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:43:21
  Author: felixonmars
Revision: 376024

archrelease: copy trunk to testing-x86_64

Added:
  libglvnd/repos/testing-x86_64/
  libglvnd/repos/testing-x86_64/LICENSE
(from rev 376023, libglvnd/trunk/LICENSE)
  libglvnd/repos/testing-x86_64/PKGBUILD
(from rev 376023, libglvnd/trunk/PKGBUILD)

--+
 LICENSE  |   26 ++
 PKGBUILD |   31 +++
 2 files changed, 57 insertions(+)

Copied: libglvnd/repos/testing-x86_64/LICENSE (from rev 376023, 
libglvnd/trunk/LICENSE)
===
--- testing-x86_64/LICENSE  (rev 0)
+++ testing-x86_64/LICENSE  2020-02-22 04:43:21 UTC (rev 376024)
@@ -0,0 +1,26 @@
+Copyright (c) 2013, NVIDIA CORPORATION.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and/or associated documentation files (the
+"Materials"), to deal in the Materials without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Materials, and to
+permit persons to whom the Materials are furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+unaltered in all copies or substantial portions of the Materials.
+Any additions, deletions, or changes to the original source files
+must be clearly indicated in accompanying documentation.
+
+If only executable code is distributed, then the accompanying
+documentation must state that "this software is based in part on the
+work of the Khronos Group."
+
+THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
\ No newline at end of file

Copied: libglvnd/repos/testing-x86_64/PKGBUILD (from rev 376023, 
libglvnd/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-02-22 04:43:21 UTC (rev 376024)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+
+pkgname=libglvnd
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="The GL Vendor-Neutral Dispatch library"
+arch=('x86_64')
+url="https://github.com/NVIDIA/libglvnd;
+license=('custom:BSD-like')
+makedepends=('libxext' 'libx11' 'xorgproto' 'python' 'meson')
+provides=('libgl' 'libegl' 'libgles')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v${pkgver}/libglvnd-v${pkgver}.tar.gz;
+LICENSE)
+sha512sums=('f10b24ea983ee27813b7b64f13419d309479e34f3a1e4304f57ed01732d66df8d9d2c1e4f76577fc0827305d1b0a2fcea18445ce2953641f1d8452aa65b22e14'
+
'bf0f4a7e04220a407400f89226ecc1f798cc43035f2538cc8860e5088e1f84140baf0d4b0b28f66e4b802d4d6925769a1297c24e1ba39c1c093902b2931781a5')
+
+build() {
+  arch-meson $pkgname-v$pkgver build \
+-D gles1=false
+
+  ninja -C build
+}
+
+package() {
+  # libglvnd needs mesa for indirect rendering
+  depends=('libxext' 'mesa' 'opengl-driver')
+
+  DESTDIR="$pkgdir" ninja -C build install
+  
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:43:02
  Author: felixonmars
Revision: 577969

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   84 
 stack.install |4 ++
 2 files changed, 88 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 577968, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:43:02 UTC (rev 577969)
@@ -0,0 +1,84 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.1.3.20200209
+_commit=35f5d869558c4ac8c50e33c4930b0b72cb173b8b
+pkgrel=30
+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-exceptions'
+ '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-terminal-size' '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#commit=$_commit;)
+sha512sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  hpack
+  sed -i -e '/semigroups/d' $pkgname.cabal
+
+  sed -i -e 's/fail $ "Invalid package name:/error $ "Invalid package name:/' \
+ -e 's/fail $ "Invalid CabalConfigKey/error $ "Invalid 
CabalConfigKey/' \
+src/Stack/Types/Config.hs
+  sed -i -e 's/fail \$$/error $/' src/Stack/Coverage.hs
+}
+
+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
+  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 "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 

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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:42:53
  Author: felixonmars
Revision: 577968

upgpkg: stack 2.1.3.20200209-30: rebuild with tasty-golden 2.3.3

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:37:51 UTC (rev 577967)
+++ PKGBUILD2020-02-22 04:42:53 UTC (rev 577968)
@@ -4,7 +4,7 @@
 pkgname=stack
 pkgver=2.1.3.20200209
 _commit=35f5d869558c4ac8c50e33c4930b0b72cb173b8b
-pkgrel=29
+pkgrel=30
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:37:51
  Author: felixonmars
Revision: 577967

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 577966, 
shellcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:37:51 UTC (rev 577967)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.7.0
+pkgrel=136
+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;
+
shellcheck-cabal3.patch::https://github.com/koalaman/shellcheck/commit/2c026f1ec7c205c731ff2a0ccd85365f37245758.patch)
+sha512sums=('46ef486dff09bd51bdc5f053b1dda9e3f2943c66bbf6788824ddf8fcf3b69b7a3a9c00bf98bca0dee9d57ee6df833ca4088252dbf773815248be0fa667f35215'
+
'88b7101a536598ecbf4d1c48cfd4eb10b1a6424a2344e4b1be6f6a814dcf1c3d00e78390070242369bc55ed9c20defd4cc7337854da71761fb08e13240619684')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../shellcheck-cabal3.patch
+
+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
+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 shellcheck/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:37:43
  Author: felixonmars
Revision: 577966

upgpkg: shellcheck 0.7.0-136: rebuild with tasty-golden 2.3.3

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:34:37 UTC (rev 577965)
+++ PKGBUILD2020-02-22 04:37:43 UTC (rev 577966)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.7.0
-pkgrel=135
+pkgrel=136
 pkgdesc="Shell script analysis tool"
 url="https://www.shellcheck.net;
 license=("GPL")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:34:37
  Author: felixonmars
Revision: 577965

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 577964, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:34:37 UTC (rev 577965)
@@ -0,0 +1,77 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=6.0.2
+pkgrel=56
+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' '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;
+
postgrest-swagger-2.4.patch::https://github.com/PostgREST/postgrest/pull/1326.patch)
+sha512sums=('abdcec3291c2216cb7383e13c80cb36c7bbecaded95ebebdc4482e44418d11abafab591ed1e5568ac38cdfc8e3f8b2c6c1c2a0e3e846ee6f97ab48b42c4c580d'
+
'd8c654e55e424c8ad29c2791362109af6d0ae94a04d8726946f95caa1bd6b11d9a818069df61e03591e02b54ff15b86e4097375343e28f9354f7fafa5efdcee1')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../postgrest-swagger-2.4.patch
+sed -i -e 's/< *4/<5/' -e 's/< *1/<2/' -e 's/< *3.3/<4/' -e 's/< 
*0.15/<1/' $pkgname.cabal
+
+sed -i -e '/ fail /d' src/PostgREST/Config.hs
+
+sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
+}
+
+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
+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 || warning 
"Tests failed"
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:34:29
  Author: felixonmars
Revision: 577964

upgpkg: postgrest 6.0.2-56: rebuild with tasty-golden 2.3.3

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:31:13 UTC (rev 577963)
+++ PKGBUILD2020-02-22 04:34:29 UTC (rev 577964)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=6.0.2
-pkgrel=55
+pkgrel=56
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")
@@ -72,6 +72,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:31:13
  Author: felixonmars
Revision: 577963

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 577962, pandoc-crossref/trunk/PKGBUILD)

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
577962, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:31:13 UTC (rev 577963)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.6.0
+pkgrel=28
+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=('059161c0a6a52cf6c573841afb0eea44dfacb122c6cb7eee5ca8554557772c38e18ec4d367abc1edd3c6efd8a993b42165083cfca41c0d5823abb19cbc3cf125')
+
+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
+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 pandoc-crossref/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:31:04
  Author: felixonmars
Revision: 577962

upgpkg: pandoc-crossref 0.3.6.0-28: rebuild with tasty-golden 2.3.3

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:29:25 UTC (rev 577961)
+++ PKGBUILD2020-02-22 04:31:04 UTC (rev 577962)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.6.0
-pkgrel=27
+pkgrel=28
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:29:25
  Author: felixonmars
Revision: 577961

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 577960, haskell-hakyll/trunk/PKGBUILD)

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
577960, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:29:25 UTC (rev 577961)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.13.0.1
+pkgrel=4
+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-cryptohash'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' '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' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('36d3d0c9e3cefbc6b159ec868a523be37cfd92db8997f914cbf9eb568cba6f16169048aca7d4bebdf8a800ec3ed6bb710c9330723b3444629ab8fae77e9325df')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/< *1.3/<2/' -e 's/< *2/<3/' -e 's/< *3.3/<4/' -e 's/< 
*0.15/<1/' $_hkgname.cabal
+sed -i 's/fail /error /' lib/Hakyll/Core/Metadata.hs 
lib/Hakyll/Web/Redirect.hs lib/Hakyll/Web/Template/Context.hs
+sed -i '/fail = /i instance MonadFail Compiler where' 
lib/Hakyll/Core/Compiler/Internal.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 \
+-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
+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 $_hkgname-$pkgver
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test || warning 
"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 haskell-hakyll/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:29:17
  Author: felixonmars
Revision: 577960

upgpkg: haskell-hakyll 4.13.0.1-4: rebuild with tasty-golden 2.3.3

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:27:26 UTC (rev 577959)
+++ PKGBUILD2020-02-22 04:29:17 UTC (rev 577960)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.13.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:27:26
  Author: felixonmars
Revision: 577959

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 577958, pandoc-citeproc/trunk/PKGBUILD)

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

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
577958, pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:27:26 UTC (rev 577959)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-citeproc
+pkgver=0.16.4.1
+pkgrel=59
+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')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;)
+sha512sums=('1a9f961c974cb5cd7dc51980e389cbce36b189b06fe0c1fd8ecbbd7cbbf6aaf5cccf1a8d6cf5b28e5d4a355c57d090050f458b8d6a304d37a4c64e6e220a502f')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+# 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
+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 || warning "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 pandoc-citeproc/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:27:18
  Author: felixonmars
Revision: 577958

upgpkg: pandoc-citeproc 0.16.4.1-59: rebuild with tasty-golden 2.3.3

Modified:
  pandoc-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:24:17 UTC (rev 577957)
+++ PKGBUILD2020-02-22 04:27:18 UTC (rev 577958)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-citeproc
 pkgver=0.16.4.1
-pkgrel=58
+pkgrel=59
 pkgdesc="Supports using pandoc with citeproc"
 url="https://hackage.haskell.org/package/$pkgname;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:24:17
  Author: felixonmars
Revision: 577957

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 577956, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 04:24:17 UTC (rev 577957)
@@ -0,0 +1,68 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.9.2
+pkgrel=9
+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-base-compat'
+ 'haskell-base64-bytestring' 'haskell-blaze-html' 
'haskell-blaze-markup'
+ 'haskell-case-insensitive' 'haskell-cmark-gfm' 'haskell-data-default' 
'haskell-doclayout'
+ 'haskell-doctemplates' 'haskell-emojis' 'haskell-exceptions' 
'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-vector' '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' '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=('af67ad7ff6f5f16d62a9a5b988bb402f17e5774fcc91a7be56d95b2694640051628495c526ae9f92095ec7050ebb096db5d23ef07a105e73bbf50386a67eb532')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+
+# 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 "${srcdir}/${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
+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 "${srcdir}/${pkgname}-${pkgver}"
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd "${srcdir}/${pkgbase}-${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 "${pkgdir}"/usr/share/man/man1/pandoc.1
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:24:09
  Author: felixonmars
Revision: 577956

upgpkg: pandoc 2.9.2-9: rebuild with tasty-golden 2.3.3

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 04:06:13 UTC (rev 577955)
+++ PKGBUILD2020-02-22 04:24:09 UTC (rev 577956)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.9.2
-pkgrel=8
+pkgrel=9
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:06:13
  Author: felixonmars
Revision: 577955

archrelease: copy trunk to community-staging-x86_64

Added:
  idris/repos/community-staging-x86_64/
  idris/repos/community-staging-x86_64/PKGBUILD
(from rev 577954, idris/trunk/PKGBUILD)
  idris/repos/community-staging-x86_64/ghc-8.8.patch
(from rev 577954, idris/trunk/ghc-8.8.patch)

---+
 PKGBUILD  |   63 
 ghc-8.8.patch | 5186 
 2 files changed, 5249 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 577954:577955 to see the changes.


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 04:06:03
  Author: felixonmars
Revision: 577954

upgpkg: idris 1.3.2-69: rebuild with tasty-golden 2.3.3

Modified:
  idris/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 03:50:56 UTC (rev 577953)
+++ PKGBUILD2020-02-22 04:06:03 UTC (rev 577954)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.2
-pkgrel=68
+pkgrel=69
 pkgdesc="Functional Programming Language with Dependent Types"
 url="https://www.idris-lang.org/;
 license=("BSD")
@@ -58,6 +58,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:50:56
  Author: felixonmars
Revision: 577953

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

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
577952, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 03:50:56 UTC (rev 577953)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.23
+pkgrel=52
+pkgdesc="hOpenPGP-based command-line tools"
+url="http://floss.scru.org/hopenpgp-tools;
+license=("AGPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-binary-conduit' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-crypto-pubkey'
+ 'haskell-cryptohash' 'haskell-errors' 'haskell-fgl' 
'haskell-graphviz' 'haskell-hopenpgp'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-ixset-typed'
+ 'haskell-lens' '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-yaml')
+makedepends=('alex' 'happy' 'ghc')
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('e7b64f210579bef1a2b80d66a388bbc908c1910ecf919adcff664f50c65826e62d03864d7c4dcc5dd996a35c8f68f83116e1eef44cb7cb462b8ba44e899ab45f')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/fail (show l/error (show l/' HOpenPGP/Tools/Parser.y
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" 
"$pkgdir/usr/share"
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:50:49
  Author: felixonmars
Revision: 577952

upgpkg: hopenpgp-tools 0.23-52: rebuild with tasty-golden 2.3.3

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 03:49:03 UTC (rev 577951)
+++ PKGBUILD2020-02-22 03:50:49 UTC (rev 577952)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23
-pkgrel=51
+pkgrel=52
 pkgdesc="hOpenPGP-based command-line tools"
 url="http://floss.scru.org/hopenpgp-tools;
 license=("AGPL3")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:49:03
  Author: felixonmars
Revision: 577951

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 577950, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 03:49:03 UTC (rev 577951)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.17.11
+pkgrel=87
+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=('1bbb076b31a3289d0578741044d2747fca1b530b3f828922375379b4618de42cf4b0708eb022db841bbf91528da11183465895a2ac0378da2f7a8c3512a95b8d')
+
+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
+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 hoogle/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:48:55
  Author: felixonmars
Revision: 577950

upgpkg: hoogle 5.0.17.11-87: rebuild with tasty-golden 2.3.3

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 03:47:22 UTC (rev 577949)
+++ PKGBUILD2020-02-22 03:48:55 UTC (rev 577950)
@@ -3,7 +3,7 @@
 
 pkgname=hoogle
 pkgver=5.0.17.11
-pkgrel=86
+pkgrel=87
 pkgdesc="Haskell API Search"
 url="https://www.haskell.org/hoogle/;
 license=("BSD")
@@ -40,6 +40,6 @@
 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 -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:47:22
  Author: felixonmars
Revision: 577949

archrelease: copy trunk to community-staging-x86_64

Added:
  cryptol/repos/community-staging-x86_64/
  cryptol/repos/community-staging-x86_64/PKGBUILD
(from rev 577948, cryptol/trunk/PKGBUILD)

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

Copied: cryptol/repos/community-staging-x86_64/PKGBUILD (from rev 577948, 
cryptol/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 03:47:22 UTC (rev 577949)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+pkgname=cryptol
+pkgver=2.8.0
+pkgrel=50
+pkgdesc="The Language of Cryptography"
+url="https://www.cryptol.net;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'z3' 'haskell-base-compat' 'haskell-cryptohash-sha1' 
'haskell-gitrev'
+ 'haskell-graphscc' 'haskell-heredoc' 'haskell-monad-control' 
'haskell-monadlib'
+ 'haskell-panic' 'haskell-random' 'haskell-sbv' 'haskell-simple-smt' 
'haskell-strict'
+ 'haskell-tf-random' 'haskell-transformers-base' 
'haskell-ansi-terminal'
+ 'haskell-blaze-html')
+makedepends=('ghc' 'alex' 'happy')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/GaloisInc/cryptol/archive/$pkgver.tar.gz;
+ghc-8.8.patch::https://github.com/GaloisInc/cryptol/pull/655.patch)
+sha512sums=('ad2cbb67dbcd10dba12457b24558af4ef7066817f18e162432607e7d887071fef13a1c958e37a3f7e8e3fd04079c20cc2a8abdcf1c9dd35a9a93e7e0a2d383b0'
+
'f5399cfde04c2645e0bc80d80a39ac570c9649961e22bf9808bb55ba8457f9a124469d699de73624b2debabe8d672879bd0b2279b60dfcb08d328de67ca78e84')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../ghc-8.8.patch
+sed -i 's/< *0.11/<1/' $pkgname.cabal
+#sed -i 's/import Prelude.Compat/import Prelude.Compat hiding ( fail )/' 
src/Cryptol/Parser/{NoPat,ParserUtils}.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" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-static -f-relocatable --ghc-option='-pie'
+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
+}
+
+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 cryptol/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:47:14
  Author: felixonmars
Revision: 577948

upgpkg: cryptol 2.8.0-50: rebuild with tasty-golden 2.3.3

Modified:
  cryptol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 03:44:06 UTC (rev 577947)
+++ PKGBUILD2020-02-22 03:47:14 UTC (rev 577948)
@@ -2,7 +2,7 @@
 
 pkgname=cryptol
 pkgver=2.8.0
-pkgrel=49
+pkgrel=50
 pkgdesc="The Language of Cryptography"
 url="https://www.cryptol.net;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:44:06
  Author: felixonmars
Revision: 577947

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sbv/repos/community-staging-x86_64/PKGBUILD (from rev 577946, 
haskell-sbv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 03:44:06 UTC (rev 577947)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=sbv
+pkgname=haskell-sbv
+pkgver=8.6
+pkgrel=12
+pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
+url="https://leventerkok.github.com/sbv;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-quickcheck' 'haskell-cracknum' 
'haskell-async'
+ 'haskell-random' 'haskell-syb' 'haskell-generic-deriving')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'hlint' '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=('2282c63d21c6baa8070ec8afbfb75deeae6becead7963efd0894d9a82af31de7e993d7bc57c17c5e7914bd458f45771ac7e0995632511584dd6d90bff9034f1f')
+
+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
+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-sbv/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:43:58
  Author: felixonmars
Revision: 577946

upgpkg: haskell-sbv 8.6-12: rebuild with tasty-golden 2.3.3

Modified:
  haskell-sbv/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 03:35:28 UTC (rev 577945)
+++ PKGBUILD2020-02-22 03:43:58 UTC (rev 577946)
@@ -4,7 +4,7 @@
 _hkgname=sbv
 pkgname=haskell-sbv
 pkgver=8.6
-pkgrel=11
+pkgrel=12
 pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
 url="https://leventerkok.github.com/sbv;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:35:14
  Author: felixonmars
Revision: 577944

upgpkg: haskell-ipynb 0.1-123: rebuild with tasty-golden 2.3.3

Modified:
  haskell-ipynb/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 03:34:21 UTC (rev 577943)
+++ PKGBUILD2020-02-22 03:35:14 UTC (rev 577944)
@@ -3,7 +3,7 @@
 _hkgname=ipynb
 pkgname=haskell-ipynb
 pkgver=0.1
-pkgrel=122
+pkgrel=123
 pkgdesc="Data structure for working with Jupyter notebooks (ipynb)"
 url="https://github.com/jgm/ipynb;
 license=('BSD')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:35:28
  Author: felixonmars
Revision: 577945

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ipynb/repos/community-staging-x86_64/PKGBUILD (from rev 577944, 
haskell-ipynb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 03:35:28 UTC (rev 577945)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ipynb
+pkgname=haskell-ipynb
+pkgver=0.1
+pkgrel=123
+pkgdesc="Data structure for working with Jupyter notebooks (ipynb)"
+url="https://github.com/jgm/ipynb;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base64-bytestring' 
'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-aeson-diff' 'haskell-microlens' 
'haskell-microlens-aeson'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('8717dac6496905afc5e8735abc3b3a4a90b171253b035efa0751a6311b901caad563fdfeaa455987c1307d0532273ab80be37256562143db575f13c326843bf4')
+
+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
+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-aeson-diff/repos (2 files)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:34:21
  Author: felixonmars
Revision: 577943

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-aeson-diff/repos/community-staging-x86_64/
  haskell-aeson-diff/repos/community-staging-x86_64/PKGBUILD
(from rev 577942, haskell-aeson-diff/trunk/PKGBUILD)

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

Copied: haskell-aeson-diff/repos/community-staging-x86_64/PKGBUILD (from rev 
577942, haskell-aeson-diff/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 03:34:21 UTC (rev 577943)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=aeson-diff
+pkgname=haskell-aeson-diff
+pkgver=1.1.0.8
+pkgrel=41
+pkgdesc="Extract and apply patches to JSON documents"
+url="https://github.com/thsutton/aeson-diff;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-edit-distance-vector' 
'haskell-hashable'
+ 'haskell-scientific' 'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'hlint')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('5a5f703dec592c0cfd825eb1899006350649c52bf810ff1aaaf4134ebfbc11f5fbe9e7f158a8c3a21dbef4902b1f9e94148bc116e27418b2b786f6d31c7561fb')
+
+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
+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-aeson-diff/trunk (PKGBUILD)

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:34:07
  Author: felixonmars
Revision: 577942

upgpkg: haskell-aeson-diff 1.1.0.8-41: rebuild with tasty-golden 2.3.3

Modified:
  haskell-aeson-diff/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 03:32:15 UTC (rev 577941)
+++ PKGBUILD2020-02-22 03:34:07 UTC (rev 577942)
@@ -3,7 +3,7 @@
 _hkgname=aeson-diff
 pkgname=haskell-aeson-diff
 pkgver=1.1.0.8
-pkgrel=40
+pkgrel=41
 pkgdesc="Extract and apply patches to JSON documents"
 url="https://github.com/thsutton/aeson-diff;
 license=('BSD')


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:32:15
  Author: felixonmars
Revision: 577941

archrelease: copy trunk to community-staging-x86_64

Added:
  hlint/repos/community-staging-x86_64/
  hlint/repos/community-staging-x86_64/PKGBUILD
(from rev 577940, hlint/trunk/PKGBUILD)

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

Copied: hlint/repos/community-staging-x86_64/PKGBUILD (from rev 577940, 
hlint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 03:32:15 UTC (rev 577941)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hlint
+pkgver=2.2.8
+pkgrel=2
+pkgdesc="Source code suggestions"
+url="http://community.haskell.org/~ndm/hlint/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-cmdargs' 
'haskell-cpphs'
+ 'haskell-data-default' 'haskell-extra' 'haskell-file-embed' 
'haskell-filepattern'
+ 'haskell-ghc' 'haskell-ghc-lib-parser-ex' 'haskell-hscolour' 
'haskell-refact'
+ 'haskell-src-exts' 'haskell-src-exts-util' 'haskell-syb' 
'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector' 
'haskell-yaml')
+conflicts=('haskell-hlint')
+replaces=('haskell-hlint')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('578f59bb345d353d23c4e8d50beaf6732202d77ff186f509366a536935f8be2048c7f4b6d8f74f373c7a95a7f90ce1bbb11bc3072a03ccf0181b5df9dadac57e')
+
+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 \
+-fgpl -fthreaded
+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
+}
+
+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}/COPYING.BSD3"
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:32:01
  Author: felixonmars
Revision: 577940

upgpkg: hlint 2.2.8-2: rebuild with tasty-golden 2.3.3

Modified:
  hlint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 03:30:39 UTC (rev 577939)
+++ PKGBUILD2020-02-22 03:32:01 UTC (rev 577940)
@@ -3,7 +3,7 @@
 
 pkgname=hlint
 pkgver=2.2.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Source code suggestions"
 url="http://community.haskell.org/~ndm/hlint/;
 license=("BSD")


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:30:39
  Author: felixonmars
Revision: 577939

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 577938, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 03:30:39 UTC (rev 577939)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.16.2
+pkgrel=15
+pkgdesc="Web interface for the hledger accounting tool"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 
'haskell-clientsession'
+ 'haskell-cmdargs' 'haskell-conduit' 'haskell-data-default' 
'haskell-decimal'
+ 'haskell-hjsmin' 'haskell-http-conduit' 'haskell-http-client' 
'haskell-http-types'
+ 'haskell-conduit-extra' 'haskell-safe' 'haskell-shakespeare' 
'haskell-utf8-string'
+ 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 
'haskell-wai-handler-launch'
+ 'haskell-warp' 'haskell-yesod' 'haskell-yesod-core' 
'haskell-yesod-form'
+ 'haskell-yesod-static' 'haskell-megaparsec')
+makedepends=('ghc' 'haskell-hspec' 'haskell-yesod-test')
+replaces=('hledger-api')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('830b11d0b0ef2894eed6c49e161aa3e4b175414e6315a78e37dbc3a0749b25dcf0d855e9144ce8c0ffb721fccf34b7daad0c5f4b808315ad0d143e941268a2dc')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e '/semigroups/d' $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}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-dev -f-library-only -fthreaded
+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 $pkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 03:30:25
  Author: felixonmars
Revision: 577938

upgpkg: hledger-web 1.16.2-15: rebuild with tasty-golden 2.3.3

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-22 03:28:46 UTC (rev 577937)
+++ PKGBUILD2020-02-22 03:30:25 UTC (rev 577938)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.16.2
-pkgrel=14
+pkgrel=15
 pkgdesc="Web interface for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


  1   2   3   4   5   6   >