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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:57:46
  Author: felixonmars
Revision: 699057

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 699056, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:57:46 UTC (rev 699057)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=78
+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;)
+sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
+sed -i 's/< *1.5/<2/;s/< *1.2/<2/' $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-CI --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createdb postgrest_test
+
+# TODO: user authentication issue?
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || 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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:57:23
  Author: felixonmars
Revision: 699056

upgpkg: postgrest 7.0.1-78: rebuild with template-haskell-compat-v0208 0.1.5

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:53:38 UTC (rev 699055)
+++ PKGBUILD2020-09-05 05:57:23 UTC (rev 699056)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.1
-pkgrel=77
+pkgrel=78
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:53:38
  Author: felixonmars
Revision: 699055

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 699054, haskell-hasql-transaction/trunk/PKGBUILD)

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

Copied: haskell-hasql-transaction/repos/community-staging-x86_64/PKGBUILD (from 
rev 699054, haskell-hasql-transaction/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:53:38 UTC (rev 699055)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-transaction
+pkgname=haskell-hasql-transaction
+pkgver=1.0.0.1
+pkgrel=66
+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=('fe02484c8ae0f6a6b64f399a2061138f9a9390cb19693df9592fb58c07c7330f819b1181f973b4e6bf6b800d57ecb80dc901900e5d3ad1eb4c801bb3cf2f45c5')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' conflicts-test/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test
+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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:53:13
  Author: felixonmars
Revision: 699054

upgpkg: haskell-hasql-transaction 1.0.0.1-66: rebuild with 
template-haskell-compat-v0208 0.1.5

Modified:
  haskell-hasql-transaction/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:51:51 UTC (rev 699053)
+++ PKGBUILD2020-09-05 05:53:13 UTC (rev 699054)
@@ -3,7 +3,7 @@
 _hkgname=hasql-transaction
 pkgname=haskell-hasql-transaction
 pkgver=1.0.0.1
-pkgrel=65
+pkgrel=66
 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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:51:51
  Author: felixonmars
Revision: 699053

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 699052, haskell-hasql-pool/trunk/PKGBUILD)

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

Copied: haskell-hasql-pool/repos/community-staging-x86_64/PKGBUILD (from rev 
699052, haskell-hasql-pool/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:51:51 UTC (rev 699053)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql-pool
+pkgname=haskell-hasql-pool
+pkgver=0.5.2
+pkgrel=47
+pkgdesc="A pool of connections for Hasql"
+url="https://github.com/nikita-volkov/hasql-pool;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-hasql' 
'haskell-resource-pool')
+makedepends=('ghc' 'haskell-hspec')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5609f05134a259826e17a7391d3324f1d2b474cd83082e4f67175086da1e481a1a75b336932a97371b32e7427e869498bb87af3f7c6246225698e8ceef1aa372')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' test/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+#runhaskell Setup test
+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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:51:29
  Author: felixonmars
Revision: 699052

upgpkg: haskell-hasql-pool 0.5.2-47: rebuild with template-haskell-compat-v0208 
0.1.5

Modified:
  haskell-hasql-pool/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:50:08 UTC (rev 699051)
+++ PKGBUILD2020-09-05 05:51:29 UTC (rev 699052)
@@ -4,7 +4,7 @@
 _hkgname=hasql-pool
 pkgname=haskell-hasql-pool
 pkgver=0.5.2
-pkgrel=46
+pkgrel=47
 pkgdesc="A pool of connections for Hasql"
 url="https://github.com/nikita-volkov/hasql-pool;
 license=('MIT')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:50:08
  Author: felixonmars
Revision: 699051

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 699050, haskell-hasql/trunk/PKGBUILD)

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

Copied: haskell-hasql/repos/community-staging-x86_64/PKGBUILD (from rev 699050, 
haskell-hasql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:50:08 UTC (rev 699051)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql
+pkgname=haskell-hasql
+pkgver=1.4.4.2
+pkgrel=25
+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=('86330d4fa35431c4982206a2694a4b8fd3f55c0a2ffa9753a73692b662f280e90d2b677b052c99c6732eea9ffbf9b7cedf1ee4ade31081c0bb26f5b5219118a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/*.hs threads-test/*.hs profiling/*.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:49:46
  Author: felixonmars
Revision: 699050

upgpkg: haskell-hasql 1.4.4.2-25: rebuild with template-haskell-compat-v0208 
0.1.5

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:46:31 UTC (rev 699049)
+++ PKGBUILD2020-09-05 05:49:46 UTC (rev 699050)
@@ -4,7 +4,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.4.4.2
-pkgrel=24
+pkgrel=25
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql;
 license=('MIT')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:46:31
  Author: felixonmars
Revision: 699049

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 699048, haskell-text-builder/trunk/PKGBUILD)

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

Copied: haskell-text-builder/repos/community-staging-x86_64/PKGBUILD (from rev 
699048, haskell-text-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:46:31 UTC (rev 699049)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=text-builder
+pkgname=haskell-text-builder
+pkgver=0.6.6.1
+pkgrel=70
+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 $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:46:05
  Author: felixonmars
Revision: 699048

upgpkg: haskell-text-builder 0.6.6.1-70: rebuild with 
template-haskell-compat-v0208 0.1.5

Modified:
  haskell-text-builder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:44:24 UTC (rev 699047)
+++ PKGBUILD2020-09-05 05:46:05 UTC (rev 699048)
@@ -3,7 +3,7 @@
 _hkgname=text-builder
 pkgname=haskell-text-builder
 pkgver=0.6.6.1
-pkgrel=69
+pkgrel=70
 pkgdesc="An efficient strict text builder"
 url="https://github.com/nikita-volkov/text-builder;
 license=('MIT')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:44:24
  Author: felixonmars
Revision: 699047

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:42:56
  Author: felixonmars
Revision: 699046

upgpkg: haskell-summoner-tui 2.0.1.1-12: rebuild with 
template-haskell-compat-v0208 0.1.5

Modified:
  haskell-summoner-tui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:41:09 UTC (rev 699045)
+++ PKGBUILD2020-09-05 05:42:56 UTC (rev 699046)
@@ -4,7 +4,7 @@
 _hkgname=summoner-tui
 pkgname=haskell-summoner-tui
 pkgver=2.0.1.1
-pkgrel=11
+pkgrel=12
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:41:09
  Author: felixonmars
Revision: 699045

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:40:34
  Author: felixonmars
Revision: 699044

upgpkg: haskell-summoner 2.0.1.1-12: rebuild with template-haskell-compat-v0208 
0.1.5

Modified:
  haskell-summoner/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:38:37 UTC (rev 699043)
+++ PKGBUILD2020-09-05 05:40:34 UTC (rev 699044)
@@ -4,7 +4,7 @@
 _hkgname=summoner
 pkgname=haskell-summoner
 pkgver=2.0.1.1
-pkgrel=11
+pkgrel=12
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:38:37
  Author: felixonmars
Revision: 699043

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 699042, haskell-postgresql-binary/trunk/PKGBUILD)

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

Copied: haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD (from 
rev 699042, haskell-postgresql-binary/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:38:37 UTC (rev 699043)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=postgresql-binary
+pkgname=haskell-postgresql-binary
+pkgver=0.12.3
+pkgrel=30
+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=('81ab37755d6391edce60bb52e7d8aececa05ad6c8ed044e9015477257e1d91fa24d0a62df8819812ec80f8af5c1587006cecabc124684ab49d1ae041f2c0f332')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/DB.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test
+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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:37:43
  Author: felixonmars
Revision: 699042

upgpkg: haskell-postgresql-binary 0.12.3-30: rebuild with 
template-haskell-compat-v0208 0.1.5

Modified:
  haskell-postgresql-binary/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:35:44 UTC (rev 699041)
+++ PKGBUILD2020-09-05 05:37:43 UTC (rev 699042)
@@ -4,7 +4,7 @@
 _hkgname=postgresql-binary
 pkgname=haskell-postgresql-binary
 pkgver=0.12.3
-pkgrel=29
+pkgrel=30
 pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
 url="https://github.com/nikita-volkov/postgresql-binary;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:35:44
  Author: felixonmars
Revision: 699041

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:35:08
  Author: felixonmars
Revision: 699040

upgpkg: dhall-bash 1.0.32-25: rebuild with template-haskell-compat-v0208 0.1.5

Modified:
  dhall-bash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:32:55 UTC (rev 699039)
+++ PKGBUILD2020-09-05 05:35:08 UTC (rev 699040)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-bash
 pkgver=1.0.32
-pkgrel=24
+pkgrel=25
 pkgdesc='Compile Dhall to Bash'
 url='https://dhall-lang.org'
 license=('BSD')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:32:55
  Author: felixonmars
Revision: 699039

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 699038, haskell-neat-interpolation/trunk/PKGBUILD)

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

Copied: haskell-neat-interpolation/repos/community-staging-x86_64/PKGBUILD 
(from rev 699038, haskell-neat-interpolation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:32:55 UTC (rev 699039)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=neat-interpolation
+pkgname=haskell-neat-interpolation
+pkgver=0.5.1.1
+pkgrel=22
+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=('ad4ccf934d772f038b6479adb6aa6bd8d0fa4bf6ec9c80dc7b92dcaae1ba96e611ab99dd44fe05f4b70739f9ecbb93f7332563cfc63d0fe4759872a5e8b2d9c4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:31:53
  Author: felixonmars
Revision: 699038

upgpkg: haskell-neat-interpolation 0.5.1.1-22: rebuild with 
template-haskell-compat-v0208 0.1.5

Modified:
  haskell-neat-interpolation/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:30:49 UTC (rev 699037)
+++ PKGBUILD2020-09-05 05:31:53 UTC (rev 699038)
@@ -4,7 +4,7 @@
 _hkgname=neat-interpolation
 pkgname=haskell-neat-interpolation
 pkgver=0.5.1.1
-pkgrel=21
+pkgrel=22
 pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
 url="https://github.com/nikita-volkov/neat-interpolation;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:30:25
  Author: felixonmars
Revision: 699036

upgpkg: haskell-deferred-folds 0.9.10.1-109: rebuild with 
template-haskell-compat-v0208 0.1.5

Modified:
  haskell-deferred-folds/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:28:57 UTC (rev 699035)
+++ PKGBUILD2020-09-05 05:30:25 UTC (rev 699036)
@@ -3,7 +3,7 @@
 _hkgname=deferred-folds
 pkgname=haskell-deferred-folds
 pkgver=0.9.10.1
-pkgrel=108
+pkgrel=109
 pkgdesc="Abstractions over deferred folds"
 url="https://github.com/metrix-ai/deferred-folds;
 license=('MIT')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:30:49
  Author: felixonmars
Revision: 699037

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 699036, haskell-deferred-folds/trunk/PKGBUILD)

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

Copied: haskell-deferred-folds/repos/community-staging-x86_64/PKGBUILD (from 
rev 699036, haskell-deferred-folds/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:30:49 UTC (rev 699037)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deferred-folds
+pkgname=haskell-deferred-folds
+pkgver=0.9.10.1
+pkgrel=109
+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 $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:28:57
  Author: felixonmars
Revision: 699035

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 699034, 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 699034, haskell-bytestring-strict-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:28:57 UTC (rev 699035)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytestring-strict-builder
+pkgname=haskell-bytestring-strict-builder
+pkgver=0.4.5.3
+pkgrel=99
+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 $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:28:24
  Author: felixonmars
Revision: 699034

upgpkg: haskell-bytestring-strict-builder 0.4.5.3-99: rebuild with 
template-haskell-compat-v0208 0.1.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:27:24 UTC (rev 699033)
+++ PKGBUILD2020-09-05 05:28:24 UTC (rev 699034)
@@ -3,7 +3,7 @@
 _hkgname=bytestring-strict-builder
 pkgname=haskell-bytestring-strict-builder
 pkgver=0.4.5.3
-pkgrel=98
+pkgrel=99
 pkgdesc="An efficient strict bytestring builder"
 url="https://github.com/nikita-volkov/bytestring-strict-builder;
 license=('MIT')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:27:24
  Author: felixonmars
Revision: 699033

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-binary-parser/repos/community-staging-x86_64/PKGBUILD (from rev 
699032, haskell-binary-parser/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:27:24 UTC (rev 699033)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=binary-parser
+pkgname=haskell-binary-parser
+pkgver=0.5.6
+pkgrel=28
+pkgdesc="A highly-efficient but limited parser API specialised for bytestrings"
+url="https://github.com/nikita-volkov/binary-parser;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+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=('e218ac9f38f85f143acaed4ecd8d347e1442807e07159c097fef84b48fbb2c08b4f0f1915c5dd5692b4bf779ba3ccdfbf6f48665f0447a1b4cf44c76c638011e')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:26:58
  Author: felixonmars
Revision: 699032

upgpkg: haskell-binary-parser 0.5.6-28: rebuild with 
template-haskell-compat-v0208 0.1.5

Modified:
  haskell-binary-parser/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:25:58 UTC (rev 699031)
+++ PKGBUILD2020-09-05 05:26:58 UTC (rev 699032)
@@ -4,7 +4,7 @@
 _hkgname=binary-parser
 pkgname=haskell-binary-parser
 pkgver=0.5.6
-pkgrel=27
+pkgrel=28
 pkgdesc="A highly-efficient but limited parser API specialised for bytestrings"
 url="https://github.com/nikita-volkov/binary-parser;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:25:58
  Author: felixonmars
Revision: 699031

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 699030, haskell-rerebase/trunk/PKGBUILD)

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

Copied: haskell-rerebase/repos/community-staging-x86_64/PKGBUILD (from rev 
699030, haskell-rerebase/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:25:58 UTC (rev 699031)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=rerebase
+pkgname=haskell-rerebase
+pkgver=1.7
+pkgrel=6
+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=('7aac215acd35a80d6c300176ee21385123146b1ddf910b194eba7c0432865eaa3bb18abd4c5e99a1baf7b4c6684dcbbed3fecab47626c0a86fada219f516fac2')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:25:25
  Author: felixonmars
Revision: 699030

upgpkg: haskell-rerebase 1.7-6: rebuild with template-haskell-compat-v0208 0.1.5

Modified:
  haskell-rerebase/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:23:21 UTC (rev 699029)
+++ PKGBUILD2020-09-05 05:25:25 UTC (rev 699030)
@@ -4,7 +4,7 @@
 _hkgname=rerebase
 pkgname=haskell-rerebase
 pkgver=1.7
-pkgrel=5
+pkgrel=6
 pkgdesc='Reexports from "base" with a bunch of other standard libraries'
 url="https://github.com/nikita-volkov/rerebase;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:23:21
  Author: felixonmars
Revision: 699029

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 699028, haskell-rebase/trunk/PKGBUILD)

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

Copied: haskell-rebase/repos/community-staging-x86_64/PKGBUILD (from rev 
699028, haskell-rebase/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:23:21 UTC (rev 699029)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=rebase
+pkgname=haskell-rebase
+pkgver=1.7
+pkgrel=6
+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-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=('0331e0e78a64c38e0d6f9fc0bc084e102301a26f2717d12083215669ddb9005adb6b587b7a9b94a20a10935c37ec545ca3365b4303118a289b6f7196012ba312')
+
+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 \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:22:51
  Author: felixonmars
Revision: 699028

upgpkg: haskell-rebase 1.7-6: rebuild with template-haskell-compat-v0208 0.1.5

Modified:
  haskell-rebase/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:22:03 UTC (rev 699027)
+++ PKGBUILD2020-09-05 05:22:51 UTC (rev 699028)
@@ -4,7 +4,7 @@
 _hkgname=rebase
 pkgname=haskell-rebase
 pkgver=1.7
-pkgrel=5
+pkgrel=6
 pkgdesc='A more progressive alternative to the "base" package'
 url="https://github.com/nikita-volkov/rebase;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:22:03
  Author: felixonmars
Revision: 699027

archrelease: copy trunk to community-x86_64

Added:
  n2n/repos/community-x86_64/PKGBUILD
(from rev 699026, n2n/trunk/PKGBUILD)
Deleted:
  n2n/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-09-05 05:21:43 UTC (rev 699026)
+++ PKGBUILD2020-09-05 05:22:03 UTC (rev 699027)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=n2n
-pkgver=2.8
-pkgrel=2
-pkgdesc="A Peer-to-peer VPN software which makes it easy to create virtual 
networks bypassing intermediate firewalls"
-arch=('x86_64')
-url="https://github.com/ntop/n2n;
-license=('GPL')
-depends=('libcap' 'openssl')
-optdepends=('libpcap: for n2n-decode')
-makedepends=('cmake' 'ninja' 'libpcap')
-backup=('etc/n2n/edge.conf'
-'etc/n2n/supernode.conf')
-source=("https://github.com/ntop/n2n/archive/$pkgver/n2n-$pkgver.tar.gz;)
-sha512sums=('24eaabe1b454fbcf47c251d93fad31bf10241fe7d79b3df8cfd758652fe60f18e4f123054a4319c6b58ae96d130faa93f3d56b1bfec6c91d9c834c8bd5ae71d4')
-
-prepare() {
-  cd $pkgname-$pkgver
-  sed -i 's/RUNTIME DESTINATION sbin/RUNTIME DESTINATION bin/' CMakeLists.txt
-  sed -i 's|/usr/sbin|/usr/bin|' packages/etc/systemd/system/*.service.in
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
-  ninja
-}
-
-package() {
-  cd $pkgname-$pkgver
-  DESTDIR="$pkgdir" ninja install
-
-  install -Dm600 "packages/etc/n2n/edge.conf.sample" 
"$pkgdir"/etc/n2n/edge.conf
-  install -Dm600 "packages/etc/n2n/supernode.conf.sample" 
"$pkgdir"/etc/n2n/supernode.conf
-  install -Dm644 "packages/etc/systemd/system/edge.service.in" 
"$pkgdir"/usr/lib/systemd/system/edge.service
-  install -Dm644 "packages/etc/systemd/system/e...@.service.in" 
"$pkgdir"/usr/lib/systemd/system/edge@.service
-  install -Dm644 "packages/etc/systemd/system/supernode.service.in" 
"$pkgdir"/usr/lib/systemd/system/supernode.service
-}

Copied: n2n/repos/community-x86_64/PKGBUILD (from rev 699026, 
n2n/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-09-05 05:22:03 UTC (rev 699027)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+pkgname=n2n
+pkgver=2.8
+pkgrel=3
+pkgdesc="A Peer-to-peer VPN software which makes it easy to create virtual 
networks bypassing intermediate firewalls"
+arch=('x86_64')
+url="https://github.com/ntop/n2n;
+license=('GPL')
+depends=('libcap' 'openssl')
+optdepends=('libpcap: for n2n-decode')
+makedepends=('cmake' 'ninja' 'libpcap')
+backup=('etc/n2n/edge.conf'
+'etc/n2n/supernode.conf')
+source=("https://github.com/ntop/n2n/archive/$pkgver/n2n-$pkgver.tar.gz;)
+sha512sums=('24eaabe1b454fbcf47c251d93fad31bf10241fe7d79b3df8cfd758652fe60f18e4f123054a4319c6b58ae96d130faa93f3d56b1bfec6c91d9c834c8bd5ae71d4')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's/RUNTIME DESTINATION sbin/RUNTIME DESTINATION bin/' CMakeLists.txt
+  sed -i 's|/usr/sbin|/usr/bin|' packages/etc/systemd/system/*.service.in
+
+  # We need a better way to make the conf file owned by the user created in 
sysusers.d...
+  sed -i '/User=n2n/d;/Group=n2n/d' 
packages/etc/systemd/system/supernode.service.in
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
+  ninja
+}
+
+package() {
+  cd $pkgname-$pkgver
+  DESTDIR="$pkgdir" ninja install
+
+  install -Dm600 packages/etc/n2n/edge.conf.sample "$pkgdir"/etc/n2n/edge.conf
+  install -Dm600 packages/etc/n2n/supernode.conf.sample 
"$pkgdir"/etc/n2n/supernode.conf
+  install -Dm644 packages/etc/systemd/system/edge.service.in 
"$pkgdir"/usr/lib/systemd/system/edge.service
+  install -Dm644 packages/etc/systemd/system/e...@.service.in 
"$pkgdir"/usr/lib/systemd/system/edge@.service
+  install -Dm644 packages/etc/systemd/system/supernode.service.in 
"$pkgdir"/usr/lib/systemd/system/supernode.service
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:21:43
  Author: felixonmars
Revision: 699026

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 699025, haskell-contravariant-extras/trunk/PKGBUILD)

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

Copied: haskell-contravariant-extras/repos/community-staging-x86_64/PKGBUILD 
(from rev 699025, haskell-contravariant-extras/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:21:43 UTC (rev 699026)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=contravariant-extras
+pkgname=haskell-contravariant-extras
+pkgver=0.3.5.2
+pkgrel=2
+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=('79b9be33cd173320f0aee1e764bd667a97e104a03653ec671d9a5fb767deb49163baa40fb331e79324a2ac1cdc5eb1aa565ac1f7d7414dbc1424b0778d34efca')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:21:23
  Author: felixonmars
Revision: 699025

upgpkg: haskell-contravariant-extras 0.3.5.2-2: rebuild with 
template-haskell-compat-v0208 0.1.5

Modified:
  haskell-contravariant-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:19:31 UTC (rev 699024)
+++ PKGBUILD2020-09-05 05:21:23 UTC (rev 699025)
@@ -4,7 +4,7 @@
 _hkgname=contravariant-extras
 pkgname=haskell-contravariant-extras
 pkgver=0.3.5.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Extras for the \"contravariant\" package"
 url="https://github.com/nikita-volkov/contravariant-extras;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:19:30
  Author: felixonmars
Revision: 699023

fix supernode service

Modified:
  n2n/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:18:58 UTC (rev 699022)
+++ PKGBUILD2020-09-05 05:19:30 UTC (rev 699023)
@@ -2,7 +2,7 @@
 
 pkgname=n2n
 pkgver=2.8
-pkgrel=2
+pkgrel=3
 pkgdesc="A Peer-to-peer VPN software which makes it easy to create virtual 
networks bypassing intermediate firewalls"
 arch=('x86_64')
 url="https://github.com/ntop/n2n;
@@ -19,6 +19,9 @@
   cd $pkgname-$pkgver
   sed -i 's/RUNTIME DESTINATION sbin/RUNTIME DESTINATION bin/' CMakeLists.txt
   sed -i 's|/usr/sbin|/usr/bin|' packages/etc/systemd/system/*.service.in
+
+  # We need a better way to make the conf file owned by the user created in 
sysusers.d...
+  sed -i '/User=n2n/d;/Group=n2n/d' 
packages/etc/systemd/system/supernode.service.in
 }
 
 build() {
@@ -32,9 +35,9 @@
   cd $pkgname-$pkgver
   DESTDIR="$pkgdir" ninja install
 
-  install -Dm600 "packages/etc/n2n/edge.conf.sample" 
"$pkgdir"/etc/n2n/edge.conf
-  install -Dm600 "packages/etc/n2n/supernode.conf.sample" 
"$pkgdir"/etc/n2n/supernode.conf
-  install -Dm644 "packages/etc/systemd/system/edge.service.in" 
"$pkgdir"/usr/lib/systemd/system/edge.service
-  install -Dm644 "packages/etc/systemd/system/e...@.service.in" 
"$pkgdir"/usr/lib/systemd/system/edge@.service
-  install -Dm644 "packages/etc/systemd/system/supernode.service.in" 
"$pkgdir"/usr/lib/systemd/system/supernode.service
+  install -Dm600 packages/etc/n2n/edge.conf.sample "$pkgdir"/etc/n2n/edge.conf
+  install -Dm600 packages/etc/n2n/supernode.conf.sample 
"$pkgdir"/etc/n2n/supernode.conf
+  install -Dm644 packages/etc/systemd/system/edge.service.in 
"$pkgdir"/usr/lib/systemd/system/edge.service
+  install -Dm644 packages/etc/systemd/system/e...@.service.in 
"$pkgdir"/usr/lib/systemd/system/edge@.service
+  install -Dm644 packages/etc/systemd/system/supernode.service.in 
"$pkgdir"/usr/lib/systemd/system/supernode.service
 }


[arch-commits] Commit in haskell-template-haskell-compat-v0208/repos (2 files)

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:19:31
  Author: felixonmars
Revision: 699024

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-template-haskell-compat-v0208/repos/community-staging-x86_64/
  haskell-template-haskell-compat-v0208/repos/community-staging-x86_64/PKGBUILD
(from rev 699022, haskell-template-haskell-compat-v0208/trunk/PKGBUILD)

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

Copied: 
haskell-template-haskell-compat-v0208/repos/community-staging-x86_64/PKGBUILD 
(from rev 699022, haskell-template-haskell-compat-v0208/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 05:19:31 UTC (rev 699024)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=template-haskell-compat-v0208
+pkgname=haskell-template-haskell-compat-v0208
+pkgver=0.1.5
+pkgrel=1
+pkgdesc="A backwards compatibility layer for Template Haskell newer than 2.8"
+url="https://github.com/nikita-volkov/template-haskell-compat-v0208;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('65cc574ac755a0efbca523a621f2b812191af7c1993750ae5a1791d6964a41cd645c517bf877451bcc957748022df85917906c643f1ecd6bb9b7d253646f8117')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-template-haskell-compat-v0208/trunk (PKGBUILD)

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:18:58
  Author: felixonmars
Revision: 699022

upgpkg: haskell-template-haskell-compat-v0208 0.1.5-1: rebuild with 
template-haskell-compat-v0208 0.1.5

Modified:
  haskell-template-haskell-compat-v0208/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 05:18:23 UTC (rev 699021)
+++ PKGBUILD2020-09-05 05:18:58 UTC (rev 699022)
@@ -2,8 +2,8 @@
 
 _hkgname=template-haskell-compat-v0208
 pkgname=haskell-template-haskell-compat-v0208
-pkgver=0.1.4
-pkgrel=2
+pkgver=0.1.5
+pkgrel=1
 pkgdesc="A backwards compatibility layer for Template Haskell newer than 2.8"
 url="https://github.com/nikita-volkov/template-haskell-compat-v0208;
 license=('MIT')
@@ -11,7 +11,7 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('00bda455148500ae49638ad8eead6516e37ab0fd6a35f5060dec73f4026dd02f0cd2be21dd8f64eadabd4b1bd6894f2bac3735a4dfc60115dfbf37dfe864d62e')
+sha512sums=('65cc574ac755a0efbca523a621f2b812191af7c1993750ae5a1791d6964a41cd645c517bf877451bcc957748022df85917906c643f1ecd6bb9b7d253646f8117')
 
 build() {
 cd $_hkgname-$pkgver


[arch-commits] Commit in v2ray-domain-list-community/repos/community-any (2 files)

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:18:23
  Author: felixonmars
Revision: 699021

archrelease: copy trunk to community-any

Added:
  v2ray-domain-list-community/repos/community-any/PKGBUILD
(from rev 699020, v2ray-domain-list-community/trunk/PKGBUILD)
Deleted:
  v2ray-domain-list-community/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-09-05 05:17:54 UTC (rev 699020)
+++ PKGBUILD2020-09-05 05:18:23 UTC (rev 699021)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=v2ray-domain-list-community
-pkgver=20200903084411
-pkgrel=1
-pkgdesc="A list of domains to be used as geosites for routing purpose in 
Project V"
-arch=('any')
-url="https://github.com/v2fly/domain-list-community;
-license=('MIT')
-makedepends=('go' 'git')
-source=("https://github.com/v2fly/domain-list-community/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('8fef4099c10c8fe2140f34f578cd59e850ee935972417c2fa92a01777aadede099e5c954c04cbcdb6d83ca4b907c15757bc9f4dae9058bb650f8d6b7fae2b795')
-
-prepare() {
-  mkdir .gopath
-  export GOPATH="$srcdir/.gopath"
-
-  mkdir -p .gopath/src/github.com/v2fly
-  ln -s "$PWD/domain-list-community-$pkgver" 
.gopath/src/github.com/v2fly/domain-list-community
-
-  go get github.com/golang/protobuf/proto
-  go get -insecure v2ray.com/core/app/router
-}
-
-build() {
-  cd .gopath
-  go run ./src/github.com/v2fly/domain-list-community/main.go
-}
-
-package() {
-  cd .gopath
-  install -Dm644 dlc.dat "$pkgdir"/usr/share/v2ray/geosite.dat
-  install -Dm644 "$srcdir"/domain-list-community-$pkgver/LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: v2ray-domain-list-community/repos/community-any/PKGBUILD (from rev 
699020, v2ray-domain-list-community/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-09-05 05:18:23 UTC (rev 699021)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan 
+
+pkgname=v2ray-domain-list-community
+pkgver=20200904230854
+pkgrel=1
+pkgdesc="A list of domains to be used as geosites for routing purpose in 
Project V"
+arch=('any')
+url="https://github.com/v2fly/domain-list-community;
+license=('MIT')
+makedepends=('go' 'git')
+source=("https://github.com/v2fly/domain-list-community/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('88e13d8c23213ee59a856bd3e506a6947b52ddff6e9a12febbde5d935694bd57f801a967af2d9f098decbfc2c21396e6488f16757256b1422ac62c844a0aa31a')
+
+prepare() {
+  mkdir .gopath
+  export GOPATH="$srcdir/.gopath"
+
+  mkdir -p .gopath/src/github.com/v2fly
+  ln -s "$PWD/domain-list-community-$pkgver" 
.gopath/src/github.com/v2fly/domain-list-community
+
+  go get github.com/golang/protobuf/proto
+  go get -insecure v2ray.com/core/app/router
+}
+
+build() {
+  cd .gopath
+  go run ./src/github.com/v2fly/domain-list-community/main.go
+}
+
+package() {
+  cd .gopath
+  install -Dm644 dlc.dat "$pkgdir"/usr/share/v2ray/geosite.dat
+  install -Dm644 "$srcdir"/domain-list-community-$pkgver/LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in v2ray-domain-list-community/trunk (PKGBUILD)

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 05:17:54
  Author: felixonmars
Revision: 699020

upgpkg: v2ray-domain-list-community 20200904230854-1

Modified:
  v2ray-domain-list-community/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 04:55:10 UTC (rev 699019)
+++ PKGBUILD2020-09-05 05:17:54 UTC (rev 699020)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=v2ray-domain-list-community
-pkgver=20200903084411
+pkgver=20200904230854
 pkgrel=1
 pkgdesc="A list of domains to be used as geosites for routing purpose in 
Project V"
 arch=('any')
@@ -9,7 +9,7 @@
 license=('MIT')
 makedepends=('go' 'git')
 
source=("https://github.com/v2fly/domain-list-community/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('8fef4099c10c8fe2140f34f578cd59e850ee935972417c2fa92a01777aadede099e5c954c04cbcdb6d83ca4b907c15757bc9f4dae9058bb650f8d6b7fae2b795')
+sha512sums=('88e13d8c23213ee59a856bd3e506a6947b52ddff6e9a12febbde5d935694bd57f801a967af2d9f098decbfc2c21396e6488f16757256b1422ac62c844a0aa31a')
 
 prepare() {
   mkdir .gopath


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 04:55:10
  Author: felixonmars
Revision: 699019

archrelease: copy trunk to community-any

Added:
  python-testfixtures/repos/community-any/PKGBUILD
(from rev 699018, python-testfixtures/trunk/PKGBUILD)
Deleted:
  python-testfixtures/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-09-05 04:53:40 UTC (rev 699018)
+++ PKGBUILD2020-09-05 04:55:10 UTC (rev 699019)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=python-testfixtures
-pkgver=6.14.1
-pkgrel=1
-pkgdesc="A collection of helpers and mock objects that are useful when writing 
unit tests or doc tests"
-arch=('any')
-license=('MIT')
-url="https://github.com/Simplistix/testfixtures;
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-zope-component' 'python-sybil'
-  'python-pytest-django' 'python-django' 'python-twisted')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz;)
-sha512sums=('10e411971d016b342ff3a45bd6663bdeec84a2eae8de938fe2103a07ec37e8e524fa203d7ef9f57f2569d724e3cf60a32a4c4cabe6773dc8801d9a900396233e')
-
-build() {
-  cd "$srcdir"/testfixtures-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/testfixtures-$pkgver
-  python setup.py pytest --addopts "--ignore=build"
-}
-
-package() {
-  cd testfixtures-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 docs/license.txt 
"$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}

Copied: python-testfixtures/repos/community-any/PKGBUILD (from rev 699018, 
python-testfixtures/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-09-05 04:55:10 UTC (rev 699019)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-testfixtures
+pkgver=6.14.2
+pkgrel=1
+pkgdesc="A collection of helpers and mock objects that are useful when writing 
unit tests or doc tests"
+arch=('any')
+license=('MIT')
+url="https://github.com/Simplistix/testfixtures;
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-zope-component' 'python-sybil'
+  'python-pytest-django' 'python-django' 'python-twisted')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz;)
+sha512sums=('19eee4a2a898e272818fd144b5ae0aac997bdb116d02f16a52ca509998c66ca330ae44784086623d88f2a2a9e76418d8934e511a26026b5baf15db860314465f')
+
+build() {
+  cd "$srcdir"/testfixtures-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/testfixtures-$pkgver
+  python setup.py pytest --addopts "--ignore=build"
+}
+
+package() {
+  cd testfixtures-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 docs/license.txt 
"$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 04:53:40
  Author: felixonmars
Revision: 699018

upgpkg: python-testfixtures 6.14.2-1

Modified:
  python-testfixtures/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 04:36:57 UTC (rev 699017)
+++ PKGBUILD2020-09-05 04:53:40 UTC (rev 699018)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-testfixtures
-pkgver=6.14.1
+pkgver=6.14.2
 pkgrel=1
 pkgdesc="A collection of helpers and mock objects that are useful when writing 
unit tests or doc tests"
 arch=('any')
@@ -12,7 +12,7 @@
 checkdepends=('python-pytest-runner' 'python-zope-component' 'python-sybil'
   'python-pytest-django' 'python-django' 'python-twisted')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz;)
-sha512sums=('10e411971d016b342ff3a45bd6663bdeec84a2eae8de938fe2103a07ec37e8e524fa203d7ef9f57f2569d724e3cf60a32a4c4cabe6773dc8801d9a900396233e')
+sha512sums=('19eee4a2a898e272818fd144b5ae0aac997bdb116d02f16a52ca509998c66ca330ae44784086623d88f2a2a9e76418d8934e511a26026b5baf15db860314465f')
 
 build() {
   cd "$srcdir"/testfixtures-$pkgver


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:30:36
  Author: felixonmars
Revision: 698878

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:30:24
  Author: felixonmars
Revision: 698877

upgpkg: xmobar 0.35-43: rebuild with tasty-expected-failure 0.12.1

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 03:28:34 UTC (rev 698876)
+++ PKGBUILD2020-09-05 03:30:24 UTC (rev 698877)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.35
-pkgrel=42
+pkgrel=43
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:28:34
  Author: felixonmars
Revision: 698876

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: taskell/repos/community-staging-x86_64/PKGBUILD (from rev 698875, 
taskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 03:28:34 UTC (rev 698876)
@@ -0,0 +1,52 @@
+# 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 haskell-classy-prelude haskell-raw-strings-qq haskell-tasty 
haskell-tasty-discover haskell-tasty-expected-failure haskell-tasty-hunit)
+source=(https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
+
https://github.com/smallhadroncollider/taskell/raw/master/test/Taskell/IO/data/roadmap.md)
+sha512sums=('61d9615d20585345a0a7d8864c7c817196b3ebf9a7ec3aa3f592f0f6df89d14c6c6a9f31ae9cc1060f775b348505b4df5cb3262ced686a6df3dd241797624a44'
+
'c41d549a9595f91dc58dfb72eeaca8e1faeafe87255e8b375fe542f015fffb736004bce6ed7b97a3c4493b3b35a53e6ce755698f45a16f736920c8743e7247b8')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's/== *0.52/==0.55/;s/== *5.26/==5.30/;s/< *4/<5/;s/< *2/<3/;s/< 
*1/<2/;s/< *0.7/<1/;s/>=1.2.4.0/>=1.2/;s/< *0.12/<1/' $pkgname.cabal
+  cp ../roadmap.md test/Taskell/IO/data/
+}
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $pkgname-$pkgver
+  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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:28:20
  Author: felixonmars
Revision: 698875

upgpkg: taskell 1.9.3.0-25: rebuild with tasty-expected-failure 0.12.1

Modified:
  taskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 03:26:44 UTC (rev 698874)
+++ PKGBUILD2020-09-05 03:28:20 UTC (rev 698875)
@@ -2,7 +2,7 @@
 
 pkgname=taskell
 pkgver=1.9.3.0
-pkgrel=24
+pkgrel=25
 pkgdesc='A command-line kanban board/task manager'
 license=(BSD)
 arch=(x86_64)


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:26:28
  Author: felixonmars
Revision: 698873

upgpkg: tamarin-prover 1.4.1-421: rebuild with tasty-expected-failure 0.12.1

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 03:24:26 UTC (rev 698872)
+++ PKGBUILD2020-09-05 03:26:28 UTC (rev 698873)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.4.1
-pkgrel=420
+pkgrel=421
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io;
 license=("GPL")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:26:44
  Author: felixonmars
Revision: 698874

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

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

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
698873, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 03:26:44 UTC (rev 698874)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.4.1
+pkgrel=421
+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>=4.11.0')
+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 $MAKEFLAGS
+
+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 stack/repos (3 files)

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:24:26
  Author: felixonmars
Revision: 698872

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   82 
 stack.install |4 ++
 2 files changed, 86 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 698871, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 03:24:26 UTC (rev 698872)
@@ -0,0 +1,82 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.3.1
+pkgrel=119
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
+ 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
+ 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
+ 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
+ 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
+ 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
+ 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
+ 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
+ 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
+ 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
+ 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
+ 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
+ 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver;
+
stack-pantry-0.5.patch::https://github.com/commercialhaskell/stack/pull/5281.patch)
+sha512sums=('SKIP'
+
'9998e6cdc4b80db3490d66c4392a0e9c44c58fa51371bc68fbade48aea6b21f1172905627ade8132d2733a7e4d942b597d5943a5bd3da302aa6c3be616ecd769')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../stack-pantry-0.5.patch
+  sed -i -e '/semigroups/d' $pkgname.cabal
+
+  sed -i 's/map show errs/map show (toList errs)/' src/Stack/SDist.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 $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname
+  # cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
+  # Integration tests will result in 4 failures on Arch currently
+}
+
+package() {
+  cd $pkgname
+
+  install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  runhaskell Setup copy --destdir="${pkgdir}"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 
stack_completion_script
+  install 

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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:24:09
  Author: felixonmars
Revision: 698871

upgpkg: stack 2.3.1-119: rebuild with tasty-expected-failure 0.12.1

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 03:18:44 UTC (rev 698870)
+++ PKGBUILD2020-09-05 03:24:09 UTC (rev 698871)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.3.1
-pkgrel=118
+pkgrel=119
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:18:29
  Author: felixonmars
Revision: 698869

upgpkg: shellcheck 0.7.1-128: rebuild with tasty-expected-failure 0.12.1

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 03:14:18 UTC (rev 698868)
+++ PKGBUILD2020-09-05 03:18:29 UTC (rev 698869)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.7.1
-pkgrel=127
+pkgrel=128
 pkgdesc="Shell script analysis tool"
 url="https://www.shellcheck.net;
 license=("GPL")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:18:44
  Author: felixonmars
Revision: 698870

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:14:18
  Author: felixonmars
Revision: 698868

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 698867, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 03:14:18 UTC (rev 698868)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=77
+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;)
+sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
+sed -i 's/< *1.5/<2/;s/< *1.2/<2/' $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-CI --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createdb postgrest_test
+
+# TODO: user authentication issue?
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || 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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:14:00
  Author: felixonmars
Revision: 698867

upgpkg: postgrest 7.0.1-77: rebuild with tasty-expected-failure 0.12.1

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 03:10:23 UTC (rev 698866)
+++ PKGBUILD2020-09-05 03:14:00 UTC (rev 698867)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.1
-pkgrel=76
+pkgrel=77
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:10:23
  Author: felixonmars
Revision: 698866

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

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
698865, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 03:10:23 UTC (rev 698866)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.7.0
+pkgrel=30
+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=('68f636ac282e12eb438a1b16c59855053059cc14b0882a0823566c5bc4fa6ed828d32f9f5ab5bb32bc0cdf843bf8d5fb2f865f44ae7383a5ef29260250fcffd9')
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+   -f-enable_flaky_tests
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:10:06
  Author: felixonmars
Revision: 698865

upgpkg: pandoc-crossref 0.3.7.0-30: rebuild with tasty-expected-failure 0.12.1

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 03:08:07 UTC (rev 698864)
+++ PKGBUILD2020-09-05 03:10:06 UTC (rev 698865)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.7.0
-pkgrel=29
+pkgrel=30
 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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:08:07
  Author: felixonmars
Revision: 698864

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

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
698863, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 03:08:07 UTC (rev 698864)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.13.4.0
+pkgrel=54
+pkgdesc="A static website compiler library"
+url="https://jaspervdj.be/hakyll;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' 'haskell-memory' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'pandoc' 'pandoc-citeproc' 
'haskell-random'
+ 'haskell-regex-tdfa' 'haskell-resourcet' 'haskell-scientific' 
'haskell-tagsoup'
+ 'haskell-time-locale-compat' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-wai' 'haskell-wai-app-static' 'haskell-warp' 'haskell-yaml')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+
hakyll-pandoc-2.10.patch::https://github.com/jaspervdj/hakyll/pull/787.patch)
+sha512sums=('4ade6776cfee7a8293ba4a659cf8633c0e6641ee2c33db9cdddeaca996ff092d027ce4165e174d7acdeb8485904394d9a899351d9e3c065e4ce7cb5af61ee08a'
+
'af8fb00a70ec4461ffb424915c1cc45ccc3d77ac1d36b3680e97363a15bec0ee437c7ce2b9c1e21640117bdbe6cb3fd3b7adccf355cabd942fe7ea2963ee2074')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../hakyll-pandoc-2.10.patch
+sed -i 's/< *0.0.12/<1/;s/< *2.14/<3/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test || 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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:07:49
  Author: felixonmars
Revision: 698863

upgpkg: haskell-hakyll 4.13.4.0-54: rebuild with tasty-expected-failure 0.12.1

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 03:05:42 UTC (rev 698862)
+++ PKGBUILD2020-09-05 03:07:49 UTC (rev 698863)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.13.4.0
-pkgrel=53
+pkgrel=54
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:05:28
  Author: felixonmars
Revision: 698861

upgpkg: pandoc-citeproc 0.17.0.2-28: rebuild with tasty-expected-failure 0.12.1

Modified:
  pandoc-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 03:01:40 UTC (rev 698860)
+++ PKGBUILD2020-09-05 03:05:28 UTC (rev 698861)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-citeproc
 pkgver=0.17.0.2
-pkgrel=27
+pkgrel=28
 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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:05:42
  Author: felixonmars
Revision: 698862

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

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

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
698861, pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 03:05:42 UTC (rev 698862)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-citeproc
+pkgver=0.17.0.2
+pkgrel=28
+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=('5ce079a542b096c06d6e4e205625a993422a972f04787495ac9013dd3131df62733f30e4c3004335e3738b02bb22a7ad50a31c1eb3f67d2b4ef51605c7fcbf16')
+
+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 $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+# https://github.com/jgm/pandoc-citeproc/issues/342
+runhaskell Setup test || 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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:01:40
  Author: felixonmars
Revision: 698860

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 698859, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 03:01:40 UTC (rev 698860)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.10.1
+pkgrel=17
+pkgdesc='Conversion between markup formats'
+url='https://pandoc.org'
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-juicypixels' 'haskell-sha' 
'haskell-aeson'
+ 'haskell-aeson-pretty' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-case-insensitive'
+ 'haskell-commonmark' 'haskell-commonmark-extensions' 
'haskell-commonmark-pandoc'
+ 'haskell-connection' 'haskell-data-default' 'haskell-doclayout'
+ 'haskell-doctemplates' 'haskell-emojis' 'haskell-glob'
+ 'haskell-haddock-library' 'haskell-ipynb' 'haskell-jira-wiki-markup' 
'haskell-skylighting'
+ 'haskell-skylighting-core' 'haskell-hslua' 
'haskell-hslua-module-system'
+ 'haskell-hslua-module-text' 'haskell-http-client' 'haskell-syb' 
'haskell-hsyaml'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-safe' 
'haskell-split'
+ 'haskell-texmath' 'haskell-network' 'haskell-pandoc-types' 
'haskell-random'
+ 'haskell-scientific' 'haskell-tagsoup' 'haskell-temporary' 
'haskell-text-conversions'
+ 'haskell-network-uri' 'haskell-unicode-transforms' 
'haskell-unordered-containers'
+ 'haskell-zip-archive' 'haskell-xml' 'haskell-zlib')
+optdepends=('pandoc-citeproc: for citation rendering with pandoc-citeproc 
filter'
+'pandoc-crossref: for numbering figures, equations, tables and 
cross-references to them with pandoc-crossref filter'
+'texlive-core: for pdf output')
+conflicts=('haskell-pandoc')
+replaces=('haskell-pandoc')
+makedepends=('ghc' '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=('055d0d87c621ec428da7d2c589de9e1371ec6ebf613d943573d89c8bb98f2a0d67d4c156cf31f4257f0093c69f4006d06e11426ee04e7267f535c68381cfabf2')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+sed -i 's/< *1.2/<2/' $pkgname.cabal
+
+# TODO: find a better solution
+sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ 
[(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs
+}
+
+build() {
+cd "${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 $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd "${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-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 03:01:28
  Author: felixonmars
Revision: 698859

upgpkg: pandoc 2.10.1-17: rebuild with tasty-expected-failure 0.12.1

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:50:26 UTC (rev 698858)
+++ PKGBUILD2020-09-05 03:01:28 UTC (rev 698859)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.10.1
-pkgrel=16
+pkgrel=17
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:50:14
  Author: felixonmars
Revision: 698857

upgpkg: idris 1.3.3-64: rebuild with tasty-expected-failure 0.12.1

Modified:
  idris/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:31:01 UTC (rev 698856)
+++ PKGBUILD2020-09-05 02:50:14 UTC (rev 698857)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.3
-pkgrel=63
+pkgrel=64
 pkgdesc="Functional Programming Language with Dependent Types"
 url="https://www.idris-lang.org/;
 license=("BSD")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:50:26
  Author: felixonmars
Revision: 698858

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 698857, 
idris/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:50:26 UTC (rev 698858)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=idris
+pkgver=1.3.3
+pkgrel=64
+pkgdesc="Functional Programming Language with Dependent Types"
+url="https://www.idris-lang.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-base64-bytestring' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cheapskate' 'haskell-code-page' 
'haskell-fingertree'
+ 'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 
'haskell-megaparsec'
+ 'haskell-network' 'haskell-optparse-applicative' 
'haskell-parser-combinators'
+ 'haskell-regex-tdfa' 'haskell-safe' 'haskell-split' 
'haskell-terminal-size'
+ 'haskell-uniplate' 'haskell-unordered-containers' 
'haskell-utf8-string' 'haskell-vector'
+ 'haskell-vector-binary-instances' 'haskell-zip-archive')
+makedepends=('ghc' 'haskell-tagged' 'haskell-tasty' 'haskell-tasty-golden' 
'haskell-tasty-rerun'
+ 'nodejs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz;
+
idris-haskeline-0.8.patch::https://github.com/idris-lang/Idris-dev/pull/4871.patch)
+sha512sums=('fc5c65847c8021ed691c7968043a04fcffaed3a44a6339f611fed616fddefa1b5bc2da8e7e6662dfa552981688a1c96571eadc197e4e50ba060de3c6ddbd03de'
+
'5f2efe359d5626c44f0c146f108dae4635ae2c8babf53841d5147d17d5be2460ab19a0b952492c68c93fa6470989bcf396cd7fbf6c8d44ac77792a54c3bbb141')
+
+prepare() {
+cd Idris-dev-$pkgver
+patch -p1 -i ../idris-haskeline-0.8.patch
+sed -i '1ioverride IDRIS := env LD_PRELOAD=$(shell ls 
../../dist/build/libHSidris-*-ghc*.so) $(IDRIS)' \
+libs/*/Makefile
+sed -i -e 's/< *1.5/<2/;s/< *3.1.2/<3.2/;s/< *1.2/<2/' idris.cabal
+}
+
+build() {
+cd Idris-dev-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fFFI -fGMP -f-release -f-freestanding -f-CI -f-execonly 
--ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd Idris-dev-$pkgver
+# TODO: figure out the tests
+PATH="$PWD/dist/build:$PWD/dist/build/idris:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" IDRIS_LIBRARY_PATH="$PWD/libs" runhaskell 
Setup test || warning "Tests failed"
+}
+
+package() {
+cd Idris-dev-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:31:01
  Author: felixonmars
Revision: 698856

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

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
698855, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:31:01 UTC (rev 698856)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.23.1
+pkgrel=115
+pkgdesc="hOpenPGP-based command-line tools"
+url="https://salsa.debian.org/clint/hopenpgp-tools;
+license=("AGPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-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=('325a188af92587b84e453e73a40ed11cf6682632fed514c8971ebd2e684b949fb71cb5942b6efa93f95199f76a065a751ae82ad246c15c5593fecdee1ec0f533')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" 
"$pkgdir/usr/share"
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:30:50
  Author: felixonmars
Revision: 698855

upgpkg: hopenpgp-tools 0.23.1-115: rebuild with tasty-expected-failure 0.12.1

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:28:36 UTC (rev 698854)
+++ PKGBUILD2020-09-05 02:30:50 UTC (rev 698855)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.1
-pkgrel=114
+pkgrel=115
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools;
 license=("AGPL3")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:28:24
  Author: felixonmars
Revision: 698853

upgpkg: hoogle 5.0.18-41: rebuild with tasty-expected-failure 0.12.1

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:26:43 UTC (rev 698852)
+++ PKGBUILD2020-09-05 02:28:24 UTC (rev 698853)
@@ -3,7 +3,7 @@
 
 pkgname=hoogle
 pkgver=5.0.18
-pkgrel=40
+pkgrel=41
 pkgdesc="Haskell API Search"
 url="https://www.haskell.org/hoogle/;
 license=("BSD")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:28:36
  Author: felixonmars
Revision: 698854

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 698853, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:28:36 UTC (rev 698854)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.18
+pkgrel=41
+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=('a5f636513f89574e9fca721d9afdb35e56908ed56b31e292e874125ce997cd76fb2a035037564deb217cc62952d45a6f75adf1e60a9009b3106e23c919cf93cd')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:26:29
  Author: felixonmars
Revision: 698851

upgpkg: hledger-web 1.18.1-61: rebuild with tasty-expected-failure 0.12.1

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:24:47 UTC (rev 698850)
+++ PKGBUILD2020-09-05 02:26:29 UTC (rev 698851)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.18.1
-pkgrel=60
+pkgrel=61
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:26:43
  Author: felixonmars
Revision: 698852

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

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 698851, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:26:43 UTC (rev 698852)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.18.1
+pkgrel=61
+pkgdesc="Web-based user interface for the hledger accounting system"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 
'haskell-clientsession'
+ 'haskell-cmdargs' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-data-default'
+ 'haskell-decimal' 'haskell-extra' 'haskell-hjsmin' 
'haskell-http-conduit'
+ 'haskell-http-client' 'haskell-http-types' 'haskell-megaparsec' 
'haskell-network'
+ 'haskell-shakespeare' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-utf8-string' 'haskell-wai' 'haskell-wai-cors' 
'haskell-wai-extra'
+ 'haskell-wai-handler-launch' 'haskell-warp' 'haskell-yesod' 
'haskell-yesod-core'
+ 'haskell-yesod-form' 'haskell-yesod-static')
+makedepends=('ghc' 'haskell-hspec' 'haskell-yesod-test')
+replaces=('hledger-api')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('19eab0c6c6cb59d9e3fbe6b65ccd8d38d6f8eca3aa9fdcc2ed3b6bf3836a48a2092c812ba1da43a87cb06e2debe490bd759bf2adfa00d522b22fd77783798cbd')
+
+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 $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${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-ui/trunk (PKGBUILD)

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:24:35
  Author: felixonmars
Revision: 698849

upgpkg: hledger-ui 1.18.1-40: rebuild with tasty-expected-failure 0.12.1

Modified:
  hledger-ui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:22:28 UTC (rev 698848)
+++ PKGBUILD2020-09-05 02:24:35 UTC (rev 698849)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-ui
 pkgver=1.18.1
-pkgrel=39
+pkgrel=40
 pkgdesc="Curses-style terminal interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:24:47
  Author: felixonmars
Revision: 698850

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 698849, 
hledger-ui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:24:47 UTC (rev 698850)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-ui
+pkgver=1.18.1
+pkgrel=40
+pkgdesc="Curses-style terminal interface for the hledger accounting system"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-ansi-terminal' 
'haskell-async'
+ 'haskell-base-compat-batteries' 'haskell-cmdargs' 
'haskell-data-default' 'haskell-extra'
+ 'haskell-fsnotify' 'haskell-microlens' 'haskell-microlens-platform' 
'haskell-megaparsec'
+ 'haskell-pretty-show' 'haskell-safe' 'haskell-split' 
'haskell-text-zipper'
+ 'haskell-vector' 'haskell-brick' 'haskell-vty')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('3d32e5cd9dd5d51fd76ec2cf9588d518834983bbeb8a661c469936696e0a541a8173548c7ab4139d5f929fca5b39c840d6f009a790be35ddd2f25543c3f4e9c4')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+-fthreaded
+runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:22:28
  Author: felixonmars
Revision: 698848

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:22:11
  Author: felixonmars
Revision: 698847

upgpkg: git-annex 8.20200810-29: rebuild with tasty-expected-failure 0.12.1

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:17:00 UTC (rev 698846)
+++ PKGBUILD2020-09-05 02:22:11 UTC (rev 698847)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20200810
-pkgrel=28
+pkgrel=29
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:17:00
  Author: felixonmars
Revision: 698846

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
698845, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:17:00 UTC (rev 698846)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.1.0
+pkgrel=43
+pkgdesc="Static file serving subsite for Yesod Web Framework."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-builder' 'haskell-conduit' 'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-css-text' 'haskell-data-default'
+ 'haskell-file-embed' 'haskell-hashable' 'haskell-hjsmin' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-mime-types' 'haskell-rio' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-wai-extra' 
'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('66037ec28eac83e374161c1b306a4d20805ecb35ccfc4878e7894d961daaf30d9936c6e209641ff323d7e3dd5626f5a24a12915d4205417c496e272a2e969f6e')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:16:47
  Author: felixonmars
Revision: 698845

upgpkg: haskell-yesod-static 1.6.1.0-43: rebuild with tasty-expected-failure 
0.12.1

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:15:17 UTC (rev 698844)
+++ PKGBUILD2020-09-05 02:16:47 UTC (rev 698845)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=42
+pkgrel=43
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:14:58
  Author: felixonmars
Revision: 698843

upgpkg: haskell-yesod-test 1.6.10-46: rebuild with tasty-expected-failure 0.12.1

Modified:
  haskell-yesod-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:13:27 UTC (rev 698842)
+++ PKGBUILD2020-09-05 02:14:58 UTC (rev 698843)
@@ -3,7 +3,7 @@
 _hkgname=yesod-test
 pkgname=haskell-yesod-test
 pkgver=1.6.10
-pkgrel=45
+pkgrel=46
 pkgdesc="Integration testing for WAI/Yesod Applications"
 url="https://www.yesodweb.com;
 license=('MIT')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:15:17
  Author: felixonmars
Revision: 698844

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
698843, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:15:17 UTC (rev 698844)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.10
+pkgrel=46
+pkgdesc="Integration testing for WAI/Yesod Applications"
+url="https://www.yesodweb.com;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-conduit'
+ 'haskell-cookie' 'haskell-hspec-core' 'haskell-html-conduit' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-network' 'haskell-pretty-show' 'haskell-wai'
+ 'haskell-wai-extra' 'haskell-xml-conduit' 'haskell-xml-types' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-yesod-form' 'haskell-hspec' 'haskell-unliftio' 
'haskell-unliftio-core')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('badbd76b9a345c86f9dcf8b5d6043f173eec60bf6f39bdcb4a60d17d95ad693991a1c7b4061a1e86d61fb9efe3f2f29b3129e6b9ffef4b07d5b563116959b016')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:13:27
  Author: felixonmars
Revision: 698842

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:13:06
  Author: felixonmars
Revision: 698841

upgpkg: haskell-yesod-auth 1.6.10-109: rebuild with tasty-expected-failure 
0.12.1

Modified:
  haskell-yesod-auth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:11:37 UTC (rev 698840)
+++ PKGBUILD2020-09-05 02:13:06 UTC (rev 698841)
@@ -4,7 +4,7 @@
 _hkgname=yesod-auth
 pkgname=haskell-yesod-auth
 pkgver=1.6.10
-pkgrel=108
+pkgrel=109
 pkgdesc="Authentication for Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:11:37
  Author: felixonmars
Revision: 698840

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 698839, 
haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:11:37 UTC (rev 698840)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.1.0
+pkgrel=24
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-conduit' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-file-embed' 'haskell-monad-logger' 
'haskell-shakespeare'
+ 'haskell-streaming-commons' 'haskell-unordered-containers' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-yaml'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('712eed39b64f515cb949186ddb950133cc2daccde6d4a9b0115809e5f4726a957b2809ee785b348971c617b3d173bcd40776b065f5bf1d68b79af12905ada77a')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:11:20
  Author: felixonmars
Revision: 698839

upgpkg: haskell-yesod 1.6.1.0-24: rebuild with tasty-expected-failure 0.12.1

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:10:10 UTC (rev 698838)
+++ PKGBUILD2020-09-05 02:11:20 UTC (rev 698839)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.1.0
-pkgrel=23
+pkgrel=24
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:09:48
  Author: felixonmars
Revision: 698837

upgpkg: haskell-yesod-form 1.6.7-245: rebuild with tasty-expected-failure 0.12.1

Modified:
  haskell-yesod-form/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:08:30 UTC (rev 698836)
+++ PKGBUILD2020-09-05 02:09:48 UTC (rev 698837)
@@ -4,7 +4,7 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.6.7
-pkgrel=244
+pkgrel=245
 pkgdesc="Form handling support for Yesod Web Framework"
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:10:10
  Author: felixonmars
Revision: 698838

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:08:10
  Author: felixonmars
Revision: 698835

upgpkg: haskell-yesod-persistent 1.6.0.4-189: rebuild with 
tasty-expected-failure 0.12.1

Modified:
  haskell-yesod-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:07:10 UTC (rev 698834)
+++ PKGBUILD2020-09-05 02:08:10 UTC (rev 698835)
@@ -4,7 +4,7 @@
 _hkgname=yesod-persistent
 pkgname=haskell-yesod-persistent
 pkgver=1.6.0.4
-pkgrel=188
+pkgrel=189
 pkgdesc="Some helpers for using Persistent from Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:08:30
  Author: felixonmars
Revision: 698836

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from 
rev 698835, haskell-yesod-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:08:30 UTC (rev 698836)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0.4
+pkgrel=189
+pkgdesc="Some helpers for using Persistent from Yesod."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-blaze-builder" "haskell-conduit" 
"haskell-persistent"
+ "haskell-persistent-template" "haskell-resource-pool" 
"haskell-resourcet"
+ "haskell-yesod-core")
+makedepends=('ghc' 'haskell-hspec' 'haskell-wai-extra' 
'haskell-persistent-sqlite')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a52d85b025397ae04641346107124a5570765356bc7209f0391646b93b3c8954219c73d717c98d108d552800eeb2122531f98abd2b0e2109aee59c7d9825f70d')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:07:10
  Author: felixonmars
Revision: 698834

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-default/repos/community-staging-x86_64/PKGBUILD (from rev 
698833, haskell-yesod-default/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:07:10 UTC (rev 698834)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-default
+pkgname=haskell-yesod-default
+pkgver=1.2.0
+pkgrel=801
+pkgdesc="Default config and main functions for your yesod application 
(deprecated)"
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-yesod-core")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('f39ae1953a95c1919a9dd214d93bf81078b1dcbbac737dc9bb7339dbad9dda96')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:06:57
  Author: felixonmars
Revision: 698833

upgpkg: haskell-yesod-default 1.2.0-801: rebuild with tasty-expected-failure 
0.12.1

Modified:
  haskell-yesod-default/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:05:55 UTC (rev 698832)
+++ PKGBUILD2020-09-05 02:06:57 UTC (rev 698833)
@@ -4,7 +4,7 @@
 _hkgname=yesod-default
 pkgname=haskell-yesod-default
 pkgver=1.2.0
-pkgrel=800
+pkgrel=801
 pkgdesc="Default config and main functions for your yesod application 
(deprecated)"
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:05:55
  Author: felixonmars
Revision: 698832

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-core/repos/community-staging-x86_64/PKGBUILD (from rev 
698831, haskell-yesod-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:05:55 UTC (rev 698832)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-core
+pkgname=haskell-yesod-core
+pkgver=1.6.18
+pkgrel=91
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-auto-update' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-cereal'
+ 'haskell-clientsession' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cookie'
+ 'haskell-fast-logger' 'haskell-http-types' 'haskell-memory'
+ 'haskell-monad-logger' 'haskell-old-locale' 'haskell-path-pieces' 
'haskell-primitive'
+ 'haskell-random' 'haskell-resourcet' 'haskell-shakespeare' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 
'haskell-word8')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('babb4f0556107044fcaba04c09ad4bcb0b6269d70763fe0aec31a440c7997c71ebd4de4b3b2881f6c1e31b336de505b9c4e4cf49d1b411abe822ad61b5e0')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d;s/< *1.2/<2/' $_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 $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:05:37
  Author: felixonmars
Revision: 698831

upgpkg: haskell-yesod-core 1.6.18-91: rebuild with tasty-expected-failure 0.12.1

Modified:
  haskell-yesod-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:04:18 UTC (rev 698830)
+++ PKGBUILD2020-09-05 02:05:37 UTC (rev 698831)
@@ -4,7 +4,7 @@
 _hkgname=yesod-core
 pkgname=haskell-yesod-core
 pkgver=1.6.18
-pkgrel=90
+pkgrel=91
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:04:18
  Author: felixonmars
Revision: 698830

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cheapskate/repos/community-staging-x86_64/PKGBUILD (from rev 
698829, haskell-cheapskate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:04:18 UTC (rev 698830)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cheapskate
+pkgname=haskell-cheapskate
+pkgver=0.1.1.2
+pkgrel=145
+pkgdesc="Experimental markdown processor."
+url="https://github.com/jgm/cheapskate;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-blaze-html" 
"haskell-data-default" "haskell-http-types"
+ "haskell-syb" "haskell-uniplate" "haskell-wai"
+ "haskell-wai-extra" "haskell-xss-sanitize")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b671ada413b8bd90f28b008c7bada4b744dedac2c7711090f1148dfa1643f7843f44e56c9a5a99fd0f71ded8393a0095b04fbdf73f70a707698dc9fb76ed1b45')
+
+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 \
+-fdingus
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:04:06
  Author: felixonmars
Revision: 698829

upgpkg: haskell-cheapskate 0.1.1.2-145: rebuild with tasty-expected-failure 
0.12.1

Modified:
  haskell-cheapskate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:02:48 UTC (rev 698828)
+++ PKGBUILD2020-09-05 02:04:06 UTC (rev 698829)
@@ -4,7 +4,7 @@
 _hkgname=cheapskate
 pkgname=haskell-cheapskate
 pkgver=0.1.1.2
-pkgrel=144
+pkgrel=145
 pkgdesc="Experimental markdown processor."
 url="https://github.com/jgm/cheapskate;
 license=("BSD")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:02:36
  Author: felixonmars
Revision: 698827

upgpkg: haskell-xss-sanitize 0.3.6-182: rebuild with tasty-expected-failure 
0.12.1

Modified:
  haskell-xss-sanitize/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:01:55 UTC (rev 698826)
+++ PKGBUILD2020-09-05 02:02:36 UTC (rev 698827)
@@ -4,7 +4,7 @@
 _hkgname=xss-sanitize
 pkgname=haskell-xss-sanitize
 pkgver=0.3.6
-pkgrel=181
+pkgrel=182
 pkgdesc="sanitize untrusted HTML to prevent XSS attacks"
 url="https://github.com/yesodweb/haskell-xss-sanitize;
 license=("custom:BSD2")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:02:48
  Author: felixonmars
Revision: 698828

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-xss-sanitize/repos/community-staging-x86_64/
  haskell-xss-sanitize/repos/community-staging-x86_64/PKGBUILD
(from rev 698827, haskell-xss-sanitize/trunk/PKGBUILD)

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

Copied: haskell-xss-sanitize/repos/community-staging-x86_64/PKGBUILD (from rev 
698827, haskell-xss-sanitize/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:02:48 UTC (rev 698828)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=xss-sanitize
+pkgname=haskell-xss-sanitize
+pkgver=0.3.6
+pkgrel=182
+pkgdesc="sanitize untrusted HTML to prevent XSS attacks"
+url="https://github.com/yesodweb/haskell-xss-sanitize;
+license=("custom:BSD2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-attoparsec" "haskell-css-text" 
"haskell-network-uri" "haskell-tagsoup"
+ "haskell-utf8-string")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8d038d807b7fa01a65f4b73d135c87ab75385f4c91ce174b332cd5fd1dc1ebdec26b0c5713cf3f68c27351e19e099815d1b530af3ecb7e4c45e71fec4ae12b4c')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:01:42
  Author: felixonmars
Revision: 698825

upgpkg: haskell-mustache 2.3.1-164: rebuild with tasty-expected-failure 0.12.1

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 02:00:17 UTC (rev 698824)
+++ PKGBUILD2020-09-05 02:01:42 UTC (rev 698825)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.1
-pkgrel=163
+pkgrel=164
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache;
 license=('BSD')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:01:55
  Author: felixonmars
Revision: 698826

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
698825, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:01:55 UTC (rev 698826)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.1
+pkgrel=164
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-either' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('162360cb635d40086721d4dd350036884207679b240d30420b9fc71eebef847e542bd143275931a22a42c583d513d0c906a6b112d780824dc189ad07e3027aa3')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:00:17
  Author: felixonmars
Revision: 698824

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wreq/repos/community-staging-x86_64/PKGBUILD (from rev 698823, 
haskell-wreq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 02:00:17 UTC (rev 698824)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=wreq
+pkgname=haskell-wreq
+pkgver=0.5.3.2
+pkgrel=262
+pkgdesc="An easy-to-use HTTP client library."
+url="https://github.com/bos/wreq;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-authenticate-oauth'
+ 'haskell-base16-bytestring' 'haskell-case-insensitive' 
'haskell-cryptonite'
+ 'haskell-hashable' 'haskell-http-client' 'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-lens' 'haskell-lens-aeson' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-psqueues' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-aeson-pretty' 
'haskell-base64-bytestring'
+ 'haskell-snap-core' 'haskell-snap-server' 'haskell-unix-compat' 
'haskell-uuid')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-network-info' 'haskell-temporary' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('5a2c62b973758cb8ce2bf20504e328090896fa25e7ee1f77b472d7cf5156e08b6d85bf4341ff45e44db1724070fcf3c0f21037fa0a79211a1767024328f7c779')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fdoctest -f-aws -fhttpbin -f-developer
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 02:00:07
  Author: felixonmars
Revision: 698823

upgpkg: haskell-wreq 0.5.3.2-262: rebuild with tasty-expected-failure 0.12.1

Modified:
  haskell-wreq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 01:55:50 UTC (rev 698822)
+++ PKGBUILD2020-09-05 02:00:07 UTC (rev 698823)
@@ -3,7 +3,7 @@
 _hkgname=wreq
 pkgname=haskell-wreq
 pkgver=0.5.3.2
-pkgrel=261
+pkgrel=262
 pkgdesc="An easy-to-use HTTP client library."
 url="https://github.com/bos/wreq;
 license=('BSD')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 01:55:39
  Author: felixonmars
Revision: 698821

upgpkg: cryptol 2.9.0-38: rebuild with tasty-expected-failure 0.12.1

Modified:
  cryptol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 01:51:53 UTC (rev 698820)
+++ PKGBUILD2020-09-05 01:55:39 UTC (rev 698821)
@@ -2,7 +2,7 @@
 
 pkgname=cryptol
 pkgver=2.9.0
-pkgrel=37
+pkgrel=38
 pkgdesc="The Language of Cryptography"
 url="https://www.cryptol.net;
 license=("BSD")


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 01:55:50
  Author: felixonmars
Revision: 698822

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: cryptol/repos/community-staging-x86_64/PKGBUILD (from rev 698821, 
cryptol/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 01:55:50 UTC (rev 698822)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+pkgname=cryptol
+pkgver=2.9.0
+pkgrel=38
+pkgdesc="The Language of Cryptography"
+url="https://www.cryptol.net;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'z3' 'haskell-async' 'haskell-base-compat' 
'haskell-bv-sized'
+ 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-gitrev' 
'haskell-graphscc'
+ 'haskell-heredoc' 'haskell-libbf' 'haskell-monad-control' 
'haskell-monadlib'
+ 'haskell-parameterized-utils' 'haskell-panic' 'haskell-random' 
'haskell-sbv'
+ 'haskell-simple-smt' 'haskell-strict' 'haskell-tf-random' 
'haskell-transformers-base'
+ 'haskell-what4' 'haskell-ansi-terminal' 'haskell-blaze-html')
+makedepends=('ghc' 'alex' 'happy')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/GaloisInc/cryptol/archive/$pkgver.tar.gz;)
+sha512sums=('3b577c117f901b6263574be0b0e34c469f0cbea1238e10fa61a8d630d46a36944341edc412dc04caef5c75083f1cccb91f6f5f9c07d81124876418157397ae27')
+
+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 $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 01:51:41
  Author: felixonmars
Revision: 698819

upgpkg: haskell-what4 1.0-27: rebuild with tasty-expected-failure 0.12.1

Modified:
  haskell-what4/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-05 01:43:21 UTC (rev 698818)
+++ PKGBUILD2020-09-05 01:51:41 UTC (rev 698819)
@@ -3,7 +3,7 @@
 _hkgname=what4
 pkgname=haskell-what4
 pkgver=1.0
-pkgrel=26
+pkgrel=27
 pkgdesc="Solver-agnostic symbolic values support for issuing queries"
 url="https://github.com/GaloisInc/what4;
 license=('BSD')


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 01:51:53
  Author: felixonmars
Revision: 698820

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-what4/repos/community-staging-x86_64/PKGBUILD (from rev 698819, 
haskell-what4/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 01:51:53 UTC (rev 698820)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=what4
+pkgname=haskell-what4
+pkgver=1.0
+pkgrel=27
+pkgdesc="Solver-agnostic symbolic values support for issuing queries"
+url="https://github.com/GaloisInc/what4;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-ansi-wl-pprint' 
'haskell-bimap'
+ 'haskell-bifunctors' 'haskell-bv-sized' 'haskell-deriving-compat'
+ 'haskell-data-binary-ieee754' 'haskell-extra' 'haskell-fingertree' 
'haskell-hashable'
+ 'haskell-hashtables' 'haskell-io-streams' 'haskell-lens' 
'haskell-panic'
+ 'haskell-parameterized-utils' 'haskell-scientific' 'haskell-temporary'
+ 'haskell-th-abstraction' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-vector' 'haskell-versions' 'haskell-zenc')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hedgehog'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+checkdepends=('cvc4' 'yices' 'z3')
+optdepends=('cvc4' 'yices' 'z3')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('fcfb36322d3cd82fa5c013d404cbe8c7c8e52dc8e1b8b530df8c1c174d67327e9a48ba1a4c0714d87925eecd69713b341c4c96055693d2b6788a0c6bf7fc56a9')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


  1   2   3   4   5   >