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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:13:09
  Author: felixonmars
Revision: 793664

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mockery/repos/community-staging-x86_64/PKGBUILD (from rev 
793663, haskell-mockery/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:13:09 UTC (rev 793664)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=mockery
+pkgname=haskell-mockery
+pkgver=0.3.5
+pkgrel=147
+pkgdesc="Support functions for automated testing"
+url="https://github.com/hspec/mockery;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-temporary' 
'haskell-logging-facade')
+makedepends=('ghc')
+checkdepends=('haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bcb9bef083749028ec27ba879feca7c7a8f966f50b31fe1df3e82b3ac206b634b961755e4ee90ebc72ba8c17be3bbab6acf1b01776bca9497cc5cbc1ccb58850')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:13:17
  Author: felixonmars
Revision: 793665

upgpkg: python-gevent 20.12.1-1

Modified:
  python-gevent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:13:09 UTC (rev 793664)
+++ PKGBUILD2020-12-27 19:13:17 UTC (rev 793665)
@@ -4,7 +4,7 @@
 
 pkgbase=python-gevent
 pkgname=(python-gevent python2-gevent)
-pkgver=20.12.0
+pkgver=20.12.1
 pkgrel=1
 arch=('x86_64')
 pkgdesc="Python network library that uses greenlet and libev for easy and 
scalable concurrency"
@@ -16,7 +16,7 @@
   'python2-dnspython' 'python-requests' 'python2-requests' 
'python-zope-event'
   'python2-zope-event' 'python2-mock')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/gevent/gevent/archive/$pkgver.tar.gz;)
-sha512sums=('8672bc779a1b824866d2982b247b0a5e9de8b00f933c3ae9993987c5060ecdce9c6964cef98de6e0de172ffc5d18d78419bc8c1f533c6755f0c888dbb29a4d41')
+sha512sums=('4a2660bdc6e4a519f19d39d2a091bd6552e17df6b3ee8494fc4d33153ebeaf2fc5344030e1bfe4214b2378224a99f69542cd607e23f0fa4e4cb1c5416783d382')
 
 export EMBED=0
 


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:10:01
  Author: felixonmars
Revision: 793653

upgpkg: haskell-logging-facade 0.3.0-123: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-logging-facade/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:09:38 UTC (rev 793652)
+++ PKGBUILD2020-12-27 19:10:01 UTC (rev 793653)
@@ -4,7 +4,7 @@
 _hkgname=logging-facade
 pkgname=haskell-logging-facade
 pkgver=0.3.0
-pkgrel=122
+pkgrel=123
 pkgdesc="Simple logging abstraction that allows multiple back-ends"
 url="https://github.com/sol/logging-facade;
 license=("MIT")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:09:38
  Author: felixonmars
Revision: 793652

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-stringbuilder/repos/community-staging-x86_64/PKGBUILD (from rev 
793651, haskell-stringbuilder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:09:38 UTC (rev 793652)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=stringbuilder
+pkgname=haskell-stringbuilder
+pkgver=0.5.1
+pkgrel=122
+pkgdesc="A writer monad for multi-line string literals"
+url="https://github.com/sol/stringbuilder;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hspec' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('09cbf01dce82b325393c0d6f0264792695d528a184052f5e1d5dbd3fc181fd11c280e77ba445f1e44c6a8dabc0b267aa90f4a9f1fc34135f1b741d2a5dca9369')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:09:28
  Author: felixonmars
Revision: 793651

upgpkg: haskell-stringbuilder 0.5.1-122: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-stringbuilder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:09:04 UTC (rev 793650)
+++ PKGBUILD2020-12-27 19:09:28 UTC (rev 793651)
@@ -4,7 +4,7 @@
 _hkgname=stringbuilder
 pkgname=haskell-stringbuilder
 pkgver=0.5.1
-pkgrel=121
+pkgrel=122
 pkgdesc="A writer monad for multi-line string literals"
 url="https://github.com/sol/stringbuilder;
 license=("MIT")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:08:15
  Author: felixonmars
Revision: 793647

upgpkg: haskell-bifunctors 5.5.8-29: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-bifunctors/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:07:42 UTC (rev 793646)
+++ PKGBUILD2020-12-27 19:08:15 UTC (rev 793647)
@@ -4,7 +4,7 @@
 _hkgname=bifunctors
 pkgname=haskell-bifunctors
 pkgver=5.5.8
-pkgrel=28
+pkgrel=29
 pkgdesc="Bifunctors"
 url="https://github.com/ekmett/bifunctors/;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:08:26
  Author: felixonmars
Revision: 793648

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-bifunctors/repos/community-staging-x86_64/PKGBUILD (from rev 
793647, haskell-bifunctors/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:08:26 UTC (rev 793648)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=bifunctors
+pkgname=haskell-bifunctors
+pkgver=5.5.8
+pkgrel=29
+pkgdesc="Bifunctors"
+url="https://github.com/ekmett/bifunctors/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-comonad' 'haskell-tagged'
+ 'haskell-th-abstraction')
+makedepends=('ghc')
+checkdepends=('haskell-hspec' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8475e90b78e16c277c31337d93f427c0960c5446329960083b90dc7a998df456b384791a9cd24e74e2bf65356b893e79942eb8c8bd76797bd6e7356b49c2b1d6')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-ftagged -f-semigroups
+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-hspec/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:07:42
  Author: felixonmars
Revision: 793646

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec/repos/community-staging-x86_64/PKGBUILD (from rev 793645, 
haskell-hspec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:07:42 UTC (rev 793646)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec
+pkgname=haskell-hspec
+pkgver=2.7.4
+pkgrel=106
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-hspec-core' 
'haskell-hspec-discover'
+ 'haskell-hspec-expectations')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ebe6056f0f977c4fec6a1a43f2b9d2b463f883daba72e47e8b76e85d5ee4d7715e086bae457bdba499e41894f38853b76cd2bb1dc644bf23a94b45044e8bd2d6')
+
+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-quickcheck-classes-base/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:08:54
  Author: felixonmars
Revision: 793649

upgpkg: haskell-quickcheck-classes-base 0.6.1.0-48: rebuild with 
indexed-traversable 0.1.1

Modified:
  haskell-quickcheck-classes-base/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:08:26 UTC (rev 793648)
+++ PKGBUILD2020-12-27 19:08:54 UTC (rev 793649)
@@ -3,7 +3,7 @@
 _hkgname=quickcheck-classes-base
 pkgname=haskell-quickcheck-classes-base
 pkgver=0.6.1.0
-pkgrel=47
+pkgrel=48
 pkgdesc="QuickCheck common typeclasses from 'base'"
 url="https://github.com/andrewthad/quickcheck-classes;
 license=('MIT')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:06:29
  Author: felixonmars
Revision: 793642

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-quickcheck-io/repos/community-staging-x86_64/
  haskell-quickcheck-io/repos/community-staging-x86_64/PKGBUILD
(from rev 793641, haskell-quickcheck-io/trunk/PKGBUILD)

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

Copied: haskell-quickcheck-io/repos/community-staging-x86_64/PKGBUILD (from rev 
793641, haskell-quickcheck-io/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:06:29 UTC (rev 793642)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=quickcheck-io
+pkgname=haskell-quickcheck-io
+pkgver=0.2.0
+pkgrel=184
+pkgdesc="Use HUnit assertions as QuickCheck properties"
+url="https://github.com/hspec/quickcheck-io;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-quickcheck')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('02e1f40bac8f31f27c21d1d2df9f226816f9da871092b09f0451a8321e250c9e94887f94889be421c9d0034e0a27b02c907d16eb7da5a4376df42c7c1fbd01df')
+
+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-hspec/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:07:32
  Author: felixonmars
Revision: 793645

upgpkg: haskell-hspec 2.7.4-106: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-hspec/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:07:09 UTC (rev 793644)
+++ PKGBUILD2020-12-27 19:07:32 UTC (rev 793645)
@@ -3,7 +3,7 @@
 _hkgname=hspec
 pkgname=haskell-hspec
 pkgver=2.7.4
-pkgrel=105
+pkgrel=106
 pkgdesc="A Testing Framework for Haskell"
 url="http://hspec.github.io/;
 license=('MIT')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:05:48
  Author: felixonmars
Revision: 793639

upgpkg: haskell-quickcheck 2.14.2-32: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-quickcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:04:48 UTC (rev 793638)
+++ PKGBUILD2020-12-27 19:05:48 UTC (rev 793639)
@@ -5,7 +5,7 @@
 _hkgname=QuickCheck
 pkgname=haskell-quickcheck
 pkgver=2.14.2
-pkgrel=31
+pkgrel=32
 pkgdesc='Automatic testing of Haskell programs'
 url='https://hackage.haskell.org/package/QuickCheck'
 license=('BSD')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:07:09
  Author: felixonmars
Revision: 793644

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
793643, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:07:09 UTC (rev 793644)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.4
+pkgrel=94
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4dae2318ddc2d647ee273ebdbdb349bfdb8883d860681a932347fddcd012c4813c2f412804a9fe78a01d6c62ae4347bfedb7b4d46720c4ab75fb01caea99b6cc')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/hspec/hspec/issues/432
+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-quickcheck/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:05:58
  Author: felixonmars
Revision: 793640

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 
793639, haskell-quickcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:05:58 UTC (rev 793640)
@@ -0,0 +1,50 @@
+# Maintainer: Alexander F Rødseth 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+_hkgname=QuickCheck
+pkgname=haskell-quickcheck
+pkgver=2.14.2
+pkgrel=32
+pkgdesc='Automatic testing of Haskell programs'
+url='https://hackage.haskell.org/package/QuickCheck'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('84decd354e6093bc72afd125410499dd4be3ae8fdbf0a3b466011b4dbcb5c5657e51ab75cfe22790e22bf4ac54cbb1203ff7a0d108e872ce60f4831be827a6e5')
+
+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 \
+-ftemplateHaskell
+
+  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
+}
+
+# vim: ts=2 sw=2 et:


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:06:19
  Author: felixonmars
Revision: 793641

upgpkg: haskell-quickcheck-io 0.2.0-184: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-quickcheck-io/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:05:58 UTC (rev 793640)
+++ PKGBUILD2020-12-27 19:06:19 UTC (rev 793641)
@@ -3,7 +3,7 @@
 _hkgname=quickcheck-io
 pkgname=haskell-quickcheck-io
 pkgver=0.2.0
-pkgrel=183
+pkgrel=184
 pkgdesc="Use HUnit assertions as QuickCheck properties"
 url="https://github.com/hspec/quickcheck-io;
 license=('MIT')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:06:59
  Author: felixonmars
Revision: 793643

upgpkg: haskell-hspec-core 2.7.4-94: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-hspec-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:06:29 UTC (rev 793642)
+++ PKGBUILD2020-12-27 19:06:59 UTC (rev 793643)
@@ -3,7 +3,7 @@
 _hkgname=hspec-core
 pkgname=haskell-hspec-core
 pkgver=2.7.4
-pkgrel=93
+pkgrel=94
 pkgdesc="A Testing Framework for Haskell"
 url="http://hspec.github.io/;
 license=('MIT')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:04:48
  Author: felixonmars
Revision: 793638

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-test-framework-hunit/repos/community-staging-x86_64/
  haskell-test-framework-hunit/repos/community-staging-x86_64/PKGBUILD
(from rev 793637, haskell-test-framework-hunit/trunk/PKGBUILD)

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

Copied: haskell-test-framework-hunit/repos/community-staging-x86_64/PKGBUILD 
(from rev 793637, haskell-test-framework-hunit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:04:48 UTC (rev 793638)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=test-framework-hunit
+pkgname=haskell-test-framework-hunit
+pkgver=0.3.0.2
+pkgrel=162
+pkgdesc="HUnit support for the test-framework package."
+url="https://batterseapower.github.io/test-framework/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-hunit" "haskell-extensible-exceptions" 
"haskell-test-framework")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('068ca4326935746769aa4023076e9bd85d1753073c6e67d88daa6ccf2a69f3bafb87c3b03fd5ada612f6ddbdf2447b06ef8f853675cf0efe9eafd80606c40e32')
+
+prepare() {
+sed -i 's/HUnit >= 1.2 && < 1.4/HUnit >= 1.2 \&\& < 1.7/' 
$_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-base3 -fbase4
+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-test-framework/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:04:15
  Author: felixonmars
Revision: 793636

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-test-framework/repos/community-staging-x86_64/PKGBUILD (from 
rev 793635, haskell-test-framework/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:04:15 UTC (rev 793636)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=test-framework
+pkgname=haskell-test-framework
+pkgver=0.8.2.0
+pkgrel=146
+pkgdesc="Framework for running and organising tests, with HUnit and QuickCheck 
support"
+url="https://batterseapower.github.io/test-framework/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-ansi-wl-pprint' 
'haskell-hostname'
+ 'haskell-old-locale' 'haskell-random' 'haskell-regex-posix' 
'haskell-xml')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-libxml')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d8e7ea274819a1b49b9f938df527d22c808f456d25b84f03173ed5739c230fb037a57ce90c38f571801ee38e86bed6826df1c93f184e4a803c72ce5f41e4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' -e 's/< *0.6/<1/;s/< *0.9/<1/;s/< *1.9/<2/;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
+# --enable-tests \  Doesn't work with new QuickCheck
+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-test-framework-hunit/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:04:37
  Author: felixonmars
Revision: 793637

upgpkg: haskell-test-framework-hunit 0.3.0.2-162: rebuild with 
indexed-traversable 0.1.1

Modified:
  haskell-test-framework-hunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:04:15 UTC (rev 793636)
+++ PKGBUILD2020-12-27 19:04:37 UTC (rev 793637)
@@ -4,7 +4,7 @@
 _hkgname=test-framework-hunit
 pkgname=haskell-test-framework-hunit
 pkgver=0.3.0.2
-pkgrel=161
+pkgrel=162
 pkgdesc="HUnit support for the test-framework package."
 url="https://batterseapower.github.io/test-framework/;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:03:05
  Author: felixonmars
Revision: 793632

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-random/repos/community-staging-x86_64/PKGBUILD (from rev 
793631, haskell-random/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:03:05 UTC (rev 793632)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=random
+pkgname=haskell-random
+pkgver=1.2.0
+pkgrel=75
+pkgdesc="Pseudo-random number generation"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-splitmix')
+makedepends=('ghc')
+checkdepends=('haskell-doctest' 'haskell-mwc-random' 'haskell-primitive' 
'haskell-smallcheck'
+  'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-smallcheck' 
'haskell-unliftio'
+  'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e482f318c245d87824d440885c4ecbd1c9bd85a3b3aa4d7fbb4a82da0cfd31749caa9ff7881c94b731035133fd1d550a0cb8bd4da958d3c72519bddcadc6c2e5')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/tasty-expected-failure/d;s/< *0.15/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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-tf-random/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:03:39
  Author: felixonmars
Revision: 793634

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tf-random/repos/community-staging-x86_64/
  haskell-tf-random/repos/community-staging-x86_64/PKGBUILD
(from rev 793633, haskell-tf-random/trunk/PKGBUILD)

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

Copied: haskell-tf-random/repos/community-staging-x86_64/PKGBUILD (from rev 
793633, haskell-tf-random/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:03:39 UTC (rev 793634)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander Rødseth 
+
+_hkgname=tf-random
+pkgname=haskell-tf-random
+pkgver=0.5
+pkgrel=135
+pkgdesc='High-quality splittable pseudorandom number generator'
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-random' 'haskell-primitive')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a766909571b4b37da9fa1aa9739bd2db8c32c0f64452fd7c3717f4578090e5227b763772858c6c311c5f366dd461421ffc3beb295455902fea1fb133deb7')
+
+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-tf-random/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:03:28
  Author: felixonmars
Revision: 793633

upgpkg: haskell-tf-random 0.5-135: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-tf-random/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:03:05 UTC (rev 793632)
+++ PKGBUILD2020-12-27 19:03:28 UTC (rev 793633)
@@ -3,7 +3,7 @@
 _hkgname=tf-random
 pkgname=haskell-tf-random
 pkgver=0.5
-pkgrel=134
+pkgrel=135
 pkgdesc='High-quality splittable pseudorandom number generator'
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:02:16
  Author: felixonmars
Revision: 793629

upgpkg: haskell-splitmix 0.1.0.3-18: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-splitmix/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:01:53 UTC (rev 793628)
+++ PKGBUILD2020-12-27 19:02:16 UTC (rev 793629)
@@ -3,7 +3,7 @@
 _hkgname=splitmix
 pkgname=haskell-splitmix
 pkgver=0.1.0.3
-pkgrel=17
+pkgrel=18
 pkgdesc="Fast Splittable PRNG"
 url="https://github.com/haskellari/splitmix;
 license=('BSD')


[arch-commits] Commit in haskell-base-compat-batteries/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:01:43
  Author: felixonmars
Revision: 793627

upgpkg: haskell-base-compat-batteries 0.11.2-22: rebuild with 
indexed-traversable 0.1.1 (rebuild pass 1, specified --nocheck)

Modified:
  haskell-base-compat-batteries/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:01:20 UTC (rev 793626)
+++ PKGBUILD2020-12-27 19:01:43 UTC (rev 793627)
@@ -3,7 +3,7 @@
 _hkgname=base-compat-batteries
 pkgname=haskell-base-compat-batteries
 pkgver=0.11.2
-pkgrel=21
+pkgrel=22
 pkgdesc="base-compat with extra batteries"
 url="https://hackage.haskell.org/package/base-compat-batteries;
 license=('MIT')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:02:55
  Author: felixonmars
Revision: 793631

upgpkg: haskell-random 1.2.0-75: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-random/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:02:26 UTC (rev 793630)
+++ PKGBUILD2020-12-27 19:02:55 UTC (rev 793631)
@@ -4,7 +4,7 @@
 _hkgname=random
 pkgname=haskell-random
 pkgver=1.2.0
-pkgrel=74
+pkgrel=75
 pkgdesc="Pseudo-random number generation"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:01:20
  Author: felixonmars
Revision: 793626

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-comonad/repos/community-staging-x86_64/PKGBUILD (from rev 
793625, haskell-comonad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:01:20 UTC (rev 793626)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=comonad
+pkgname=haskell-comonad
+pkgver=5.0.7
+pkgrel=8
+pkgdesc="Comonads"
+url="https://github.com/ekmett/comonad/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-distributive' 'haskell-indexed-traversable' 
'haskell-tagged'
+ 'haskell-transformers-compat')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6377f13b651c30aaba1f68448394a4048b15c4f8e97fe714281d15a51190b8ec6e1157a6fb332abfb75060bb2f4948db22fb35c537bf01836ed94ece99fdccce')
+
+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 \
+-fdistributive -fcontravariant -fcontainers -ftest-doctests
+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-splitmix/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:02:26
  Author: felixonmars
Revision: 793630

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-splitmix/repos/community-staging-x86_64/PKGBUILD (from rev 
793629, haskell-splitmix/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:02:26 UTC (rev 793630)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=splitmix
+pkgname=haskell-splitmix
+pkgver=0.1.0.3
+pkgrel=18
+pkgdesc="Fast Splittable PRNG"
+url="https://github.com/haskellari/splitmix;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-async' 'haskell-base-compat' 
'haskell-base-compat-batteries'
+ 'haskell-hunit' 'haskell-math-functions' 'haskell-test-framework'
+ 'haskell-test-framework-hunit' 'haskell-tf-random' 
'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('22a3f0759e1c1150aabde01a77b48087509dfc7ff9614e97e5e06af73f533170993ff2e18101d940e7ddba81b8d6e496795be3851fccfa07b75e9d922f325064')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:04:03
  Author: felixonmars
Revision: 793635

upgpkg: haskell-test-framework 0.8.2.0-146: rebuild with indexed-traversable 
0.1.1 (rebuild pass 1, specified --nocheck)

Modified:
  haskell-test-framework/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:03:39 UTC (rev 793634)
+++ PKGBUILD2020-12-27 19:04:03 UTC (rev 793635)
@@ -4,7 +4,7 @@
 _hkgname=test-framework
 pkgname=haskell-test-framework
 pkgver=0.8.2.0
-pkgrel=145
+pkgrel=146
 pkgdesc="Framework for running and organising tests, with HUnit and QuickCheck 
support"
 url="https://batterseapower.github.io/test-framework/;
 license=("BSD")


[arch-commits] Commit in haskell-base-compat-batteries/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:01:53
  Author: felixonmars
Revision: 793628

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-base-compat-batteries/repos/community-staging-x86_64/
  haskell-base-compat-batteries/repos/community-staging-x86_64/PKGBUILD
(from rev 793627, haskell-base-compat-batteries/trunk/PKGBUILD)

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

Copied: haskell-base-compat-batteries/repos/community-staging-x86_64/PKGBUILD 
(from rev 793627, haskell-base-compat-batteries/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:01:53 UTC (rev 793628)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=base-compat-batteries
+pkgname=haskell-base-compat-batteries
+pkgver=0.11.2
+pkgrel=22
+pkgdesc="base-compat with extra batteries"
+url="https://hackage.haskell.org/package/base-compat-batteries;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat')
+makedepends=('ghc')
+checkdepends=('haskell-hspec' 'haskell-hspec-discover' 'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('0b54b53bb762ca99cbfe82799a63f73229447325438ccae4849df676d14a4758177d9481391b628cca7921d9796ac3172ad8226b2530e151b7c59f86b82f381a')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:00:45
  Author: felixonmars
Revision: 793624

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 
793623, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:00:45 UTC (rev 793624)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.6.2
+pkgrel=55
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="https://github.com/ekmett/distributive/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-base-orphans" "haskell-tagged")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('aff03270f8e9ce062ef6efb7d8cc27a811a286a6107dedd931850ff7abe271725cde8f27c1a7ea76c63a0888931a0ac058b5607d2097ef5b65b4ce95538d1fe1')
+
+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 \
+-ftagged -f-semigroups
+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-vector/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:58:56
  Author: felixonmars
Revision: 793618

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-vector/repos/community-staging-x86_64/PKGBUILD (from rev 
793617, haskell-vector/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:58:56 UTC (rev 793618)
@@ -0,0 +1,47 @@
+# Maintainer: Sergej Pupykin 
+
+pkgname=haskell-vector
+pkgver=0.12.1.2
+pkgrel=82
+pkgdesc="Efficient Arrays"
+url="https://hackage.haskell.org/package/vector;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-primitive')
+makedepends=('ghc' 'haskell-base-orphans' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-random'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/vector/${pkgver}/vector-${pkgver}.tar.gz;)
+sha512sums=('36d0237cf7c5a6b78f88b33ff09ea8b19baeaf85609efdeba9ab802ca588956457d4607304b73e8d58e9e802a9101c23da62caee71508f069047a6d531e50170')
+
+prepare() {
+  cd vector-$pkgver
+  sed -i 's/,semigroups$//' vector.cabal
+}
+
+build() {
+  cd "$srcdir"/vector-${pkgver}
+
+  if (( CHECKFUNC )); then
+  _opts=('--enable-tests')
+  else
+  _opts=('--disable-tests')
+  fi
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+  --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+  --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd "$srcdir"/vector-${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 -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/${pkgname}/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:01:10
  Author: felixonmars
Revision: 793625

upgpkg: haskell-comonad 5.0.7-8: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-comonad/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:00:45 UTC (rev 793624)
+++ PKGBUILD2020-12-27 19:01:10 UTC (rev 793625)
@@ -4,7 +4,7 @@
 _hkgname=comonad
 pkgname=haskell-comonad
 pkgver=5.0.7
-pkgrel=7
+pkgrel=8
 pkgdesc="Comonads"
 url="https://github.com/ekmett/comonad/;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:00:35
  Author: felixonmars
Revision: 793623

upgpkg: haskell-distributive 0.6.2-55: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-distributive/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 19:00:12 UTC (rev 793622)
+++ PKGBUILD2020-12-27 19:00:35 UTC (rev 793623)
@@ -4,7 +4,7 @@
 _hkgname=distributive
 pkgname=haskell-distributive
 pkgver=0.6.2
-pkgrel=54
+pkgrel=55
 pkgdesc="Distributive functors -- Dual to Traversable"
 url="https://github.com/ekmett/distributive/;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:00:12
  Author: felixonmars
Revision: 793622

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-math-functions/repos/community-staging-x86_64/
  haskell-math-functions/repos/community-staging-x86_64/PKGBUILD
(from rev 793621, haskell-math-functions/trunk/PKGBUILD)

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

Copied: haskell-math-functions/repos/community-staging-x86_64/PKGBUILD (from 
rev 793621, haskell-math-functions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 19:00:12 UTC (rev 793622)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=math-functions
+pkgname=haskell-math-functions
+pkgver=0.3.4.1
+pkgrel=54
+pkgdesc="Special functions and Chebyshev polynomials"
+url="https://github.com/bos/math-functions;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default-class' "haskell-primitive" 
"haskell-vector")
+makedepends=('ghc' 'haskell-erf' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck' 'haskell-vector-th-unbox')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e87a50f10e1afc08acc3900983dcfe85eb46563260c0b52a73ac44c9d83b903dbf3cd59ba0b96f8d4dafc3ff5bb70fb47d04cb8a7a2aec42545096d4a86c2d34')
+
+build() {
+cd $_hkgname-$pkgver
+ 
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+   
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-system-expm1
+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-primitive/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:57:29
  Author: felixonmars
Revision: 793616

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-primitive/repos/community-staging-x86_64/PKGBUILD (from rev 
793615, haskell-primitive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:57:29 UTC (rev 793616)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Sergej Pupykin 
+
+pkgname=haskell-primitive
+pkgver=0.7.1.0
+pkgrel=42
+pkgdesc="Wrappers for primitive operations"
+url="https://hackage.haskell.org/package/primitive;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-quickcheck' 
'haskell-quickcheck-classes-base'
+  'haskell-tasty' 'haskell-tasty-quickcheck' 'haskell-tagged'
+  'haskell-transformers-compat')
+source=("https://hackage.haskell.org/packages/archive/primitive/${pkgver}/primitive-${pkgver}.tar.gz;)
+sha512sums=('8ade11d0b2221cfdf042da0263b5b5367a7ca2a9b9e1141844e4a65bb0467df879c92cd3515440d715b59345860c1ec3cb3efd7a3d702269ea15e18692586367')
+
+prepare() {
+  cd primitive-$pkgver
+  sed -i '/semigroups/d;s/>= 2.13/>= 2.14/;s/>= 1.2/>= 1.3/' primitive.cabal
+}
+
+build() {
+  cd primitive-$pkgver
+
+  if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+  else
+_opts=('--disable-tests')
+  fi
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+  --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+  --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd primitive-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd primitive-$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 -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/${pkgname}/LICENSE
+}


[arch-commits] Commit in haskell-vector-th-unbox/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:59:29
  Author: felixonmars
Revision: 793620

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-vector-th-unbox/repos/community-staging-x86_64/
  haskell-vector-th-unbox/repos/community-staging-x86_64/PKGBUILD
(from rev 793619, haskell-vector-th-unbox/trunk/PKGBUILD)

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

Copied: haskell-vector-th-unbox/repos/community-staging-x86_64/PKGBUILD (from 
rev 793619, haskell-vector-th-unbox/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:59:29 UTC (rev 793620)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-th-unbox
+pkgname=haskell-vector-th-unbox
+pkgver=0.2.1.7
+pkgrel=84
+pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fa65c32eace3ad93f0df69830eca0334519bbdbb2bbdc511db6e6abffe48c78870fef131dc34451873775a037634a87f0cd0d06dc1c4bc9404af2a86d7593ae1')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *2.16/<3/;s/< *4.14/<5/' $_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-vector/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:58:46
  Author: felixonmars
Revision: 793617

upgpkg: haskell-vector 0.12.1.2-82: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-vector/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:57:29 UTC (rev 793616)
+++ PKGBUILD2020-12-27 18:58:46 UTC (rev 793617)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-vector
 pkgver=0.12.1.2
-pkgrel=81
+pkgrel=82
 pkgdesc="Efficient Arrays"
 url="https://hackage.haskell.org/package/vector;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 19:00:01
  Author: felixonmars
Revision: 793621

upgpkg: haskell-math-functions 0.3.4.1-54: rebuild with indexed-traversable 
0.1.1 (rebuild pass 1, specified --nocheck)

Modified:
  haskell-math-functions/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:59:29 UTC (rev 793620)
+++ PKGBUILD2020-12-27 19:00:01 UTC (rev 793621)
@@ -4,7 +4,7 @@
 _hkgname=math-functions
 pkgname=haskell-math-functions
 pkgver=0.3.4.1
-pkgrel=53
+pkgrel=54
 pkgdesc="Special functions and Chebyshev polynomials"
 url="https://github.com/bos/math-functions;
 license=("BSD")


[arch-commits] Commit in haskell-vector-th-unbox/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:59:19
  Author: felixonmars
Revision: 793619

upgpkg: haskell-vector-th-unbox 0.2.1.7-84: rebuild with indexed-traversable 
0.1.1

Modified:
  haskell-vector-th-unbox/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:58:56 UTC (rev 793618)
+++ PKGBUILD2020-12-27 18:59:19 UTC (rev 793619)
@@ -4,7 +4,7 @@
 _hkgname=vector-th-unbox
 pkgname=haskell-vector-th-unbox
 pkgver=0.2.1.7
-pkgrel=83
+pkgrel=84
 pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:56:48
  Author: felixonmars
Revision: 793614

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-base-orphans/repos/community-staging-x86_64/
  haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD
(from rev 793613, haskell-base-orphans/trunk/PKGBUILD)

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

Copied: haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 
793613, haskell-base-orphans/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:56:48 UTC (rev 793614)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=base-orphans
+pkgname=haskell-base-orphans
+pkgver=0.8.4
+pkgrel=13
+pkgdesc="Backwards-compatible orphan instances for base"
+url="https://github.com/haskell-compat/base-orphans#readme;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ce59bd56c5acc38f3c5c55d619b27684a8cc35c0b14c2dac6a4cfa56d503e25c7a764210a7cb9cef93b0acc02371af0e40d8024b7a48e88a8ebdf406fed206a6')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:57:18
  Author: felixonmars
Revision: 793615

upgpkg: haskell-primitive 0.7.1.0-42: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-primitive/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:56:48 UTC (rev 793614)
+++ PKGBUILD2020-12-27 18:57:18 UTC (rev 793615)
@@ -3,7 +3,7 @@
 
 pkgname=haskell-primitive
 pkgver=0.7.1.0
-pkgrel=41
+pkgrel=42
 pkgdesc="Wrappers for primitive operations"
 url="https://hackage.haskell.org/package/primitive;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:56:38
  Author: felixonmars
Revision: 793613

upgpkg: haskell-base-orphans 0.8.4-13: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-base-orphans/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:56:15 UTC (rev 793612)
+++ PKGBUILD2020-12-27 18:56:38 UTC (rev 793613)
@@ -4,7 +4,7 @@
 _hkgname=base-orphans
 pkgname=haskell-base-orphans
 pkgver=0.8.4
-pkgrel=12
+pkgrel=13
 pkgdesc="Backwards-compatible orphan instances for base"
 url="https://github.com/haskell-compat/base-orphans#readme;
 license=("MIT")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:56:15
  Author: felixonmars
Revision: 793612

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-discover/repos/community-staging-x86_64/
  haskell-hspec-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 793611, haskell-hspec-discover/trunk/PKGBUILD)

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

Copied: haskell-hspec-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 793611, haskell-hspec-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:56:15 UTC (rev 793612)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-discover
+pkgname=haskell-hspec-discover
+pkgver=2.7.4
+pkgrel=26
+pkgdesc="Automatically discover and run Hspec tests"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec-meta')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('004c52cf5fb45e9afc66c7d30b92653898bbe61780538ca43313d6d16d37a9a440099148613a244d15b56d0742524dcae16ae0a6987b71b9c26b8e8175ef')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+   
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:56:05
  Author: felixonmars
Revision: 793611

upgpkg: haskell-hspec-discover 2.7.4-26: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-hspec-discover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:55:41 UTC (rev 793610)
+++ PKGBUILD2020-12-27 18:56:05 UTC (rev 793611)
@@ -3,7 +3,7 @@
 _hkgname=hspec-discover
 pkgname=haskell-hspec-discover
 pkgver=2.7.4
-pkgrel=25
+pkgrel=26
 pkgdesc="Automatically discover and run Hspec tests"
 url="http://hspec.github.io/;
 license=('MIT')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:55:41
  Author: felixonmars
Revision: 793610

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tasty-smallcheck/repos/community-staging-x86_64/PKGBUILD (from 
rev 793609, haskell-tasty-smallcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:55:41 UTC (rev 793610)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-smallcheck
+pkgname=haskell-tasty-smallcheck
+pkgver=0.8.2
+pkgrel=13
+pkgdesc="SmallCheck support for the Tasty test framework"
+url="https://github.com/feuerbach/tasty;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-optparse-applicative' 'haskell-smallcheck' 
'haskell-tagged'
+ 'haskell-tasty')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ff816280315e26d20210f0dcbf55e32780aa9ef455d8d00b146d9daeed6afec5b6593cd8a8dc0b7c0bc7ff77da75f065f9c7253494f2c47150e2b7a6aa29fc6a')
+
+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-tasty-smallcheck/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:55:31
  Author: felixonmars
Revision: 793609

upgpkg: haskell-tasty-smallcheck 0.8.2-13: rebuild with indexed-traversable 
0.1.1

Modified:
  haskell-tasty-smallcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:55:09 UTC (rev 793608)
+++ PKGBUILD2020-12-27 18:55:31 UTC (rev 793609)
@@ -3,7 +3,7 @@
 _hkgname=tasty-smallcheck
 pkgname=haskell-tasty-smallcheck
 pkgver=0.8.2
-pkgrel=12
+pkgrel=13
 pkgdesc="SmallCheck support for the Tasty test framework"
 url="https://github.com/feuerbach/tasty;
 license=('MIT')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:55:09
  Author: felixonmars
Revision: 793608

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-smallcheck/repos/community-staging-x86_64/PKGBUILD (from rev 
793607, haskell-smallcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:55:09 UTC (rev 793608)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=smallcheck
+pkgname=haskell-smallcheck
+pkgver=1.2.0
+pkgrel=41
+pkgdesc="A property-based testing library"
+url="https://github.com/feuerbach/smallcheck;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-logict')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('97c021f3efd6541de99854cb2e8511d4af17225cbcbe17ddfb2efd011d75bd10114b7c8312532bd1c5516e2980b7ad03feb571ec26b91f7258f43460c7bc39a8')
+
+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-logict/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:54:33
  Author: felixonmars
Revision: 793606

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-logict/repos/community-staging-x86_64/PKGBUILD (from rev 
793605, haskell-logict/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:54:33 UTC (rev 793606)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=logict
+pkgname=haskell-logict
+pkgver=0.7.0.3
+pkgrel=33
+pkgdesc="A backtracking logic-programming monad."
+url="http://code.haskell.org/~dolio/;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('0d845daffb841efea93b59e48ee86daeb0dbacbe4fc7fa417ff71d1dcda3a5551901f589097416441736007d256197932b83de76a2f630a5f7835909cd758e79')
+
+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-tasty/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:53:13
  Author: felixonmars
Revision: 793601

upgpkg: haskell-tasty 1.3.1-87: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-tasty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:52:45 UTC (rev 793600)
+++ PKGBUILD2020-12-27 18:53:13 UTC (rev 793601)
@@ -4,7 +4,7 @@
 _hkgname=tasty
 pkgname=haskell-tasty
 pkgver=1.3.1
-pkgrel=86
+pkgrel=87
 pkgdesc="Modern and extensible testing framework"
 url="http://documentup.com/feuerbach/tasty;
 license=("MIT")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:54:59
  Author: felixonmars
Revision: 793607

upgpkg: haskell-smallcheck 1.2.0-41: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-smallcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:54:33 UTC (rev 793606)
+++ PKGBUILD2020-12-27 18:54:59 UTC (rev 793607)
@@ -3,7 +3,7 @@
 _hkgname=smallcheck
 pkgname=haskell-smallcheck
 pkgver=1.2.0
-pkgrel=40
+pkgrel=41
 pkgdesc="A property-based testing library"
 url="https://github.com/feuerbach/smallcheck;
 license=('BSD')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:52:35
  Author: felixonmars
Revision: 793599

upgpkg: haskell-optparse-applicative 0.16.1.0-18: rebuild with 
indexed-traversable 0.1.1

Modified:
  haskell-optparse-applicative/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:52:08 UTC (rev 793598)
+++ PKGBUILD2020-12-27 18:52:35 UTC (rev 793599)
@@ -4,7 +4,7 @@
 _hkgname=optparse-applicative
 pkgname=haskell-optparse-applicative
 pkgver=0.16.1.0
-pkgrel=17
+pkgrel=18
 pkgdesc="Utilities and combinators for parsing command line options"
 url="https://github.com/pcapriotti/optparse-applicative;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:53:23
  Author: felixonmars
Revision: 793602

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tasty/repos/community-staging-x86_64/PKGBUILD (from rev 793601, 
haskell-tasty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:53:23 UTC (rev 793602)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tasty
+pkgname=haskell-tasty
+pkgver=1.3.1
+pkgrel=87
+pkgdesc="Modern and extensible testing framework"
+url="http://documentup.com/feuerbach/tasty;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-async' 'haskell-clock'
+ 'haskell-optparse-applicative' 'haskell-tagged' 
'haskell-unbounded-delays'
+ 'haskell-wcwidth')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ed6e79f16a2c9e2fb7e82dce09b2ecb293b96bb42337d5cd8a15e822d3e35400842998ebda9b416c267d14f20a6e13c769a70ff22a58f7da5db3aa11e83411b2')
+
+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 \
+-fclock
+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-tasty-hunit/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:53:47
  Author: felixonmars
Revision: 793603

upgpkg: haskell-tasty-hunit 0.10.0.3-15: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-tasty-hunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:53:23 UTC (rev 793602)
+++ PKGBUILD2020-12-27 18:53:47 UTC (rev 793603)
@@ -4,7 +4,7 @@
 _hkgname=tasty-hunit
 pkgname=haskell-tasty-hunit
 pkgver=0.10.0.3
-pkgrel=14
+pkgrel=15
 pkgdesc="HUnit support for the Tasty test framework."
 url="https://documentup.com/feuerbach/tasty;
 license=("MIT")


[arch-commits] Commit in haskell-ansi-wl-pprint/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:52:08
  Author: felixonmars
Revision: 793598

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ansi-wl-pprint/repos/community-staging-x86_64/
  haskell-ansi-wl-pprint/repos/community-staging-x86_64/PKGBUILD
(from rev 793597, haskell-ansi-wl-pprint/trunk/PKGBUILD)

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

Copied: haskell-ansi-wl-pprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 793597, haskell-ansi-wl-pprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:52:08 UTC (rev 793598)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ansi-wl-pprint
+pkgname=haskell-ansi-wl-pprint
+pkgver=0.6.9
+pkgrel=90
+pkgdesc="The Wadler/Leijen Pretty Printer for colored ANSI terminal output"
+url="https://github.com/ekmett/ansi-wl-pprint;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2a66236f740f0b45b6133555e8b1315dc85ece1c16dd51e4aa7f31d2fee03d66869af5f81e6383aa840f503c2cad46f3655f53b784ebca7b3480efb53eea2a04')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *0.10/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-example
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-logict/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:54:22
  Author: felixonmars
Revision: 793605

upgpkg: haskell-logict 0.7.0.3-33: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-logict/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:53:57 UTC (rev 793604)
+++ PKGBUILD2020-12-27 18:54:22 UTC (rev 793605)
@@ -3,7 +3,7 @@
 _hkgname=logict
 pkgname=haskell-logict
 pkgver=0.7.0.3
-pkgrel=32
+pkgrel=33
 pkgdesc="A backtracking logic-programming monad."
 url="http://code.haskell.org/~dolio/;
 license=('BSD')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:53:57
  Author: felixonmars
Revision: 793604

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tasty-hunit/repos/community-staging-x86_64/PKGBUILD (from rev 
793603, haskell-tasty-hunit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:53:57 UTC (rev 793604)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tasty-hunit
+pkgname=haskell-tasty-hunit
+pkgver=0.10.0.3
+pkgrel=15
+pkgdesc="HUnit support for the Tasty test framework."
+url="https://documentup.com/feuerbach/tasty;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-tasty' 'haskell-call-stack')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('29adbf499b8079c12c756e031c3bebffa1c312cf623ff77d4fb2e85d3462ac6e71aa8a13c3e161ef04ad5bbf910c3bb5f4b62bc3825a030b690a90eea812b85a')
+
+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-optparse-applicative/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:52:45
  Author: felixonmars
Revision: 793600

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-optparse-applicative/repos/community-staging-x86_64/PKGBUILD 
(from rev 793599, haskell-optparse-applicative/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:52:45 UTC (rev 793600)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Roger Duran 
+
+_hkgname=optparse-applicative
+pkgname=haskell-optparse-applicative
+pkgver=0.16.1.0
+pkgrel=18
+pkgdesc="Utilities and combinators for parsing command line options"
+url="https://github.com/pcapriotti/optparse-applicative;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-ansi-wl-pprint" "haskell-transformers-compat")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('46bdb37b1328a6dbf271dcdb3483266c0c8412fc489e68e32b114745d9cf0108dd49df6cb565df3470121931a769f11996f5fd9fd8e9e38ed6b6853faab56710')
+
+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-ansi-wl-pprint/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:51:58
  Author: felixonmars
Revision: 793597

upgpkg: haskell-ansi-wl-pprint 0.6.9-90: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-ansi-wl-pprint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:51:36 UTC (rev 793596)
+++ PKGBUILD2020-12-27 18:51:58 UTC (rev 793597)
@@ -4,7 +4,7 @@
 _hkgname=ansi-wl-pprint
 pkgname=haskell-ansi-wl-pprint
 pkgver=0.6.9
-pkgrel=89
+pkgrel=90
 pkgdesc="The Wadler/Leijen Pretty Printer for colored ANSI terminal output"
 url="https://github.com/ekmett/ansi-wl-pprint;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:51:36
  Author: felixonmars
Revision: 793596

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ansi-terminal/repos/community-staging-x86_64/
  haskell-ansi-terminal/repos/community-staging-x86_64/PKGBUILD
(from rev 793595, haskell-ansi-terminal/trunk/PKGBUILD)

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

Copied: haskell-ansi-terminal/repos/community-staging-x86_64/PKGBUILD (from rev 
793595, haskell-ansi-terminal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:51:36 UTC (rev 793596)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ansi-terminal
+pkgname=haskell-ansi-terminal
+pkgver=0.11
+pkgrel=30
+pkgdesc="Simple ANSI terminal support, with Windows compatibility"
+url="https://github.com/feuerbach/ansi-terminal;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-colour')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2a608da18bbb3d11373dc0c6ee1bf4c890d5d4e39a2b13e547c7a3a4060eb86789d6afa04d1bd9e5df91f3745ea33adea8b15df213d39e75eca296275a74700d')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-example
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-colour/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:50:51
  Author: felixonmars
Revision: 793593

upgpkg: haskell-colour 2.3.5-88: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-colour/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:50:23 UTC (rev 793592)
+++ PKGBUILD2020-12-27 18:50:51 UTC (rev 793593)
@@ -4,7 +4,7 @@
 _hkgname=colour
 pkgname=haskell-colour
 pkgver=2.3.5
-pkgrel=87
+pkgrel=88
 pkgdesc="A model for human colour/color perception"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("MIT")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:50:23
  Author: felixonmars
Revision: 793592

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-pcre-light/repos/community-staging-x86_64/
  haskell-pcre-light/repos/community-staging-x86_64/PKGBUILD
(from rev 793591, haskell-pcre-light/trunk/PKGBUILD)

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

Copied: haskell-pcre-light/repos/community-staging-x86_64/PKGBUILD (from rev 
793591, haskell-pcre-light/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:50:23 UTC (rev 793592)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=pcre-light
+pkgname=haskell-pcre-light
+pkgver=0.4.1.0
+pkgrel=73
+pkgdesc="Portable regex library for Perl 5 compatible regular expressions"
+url="https://github.com/Daniel-Diaz/pcre-light;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'pcre')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('491d9581e4c29d1a5a3b161210b83abbc135c2d0ee4018481f4101f91c95e93d7acf0764cb464a9ffe84bed9bf8fb400f4c68441ae1be03c0aa182a9be26dc39')
+
+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 \
+-f-old_base -fuse-pkg-config
+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-pcre-light/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:50:13
  Author: felixonmars
Revision: 793591

upgpkg: haskell-pcre-light 0.4.1.0-73: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-pcre-light/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:49:42 UTC (rev 793590)
+++ PKGBUILD2020-12-27 18:50:13 UTC (rev 793591)
@@ -4,7 +4,7 @@
 _hkgname=pcre-light
 pkgname=haskell-pcre-light
 pkgver=0.4.1.0
-pkgrel=72
+pkgrel=73
 pkgdesc="Portable regex library for Perl 5 compatible regular expressions"
 url="https://github.com/Daniel-Diaz/pcre-light;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:51:01
  Author: felixonmars
Revision: 793594

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-colour/repos/community-staging-x86_64/PKGBUILD (from rev 
793593, haskell-colour/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:51:01 UTC (rev 793594)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=colour
+pkgname=haskell-colour
+pkgver=2.3.5
+pkgrel=88
+pkgdesc="A model for human colour/color perception"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' )
+checkdepends=('haskell-quickcheck' 'haskell-random' 'haskell-test-framework'
+  'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2232f51b3cfdda1a64436e8395c2441e49db083982a0370d3ec38c304b0a6234666887b3abc886107a9b21c425d3253284cce0186c1a210a302a0a14808364d8')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *2.14/<3/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:51:26
  Author: felixonmars
Revision: 793595

upgpkg: haskell-ansi-terminal 0.11-30: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-ansi-terminal/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:51:01 UTC (rev 793594)
+++ PKGBUILD2020-12-27 18:51:26 UTC (rev 793595)
@@ -4,7 +4,7 @@
 _hkgname=ansi-terminal
 pkgname=haskell-ansi-terminal
 pkgver=0.11
-pkgrel=29
+pkgrel=30
 pkgdesc="Simple ANSI terminal support, with Windows compatibility"
 url="https://github.com/feuerbach/ansi-terminal;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:49:42
  Author: felixonmars
Revision: 793590

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-unliftio/repos/community-staging-x86_64/PKGBUILD (from rev 
793589, haskell-unliftio/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:49:42 UTC (rev 793590)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=unliftio
+pkgname=haskell-unliftio
+pkgver=0.2.13.1
+pkgrel=27
+pkgdesc="The MonadUnliftIO typeclass for unlifting monads to IO (batteries 
included)"
+url="https://github.com/fpco/monad-unlift;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-unliftio-core')
+makedepends=('ghc')
+checkdepends=('haskell-hspec' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('726285be714da76b40e2cb3058c7485c85eb5cbf17ade1579724fa277cf97783b7983dd3a91526ac7739b086df096d1f65f3d129e03204e18eccfff52e4332d6')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:48:32
  Author: felixonmars
Revision: 793586

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
793585, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:48:32 UTC (rev 793586)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.0.0
+pkgrel=49
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ba9b0657ddc6faf8b8be88e79d3c49503dfee3a446fc16bdc851f357afef1b92b443d1582d462cea859e37a16b46ec762b1dcf613458c5a15f800a8fccdb0ac')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-indexed-traversable/repos/community-staging-x86_64 (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:47:57
  Author: felixonmars
Revision: 793584

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-indexed-traversable/repos/community-staging-x86_64/PKGBUILD
(from rev 793583, haskell-indexed-traversable/trunk/PKGBUILD)
Deleted:
  haskell-indexed-traversable/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-27 18:47:45 UTC (rev 793583)
+++ PKGBUILD2020-12-27 18:47:57 UTC (rev 793584)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=indexed-traversable
-pkgname=haskell-indexed-traversable
-pkgver=0.1.1
-pkgrel=1
-pkgdesc="FunctorWithIndex, FoldableWithIndex, TraversableWithIndex"
-url="https://github.com/haskellari/indexed-traversable;
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs')
-makedepends=('ghc' 'uusi')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
-sha512sums=('63d6c305f33d97f34c4efaeaede0e5c06c5ff95df9c45307e849de54693c0f93ec017d0e163c64e14bbb498bb2b02a3d54d1cd6a4e75992c8f96609bb73c8dbc')
-
-prepare() {
-  cd $_hkgname-$pkgver
-  gen-setup
-}
-
-build() {
-  cd $_hkgname-$pkgver
-
-  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
---ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
---ghc-option='-pie'
-
-  runhaskell Setup build $MAKEFLAGS
-  runhaskell Setup register --gen-script
-  runhaskell Setup unregister --gen-script
-  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
-  cd $_hkgname-$pkgver
-
-  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
-  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-  runhaskell Setup copy --destdir="$pkgdir"
-  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-indexed-traversable/repos/community-staging-x86_64/PKGBUILD 
(from rev 793583, haskell-indexed-traversable/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-27 18:47:57 UTC (rev 793584)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=indexed-traversable
+pkgname=haskell-indexed-traversable
+pkgver=0.1.1
+pkgrel=2
+pkgdesc="FunctorWithIndex, FoldableWithIndex, TraversableWithIndex"
+url="https://github.com/haskellari/indexed-traversable;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('63d6c305f33d97f34c4efaeaede0e5c06c5ff95df9c45307e849de54693c0f93ec017d0e163c64e14bbb498bb2b02a3d54d1cd6a4e75992c8f96609bb73c8dbc')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:48:55
  Author: felixonmars
Revision: 793587

upgpkg: haskell-async 2.2.2-53: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-async/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:48:32 UTC (rev 793586)
+++ PKGBUILD2020-12-27 18:48:55 UTC (rev 793587)
@@ -4,7 +4,7 @@
 _hkgname=async
 pkgname=haskell-async
 pkgver=2.2.2
-pkgrel=52
+pkgrel=53
 pkgdesc="Run IO operations asynchronously and wait for their results"
 url="https://github.com/simonmar/async;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:48:20
  Author: felixonmars
Revision: 793585

upgpkg: haskell-hashable 1.3.0.0-49: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-hashable/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:47:57 UTC (rev 793584)
+++ PKGBUILD2020-12-27 18:48:20 UTC (rev 793585)
@@ -4,7 +4,7 @@
 _hkgname=hashable
 pkgname=haskell-hashable
 pkgver=1.3.0.0
-pkgrel=48
+pkgrel=49
 pkgdesc="Mutable hash tables in the ST monad"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:49:07
  Author: felixonmars
Revision: 793588

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-async/repos/community-staging-x86_64/PKGBUILD (from rev 793587, 
haskell-async/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:49:07 UTC (rev 793588)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=async
+pkgname=haskell-async
+pkgver=2.2.2
+pkgrel=53
+pkgdesc="Run IO operations asynchronously and wait for their results"
+url="https://github.com/simonmar/async;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6984c74b76dc1db73363ca2e360d2be6f2e7b4de5c7de452c4df7ee996b2256790a8cecb532af6d7d675541315a16f8e4ce566c5f79e4102e4a857f057e2d811')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/' $_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-unliftio/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:49:32
  Author: felixonmars
Revision: 793589

upgpkg: haskell-unliftio 0.2.13.1-27: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-unliftio/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:49:07 UTC (rev 793588)
+++ PKGBUILD2020-12-27 18:49:32 UTC (rev 793589)
@@ -4,7 +4,7 @@
 _hkgname=unliftio
 pkgname=haskell-unliftio
 pkgver=0.2.13.1
-pkgrel=26
+pkgrel=27
 pkgdesc="The MonadUnliftIO typeclass for unlifting monads to IO (batteries 
included)"
 url="https://github.com/fpco/monad-unlift;
 license=("MIT")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:47:45
  Author: felixonmars
Revision: 793583

upgpkg: haskell-indexed-traversable 0.1.1-2: rebuild with indexed-traversable 
0.1.1

Modified:
  haskell-indexed-traversable/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:47:19 UTC (rev 793582)
+++ PKGBUILD2020-12-27 18:47:45 UTC (rev 793583)
@@ -3,7 +3,7 @@
 _hkgname=indexed-traversable
 pkgname=haskell-indexed-traversable
 pkgver=0.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="FunctorWithIndex, FoldableWithIndex, TraversableWithIndex"
 url="https://github.com/haskellari/indexed-traversable;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:46:32
  Author: felixonmars
Revision: 793579

upgpkg: haskell-hspec-expectations 0.8.2-94: rebuild with indexed-traversable 
0.1.1

Modified:
  haskell-hspec-expectations/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:46:10 UTC (rev 793578)
+++ PKGBUILD2020-12-27 18:46:32 UTC (rev 793579)
@@ -3,7 +3,7 @@
 _hkgname=hspec-expectations
 pkgname=haskell-hspec-expectations
 pkgver=0.8.2
-pkgrel=93
+pkgrel=94
 pkgdesc="Catchy combinators for HUnit"
 url="https://github.com/sol/hspec-expectations;
 license=('MIT')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:47:08
  Author: felixonmars
Revision: 793581

upgpkg: uusi 0.3.1.0-11: rebuild with indexed-traversable 0.1.1

Modified:
  uusi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:46:42 UTC (rev 793580)
+++ PKGBUILD2020-12-27 18:47:08 UTC (rev 793581)
@@ -2,7 +2,7 @@
 
 pkgname=uusi
 pkgver=0.3.1.0
-pkgrel=10
+pkgrel=11
 pkgdesc="Tweak dependencies in .cabal files"
 url="https://github.com/berberman/uusi;
 license=("MIT")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:46:42
  Author: felixonmars
Revision: 793580

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-expectations/repos/community-staging-x86_64/
  haskell-hspec-expectations/repos/community-staging-x86_64/PKGBUILD
(from rev 793579, haskell-hspec-expectations/trunk/PKGBUILD)

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

Copied: haskell-hspec-expectations/repos/community-staging-x86_64/PKGBUILD 
(from rev 793579, haskell-hspec-expectations/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:46:42 UTC (rev 793580)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-expectations
+pkgname=haskell-hspec-expectations
+pkgver=0.8.2
+pkgrel=94
+pkgdesc="Catchy combinators for HUnit"
+url="https://github.com/sol/hspec-expectations;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-call-stack' 'haskell-hunit')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('482799adad2a70f891a61227bcf28e6712e65fa7dceba13da15a101a6814bc0d44aafaeda360a06dcdbcdbb96e5539f15135753eabd63efdd6bf56b8994a44c9')
+
+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 uusi/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:47:19
  Author: felixonmars
Revision: 793582

archrelease: copy trunk to community-staging-x86_64

Added:
  uusi/repos/community-staging-x86_64/
  uusi/repos/community-staging-x86_64/PKGBUILD
(from rev 793581, uusi/trunk/PKGBUILD)

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

Copied: uusi/repos/community-staging-x86_64/PKGBUILD (from rev 793581, 
uusi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:47:19 UTC (rev 793582)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+pkgname=uusi
+pkgver=0.3.1.0
+pkgrel=11
+pkgdesc="Tweak dependencies in .cabal files"
+url="https://github.com/berberman/uusi;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-microlens' 'haskell-microlens-th')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('1156531f8a294cd19f6d46068c3892bb450ef965504ae6711c993c74748e549b41fefe689df9a9dea2e626af9812eb45934acfefea777b8a16e8edbc9a5e817c')
+
+prepare() {
+  cd $pkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/<3.1/<4/' $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  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-hunit/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:46:10
  Author: felixonmars
Revision: 793578

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hunit/repos/community-staging-x86_64/PKGBUILD (from rev 793577, 
haskell-hunit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:46:10 UTC (rev 793578)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=HUnit
+pkgname=haskell-hunit
+pkgver=1.6.1.0
+pkgrel=18
+pkgdesc="A unit testing framework for Haskell"
+url="http://hunit.sourceforge.net/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-call-stack')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8fbf9726729c187eb751d2033692f957be15111d4bb6b72acaa296cfc1b316d246e3ff122868a7d015846a8fe135e822dcb56df7582882413cecdb906abdbdfa')
+
+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 \
+-fbase4
+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-call-stack/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:45:38
  Author: felixonmars
Revision: 793576

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-call-stack/repos/community-staging-x86_64/
  haskell-call-stack/repos/community-staging-x86_64/PKGBUILD
(from rev 793575, haskell-call-stack/trunk/PKGBUILD)

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

Copied: haskell-call-stack/repos/community-staging-x86_64/PKGBUILD (from rev 
793575, haskell-call-stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:45:38 UTC (rev 793576)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Roger Duran 
+
+_hkgname=call-stack
+pkgname=haskell-call-stack
+pkgver=0.2.0
+pkgrel=74
+pkgdesc="Use GHC call-stacks in a backward compatible way"
+url="https://github.com/sol/call-stack;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-nanospec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c22862ca24906b07e258690da8c7f6fadf87f4216023cbe847e8ddf0c87548e5c353b5cd82c4748c6ef09604556884caafe5fdc1996be9d000d2db29aaef1537')
+
+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-hunit/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:46:00
  Author: felixonmars
Revision: 793577

upgpkg: haskell-hunit 1.6.1.0-18: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-hunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:45:38 UTC (rev 793576)
+++ PKGBUILD2020-12-27 18:46:00 UTC (rev 793577)
@@ -4,7 +4,7 @@
 _hkgname=HUnit
 pkgname=haskell-hunit
 pkgver=1.6.1.0
-pkgrel=17
+pkgrel=18
 pkgdesc="A unit testing framework for Haskell"
 url="http://hunit.sourceforge.net/;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:45:04
  Author: felixonmars
Revision: 793574

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-nanospec/repos/community-staging-x86_64/PKGBUILD (from rev 
793573, haskell-nanospec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:45:04 UTC (rev 793574)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=nanospec
+pkgname=haskell-nanospec
+pkgver=0.2.2
+pkgrel=79
+pkgdesc="A lightweight implementation of a subset of Hspec's API"
+url="https://github.com/commercialhaskell/nanospec;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hspec' 'haskell-silently')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6161b5cc1797a3fdcd07cad14deaa3edd6faa87309b5e8a31834d7c1dda23737fe4f2e763b13da7f5ef6f6ee3a9414f88b9ae01e5403320ba23d76404324a3b0')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:45:27
  Author: felixonmars
Revision: 793575

upgpkg: haskell-call-stack 0.2.0-74: rebuild with indexed-traversable 0.1.1

Modified:
  haskell-call-stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:45:04 UTC (rev 793574)
+++ PKGBUILD2020-12-27 18:45:27 UTC (rev 793575)
@@ -4,7 +4,7 @@
 _hkgname=call-stack
 pkgname=haskell-call-stack
 pkgver=0.2.0
-pkgrel=73
+pkgrel=74
 pkgdesc="Use GHC call-stacks in a backward compatible way"
 url="https://github.com/sol/call-stack;
 license=("MIT")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:44:04
  Author: felixonmars
Revision: 793571

upgpkg: haskell-indexed-traversable 0.1.1-1: rebuild with indexed-traversable 
0.1.1

Modified:
  haskell-indexed-traversable/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:42:16 UTC (rev 793570)
+++ PKGBUILD2020-12-27 18:44:04 UTC (rev 793571)
@@ -2,8 +2,8 @@
 
 _hkgname=indexed-traversable
 pkgname=haskell-indexed-traversable
-pkgver=0.1
-pkgrel=2
+pkgver=0.1.1
+pkgrel=1
 pkgdesc="FunctorWithIndex, FoldableWithIndex, TraversableWithIndex"
 url="https://github.com/haskellari/indexed-traversable;
 license=("BSD")
@@ -11,7 +11,7 @@
 depends=('ghc-libs')
 makedepends=('ghc' 'uusi')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
-sha256sums=('9f42db2fef1f617396f267830211d42737e952de6228858aac3fe361bf88c0de')
+sha512sums=('63d6c305f33d97f34c4efaeaede0e5c06c5ff95df9c45307e849de54693c0f93ec017d0e163c64e14bbb498bb2b02a3d54d1cd6a4e75992c8f96609bb73c8dbc')
 
 prepare() {
   cd $_hkgname-$pkgver


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:44:54
  Author: felixonmars
Revision: 793573

upgpkg: haskell-nanospec 0.2.2-79: rebuild with indexed-traversable 0.1.1 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-nanospec/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:44:14 UTC (rev 793572)
+++ PKGBUILD2020-12-27 18:44:54 UTC (rev 793573)
@@ -3,7 +3,7 @@
 _hkgname=nanospec
 pkgname=haskell-nanospec
 pkgver=0.2.2
-pkgrel=78
+pkgrel=79
 pkgdesc="A lightweight implementation of a subset of Hspec's API"
 url="https://github.com/commercialhaskell/nanospec;
 license=('MIT')


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:44:14
  Author: felixonmars
Revision: 793572

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-indexed-traversable/repos/community-staging-x86_64/
  haskell-indexed-traversable/repos/community-staging-x86_64/PKGBUILD
(from rev 793571, haskell-indexed-traversable/trunk/PKGBUILD)

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

Copied: haskell-indexed-traversable/repos/community-staging-x86_64/PKGBUILD 
(from rev 793571, haskell-indexed-traversable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:44:14 UTC (rev 793572)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=indexed-traversable
+pkgname=haskell-indexed-traversable
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="FunctorWithIndex, FoldableWithIndex, TraversableWithIndex"
+url="https://github.com/haskellari/indexed-traversable;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('63d6c305f33d97f34c4efaeaede0e5c06c5ff95df9c45307e849de54693c0f93ec017d0e163c64e14bbb498bb2b02a3d54d1cd6a4e75992c8f96609bb73c8dbc')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in deepin-control-center/repos/community-x86_64 (6 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:41:56
  Author: felixonmars
Revision: 793568

archrelease: copy trunk to community-x86_64

Added:
  deepin-control-center/repos/community-x86_64/PKGBUILD
(from rev 793567, deepin-control-center/trunk/PKGBUILD)
  
deepin-control-center/repos/community-x86_64/deepin-control-center-no-user-experience.patch
(from rev 793567, 
deepin-control-center/trunk/deepin-control-center-no-user-experience.patch)
  
deepin-control-center/repos/community-x86_64/deepin-control-center-systeminfo-deepin-icon.patch
(from rev 793567, 
deepin-control-center/trunk/deepin-control-center-systeminfo-deepin-icon.patch)
Deleted:
  deepin-control-center/repos/community-x86_64/PKGBUILD
  
deepin-control-center/repos/community-x86_64/deepin-control-center-no-user-experience.patch
  
deepin-control-center/repos/community-x86_64/deepin-control-center-systeminfo-deepin-icon.patch

+
 PKGBUILD   |  130 -
 deepin-control-center-no-user-experience.patch |   58 ++--
 deepin-control-center-systeminfo-deepin-icon.patch |  272 +--
 3 files changed, 230 insertions(+), 230 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-27 18:41:40 UTC (rev 793567)
+++ PKGBUILD2020-12-27 18:41:56 UTC (rev 793568)
@@ -1,65 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Josip Ponjavic 
-# Contributor: Xu Fasheng 
-
-pkgname=deepin-control-center
-pkgver=5.3.0.64
-pkgrel=1
-pkgdesc='New control center for linux deepin'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-control-center;
-license=('GPL3')
-depends=('desktop-file-utils' 'dtkwidget' 'deepin-account-faces' 'deepin-api' 
'geoip' 'libpwquality'
- 'geoip-database' 'geoip-database-extra' 'deepin-daemon' 'startdde' 
'networkmanager-qt'
- 'deepin-qt-dbus-factory' 'deepin-qt5integration' 
'deepin-network-utils')
-makedepends=('cmake' 'deepin-dock' 'ninja' 'qt5-tools')
-optdepends=('redshift: automatic color temperature support'
-'networkmanager-openconnect: for OpenConnect support'
-'networkmanager-openvpn: for OpenVPN support'
-'networkmanager-pptp: for PPTP support'
-'networkmanager-strongswan: for StrongSwan support'
-'networkmanager-vpnc: for VPNC support'
-'network-manager-sstp: for SSTP support')
-# Not packaged: network-manager-l2tp
-conflicts=('dde-control-center' 'dde-dock-applets')
-replaces=('dde-control-center' 'dde-dock-applets')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-control-center/archive/$pkgver.tar.gz;
-$pkgname-systeminfo-deepin-icon.patch
-$pkgname-no-user-experience.patch)
-sha512sums=('45c283601ed8183c9005ffa579489737dc53cfc03cf329062703e2fe06195980931f7ef50579312802ae2c11370c52e6066e25e69b5fab535aa9e9d6253243d3'
-
'74fd63391e923ca37f4559f30da967ba7f33d4426b60d58d1ece8cd9a154578e8184b1a376a8d7ff3ef81ffce530915f79d0845a2612ae4e06522b96855ab3dd'
-
'6828c137af055c564df55e043c6a827a843c834906e2a66a59f9b2c8da80ca348ad98e24d2142100a198cd7fdb363a71e150e9392e93c09728c3d3ffb474748f')
-
-prepare() {
-  rm 
dde-control-center-$pkgver/src/frame/window/icons/icons/dcc_nav_systeminfo_{42,84}px.svg
-  patch -d dde-control-center-$pkgver -Np1 < 
$pkgname-systeminfo-deepin-icon.patch
-  patch -d dde-control-center-$pkgver -Np1 < $pkgname-no-user-experience.patch
-  mkdir -p build
-
-  cd dde-control-center-$pkgver
-  sed -i '/#include /a #include ' 
src/frame/widgets/basiclistdelegate.cpp 
src/frame/window/modules/update/updatehistorybutton.cpp \
-  
src/frame/window/modules/commoninfo/commonbackgrounditem.cpp 
src/frame/modules/accounts/useroptionitem.cpp \
-  
src/frame/window/modules/sync/pages/avatarwidget.cpp 
src/frame/window/modules/accounts/avataritemdelegate.cpp \
-  
src/frame/modules/accounts/avatarwidget.cpp 
src/frame/window/modules/accounts/accountswidget.cpp \
-  
src/frame/modules/datetime/timezone_dialog/popup_menu.cpp 
src/frame/modules/display/recognizedialog.cpp \
-  
src/frame/window/modules/personalization/roundcolorwidget.cpp 
src/frame/window/modules/unionid/pages/avatarwidget.cpp
-  sed -i '/#include /a #include ' 
src/frame/window/modules/personalization/personalizationgeneral.cpp
-
-  sed -i 's|/bin/deepin-recovery-tool|/usr/bin/deepin-recovery-tool|' 
src/frame/window/modules/systeminfo/backupandrestoreworker.cpp
-
-  # remove after they obey -DDISABLE_SYS_UPDATE properly
-  sed -i '/new UpdateModule/d' src/frame/window/mainwindow.cpp
-}
-
-build() {
-  cd build
-  cmake 

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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:42:16
  Author: felixonmars
Revision: 793570

archrelease: copy trunk to community-x86_64

Added:
  deepin-dock/repos/community-x86_64/PKGBUILD
(from rev 793569, deepin-dock/trunk/PKGBUILD)
Deleted:
  deepin-dock/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-27 18:42:04 UTC (rev 793569)
+++ PKGBUILD2020-12-27 18:42:16 UTC (rev 793570)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Josip Ponjavic 
-# Contributor: Xu Fasheng 
-
-pkgname=deepin-dock
-pkgver=5.3.0.45
-pkgrel=1
-pkgdesc='Deepin desktop-environment - dock module'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-dock;
-license=('GPL3')
-depends=('qt5-svg' 'deepin-menu' 'deepin-daemon' 'deepin-launcher' 
'deepin-qt5integration'
- 'deepin-qt-dbus-factory' 'deepin-network-utils' 'libdbusmenu-qt5')
-makedepends=('cmake' 'ninja' 'qt5-tools')
-conflicts=('dde-dock')
-replaces=('dde-dock')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-dock/archive/$pkgver.tar.gz;)
-sha512sums=('de621150952413fbbd69d0f48f752804cf06386cb19294125e93a38ca137c88a87e1c5fea1427f006f8544d54f6ecdb1932476b6ace05c25ccd759d19deba21d')
-
-build() {
-  cd dde-dock-$pkgver
-  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib 
-DDOCK_TRAY_USE_NATIVE_POPUP=YES
-  ninja
-}
-
-package() {
-  cd dde-dock-$pkgver
-  DESTDIR="$pkgdir" ninja install
-}

Copied: deepin-dock/repos/community-x86_64/PKGBUILD (from rev 793569, 
deepin-dock/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-27 18:42:16 UTC (rev 793570)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan 
+# Contributor: Josip Ponjavic 
+# Contributor: Xu Fasheng 
+
+pkgname=deepin-dock
+pkgver=5.3.0.46
+pkgrel=1
+pkgdesc='Deepin desktop-environment - dock module'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-dock;
+license=('GPL3')
+depends=('qt5-svg' 'deepin-menu' 'deepin-daemon' 'deepin-launcher' 
'deepin-qt5integration'
+ 'deepin-qt-dbus-factory' 'deepin-network-utils' 'libdbusmenu-qt5')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+conflicts=('dde-dock')
+replaces=('dde-dock')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-dock/archive/$pkgver.tar.gz;)
+sha512sums=('08524076024102bf5e15376229998fa0d021c36f80bc54ab94d14a633364cf6542dc6aac99740370e9b1d1f9da9d5b58ce9ad26f5be996f658e543d82c5f36dd')
+
+build() {
+  cd dde-dock-$pkgver
+  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib 
-DDOCK_TRAY_USE_NATIVE_POPUP=YES
+  ninja
+}
+
+package() {
+  cd dde-dock-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:42:04
  Author: felixonmars
Revision: 793569

upgpkg: deepin-dock 5.3.0.46-1

Modified:
  deepin-dock/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:41:56 UTC (rev 793568)
+++ PKGBUILD2020-12-27 18:42:04 UTC (rev 793569)
@@ -3,7 +3,7 @@
 # Contributor: Xu Fasheng 
 
 pkgname=deepin-dock
-pkgver=5.3.0.45
+pkgver=5.3.0.46
 pkgrel=1
 pkgdesc='Deepin desktop-environment - dock module'
 arch=('x86_64')
@@ -16,7 +16,7 @@
 replaces=('dde-dock')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-dock/archive/$pkgver.tar.gz;)
-sha512sums=('de621150952413fbbd69d0f48f752804cf06386cb19294125e93a38ca137c88a87e1c5fea1427f006f8544d54f6ecdb1932476b6ace05c25ccd759d19deba21d')
+sha512sums=('08524076024102bf5e15376229998fa0d021c36f80bc54ab94d14a633364cf6542dc6aac99740370e9b1d1f9da9d5b58ce9ad26f5be996f658e543d82c5f36dd')
 
 build() {
   cd dde-dock-$pkgver


[arch-commits] Commit in deepin-image-viewer/repos/community-x86_64 (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:41:35
  Author: felixonmars
Revision: 793564

archrelease: copy trunk to community-x86_64

Added:
  deepin-image-viewer/repos/community-x86_64/PKGBUILD
(from rev 793558, deepin-image-viewer/trunk/PKGBUILD)
Deleted:
  deepin-image-viewer/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-27 18:41:34 UTC (rev 793563)
+++ PKGBUILD2020-12-27 18:41:35 UTC (rev 793564)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=deepin-image-viewer
-pkgver=5.6.3.41
-pkgrel=1
-pkgdesc='An image viewing tool with fashion interface and smooth performance'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-image-viewer;
-license=('GPL3')
-depends=('deepin-qt5integration' 'freeimage' 'gio-qt' 'libexif' 'libraw' 
'qt5-svg' 'udisks2-qt5')
-makedepends=('qt5-tools')
-optdepends=('deepin-manual: for help menual'
-'deepin-shortcut-viewer: for shortcut display')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-image-viewer/archive/$pkgver.tar.gz;)
-sha512sums=('631011cb0fbfd6937825a8caa61daca5249170ef6d60b6160de57c21e09700f46e0cfa945f48424aa39a7d8676dd24b0fb74c22e1fb127251d63d1d78df4a513')
-
-prepare() {
-  # They are moving files around without merging patches. Wow.
-  cd deepin-image-viewer-$pkgver/viewer
-  sed -i '/#include /a #include ' frame/toptoolbar.cpp 
module/view/contents/ttbcontent.cpp # widgets/popupmenustyle.cpp 
widgets/thumbnaillistview.cpp widgets/thumbnaildelegate.cpp
-  sed -i '/#include /a #include ' 
module/view/contents/imageinfowidget.cpp
-
-  # Our build of freeimage disabled support for these formats
-  sed -i '/FIF_FAXG3/d' utils/unionimage.cpp
-}
-
-build() {
-  cd deepin-image-viewer-$pkgver
-  qmake-qt5 PREFIX=/usr
-  make
-}
-
-package() {
-  cd deepin-image-viewer-$pkgver
-  make INSTALL_ROOT="$pkgdir" install -j1
-}

Copied: deepin-image-viewer/repos/community-x86_64/PKGBUILD (from rev 793558, 
deepin-image-viewer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-27 18:41:35 UTC (rev 793564)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+pkgname=deepin-image-viewer
+pkgver=5.6.3.42
+pkgrel=1
+pkgdesc='An image viewing tool with fashion interface and smooth performance'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-image-viewer;
+license=('GPL3')
+depends=('deepin-qt5integration' 'freeimage' 'gio-qt' 'libexif' 'libraw' 
'qt5-svg' 'udisks2-qt5')
+makedepends=('qt5-tools')
+optdepends=('deepin-manual: for help menual'
+'deepin-shortcut-viewer: for shortcut display')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-image-viewer/archive/$pkgver.tar.gz;)
+sha512sums=('30397e92e67f3263890b362df8e507aa5b2195ca489d376ce32c79a56e6fb6816e9cd07fa681aaf1257035787a92e997cb34ec753108026d505a8ce990e2f08b')
+
+prepare() {
+  # They are moving files around without merging patches. Wow.
+  cd deepin-image-viewer-$pkgver/viewer
+  sed -i '/#include /a #include ' frame/toptoolbar.cpp 
module/view/contents/ttbcontent.cpp # widgets/popupmenustyle.cpp 
widgets/thumbnaillistview.cpp widgets/thumbnaildelegate.cpp
+  sed -i '/#include /a #include ' 
module/view/contents/imageinfowidget.cpp
+
+  # Our build of freeimage disabled support for these formats
+  sed -i '/FIF_FAXG3/d' utils/unionimage.cpp
+}
+
+build() {
+  cd deepin-image-viewer-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd deepin-image-viewer-$pkgver
+  make INSTALL_ROOT="$pkgdir" install -j1
+}


[arch-commits] Commit in deepin-control-center/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:41:40
  Author: felixonmars
Revision: 793567

upgpkg: deepin-control-center 5.3.0.65-1

Modified:
  deepin-control-center/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:41:36 UTC (rev 793566)
+++ PKGBUILD2020-12-27 18:41:40 UTC (rev 793567)
@@ -3,7 +3,7 @@
 # Contributor: Xu Fasheng 
 
 pkgname=deepin-control-center
-pkgver=5.3.0.64
+pkgver=5.3.0.65
 pkgrel=1
 pkgdesc='New control center for linux deepin'
 arch=('x86_64')
@@ -27,7 +27,7 @@
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-control-center/archive/$pkgver.tar.gz;
 $pkgname-systeminfo-deepin-icon.patch
 $pkgname-no-user-experience.patch)
-sha512sums=('45c283601ed8183c9005ffa579489737dc53cfc03cf329062703e2fe06195980931f7ef50579312802ae2c11370c52e6066e25e69b5fab535aa9e9d6253243d3'
+sha512sums=('d37a5be3936bf640f31151aca8c6e205297a95bed6d564313909b32645fb95fa00479a2f79e157b7bd92d5700c8a79126bc6ba7c9f82cc08bc149e12f3c35224'
 
'74fd63391e923ca37f4559f30da967ba7f33d4426b60d58d1ece8cd9a154578e8184b1a376a8d7ff3ef81ffce530915f79d0845a2612ae4e06522b96855ab3dd'
 
'6828c137af055c564df55e043c6a827a843c834906e2a66a59f9b2c8da80ca348ad98e24d2142100a198cd7fdb363a71e150e9392e93c09728c3d3ffb474748f')
 


[arch-commits] Commit in deepin-image-viewer/trunk (PKGBUILD)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:41:24
  Author: felixonmars
Revision: 793558

upgpkg: deepin-image-viewer 5.6.3.42-1

Modified:
  deepin-image-viewer/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:32:15 UTC (rev 793557)
+++ PKGBUILD2020-12-27 18:41:24 UTC (rev 793558)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-image-viewer
-pkgver=5.6.3.41
+pkgver=5.6.3.42
 pkgrel=1
 pkgdesc='An image viewing tool with fashion interface and smooth performance'
 arch=('x86_64')
@@ -13,7 +13,7 @@
 'deepin-shortcut-viewer: for shortcut display')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-image-viewer/archive/$pkgver.tar.gz;)
-sha512sums=('631011cb0fbfd6937825a8caa61daca5249170ef6d60b6160de57c21e09700f46e0cfa945f48424aa39a7d8676dd24b0fb74c22e1fb127251d63d1d78df4a513')
+sha512sums=('30397e92e67f3263890b362df8e507aa5b2195ca489d376ce32c79a56e6fb6816e9cd07fa681aaf1257035787a92e997cb34ec753108026d505a8ce990e2f08b')
 
 prepare() {
   # They are moving files around without merging patches. Wow.


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:32:15
  Author: felixonmars
Revision: 793557

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

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 793556, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:32:15 UTC (rev 793557)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=8.20201127
+pkgrel=32
+pkgdesc="Manage files with git, without checking their contents into git"
+url="https://git-annex.branchable.com/;
+license=("AGPL3")
+arch=('x86_64')
+depends=('git' 'lsof' 'rsync' 'ghc-libs' 'haskell-aeson' 'haskell-async' 
'haskell-aws'
+ 'haskell-blaze-builder' 'haskell-bloomfilter' 'haskell-byteable' 
'haskell-case-insensitive'
+ 'haskell-clientsession' 'haskell-concurrent-output' 
'haskell-connection' 'haskell-conduit'
+ 'haskell-criterion' 'haskell-crypto-api' 'haskell-cryptonite' 
'haskell-data-default'
+ 'haskell-dav' 'haskell-dbus' 'haskell-disk-free-space' 'haskell-dlist'
+ 'haskell-edit-distance' 'haskell-fdo-notify' 'haskell-feed' 
'haskell-filepath-bytestring'
+ 'haskell-git-lfs' 'haskell-hinotify' 'haskell-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-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:32:05
  Author: felixonmars
Revision: 793556

upgpkg: git-annex 8.20201127-32: rebuild with markdown-unlit 0.5.1

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:29:00 UTC (rev 793555)
+++ PKGBUILD2020-12-27 18:32:05 UTC (rev 793556)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20201127
-pkgrel=31
+pkgrel=32
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:29:00
  Author: felixonmars
Revision: 793555

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-feed/repos/community-staging-x86_64/PKGBUILD (from rev 793554, 
haskell-feed/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 18:29:00 UTC (rev 793555)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=feed
+pkgname=haskell-feed
+pkgver=1.3.0.1
+pkgrel=82
+pkgdesc="Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds."
+url="https://github.com/bergmark/feed;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-old-locale' 
'haskell-old-time' 'haskell-safe'
+ 'haskell-time-locale-compat' 'haskell-utf8-string' 'haskell-xml-types'
+ 'haskell-xml-conduit')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit'
+ 'haskell-markdown-unlit' 'haskell-syb')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('73662018affac036bcd3c48a8a5b6fcd4e752231d805c12e977c6097a47691c2eca07eb8d6e6840a592bf35892b4b4ec44fb1f73f8a14ecb47fc6904b406f767')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/' $_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
+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 hopenpgp-tools/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:28:14
  Author: felixonmars
Revision: 793553

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

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

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


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:28:50
  Author: felixonmars
Revision: 793554

upgpkg: haskell-feed 1.3.0.1-82: rebuild with markdown-unlit 0.5.1

Modified:
  haskell-feed/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:28:14 UTC (rev 793553)
+++ PKGBUILD2020-12-27 18:28:50 UTC (rev 793554)
@@ -4,7 +4,7 @@
 _hkgname=feed
 pkgname=haskell-feed
 pkgver=1.3.0.1
-pkgrel=81
+pkgrel=82
 pkgdesc="Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds."
 url="https://github.com/bergmark/feed;
 license=("BSD")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:28:04
  Author: felixonmars
Revision: 793552

upgpkg: hopenpgp-tools 0.23.3-20: rebuild with markdown-unlit 0.5.1

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:25:39 UTC (rev 793551)
+++ PKGBUILD2020-12-27 18:28:04 UTC (rev 793552)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.3
-pkgrel=19
+pkgrel=20
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools;
 license=("AGPL3")


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:25:39
  Author: felixonmars
Revision: 793551

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:25:28
  Author: felixonmars
Revision: 793550

upgpkg: haskell-hopenpgp 2.9.5-33: rebuild with markdown-unlit 0.5.1

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:24:04 UTC (rev 793549)
+++ PKGBUILD2020-12-27 18:25:28 UTC (rev 793550)
@@ -3,7 +3,7 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.9.5
-pkgrel=32
+pkgrel=33
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/;
 license=('MIT')


[arch-commits] Commit in clash/repos/community-x86_64 (6 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:24:04
  Author: felixonmars
Revision: 793549

archrelease: copy trunk to community-x86_64

Added:
  clash/repos/community-x86_64/PKGBUILD
(from rev 793548, clash/trunk/PKGBUILD)
  clash/repos/community-x86_64/clash@.service
(from rev 793548, clash/trunk/clash@.service)
  clash/repos/community-x86_64/clash_user.service
(from rev 793548, clash/trunk/clash_user.service)
Deleted:
  clash/repos/community-x86_64/PKGBUILD
  clash/repos/community-x86_64/clash@.service
  clash/repos/community-x86_64/clash_user.service

+
 PKGBUILD   |   86 +--
 clash@.service |   24 +++---
 clash_user.service |   22 ++---
 3 files changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-27 18:23:43 UTC (rev 793548)
+++ PKGBUILD2020-12-27 18:24:04 UTC (rev 793549)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Ariel AxionL 
-# Contributor: Luke Yue 
-
-pkgname=clash
-pkgver=1.3.0
-pkgrel=1
-pkgdesc="A rule based proxy in Go"
-arch=('x86_64')
-url="https://github.com/Dreamacro/clash;
-license=('GPL3')
-makedepends=('go' 'git')
-depends=('glibc')
-source=("clash@.service"
-"clash_user.service"
-
"${pkgname}-${pkgver}.tar.gz::https://github.com/Dreamacro/clash/archive/v${pkgver}.tar.gz;)
-sha512sums=('5b53faea10bba16df98a74fcbffebb6c8b7f8c238999a147bb848b2c30732688813915fd6bc32f44ec6f90024ad29dbde059e70760c91ccea198dd05da52d077'
-
'3ae61e1c6f0213ea8c3113c62f27c704f04f657cda8c726c0e487194dd5c1ce36e448f6e22b61aeef65f4a1910a2df62a3798f0cba9bae10c8e80a7cb1cfb7b3'
-
'80cfbda17370148e6834c9d7c4b22d4e13cb74eaae3707f0d1768a7e1f0b64f101ea04de5b09aced3b6572001f8611db67e0ffc94841a95b10cb9990e2673620')
-
-build() {
-export CGO_CPPFLAGS="${CPPFLAGS}"
-export CGO_CFLAGS="${CFLAGS}"
-export CGO_CXXFLAGS="${CXXFLAGS}"
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-cd "${pkgname}-${pkgver}"
-go build -trimpath -ldflags "-X 
github.com/Dreamacro/clash/constant.Version=${pkgver}" -mod=readonly
-}
-
-check() {
-cd "${pkgname}-${pkgver}"
-go test github.com/Dreamacro/clash/...
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-install -Dm755 "clash" "${pkgdir}/usr/bin/clash"
-install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/clash/LICENSE"
-install -Dm644 "${srcdir}/clash@.service" 
"${pkgdir}/usr/lib/systemd/system/clash@.service"
-install -Dm644 "${srcdir}/clash_user.service" 
"${pkgdir}/usr/lib/systemd/user/clash.service"
-}

Copied: clash/repos/community-x86_64/PKGBUILD (from rev 793548, 
clash/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-27 18:24:04 UTC (rev 793549)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Ariel AxionL 
+# Contributor: Luke Yue 
+
+pkgname=clash
+pkgver=1.3.5
+pkgrel=1
+pkgdesc="A rule based proxy in Go"
+arch=('x86_64')
+url="https://github.com/Dreamacro/clash;
+license=('GPL3')
+makedepends=('go' 'git')
+depends=('glibc')
+source=("clash@.service"
+"clash_user.service"
+
"${pkgname}-${pkgver}.tar.gz::https://github.com/Dreamacro/clash/archive/v${pkgver}.tar.gz;)
+sha512sums=('5b53faea10bba16df98a74fcbffebb6c8b7f8c238999a147bb848b2c30732688813915fd6bc32f44ec6f90024ad29dbde059e70760c91ccea198dd05da52d077'
+
'3ae61e1c6f0213ea8c3113c62f27c704f04f657cda8c726c0e487194dd5c1ce36e448f6e22b61aeef65f4a1910a2df62a3798f0cba9bae10c8e80a7cb1cfb7b3'
+
'91125e362afb49326984c489af08257428e05312a74fd806f8a6725ef783833aec4796cf01dbd00fdae7cca7dcd19976a424856116a4d3859b59bbdab00b59a5')
+
+build() {
+export CGO_CPPFLAGS="${CPPFLAGS}"
+export CGO_CFLAGS="${CFLAGS}"
+export CGO_CXXFLAGS="${CXXFLAGS}"
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+cd "${pkgname}-${pkgver}"
+go build -trimpath -ldflags "-X 
github.com/Dreamacro/clash/constant.Version=${pkgver}" -mod=readonly
+}
+
+check() {
+cd "${pkgname}-${pkgver}"
+go test github.com/Dreamacro/clash/...
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+install -Dm755 "clash" "${pkgdir}/usr/bin/clash"
+install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/clash/LICENSE"
+install -Dm644 "${srcdir}/clash@.service" 
"${pkgdir}/usr/lib/systemd/system/clash@.service"
+install -Dm644 "${srcdir}/clash_user.service" 
"${pkgdir}/usr/lib/systemd/user/clash.service"
+}

Deleted: clash@.service
===
--- clash@.service  2020-12-27 18:23:43 UTC (rev 793548)
+++ clash@.service  2020-12-27 18:24:04 UTC (rev 793549)
@@ -1,12 +0,0 @@
-[Unit]

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

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 18:23:43
  Author: felixonmars
Revision: 793548

upgpkg: clash 1.3.5-1

Modified:
  clash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-27 18:23:11 UTC (rev 793547)
+++ PKGBUILD2020-12-27 18:23:43 UTC (rev 793548)
@@ -3,7 +3,7 @@
 # Contributor: Luke Yue 
 
 pkgname=clash
-pkgver=1.3.0
+pkgver=1.3.5
 pkgrel=1
 pkgdesc="A rule based proxy in Go"
 arch=('x86_64')
@@ -16,7 +16,7 @@
 
"${pkgname}-${pkgver}.tar.gz::https://github.com/Dreamacro/clash/archive/v${pkgver}.tar.gz;)
 
sha512sums=('5b53faea10bba16df98a74fcbffebb6c8b7f8c238999a147bb848b2c30732688813915fd6bc32f44ec6f90024ad29dbde059e70760c91ccea198dd05da52d077'
 
'3ae61e1c6f0213ea8c3113c62f27c704f04f657cda8c726c0e487194dd5c1ce36e448f6e22b61aeef65f4a1910a2df62a3798f0cba9bae10c8e80a7cb1cfb7b3'
-
'80cfbda17370148e6834c9d7c4b22d4e13cb74eaae3707f0d1768a7e1f0b64f101ea04de5b09aced3b6572001f8611db67e0ffc94841a95b10cb9990e2673620')
+
'91125e362afb49326984c489af08257428e05312a74fd806f8a6725ef783833aec4796cf01dbd00fdae7cca7dcd19976a424856116a4d3859b59bbdab00b59a5')
 
 build() {
 export CGO_CPPFLAGS="${CPPFLAGS}"


<    3   4   5   6   7   8   9   >