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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:33:24
  Author: felixonmars
Revision: 1084619

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-genvalidity-property/repos/community-staging-x86_64/
  haskell-genvalidity-property/repos/community-staging-x86_64/PKGBUILD
(from rev 1084618, haskell-genvalidity-property/trunk/PKGBUILD)

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

Copied: haskell-genvalidity-property/repos/community-staging-x86_64/PKGBUILD 
(from rev 1084618, haskell-genvalidity-property/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:33:24 UTC (rev 1084619)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=genvalidity-property
+pkgname=haskell-genvalidity-property
+pkgver=1.0.0.0
+pkgrel=3
+pkgdesc="Standard properties for functions on Validity types"
+url="https://github.com/NorfairKing/validity";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-genvalidity' 'haskell-hspec' 
'haskell-pretty-show' 'haskell-quickcheck'
+ 'haskell-validity')
+makedepends=('ghc' 'uusi')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('fdb11224baad570cc91762ade0a09be924547df0cb6d3438463e17d981ac8298052051f3dc3df3ccf17386eb12e47cf68a218d4374d806f709df106018fd290c')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:33:17
  Author: felixonmars
Revision: 1084618

upgpkg: haskell-genvalidity-property 1.0.0.0-3: rebuild with tasty 1.4.2.1

Modified:
  haskell-genvalidity-property/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:32:41 UTC (rev 1084617)
+++ PKGBUILD2021-12-28 00:33:17 UTC (rev 1084618)
@@ -3,7 +3,7 @@
 _hkgname=genvalidity-property
 pkgname=haskell-genvalidity-property
 pkgver=1.0.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Standard properties for functions on Validity types"
 url="https://github.com/NorfairKing/validity";
 license=('MIT')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:32:41
  Author: felixonmars
Revision: 1084617

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-asn1-types/repos/community-staging-x86_64/PKGBUILD (from rev 
1084616, haskell-asn1-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:32:41 UTC (rev 1084617)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=asn1-types
+pkgname=haskell-asn1-types
+pkgver=0.3.4
+pkgrel=121
+pkgdesc="ASN.1 types"
+url="https://github.com/vincenthz/hs-asn1";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-hourglass" "haskell-memory")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('0c2b76f134a77da65ecaa797d92b2ee273a72e9bd4467d354012c2b584216cdf2084974393fa4b850207720a3e0801d4a5af5f15137574ff1d7a341c5014184d')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-asn1-types/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:32:33
  Author: felixonmars
Revision: 1084616

upgpkg: haskell-asn1-types 0.3.4-121: rebuild with tasty 1.4.2.1

Modified:
  haskell-asn1-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:31:58 UTC (rev 1084615)
+++ PKGBUILD2021-12-28 00:32:33 UTC (rev 1084616)
@@ -4,7 +4,7 @@
 _hkgname=asn1-types
 pkgname=haskell-asn1-types
 pkgver=0.3.4
-pkgrel=120
+pkgrel=121
 pkgdesc="ASN.1 types"
 url="https://github.com/vincenthz/hs-asn1";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:31:58
  Author: felixonmars
Revision: 1084615

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-securemem/repos/community-staging-x86_64/PKGBUILD (from rev 
1084614, haskell-securemem/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:31:58 UTC (rev 1084615)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=securemem
+pkgname=haskell-securemem
+pkgver=0.1.10
+pkgrel=200
+pkgdesc="abstraction to an auto scrubbing and const time eq, memory chunk."
+url="https://github.com/vincenthz/hs-securemem";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-byteable" "haskell-memory")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9f1428896a7b554244e42ac04a17c008cadce8102294b3249c172d84b20195325c48eadf15f7d26dabd766e4d45d171b0a26649e097d632a7fae596663a43096')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-securemem/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:31:51
  Author: felixonmars
Revision: 1084614

upgpkg: haskell-securemem 0.1.10-200: rebuild with tasty 1.4.2.1

Modified:
  haskell-securemem/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:31:19 UTC (rev 1084613)
+++ PKGBUILD2021-12-28 00:31:51 UTC (rev 1084614)
@@ -4,7 +4,7 @@
 _hkgname=securemem
 pkgname=haskell-securemem
 pkgver=0.1.10
-pkgrel=199
+pkgrel=200
 pkgdesc="abstraction to an auto scrubbing and const time eq, memory chunk."
 url="https://github.com/vincenthz/hs-securemem";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:31:19
  Author: felixonmars
Revision: 1084613

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cryptonite/repos/community-staging-x86_64/PKGBUILD (from rev 
1084612, haskell-cryptonite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:31:19 UTC (rev 1084613)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cryptonite
+pkgname=haskell-cryptonite
+pkgver=0.29
+pkgrel=35
+pkgdesc="Cryptography Primitives sink"
+url="https://github.com/vincenthz/cryptonite";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement' 'haskell-memory')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-kat'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7f80268e429a9f700709ebdb00da1e2831f2edca064feaa06a9050060fea572abc2fdfee976f60b18a4085cf3a3533e70129104c82e7b050358a97e8575928f2')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-fsupport_deepseq -finteger-gmp -f-support_pclmuldq 
-fsupport_rdrand \
+-fsupport_aesni -f-old_toolchain_inliner -f-check_alignment 
-fsupport_sse
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:31:10
  Author: felixonmars
Revision: 1084612

upgpkg: haskell-cryptonite 0.29-35: rebuild with tasty 1.4.2.1

Modified:
  haskell-cryptonite/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:29:06 UTC (rev 1084611)
+++ PKGBUILD2021-12-28 00:31:10 UTC (rev 1084612)
@@ -4,7 +4,7 @@
 _hkgname=cryptonite
 pkgname=haskell-cryptonite
 pkgver=0.29
-pkgrel=34
+pkgrel=35
 pkgdesc="Cryptography Primitives sink"
 url="https://github.com/vincenthz/cryptonite";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:29:06
  Author: felixonmars
Revision: 1084611

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pem/repos/community-staging-x86_64/PKGBUILD (from rev 1084610, 
haskell-pem/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:29:06 UTC (rev 1084611)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: hauzer 
+
+_hkgname=pem
+pkgname=haskell-pem
+pkgver=0.2.4
+pkgrel=198
+pkgdesc="Privacy Enhanced Mail (PEM) format reader and writer."
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement' 'haskell-memory')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 
'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=('c27531ae89e69cebbeeecdf3cf72b897eb65c2f9b22c898bf88d79664f1b54b592f0e0f2bc007f84ec3b0efee8bd20eee187bf73a2947b2fc7d9f4a7e418872d')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:28:57
  Author: felixonmars
Revision: 1084610

upgpkg: haskell-pem 0.2.4-198: rebuild with tasty 1.4.2.1

Modified:
  haskell-pem/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:28:40 UTC (rev 1084609)
+++ PKGBUILD2021-12-28 00:28:57 UTC (rev 1084610)
@@ -5,7 +5,7 @@
 _hkgname=pem
 pkgname=haskell-pem
 pkgver=0.2.4
-pkgrel=197
+pkgrel=198
 pkgdesc="Privacy Enhanced Mail (PEM) format reader and writer."
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('BSD')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:28:22
  Author: felixonmars
Revision: 1084607

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-typed-process/repos/community-staging-x86_64/
  haskell-typed-process/repos/community-staging-x86_64/PKGBUILD
(from rev 1084606, haskell-typed-process/trunk/PKGBUILD)

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

Copied: haskell-typed-process/repos/community-staging-x86_64/PKGBUILD (from rev 
1084606, haskell-typed-process/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:28:22 UTC (rev 1084607)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=typed-process
+pkgname=haskell-typed-process
+pkgver=0.2.8.0
+pkgrel=4
+pkgdesc="Run external processes, with strong typing of streams"
+url="https://github.com/fpco/typed-process";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-base64-bytestring' 'haskell-hspec' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('abffc3e26edaad8da0301a945b1711636fc555c3062aff57ad7b292f87fba857177a42041f4f98eafc35a1f216f0287afb2af41c2a3091bfc4905474d64bc230')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:28:15
  Author: felixonmars
Revision: 1084606

upgpkg: haskell-typed-process 0.2.8.0-4: rebuild with tasty 1.4.2.1

Modified:
  haskell-typed-process/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:27:30 UTC (rev 1084605)
+++ PKGBUILD2021-12-28 00:28:15 UTC (rev 1084606)
@@ -4,7 +4,7 @@
 _hkgname=typed-process
 pkgname=haskell-typed-process
 pkgver=0.2.8.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Run external processes, with strong typing of streams"
 url="https://github.com/fpco/typed-process";
 license=("MIT")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:27:30
  Author: felixonmars
Revision: 1084605

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-mime-mail/repos/community-staging-x86_64/
  haskell-mime-mail/repos/community-staging-x86_64/PKGBUILD
(from rev 1084604, haskell-mime-mail/trunk/PKGBUILD)

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

Copied: haskell-mime-mail/repos/community-staging-x86_64/PKGBUILD (from rev 
1084604, haskell-mime-mail/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:27:30 UTC (rev 1084605)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=mime-mail
+pkgname=haskell-mime-mail
+pkgver=0.5.1
+pkgrel=51
+pkgdesc="Compose MIME email messages."
+url="https://github.com/snoyberg/mime-mail";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-base64-bytestring" "haskell-blaze-builder"
+ "haskell-random")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('dcd18716aa9f47dd126ea7b53d5ecf053c90bc00cb6b2e8d65bbd20cb0e01d74ffe30243f1b59d5093547cab5f7ae25efe9314fc5a702fb19807b01d6160043b')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-mime-mail/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:27:22
  Author: felixonmars
Revision: 1084604

upgpkg: haskell-mime-mail 0.5.1-51: rebuild with tasty 1.4.2.1

Modified:
  haskell-mime-mail/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:26:41 UTC (rev 1084603)
+++ PKGBUILD2021-12-28 00:27:22 UTC (rev 1084604)
@@ -4,7 +4,7 @@
 _hkgname=mime-mail
 pkgname=haskell-mime-mail
 pkgver=0.5.1
-pkgrel=50
+pkgrel=51
 pkgdesc="Compose MIME email messages."
 url="https://github.com/snoyberg/mime-mail";
 license=("MIT")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:26:41
  Author: felixonmars
Revision: 1084603

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-nonce/repos/community-staging-x86_64/PKGBUILD (from rev 
1084602, haskell-nonce/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:26:41 UTC (rev 1084603)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=nonce
+pkgname=haskell-nonce
+pkgver=1.0.7
+pkgrel=210
+pkgdesc="Generate cryptographic nonces."
+url="https://github.com/prowdsponsor/nonce";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base64-bytestring' 'haskell-entropy' 
'haskell-unliftio'
+ 'haskell-unliftio-core')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('89fb70578c8f52c652cdb4c1e6243529701bc21685862d7bbc750e2000424a029a8b164bde6c422a38e61944a15a8b788aa4aa70212bca9f12b5eaae801d8db0')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/== 1.0/== 1.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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-nonce/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:26:33
  Author: felixonmars
Revision: 1084602

upgpkg: haskell-nonce 1.0.7-210: rebuild with tasty 1.4.2.1

Modified:
  haskell-nonce/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:26:04 UTC (rev 1084601)
+++ PKGBUILD2021-12-28 00:26:33 UTC (rev 1084602)
@@ -4,7 +4,7 @@
 _hkgname=nonce
 pkgname=haskell-nonce
 pkgver=1.0.7
-pkgrel=209
+pkgrel=210
 pkgdesc="Generate cryptographic nonces."
 url="https://github.com/prowdsponsor/nonce";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:26:04
  Author: felixonmars
Revision: 1084601

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-text-conversions/repos/community-staging-x86_64/PKGBUILD (from 
rev 1084600, haskell-text-conversions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:26:04 UTC (rev 1084601)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=text-conversions
+pkgname=haskell-text-conversions
+pkgver=0.3.1
+pkgrel=100
+pkgdesc="Safe conversions between textual types"
+url="https://github.com/cjdev/text-conversions";
+license=('ISC')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-base64-bytestring' 
'haskell-errors')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4c0fe08024a56e326b632a67b945fa869a798b00fa45b56f4f181a0075ed5cd6802edec0f0e38c0f4b5cc4b81c6f6bd98e3382b968cec6ad884d24ee31dbf600')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:25:56
  Author: felixonmars
Revision: 1084600

upgpkg: haskell-text-conversions 0.3.1-100: rebuild with tasty 1.4.2.1

Modified:
  haskell-text-conversions/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:25:22 UTC (rev 1084599)
+++ PKGBUILD2021-12-28 00:25:56 UTC (rev 1084600)
@@ -3,7 +3,7 @@
 _hkgname=text-conversions
 pkgname=haskell-text-conversions
 pkgver=0.3.1
-pkgrel=99
+pkgrel=100
 pkgdesc="Safe conversions between textual types"
 url="https://github.com/cjdev/text-conversions";
 license=('ISC')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:25:22
  Author: felixonmars
Revision: 1084599

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tamarin-prover-utils/repos/community-staging-x86_64/PKGBUILD 
(from rev 1084598, haskell-tamarin-prover-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:25:22 UTC (rev 1084599)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tamarin-prover-utils
+pkgname=haskell-tamarin-prover-utils
+pkgver=1.6.1
+pkgrel=18
+pkgdesc="Utility library for the tamarin prover"
+url="http://www.infsec.ethz.ch/research/software/tamarin";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-sha' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
+ 'haskell-dlist' 'haskell-fclabels' 'haskell-safe' 'haskell-syb')
+makedepends=('ghc')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz";)
+sha512sums=('dc6b91b1669055913a0aefc9a969812bf252185480fbf67588e7458289b1e1b64bf0729e9bee043513ecd5a57cd0c9477512e80861c6956c08b5e29d90211f62')
+
+build() {
+cd "${srcdir}/tamarin-prover-${pkgver}/lib/utils"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/tamarin-prover-${pkgver}/lib/utils"
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:25:15
  Author: felixonmars
Revision: 1084598

upgpkg: haskell-tamarin-prover-utils 1.6.1-18: rebuild with tasty 1.4.2.1

Modified:
  haskell-tamarin-prover-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:24:35 UTC (rev 1084597)
+++ PKGBUILD2021-12-28 00:25:15 UTC (rev 1084598)
@@ -4,7 +4,7 @@
 _hkgname=tamarin-prover-utils
 pkgname=haskell-tamarin-prover-utils
 pkgver=1.6.1
-pkgrel=17
+pkgrel=18
 pkgdesc="Utility library for the tamarin prover"
 url="http://www.infsec.ethz.ch/research/software/tamarin";
 license=("GPL")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:24:35
  Author: felixonmars
Revision: 1084597

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-commonmark/repos/community-staging-x86_64/PKGBUILD (from rev 
1084596, haskell-commonmark/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:24:35 UTC (rev 1084597)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=commonmark
+pkgname=haskell-commonmark
+pkgver=0.2.1
+pkgrel=27
+pkgdesc="Pure Haskell commonmark parser"
+url="https://github.com/jgm/commonmark-hs";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-unicode-transforms')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-quickcheck' 
'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b91a02d44c95d1691fe8df8e380e4754cda98d0b3c5ec93163a71ecf596c5a5ac9bb54d618a13427211837c80e4e83c4a3dcc7b9ef18655ff0dadddc6121d665')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:24:26
  Author: felixonmars
Revision: 1084596

upgpkg: haskell-commonmark 0.2.1-27: rebuild with tasty 1.4.2.1

Modified:
  haskell-commonmark/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:22:21 UTC (rev 1084595)
+++ PKGBUILD2021-12-28 00:24:26 UTC (rev 1084596)
@@ -3,7 +3,7 @@
 _hkgname=commonmark
 pkgname=haskell-commonmark
 pkgver=0.2.1
-pkgrel=26
+pkgrel=27
 pkgdesc="Pure Haskell commonmark parser"
 url="https://github.com/jgm/commonmark-hs";
 license=('BSD')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:22:21
  Author: felixonmars
Revision: 1084595

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unicode-collation/repos/community-staging-x86_64/
  haskell-unicode-collation/repos/community-staging-x86_64/PKGBUILD
(from rev 1084594, haskell-unicode-collation/trunk/PKGBUILD)

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

Copied: haskell-unicode-collation/repos/community-staging-x86_64/PKGBUILD (from 
rev 1084594, haskell-unicode-collation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:22:21 UTC (rev 1084595)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=unicode-collation
+pkgname=haskell-unicode-collation
+pkgver=0.1.3.1
+pkgrel=10
+pkgdesc="Haskell implementation of the Unicode Collation Algorithm"
+url="https://github.com/jgm/unicode-collation";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-th-lift-instances')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-unicode-transforms')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('7c8de0e1c3053bdea7f4007fd7711d5d18fd2f19ddd78ffc3d51cab3ee34623faa51d45ea8408b3e079741bfed9bc453ecc89cc2e20f479280d3646f0f1ecc44')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:22:13
  Author: felixonmars
Revision: 1084594

upgpkg: haskell-unicode-collation 0.1.3.1-10: rebuild with tasty 1.4.2.1

Modified:
  haskell-unicode-collation/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:20:59 UTC (rev 1084593)
+++ PKGBUILD2021-12-28 00:22:13 UTC (rev 1084594)
@@ -3,7 +3,7 @@
 _hkgname=unicode-collation
 pkgname=haskell-unicode-collation
 pkgver=0.1.3.1
-pkgrel=9
+pkgrel=10
 pkgdesc="Haskell implementation of the Unicode Collation Algorithm"
 url="https://github.com/jgm/unicode-collation";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:20:59
  Author: felixonmars
Revision: 1084593

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-regex-applicative-text/repos/community-staging-x86_64/
  haskell-regex-applicative-text/repos/community-staging-x86_64/PKGBUILD
(from rev 1084592, haskell-regex-applicative-text/trunk/PKGBUILD)

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

Copied: haskell-regex-applicative-text/repos/community-staging-x86_64/PKGBUILD 
(from rev 1084592, haskell-regex-applicative-text/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:20:59 UTC (rev 1084593)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=regex-applicative-text
+pkgname=haskell-regex-applicative-text
+pkgver=0.1.0.1
+pkgrel=131
+pkgdesc="Wrapped regex-applicative primitives to work with Text"
+url="https://github.com/phadej/regex-applicative-text#readme";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-regex-applicative")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('8ee1d581498e047a7b759476ce98c43c19656b767790b0f12b8485bc212a71c7115cee5c3e5089392995bc71851025093c406bce9d8ac3c5962675ae06fa4339')
+
+prepare() {
+sed -i 's/base >= 4.3 && <4.10/base >= 4.3/' 
$_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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-regex-applicative-text/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:20:51
  Author: felixonmars
Revision: 1084592

upgpkg: haskell-regex-applicative-text 0.1.0.1-131: rebuild with tasty 1.4.2.1

Modified:
  haskell-regex-applicative-text/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:20:19 UTC (rev 1084591)
+++ PKGBUILD2021-12-28 00:20:51 UTC (rev 1084592)
@@ -4,7 +4,7 @@
 _hkgname=regex-applicative-text
 pkgname=haskell-regex-applicative-text
 pkgver=0.1.0.1
-pkgrel=130
+pkgrel=131
 pkgdesc="Wrapped regex-applicative primitives to work with Text"
 url="https://github.com/phadej/regex-applicative-text#readme";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:20:19
  Author: felixonmars
Revision: 1084591

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fin/repos/community-staging-x86_64/PKGBUILD (from rev 1084590, 
haskell-fin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:20:19 UTC (rev 1084591)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fin
+pkgname=haskell-fin
+pkgver=0.2
+pkgrel=39
+pkgdesc="Nat and Fin: peano naturals and finite numbers"
+url="https://github.com/phadej/vec";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-dec' 'haskell-hashable' 
'haskell-universe-base')
+makedepends=('ghc' 'uusi' 'haskell-inspection-testing' 'haskell-tagged')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('1002a48eab01fdd0ad3cabcc8fda1caf7ef3d67ff78316ceb7e7f00a4c97964e7017160a17b6b6b2ae9e2b17d0e55313c0bb5474a611857b8c18299ebf814edf')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:20:12
  Author: felixonmars
Revision: 1084590

upgpkg: haskell-fin 0.2-39: rebuild with tasty 1.4.2.1

Modified:
  haskell-fin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:19:37 UTC (rev 1084589)
+++ PKGBUILD2021-12-28 00:20:12 UTC (rev 1084590)
@@ -3,7 +3,7 @@
 _hkgname=fin
 pkgname=haskell-fin
 pkgver=0.2
-pkgrel=38
+pkgrel=39
 pkgdesc="Nat and Fin: peano naturals and finite numbers"
 url="https://github.com/phadej/vec";
 license=("BSD")



[arch-commits] Commit in haskell-universe-reverse-instances/repos (2 files)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:19:37
  Author: felixonmars
Revision: 1084589

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-universe-reverse-instances/repos/community-staging-x86_64/
  haskell-universe-reverse-instances/repos/community-staging-x86_64/PKGBUILD
(from rev 1084588, haskell-universe-reverse-instances/trunk/PKGBUILD)

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

Copied: 
haskell-universe-reverse-instances/repos/community-staging-x86_64/PKGBUILD 
(from rev 1084588, haskell-universe-reverse-instances/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:19:37 UTC (rev 1084589)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=universe-reverse-instances
+pkgname=haskell-universe-reverse-instances
+pkgver=1.1.1
+pkgrel=67
+pkgdesc="Instances of standard classes that are made possible by enumerations"
+url="https://github.com/dmwit/universe";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-universe-base')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('c7f3d10a7b9be605bdc7e51b236240dce781e7674ded90e40998e71ac1765bc8b2c55271063c0e05ed033ea454a264da7fb1ff828283df504fc86ca52db0fda7')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u universe-base $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-universe-reverse-instances/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:19:30
  Author: felixonmars
Revision: 1084588

upgpkg: haskell-universe-reverse-instances 1.1.1-67: rebuild with tasty 1.4.2.1

Modified:
  haskell-universe-reverse-instances/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:18:57 UTC (rev 1084587)
+++ PKGBUILD2021-12-28 00:19:30 UTC (rev 1084588)
@@ -3,7 +3,7 @@
 _hkgname=universe-reverse-instances
 pkgname=haskell-universe-reverse-instances
 pkgver=1.1.1
-pkgrel=66
+pkgrel=67
 pkgdesc="Instances of standard classes that are made possible by enumerations"
 url="https://github.com/dmwit/universe";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:18:57
  Author: felixonmars
Revision: 1084587

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-attoparsec/repos/community-staging-x86_64/PKGBUILD (from rev 
1084586, haskell-attoparsec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:18:57 UTC (rev 1084587)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=attoparsec
+pkgname=haskell-attoparsec
+pkgver=0.14.2
+pkgrel=3
+pkgdesc="Fast combinator parsing for bytestrings and text"
+url="https://github.com/bos/attoparsec";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-scientific')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-unicode' 
'haskell-tasty'
+ 'haskell-tasty-quickcheck' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('90fdacc321368649a3ba2604ce1aebc22c9e38751b78d7e69118c59d42db31abdb3b85525e7d06a89bf4c1ea8a65a4d8b0e8009c6a886646172a730365b7ec47')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-developer
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:18:50
  Author: felixonmars
Revision: 1084586

upgpkg: haskell-attoparsec 0.14.2-3: rebuild with tasty 1.4.2.1

Modified:
  haskell-attoparsec/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:17:08 UTC (rev 1084585)
+++ PKGBUILD2021-12-28 00:18:50 UTC (rev 1084586)
@@ -4,7 +4,7 @@
 _hkgname=attoparsec
 pkgname=haskell-attoparsec
 pkgver=0.14.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Fast combinator parsing for bytestrings and text"
 url="https://github.com/bos/attoparsec";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:17:08
  Author: felixonmars
Revision: 1084585

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-utility-ht/repos/community-staging-x86_64/
  haskell-utility-ht/repos/community-staging-x86_64/PKGBUILD
(from rev 1084584, haskell-utility-ht/trunk/PKGBUILD)

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

Copied: haskell-utility-ht/repos/community-staging-x86_64/PKGBUILD (from rev 
1084584, haskell-utility-ht/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:17:08 UTC (rev 1084585)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=utility-ht
+pkgname=haskell-utility-ht
+pkgver=0.0.16
+pkgrel=44
+pkgdesc="Various small helper functions for Lists, Maybes, Tuples, Functions"
+url="http://www.haskell.org/haskellwiki/Utility-HT";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-doctest-exitcode-stdio' 
'haskell-doctest-lib')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('dc43586c4cd3816b8d9c1f2d952e82a2b633d86df1bdcb19bcaaf96977d3b9b4399cbf6e7c12a1f7f2a8cd0d461a5964af8e2748a016406b1364a9a327d67a79')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:17:00
  Author: felixonmars
Revision: 1084584

upgpkg: haskell-utility-ht 0.0.16-44: rebuild with tasty 1.4.2.1

Modified:
  haskell-utility-ht/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:16:09 UTC (rev 1084583)
+++ PKGBUILD2021-12-28 00:17:00 UTC (rev 1084584)
@@ -4,7 +4,7 @@
 _hkgname=utility-ht
 pkgname=haskell-utility-ht
 pkgver=0.0.16
-pkgrel=43
+pkgrel=44
 pkgdesc="Various small helper functions for Lists, Maybes, Tuples, Functions"
 url="http://www.haskell.org/haskellwiki/Utility-HT";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:16:01
  Author: felixonmars
Revision: 1084582

upgpkg: haskell-arrows 0.4.4.2-44: rebuild with tasty 1.4.2.1

Modified:
  haskell-arrows/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:15:26 UTC (rev 1084581)
+++ PKGBUILD2021-12-28 00:16:01 UTC (rev 1084582)
@@ -3,7 +3,7 @@
 _hkgname=arrows
 pkgname=haskell-arrows
 pkgver=0.4.4.2
-pkgrel=43
+pkgrel=44
 pkgdesc="Arrow classes and transformers"
 url="http://www.haskell.org/arrows/";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:16:09
  Author: felixonmars
Revision: 1084583

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-arrows/repos/community-staging-x86_64/PKGBUILD (from rev 
1084582, haskell-arrows/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:16:09 UTC (rev 1084583)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=arrows
+pkgname=haskell-arrows
+pkgver=0.4.4.2
+pkgrel=44
+pkgdesc="Arrow classes and transformers"
+url="http://www.haskell.org/arrows/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-stream')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('f65ac93306629e70ae0d92914cc04d6ab499de3168036f0623aba3fffd22ab09')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-monad-control/repos (2 files)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:15:26
  Author: felixonmars
Revision: 1084581

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-monad-control/repos/community-staging-x86_64/
  haskell-monad-control/repos/community-staging-x86_64/PKGBUILD
(from rev 1084580, haskell-monad-control/trunk/PKGBUILD)

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

Copied: haskell-monad-control/repos/community-staging-x86_64/PKGBUILD (from rev 
1084580, haskell-monad-control/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:15:26 UTC (rev 1084581)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=monad-control
+pkgname=haskell-monad-control
+pkgver=1.0.3.1
+pkgrel=20
+pkgdesc="Lift control operations, like exception catching, through monad 
transformers"
+url="https://github.com/basvandijk/monad-control";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-transformers-base' 'haskell-transformers-compat')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('b82ac2d3b2ab1892f79bab1341c9ff17ea89b988438cfd40c246f5ffe4560cb2b77e4a1ed1aa9dc2bb64644b9d6da76eda7b40acf8cc34bb03e77b18127e93a1')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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-monad-control/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:15:19
  Author: felixonmars
Revision: 1084580

upgpkg: haskell-monad-control 1.0.3.1-20: rebuild with tasty 1.4.2.1

Modified:
  haskell-monad-control/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:14:47 UTC (rev 1084579)
+++ PKGBUILD2021-12-28 00:15:19 UTC (rev 1084580)
@@ -4,7 +4,7 @@
 _hkgname=monad-control
 pkgname=haskell-monad-control
 pkgver=1.0.3.1
-pkgrel=19
+pkgrel=20
 pkgdesc="Lift control operations, like exception catching, through monad 
transformers"
 url="https://github.com/basvandijk/monad-control";
 license=("BSD")



[arch-commits] Commit in haskell-dense-linear-algebra/repos (2 files)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:14:47
  Author: felixonmars
Revision: 1084579

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-dense-linear-algebra/repos/community-staging-x86_64/
  haskell-dense-linear-algebra/repos/community-staging-x86_64/PKGBUILD
(from rev 1084578, haskell-dense-linear-algebra/trunk/PKGBUILD)

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

Copied: haskell-dense-linear-algebra/repos/community-staging-x86_64/PKGBUILD 
(from rev 1084578, haskell-dense-linear-algebra/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:14:47 UTC (rev 1084579)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=dense-linear-algebra
+pkgname=haskell-dense-linear-algebra
+pkgver=0.1.0.0
+pkgrel=161
+pkgdesc="Simple and incomplete pure haskell implementation of linear algebra"
+url="https://github.com/bos/statistics";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-math-functions' 'haskell-primitive' 
'haskell-vector'
+ 'haskell-vector-algorithms' 'haskell-vector-th-unbox' 
'haskell-vector-binary-instances')
+makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('bcc70b42c3ea59aa3a739e2b189b9a1018d3dc27e65f5016502a2068005f480c296960ba7758a810cb22bfde53b5a597a66a3e1dd7bb732e54fe5daa1be08aa0')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-dense-linear-algebra/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:14:40
  Author: felixonmars
Revision: 1084578

upgpkg: haskell-dense-linear-algebra 0.1.0.0-161: rebuild with tasty 1.4.2.1

Modified:
  haskell-dense-linear-algebra/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:14:01 UTC (rev 1084577)
+++ PKGBUILD2021-12-28 00:14:40 UTC (rev 1084578)
@@ -3,7 +3,7 @@
 _hkgname=dense-linear-algebra
 pkgname=haskell-dense-linear-algebra
 pkgver=0.1.0.0
-pkgrel=160
+pkgrel=161
 pkgdesc="Simple and incomplete pure haskell implementation of linear algebra"
 url="https://github.com/bos/statistics";
 license=('BSD')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:14:01
  Author: felixonmars
Revision: 1084577

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 1084576, haskell-distributive/trunk/PKGBUILD)

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

Copied: haskell-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 
1084576, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:14:01 UTC (rev 1084577)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.6.2.1
+pkgrel=120
+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')
+checkdepends=('haskell-generic-deriving' 'haskell-hspec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('387c7b6e0b2f917fd68d52ffbc79b9db21e488629309bfaf0dc77450bfd37c0f7f8a29458532616b5395552f84f3727b462cb2876e5aca79101e2c752b26e0a7')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+   
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:13:53
  Author: felixonmars
Revision: 1084576

upgpkg: haskell-distributive 0.6.2.1-120: rebuild with tasty 1.4.2.1

Modified:
  haskell-distributive/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:13:19 UTC (rev 1084575)
+++ PKGBUILD2021-12-28 00:13:53 UTC (rev 1084576)
@@ -4,7 +4,7 @@
 _hkgname=distributive
 pkgname=haskell-distributive
 pkgver=0.6.2.1
-pkgrel=119
+pkgrel=120
 pkgdesc="Distributive functors -- Dual to Traversable"
 url="https://github.com/ekmett/distributive/";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:13:19
  Author: felixonmars
Revision: 1084575

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tasty-ant-xml/repos/community-staging-x86_64/PKGBUILD (from rev 
1084574, haskell-tasty-ant-xml/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:13:19 UTC (rev 1084575)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-ant-xml
+pkgname=haskell-tasty-ant-xml
+pkgver=1.1.8
+pkgrel=49
+pkgdesc="Render tasty output to XML for Jenkins"
+url="https://github.com/ocharles/tasty-ant-xml";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-generic-deriving' 'haskell-tagged' 
'haskell-tasty' 'haskell-xml')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('8cbe0648c42e2e8e324ef474ee7da1dde4fbfc3942a988a6835cb9ffca5fbaa8ac501e305389b4125543e48c1ade9caf5559c91c69874bba7fefc9f9be9cc3f9')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:13:11
  Author: felixonmars
Revision: 1084574

upgpkg: haskell-tasty-ant-xml 1.1.8-49: rebuild with tasty 1.4.2.1

Modified:
  haskell-tasty-ant-xml/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:12:36 UTC (rev 1084573)
+++ PKGBUILD2021-12-28 00:13:11 UTC (rev 1084574)
@@ -3,7 +3,7 @@
 _hkgname=tasty-ant-xml
 pkgname=haskell-tasty-ant-xml
 pkgver=1.1.8
-pkgrel=48
+pkgrel=49
 pkgdesc="Render tasty output to XML for Jenkins"
 url="https://github.com/ocharles/tasty-ant-xml";
 license=('BSD')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:12:36
  Author: felixonmars
Revision: 1084573

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-vty/repos/community-staging-x86_64/PKGBUILD (from rev 1084572, 
haskell-vty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:12:36 UTC (rev 1084573)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vty
+pkgname=haskell-vty
+pkgver=5.33
+pkgrel=55
+pkgdesc="A simple terminal UI library"
+url="https://github.com/jtdaugherty/vty";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-blaze-builder' 
'haskell-microlens'
+ 'haskell-microlens-mtl' 'haskell-microlens-th' 'haskell-hashable' 
'haskell-parallel'
+ 'haskell-utf8-string' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-smallcheck'
+ 'haskell-quickcheck-assertions' 'haskell-test-framework'
+ 'haskell-test-framework-smallcheck' 
'haskell-test-framework-hunit' 'haskell-random'
+ 'haskell-string-qq')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('2d22af15d19a359c4d8b52d15c1a67feb137a058bda0f3cff90630b7705b6ead43ab5c4753fe59bcf9a3d1c3a4a4b755d41d55dba164e014f4271e86267f01aa')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:12:28
  Author: felixonmars
Revision: 1084572

upgpkg: haskell-vty 5.33-55: rebuild with tasty 1.4.2.1

Modified:
  haskell-vty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:07:21 UTC (rev 1084571)
+++ PKGBUILD2021-12-28 00:12:28 UTC (rev 1084572)
@@ -4,7 +4,7 @@
 _hkgname=vty
 pkgname=haskell-vty
 pkgver=5.33
-pkgrel=54
+pkgrel=55
 pkgdesc="A simple terminal UI library"
 url="https://github.com/jtdaugherty/vty";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:07:21
  Author: felixonmars
Revision: 1084571

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 1084570, haskell-infer-license/trunk/PKGBUILD)

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

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
1084570, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:07:21 UTC (rev 1084571)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=166
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+build() {
+  cd $_hkgname-$pkgver
+  
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:07:12
  Author: felixonmars
Revision: 1084570

upgpkg: haskell-infer-license 0.2.0-166: rebuild with tasty 1.4.2.1

Modified:
  haskell-infer-license/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:06:35 UTC (rev 1084569)
+++ PKGBUILD2021-12-28 00:07:12 UTC (rev 1084570)
@@ -3,7 +3,7 @@
 _hkgname=infer-license
 pkgname=haskell-infer-license
 pkgver=0.2.0
-pkgrel=165
+pkgrel=166
 pkgdesc="Infer software license from a given license file"
 url="https://github.com/sol/infer-license";
 license=('MIT')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:06:35
  Author: felixonmars
Revision: 1084569

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-memotrie/repos/community-staging-x86_64/PKGBUILD (from rev 
1084568, haskell-memotrie/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:06:35 UTC (rev 1084569)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=MemoTrie
+pkgname=haskell-memotrie
+pkgver=0.6.10
+pkgrel=135
+pkgdesc="Trie-based memo functions"
+url="https://github.com/conal/MemoTrie";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-newtype-generics')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('73be7e356ad2aeef49abf43975d2e24ee8b883e12453f316366b52998637ac26d98feef34388c2a46f683027dc7132444b17a25a12d3e86748088fadf081b186')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "COPYING" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:06:27
  Author: felixonmars
Revision: 1084568

upgpkg: haskell-memotrie 0.6.10-135: rebuild with tasty 1.4.2.1

Modified:
  haskell-memotrie/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:05:52 UTC (rev 1084567)
+++ PKGBUILD2021-12-28 00:06:27 UTC (rev 1084568)
@@ -3,7 +3,7 @@
 _hkgname=MemoTrie
 pkgname=haskell-memotrie
 pkgver=0.6.10
-pkgrel=134
+pkgrel=135
 pkgdesc="Trie-based memo functions"
 url="https://github.com/conal/MemoTrie";
 license=('BSD')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:05:52
  Author: felixonmars
Revision: 1084567

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-torrent/repos/community-staging-x86_64/PKGBUILD (from rev 
1084566, haskell-torrent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:05:52 UTC (rev 1084567)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=torrent
+pkgname=haskell-torrent
+pkgver=1.1.1
+pkgrel=141
+pkgdesc="BitTorrent file parser and generater"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-bencode" "haskell-syb")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('db4c18ca8df4fd32c45d6fc01333a5ef083136dfd5833f13300161ca393b6f3ebb2a8ca2b2f7e2bbf7019eb9484e0b3b067677a63fd41311e3dc7a17111f5a6c')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-torrent/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:05:44
  Author: felixonmars
Revision: 1084566

upgpkg: haskell-torrent 1.1.1-141: rebuild with tasty 1.4.2.1

Modified:
  haskell-torrent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:05:07 UTC (rev 1084565)
+++ PKGBUILD2021-12-28 00:05:44 UTC (rev 1084566)
@@ -4,7 +4,7 @@
 _hkgname=torrent
 pkgname=haskell-torrent
 pkgver=1.1.1
-pkgrel=140
+pkgrel=141
 pkgdesc="BitTorrent file parser and generater"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:05:07
  Author: felixonmars
Revision: 1084565

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-reinterpret-cast/repos/community-staging-x86_64/
  haskell-reinterpret-cast/repos/community-staging-x86_64/PKGBUILD
(from rev 1084564, haskell-reinterpret-cast/trunk/PKGBUILD)

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

Copied: haskell-reinterpret-cast/repos/community-staging-x86_64/PKGBUILD (from 
rev 1084564, haskell-reinterpret-cast/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:05:07 UTC (rev 1084565)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=reinterpret-cast
+pkgname=haskell-reinterpret-cast
+pkgver=0.1.0
+pkgrel=164
+pkgdesc="Memory reinterpretation casts for Float/Double and Word32/Word64"
+url="https://github.com/nh2/reinterpret-cast";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-data-binary-ieee754' 'haskell-hspec' 
'haskell-loop')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('217bff79abd149a8d644547b7a691b68400fa543dfd824160e1d41e90b489ab1d3e274b76cbe88d16572a41afd63705d15e973640493b119894d337df3b6ccba')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:04:58
  Author: felixonmars
Revision: 1084564

upgpkg: haskell-reinterpret-cast 0.1.0-164: rebuild with tasty 1.4.2.1

Modified:
  haskell-reinterpret-cast/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-28 00:03:28 UTC (rev 1084563)
+++ PKGBUILD2021-12-28 00:04:58 UTC (rev 1084564)
@@ -3,7 +3,7 @@
 _hkgname=reinterpret-cast
 pkgname=haskell-reinterpret-cast
 pkgver=0.1.0
-pkgrel=163
+pkgrel=164
 pkgdesc="Memory reinterpretation casts for Float/Double and Word32/Word64"
 url="https://github.com/nh2/reinterpret-cast";
 license=('MIT')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:03:28
  Author: felixonmars
Revision: 1084563

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unagi-chan/repos/community-staging-x86_64/
  haskell-unagi-chan/repos/community-staging-x86_64/PKGBUILD
(from rev 1084562, haskell-unagi-chan/trunk/PKGBUILD)

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

Copied: haskell-unagi-chan/repos/community-staging-x86_64/PKGBUILD (from rev 
1084562, haskell-unagi-chan/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 00:03:28 UTC (rev 1084563)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=unagi-chan
+pkgname=haskell-unagi-chan
+pkgver=0.4.1.4
+pkgrel=2
+pkgdesc="Fast concurrent queues with a Chan-like API, and more"
+url="https://github.com/jberryman/unagi-chan";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-atomic-primops' 'haskell-primitive')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2b4e23cbb0706dbcf4aeb820901b4b1c357a136472ff065c42dd58f6cfbb3c8e87b5503fe285b9c3a557791f959b82091138e8e137b88496fb92d2562506a3a3')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/jberryman/unagi-chan/issues/25
+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-unagi-chan/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 00:03:19
  Author: felixonmars
Revision: 1084562

upgpkg: haskell-unagi-chan 0.4.1.4-2: rebuild with tasty 1.4.2.1

Modified:
  haskell-unagi-chan/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:26:41 UTC (rev 1084561)
+++ PKGBUILD2021-12-28 00:03:19 UTC (rev 1084562)
@@ -3,7 +3,7 @@
 _hkgname=unagi-chan
 pkgname=haskell-unagi-chan
 pkgver=0.4.1.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Fast concurrent queues with a Chan-like API, and more"
 url="https://github.com/jberryman/unagi-chan";
 license=('BSD')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:26:41
  Author: felixonmars
Revision: 1084561

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-say/repos/community-staging-x86_64/PKGBUILD (from rev 1084560, 
haskell-say/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:26:41 UTC (rev 1084561)
@@ -0,0 +1,43 @@
+# Maintainer: Jelle van der Waa 
+
+_hkgname=say
+pkgname=haskell-say
+pkgver=0.1.0.1
+pkgrel=134
+pkgdesc='Send textual messages to a Handle in a thread-friendly way'
+arch=(x86_64)
+url="https://hackage.haskell.org/package/$_hkgname";
+license=(MIT)
+depends=(ghc-libs)
+checkdepends=(haskell-hspec haskell-unliftio)
+makedepends=(ghc)
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('3de9f6b473a3b4403624c3f6aeac3703a5e8b6cfae82578f7a49a81defa9fa64295cd315664d02fbab70646694d34415d638b5b52424d167d44e93b34a917604')
+
+build() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+  --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+  --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}
+
+# vim: ts=2 sw=2 et:



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:26:34
  Author: felixonmars
Revision: 1084560

upgpkg: haskell-say 0.1.0.1-134: rebuild with tasty 1.4.2.1

Modified:
  haskell-say/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:25:54 UTC (rev 1084559)
+++ PKGBUILD2021-12-27 23:26:34 UTC (rev 1084560)
@@ -3,7 +3,7 @@
 _hkgname=say
 pkgname=haskell-say
 pkgver=0.1.0.1
-pkgrel=133
+pkgrel=134
 pkgdesc='Send textual messages to a Handle in a thread-friendly way'
 arch=(x86_64)
 url="https://hackage.haskell.org/package/$_hkgname";



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:25:54
  Author: felixonmars
Revision: 1084559

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pipes/repos/community-staging-x86_64/PKGBUILD (from rev 
1084558, haskell-pipes/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:25:54 UTC (rev 1084559)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=pipes
+pkgname=haskell-pipes
+pkgver=4.3.16
+pkgrel=36
+pkgdesc="Compositional pipelines"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-mmorph' 'haskell-void')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('6776a2d64ad164bd2d7dcbac7e935342b1507a87d8651ec2b22349192fc49cdd12ea18811d74093c88474a3b631322bc1010183476e5cb5c35dd35366b996b1e')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u mmorph $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:25:47
  Author: felixonmars
Revision: 1084558

upgpkg: haskell-pipes 4.3.16-36: rebuild with tasty 1.4.2.1

Modified:
  haskell-pipes/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:25:02 UTC (rev 1084557)
+++ PKGBUILD2021-12-27 23:25:47 UTC (rev 1084558)
@@ -4,7 +4,7 @@
 _hkgname=pipes
 pkgname=haskell-pipes
 pkgver=4.3.16
-pkgrel=35
+pkgrel=36
 pkgdesc="Compositional pipelines"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:25:02
  Author: felixonmars
Revision: 1084557

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-deriving-compat/repos/community-staging-x86_64/
  haskell-deriving-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 1084556, haskell-deriving-compat/trunk/PKGBUILD)

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

Copied: haskell-deriving-compat/repos/community-staging-x86_64/PKGBUILD (from 
rev 1084556, haskell-deriving-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:25:02 UTC (rev 1084557)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deriving-compat
+pkgname=haskell-deriving-compat
+pkgver=0.6
+pkgrel=12
+pkgdesc="Backports of GHC deriving extensions"
+url="https://github.com/haskell-compat/deriving-compat";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-th-abstraction' 'haskell-transformers-compat')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-base-orphans' 
'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-tagged' 'haskell-void')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('631a9eea6a2546f6f10b1365f8f2acf77611af41c1823583b3365d9def3d355b8596dbfe552d88feae2aa4e3d2aa5b30417e57191ace3c53b05f26890528f51c')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:24:55
  Author: felixonmars
Revision: 1084556

upgpkg: haskell-deriving-compat 0.6-12: rebuild with tasty 1.4.2.1

Modified:
  haskell-deriving-compat/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:23:47 UTC (rev 1084555)
+++ PKGBUILD2021-12-27 23:24:55 UTC (rev 1084556)
@@ -3,7 +3,7 @@
 _hkgname=deriving-compat
 pkgname=haskell-deriving-compat
 pkgver=0.6
-pkgrel=11
+pkgrel=12
 pkgdesc="Backports of GHC deriving extensions"
 url="https://github.com/haskell-compat/deriving-compat";
 license=('BSD')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:23:47
  Author: felixonmars
Revision: 1084555

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 1084554, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 1084554, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:23:47 UTC (rev 1084555)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.2
+pkgrel=23
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('592cd1b611262a24dc1673ec283059223b47e70a33df22c05ff7222096027afa6358336e6c8e30256a6e40b71d59d59a90021ccd998a8ee6e193aa62d152c5ab')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:23:40
  Author: felixonmars
Revision: 1084554

upgpkg: haskell-safe-exceptions 0.1.7.2-23: rebuild with tasty 1.4.2.1

Modified:
  haskell-safe-exceptions/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:23:02 UTC (rev 1084553)
+++ PKGBUILD2021-12-27 23:23:40 UTC (rev 1084554)
@@ -3,7 +3,7 @@
 _hkgname=safe-exceptions
 pkgname=haskell-safe-exceptions
 pkgver=0.1.7.2
-pkgrel=22
+pkgrel=23
 pkgdesc="Safe, consistent, and easy exception handling"
 url="https://github.com/fpco/safe-exceptions";
 license=('MIT')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:23:02
  Author: felixonmars
Revision: 1084553

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-megaparsec/repos/community-staging-x86_64/PKGBUILD (from rev 
1084552, haskell-megaparsec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:23:02 UTC (rev 1084553)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=megaparsec
+pkgname=haskell-megaparsec
+pkgver=9.2.0
+pkgrel=11
+pkgdesc="Monadic parser combinators"
+url="https://github.com/mrkkrp/megaparsec";
+license=("custom:BSD2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-parser-combinators'
+ 'haskell-scientific')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9536c4a619c8a310fa1a360bd70179c54113bc0b66d55f0698d89589b527c8e8ed2a818a13b50fc0ad8f3b8210f1a9f6442e3403f24936cb827b14336cb074fe')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-dev
+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.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:22:55
  Author: felixonmars
Revision: 1084552

upgpkg: haskell-megaparsec 9.2.0-11: rebuild with tasty 1.4.2.1

Modified:
  haskell-megaparsec/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:21:56 UTC (rev 1084551)
+++ PKGBUILD2021-12-27 23:22:55 UTC (rev 1084552)
@@ -4,7 +4,7 @@
 _hkgname=megaparsec
 pkgname=haskell-megaparsec
 pkgver=9.2.0
-pkgrel=10
+pkgrel=11
 pkgdesc="Monadic parser combinators"
 url="https://github.com/mrkkrp/megaparsec";
 license=("custom:BSD2")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:21:56
  Author: felixonmars
Revision: 1084551

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-media/repos/community-staging-x86_64/PKGBUILD (from rev 
1084550, haskell-http-media/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:21:56 UTC (rev 1084551)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-media
+pkgname=haskell-http-media
+pkgver=0.8.0.0
+pkgrel=122
+pkgdesc="Processing HTTP Content-Type and Accept headers"
+url="https://github.com/zmthy/http-media";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-case-insensitive" "haskell-utf8-string")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('549fa1892c81224e79bad4268993e0cfa324d9d0c9daa0d800ac7cc4eee307405155989672c49adb0e124ca29c2d83cc565ba3c935fd3be4ab4ef0594b012bb5')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.13/<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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:21:49
  Author: felixonmars
Revision: 1084550

upgpkg: haskell-http-media 0.8.0.0-122: rebuild with tasty 1.4.2.1

Modified:
  haskell-http-media/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:21:14 UTC (rev 1084549)
+++ PKGBUILD2021-12-27 23:21:49 UTC (rev 1084550)
@@ -4,7 +4,7 @@
 _hkgname=http-media
 pkgname=haskell-http-media
 pkgver=0.8.0.0
-pkgrel=121
+pkgrel=122
 pkgdesc="Processing HTTP Content-Type and Accept headers"
 url="https://github.com/zmthy/http-media";
 license=("MIT")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:21:14
  Author: felixonmars
Revision: 1084549

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-text-latin1/repos/community-staging-x86_64/PKGBUILD (from rev 
1084548, haskell-text-latin1/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:21:14 UTC (rev 1084549)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=text-latin1
+pkgname=haskell-text-latin1
+pkgver=0.3.1
+pkgrel=130
+pkgdesc="Latin-1 (including ASCII) utility functions"
+url="https://github.com/mvv/text-latin1";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-data-checked' 
'haskell-hashable')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('f1a86470fd35e2641025a9d475766e35603e9b2d62d6180fe23bc0d7e4338c1560c228363712a320aed61ad1bf277fa22cd41e37e79608c4c261ff0ed88cae3b')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:21:06
  Author: felixonmars
Revision: 1084548

upgpkg: haskell-text-latin1 0.3.1-130: rebuild with tasty 1.4.2.1

Modified:
  haskell-text-latin1/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:20:31 UTC (rev 1084547)
+++ PKGBUILD2021-12-27 23:21:06 UTC (rev 1084548)
@@ -3,7 +3,7 @@
 _hkgname=text-latin1
 pkgname=haskell-text-latin1
 pkgver=0.3.1
-pkgrel=129
+pkgrel=130
 pkgdesc="Latin-1 (including ASCII) utility functions"
 url="https://github.com/mvv/text-latin1";
 license=('BSD')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:20:31
  Author: felixonmars
Revision: 1084547

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-monad-par/repos/community-staging-x86_64/
  haskell-monad-par/repos/community-staging-x86_64/PKGBUILD
(from rev 1084546, haskell-monad-par/trunk/PKGBUILD)

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

Copied: haskell-monad-par/repos/community-staging-x86_64/PKGBUILD (from rev 
1084546, haskell-monad-par/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:20:31 UTC (rev 1084547)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=monad-par
+pkgname=haskell-monad-par
+pkgver=0.3.5
+pkgrel=137
+pkgdesc="A library for parallel programming based on a monad"
+url="https://github.com/simonmar/monad-par";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-abstract-deque" "haskell-abstract-par" 
"haskell-monad-par-extras"
+ "haskell-mwc-random" "haskell-parallel")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('0843753f5a1465f46ade4c60b0707a07e996f12b13f8248e4c3dc6eeb5f0b8b4a321acb4dff685d17ef52d36db32cec5564e6492f7027c9d93f03c5780895b9c')
+
+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 
--ghc-option=-fllvm \
+-f-newgeneric -f-chaselev
+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-monad-par/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:20:24
  Author: felixonmars
Revision: 1084546

upgpkg: haskell-monad-par 0.3.5-137: rebuild with tasty 1.4.2.1

Modified:
  haskell-monad-par/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:19:46 UTC (rev 1084545)
+++ PKGBUILD2021-12-27 23:20:24 UTC (rev 1084546)
@@ -4,7 +4,7 @@
 _hkgname=monad-par
 pkgname=haskell-monad-par
 pkgver=0.3.5
-pkgrel=136
+pkgrel=137
 pkgdesc="A library for parallel programming based on a monad"
 url="https://github.com/simonmar/monad-par";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:19:46
  Author: felixonmars
Revision: 1084545

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-chell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from 
rev 1084544, haskell-chell-quickcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:19:46 UTC (rev 1084545)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=chell-quickcheck
+pkgname=haskell-chell-quickcheck
+pkgver=0.2.5.2
+pkgrel=150
+pkgdesc="QuickCheck support for the Chell testing library"
+url="https://github.com/typeclasses/chell";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-chell' 'haskell-quickcheck' 'haskell-random')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('d17b8aeb19adc08debdfccaeceabb480fcbf82ba47c5e805f326f26be8c3266b741c52ab1ab13042b13aaa865ae355812ff067f3a46ff8186cef232143fa8efa')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *2.13/<3/' $_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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:19:39
  Author: felixonmars
Revision: 1084544

upgpkg: haskell-chell-quickcheck 0.2.5.2-150: rebuild with tasty 1.4.2.1

Modified:
  haskell-chell-quickcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:19:09 UTC (rev 1084543)
+++ PKGBUILD2021-12-27 23:19:39 UTC (rev 1084544)
@@ -3,7 +3,7 @@
 _hkgname=chell-quickcheck
 pkgname=haskell-chell-quickcheck
 pkgver=0.2.5.2
-pkgrel=149
+pkgrel=150
 pkgdesc="QuickCheck support for the Chell testing library"
 url="https://github.com/typeclasses/chell";
 license=('MIT')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:19:09
  Author: felixonmars
Revision: 1084543

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-knob/repos/community-staging-x86_64/
  haskell-knob/repos/community-staging-x86_64/PKGBUILD
(from rev 1084542, haskell-knob/trunk/PKGBUILD)
  haskell-knob/repos/community-staging-x86_64/base4.15.patch
(from rev 1084542, haskell-knob/trunk/base4.15.patch)

+
 PKGBUILD   |   49 +
 base4.15.patch |  496 +++
 2 files changed, 545 insertions(+)

Copied: haskell-knob/repos/community-staging-x86_64/PKGBUILD (from rev 1084542, 
haskell-knob/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:19:09 UTC (rev 1084543)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=knob
+pkgname=haskell-knob
+pkgver=0.1.1
+pkgrel=44
+pkgdesc="Memory-backed handles"
+url="https://github.com/felixonmars/knob";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-chell')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";
+base4.15.patch)
+sha512sums=('b13e9a88de99fa941521135c7f61be4ad5b838806e7424ac4b38607d59635ec2ddd6808560f1568f6d974c531185d43b5e1510886e07bcb567b859a12659277b'
+
'80b0f41c2e874fc004908afae26bea0fdd83094460e22a26ec4617f6adcfbe3671da16e2c59ef32b90c75414ddcd3ac3b667667e151be7b7f5c0fefd07851ba4')
+
+prepare() {
+patch -d $_hkgname-$pkgver -p1 < base4.15.patch
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "license.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}

Copied: haskell-knob/repos/community-staging-x86_64/base4.15.patch (from rev 
1084542, haskell-knob/trunk/base4.15.patch)
===
--- community-staging-x86_64/base4.15.patch (rev 0)
+++ community-staging-x86_64/base4.15.patch 2021-12-27 23:19:09 UTC (rev 
1084543)
@@ -0,0 +1,496 @@
+From ded495e7815d398c33a2a901d146f73bde60b7a9 Mon Sep 17 00:00:00 2001
+From: Felix Yan 
+Date: Fri, 18 Jun 2021 05:14:00 +0800
+Subject: [PATCH] Port tests to chell-0.3+ and make it a test-suite of knob
+
+---
+ knob.cabal | 21 -
+ tests/KnobTests.hs | 70 +++---
+ tests/knob-tests.cabal | 22 -
+ 3 files changed, 52 insertions(+), 61 deletions(-)
+ delete mode 100644 tests/knob-tests.cabal
+
+diff --git a/knob.cabal b/knob.cabal
+index 85d4e10..246b185 100644
+--- a/knob.cabal
 b/knob.cabal
+@@ -5,7 +5,7 @@ license-file: license.txt
+ author: John Millikin 
+ maintainer: John Millikin 
+ build-type: Simple
+-cabal-version: >= 1.6
++cabal-version: >= 1.8
+ category: System
+ stability: experimental
+ homepage: https://john-millikin.com/software/knob/
+@@ -46,6 +46,10 @@ source-repository this
+   location: https://john-millikin.com/branches/knob/0.1/
+   tag: knob_0.1.1
+ 
++flag coverage
++  default: False
++  manual: True
++
+ library
+   hs-source-dirs: lib
+   ghc-options: -Wall -O2
+@@ -57,3 +61,18 @@ library
+ 
+   exposed-modules:
+ Data.Knob
++
++test-suite knob_tests
++  type: exitcode-stdio-1.0
++  main-is: tests/KnobTests.hs
++  ghc-options: -Wall
++
++  if flag(coverage)
++ghc-options: -fhpc
++
++  build-depends:
++  base >= 4.2 && < 5.0
++, bytestring >= 0.9 && < 0.11
++, chell >= 0.2 && < 0.6
++, transformers >= 0.2 && < 0.6
++, knob
+diff --git a/tests/KnobTests.hs b/tests/KnobTests.hs
+index f5a06d4..b8e4d61 100644
+--- a/tests/KnobTests.hs
 b/tests/KnobTests.hs
+@@ -21,45 +21,42 @@ import   Test.Chell
+ import   Data.Knob
+ 
+ main :: IO ()
+-main = Test.Chell.defaultMain tests
++main = Test.Chell.defaultMain [tests]
+ 
+-tests :: [S

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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:19:00
  Author: felixonmars
Revision: 1084542

upgpkg: haskell-knob 0.1.1-44: rebuild with tasty 1.4.2.1

Modified:
  haskell-knob/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:18:20 UTC (rev 1084541)
+++ PKGBUILD2021-12-27 23:19:00 UTC (rev 1084542)
@@ -4,7 +4,7 @@
 _hkgname=knob
 pkgname=haskell-knob
 pkgver=0.1.1
-pkgrel=43
+pkgrel=44
 pkgdesc="Memory-backed handles"
 url="https://github.com/felixonmars/knob";
 license=("MIT")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:18:20
  Author: felixonmars
Revision: 1084541

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unordered-containers/repos/community-staging-x86_64/
  haskell-unordered-containers/repos/community-staging-x86_64/PKGBUILD
(from rev 1084540, haskell-unordered-containers/trunk/PKGBUILD)

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

Copied: haskell-unordered-containers/repos/community-staging-x86_64/PKGBUILD 
(from rev 1084540, haskell-unordered-containers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:18:20 UTC (rev 1084541)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+# Contributor: Martin Harvan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=unordered-containers
+pkgname=haskell-unordered-containers
+pkgver=0.2.14.0
+pkgrel=31
+pkgdesc="Efficient hashing-based container types"
+url="https://github.com/haskell-unordered-containers/unordered-containers";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable')
+makedepends=('ghc' 'haskell-chasingbottoms' '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=('e6ce8d37478db96dedfed2a06b8b7e25dbda275e4ca8523827e8bd8ca2816b3a96f26ea22f2d291bb89b87cf675c706f6b15759dc4e17a63ad94ad63704bc2bf')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-debug
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:18:13
  Author: felixonmars
Revision: 1084540

upgpkg: haskell-unordered-containers 0.2.14.0-31: rebuild with tasty 1.4.2.1

Modified:
  haskell-unordered-containers/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:16:25 UTC (rev 1084539)
+++ PKGBUILD2021-12-27 23:18:13 UTC (rev 1084540)
@@ -7,7 +7,7 @@
 _hkgname=unordered-containers
 pkgname=haskell-unordered-containers
 pkgver=0.2.14.0
-pkgrel=30
+pkgrel=31
 pkgdesc="Efficient hashing-based container types"
 url="https://github.com/haskell-unordered-containers/unordered-containers";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:16:25
  Author: felixonmars
Revision: 1084539

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mueval/repos/community-staging-x86_64/PKGBUILD (from rev 
1084538, haskell-mueval/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:16:25 UTC (rev 1084539)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mueval
+pkgname=haskell-mueval
+pkgver=0.9.3
+pkgrel=99
+pkgdesc="Safely evaluate pure Haskell expressions"
+url="https://github.com/gwern/mueval";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-extensible-exceptions' 
'haskell-hint'
+ 'haskell-show' 'haskell-simple-reflect')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('f72a8bbaffecaeb55b67d78011e182073be8ba9f4a90824903e4c78cfe6e1ef7')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/ -static//' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-mueval/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:16:18
  Author: felixonmars
Revision: 1084538

upgpkg: haskell-mueval 0.9.3-99: rebuild with tasty 1.4.2.1

Modified:
  haskell-mueval/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:15:30 UTC (rev 1084537)
+++ PKGBUILD2021-12-27 23:16:18 UTC (rev 1084538)
@@ -3,7 +3,7 @@
 _hkgname=mueval
 pkgname=haskell-mueval
 pkgver=0.9.3
-pkgrel=98
+pkgrel=99
 pkgdesc="Safely evaluate pure Haskell expressions"
 url="https://github.com/gwern/mueval";
 license=("BSD")



[arch-commits] Commit in haskell-th-reify-many/repos (2 files)

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:15:30
  Author: felixonmars
Revision: 1084537

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-th-reify-many/repos/community-staging-x86_64/
  haskell-th-reify-many/repos/community-staging-x86_64/PKGBUILD
(from rev 1084536, haskell-th-reify-many/trunk/PKGBUILD)

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

Copied: haskell-th-reify-many/repos/community-staging-x86_64/PKGBUILD (from rev 
1084536, haskell-th-reify-many/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:15:30 UTC (rev 1084537)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=th-reify-many
+pkgname=haskell-th-reify-many
+pkgver=0.1.10
+pkgrel=18
+pkgdesc="Recurseively reify template haskell datatype info"
+url="https://github.com/mgsloan/th-reify-many";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-safe' 'haskell-th-expand-syns')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9c5b64e791a0649d7e05a471cfc1b6e84e50c90a3711ffd7304c2bd8af9623ba3c026e68fb36bc0497f9f67e18ad2d76902d96fa98220399e8feaac2b09d51be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-th-reify-many/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:15:23
  Author: felixonmars
Revision: 1084536

upgpkg: haskell-th-reify-many 0.1.10-18: rebuild with tasty 1.4.2.1

Modified:
  haskell-th-reify-many/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:14:50 UTC (rev 1084535)
+++ PKGBUILD2021-12-27 23:15:23 UTC (rev 1084536)
@@ -3,7 +3,7 @@
 _hkgname=th-reify-many
 pkgname=haskell-th-reify-many
 pkgver=0.1.10
-pkgrel=17
+pkgrel=18
 pkgdesc="Recurseively reify template haskell datatype info"
 url="https://github.com/mgsloan/th-reify-many";
 license=('BSD')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:14:50
  Author: felixonmars
Revision: 1084535

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-flexible-defaults/repos/community-staging-x86_64/
  haskell-flexible-defaults/repos/community-staging-x86_64/PKGBUILD
(from rev 1084534, haskell-flexible-defaults/trunk/PKGBUILD)

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

Copied: haskell-flexible-defaults/repos/community-staging-x86_64/PKGBUILD (from 
rev 1084534, haskell-flexible-defaults/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:14:50 UTC (rev 1084535)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+
+_hkgname=flexible-defaults
+pkgname=haskell-flexible-defaults
+pkgver=0.0.3
+pkgrel=66
+pkgdesc="Generate default function implementations for complex type classes."
+url="https://github.com/peti/flexible-defaults";
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-th-extras')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('6586f6fce40e64f95e6d3de6d0730f9fe6668825d0dfd81336842fa8c62a630b')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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"
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:14:43
  Author: felixonmars
Revision: 1084534

upgpkg: haskell-flexible-defaults 0.0.3-66: rebuild with tasty 1.4.2.1

Modified:
  haskell-flexible-defaults/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:14:09 UTC (rev 1084533)
+++ PKGBUILD2021-12-27 23:14:43 UTC (rev 1084534)
@@ -3,7 +3,7 @@
 _hkgname=flexible-defaults
 pkgname=haskell-flexible-defaults
 pkgver=0.0.3
-pkgrel=65
+pkgrel=66
 pkgdesc="Generate default function implementations for complex type classes."
 url="https://github.com/peti/flexible-defaults";
 license=("custom:PublicDomain")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:14:09
  Author: felixonmars
Revision: 1084533

archrelease: copy trunk to community-staging-x86_64

Added:
  cabal-fmt/repos/community-staging-x86_64/
  cabal-fmt/repos/community-staging-x86_64/PKGBUILD
(from rev 1084532, cabal-fmt/trunk/PKGBUILD)
  cabal-fmt/repos/community-staging-x86_64/cabal-fmt-cabal-3.4.patch
(from rev 1084532, cabal-fmt/trunk/cabal-fmt-cabal-3.4.patch)

---+
 PKGBUILD  |   53 +
 cabal-fmt-cabal-3.4.patch |  234 
 2 files changed, 287 insertions(+)

Copied: cabal-fmt/repos/community-staging-x86_64/PKGBUILD (from rev 1084532, 
cabal-fmt/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:14:09 UTC (rev 1084533)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+pkgname=cabal-fmt
+pkgver=0.1.5.1
+pkgrel=23
+pkgdesc="Format .cabal files"
+url="https://github.com/phadej/cabal-fmt.git";
+license=("GPL" "BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-optparse-applicative')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-golden')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";
+cabal-fmt-cabal-3.4.patch)
+sha256sums=('a7fc6f0ff8b36ddd329b01237c0e9a6eda835be9439e434470d69a4511611f7d'
+'fb74dd7cfc650ed09f763bd11e929a9bd192447df9b55f2b13fd5c3f2a5fa102')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../cabal-fmt-cabal-3.4.patch
+  gen-setup
+  uusi -u base $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=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Copied: cabal-fmt/repos/community-staging-x86_64/cabal-fmt-cabal-3.4.patch 
(from rev 1084532, cabal-fmt/trunk/cabal-fmt-cabal-3.4.patch)
===
--- community-staging-x86_64/cabal-fmt-cabal-3.4.patch  
(rev 0)
+++ community-staging-x86_64/cabal-fmt-cabal-3.4.patch  2021-12-27 23:14:09 UTC 
(rev 1084533)
@@ -0,0 +1,234 @@
+From 842630f70adb5397245109f77dba07662836e964 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Mon, 15 Feb 2021 00:52:40 +0200
+Subject: [PATCH 1/2] Move to Cabal-3.4
+
+---
+ cabal-fmt.cabal |  2 +-
+ fixtures/simple-example.format  |  2 +-
+ src/CabalFmt.hs | 17 +++--
+ src/CabalFmt/Fields.hs  |  8 +++-
+ src/CabalFmt/Fields/BuildDepends.hs |  4 ++--
+ src/CabalFmt/Fields/Extensions.hs   | 12 ++--
+ src/CabalFmt/Fields/Modules.hs  | 12 ++--
+ src/CabalFmt/Fields/SourceFiles.hs  | 10 +-
+ src/CabalFmt/Fields/TestedWith.hs   |  2 +-
+ 9 files changed, 36 insertions(+), 33 deletions(-)
+
+diff --git a/cabal-fmt.cabal b/cabal-fmt.cabal
+index 3f73769..5f0ef0e 100644
+--- a/cabal-fmt.cabal
 b/cabal-fmt.cabal
+@@ -30,7 +30,7 @@ library cabal-fmt-internal
+   build-depends:
+ , base^>=4.11.1.0 || ^>=4.12.0.0 || ^>=4.13.0.0 || ^>=4.14.0.0
+ , bytestring  ^>=0.10.8.2
+-, Cabal   ^>=3.2.0.0
++, Cabal   ^>=3.4.0.0
+ , containers  ^>=0.5.11.0 || ^>=0.6.0.1
+ , directory   ^>=1.3.1.5
+ , filepath^>=1.4.2
+diff --git a/fixtures/simple-example.format b/fixtures/simple-example.format
+index 37d96b0..d821c88 100644
+--- a/fixtures/simple-example.format
 b/fixtures/simple-example.format
+@@ -66,7 +66,7 @@ library
+ , pretty
+ 
+   -- only upper bound
+-  build-depends:  foo ==0.*
++  build-depends:  foo <1
+   build-depends:  foo <2
+   build-depends:
+   abc  <1
+diff --git a/src/CabalFmt.hs b/src/CabalFmt.hs
+index 7742bc6..f95f175 100644
+--- a/src/CabalFmt.hs
 b/src/CabalFmt.hs
+@@ -27,7 +27,6 @@ import qualified Distribution.Types.Condition
 as C
+ import qualified Distri

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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:14:01
  Author: felixonmars
Revision: 1084532

upgpkg: cabal-fmt 0.1.5.1-23: rebuild with tasty 1.4.2.1

Modified:
  cabal-fmt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:13:15 UTC (rev 1084531)
+++ PKGBUILD2021-12-27 23:14:01 UTC (rev 1084532)
@@ -2,7 +2,7 @@
 
 pkgname=cabal-fmt
 pkgver=0.1.5.1
-pkgrel=22
+pkgrel=23
 pkgdesc="Format .cabal files"
 url="https://github.com/phadej/cabal-fmt.git";
 license=("GPL" "BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:13:15
  Author: felixonmars
Revision: 1084531

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-doclayout/repos/community-staging-x86_64/PKGBUILD (from rev 
1084530, haskell-doclayout/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:13:15 UTC (rev 1084531)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=doclayout
+pkgname=haskell-doclayout
+pkgver=0.3.0.2
+pkgrel=43
+pkgdesc="A prettyprinting library for laying out text documents"
+url="https://github.com/jgm/doclayout";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-safe')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-golden' 
'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('5f777b66c5bb589021ce6f74e4cb4520a5078621cbcc62bc4eb8b73d54771f18523dfe40935f83553a5a4244219a86b6af22e7e3f33d251b3c567f91bb9596c0')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:13:07
  Author: felixonmars
Revision: 1084530

upgpkg: haskell-doclayout 0.3.0.2-43: rebuild with tasty 1.4.2.1

Modified:
  haskell-doclayout/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:12:22 UTC (rev 1084529)
+++ PKGBUILD2021-12-27 23:13:07 UTC (rev 1084530)
@@ -3,7 +3,7 @@
 _hkgname=doclayout
 pkgname=haskell-doclayout
 pkgver=0.3.0.2
-pkgrel=42
+pkgrel=43
 pkgdesc="A prettyprinting library for laying out text documents"
 url="https://github.com/jgm/doclayout";
 license=('BSD')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:12:22
  Author: felixonmars
Revision: 1084529

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-src-exts/repos/community-staging-x86_64/
  haskell-src-exts/repos/community-staging-x86_64/PKGBUILD
(from rev 1084528, haskell-src-exts/trunk/PKGBUILD)

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

Copied: haskell-src-exts/repos/community-staging-x86_64/PKGBUILD (from rev 
1084528, haskell-src-exts/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:12:22 UTC (rev 1084529)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=haskell-src-exts
+pkgname=haskell-src-exts
+pkgver=1.23.1
+pkgrel=118
+pkgdesc="Manipulating Haskell source: abstract syntax, lexer, parser, and 
pretty-printer"
+url="https://github.com/haskell-suite/haskell-src-exts";
+license=("custom:BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'happy' 'haskell-pretty-show' 'haskell-smallcheck' 
'haskell-tasty'
+ 'haskell-tasty-golden' 'haskell-tasty-smallcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('c9e6e4d93c2b4ee84d57707aed526291b5c4e297f06a3921257feb0c1df3bb095addd4b1d9bb187650490364647385ab6322e4fc54f9a7648da439a34329d734')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/haskell-suite/haskell-src-exts/issues/448
+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-src-exts/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:12:15
  Author: felixonmars
Revision: 1084528

upgpkg: haskell-src-exts 1.23.1-118: rebuild with tasty 1.4.2.1

Modified:
  haskell-src-exts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:05:48 UTC (rev 1084527)
+++ PKGBUILD2021-12-27 23:12:15 UTC (rev 1084528)
@@ -4,7 +4,7 @@
 _hkgname=haskell-src-exts
 pkgname=haskell-src-exts
 pkgver=1.23.1
-pkgrel=117
+pkgrel=118
 pkgdesc="Manipulating Haskell source: abstract syntax, lexer, parser, and 
pretty-printer"
 url="https://github.com/haskell-suite/haskell-src-exts";
 license=("custom:BSD")



[arch-commits] Commit in haskell-ghc-typelits-knownnat/repos (2 files)

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:05:48
  Author: felixonmars
Revision: 1084527

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-typelits-knownnat/repos/community-staging-x86_64/
  haskell-ghc-typelits-knownnat/repos/community-staging-x86_64/PKGBUILD
(from rev 1084526, haskell-ghc-typelits-knownnat/trunk/PKGBUILD)

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

Copied: haskell-ghc-typelits-knownnat/repos/community-staging-x86_64/PKGBUILD 
(from rev 1084526, haskell-ghc-typelits-knownnat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:05:48 UTC (rev 1084527)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-typelits-knownnat
+pkgname=haskell-ghc-typelits-knownnat
+pkgver=0.7.6
+pkgrel=23
+pkgdesc="Derive KnownNat constraints from other KnownNat constraints"
+url="https://github.com/clash-lang/ghc-typelits-knownnat";
+license=('custom:BSD2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-tcplugins-extra' 
'haskell-ghc-typelits-natnormalise')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('fb28d20022afa4667506bf293148e018d2d8db32a812090baf0828bce62e8a032f432622d825610f5f34544a5319e144c3999789c1b4ea14f26fb5edc61bd208')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-ghc-typelits-knownnat/trunk (PKGBUILD)

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:05:40
  Author: felixonmars
Revision: 1084526

upgpkg: haskell-ghc-typelits-knownnat 0.7.6-23: rebuild with tasty 1.4.2.1

Modified:
  haskell-ghc-typelits-knownnat/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:05:00 UTC (rev 1084525)
+++ PKGBUILD2021-12-27 23:05:40 UTC (rev 1084526)
@@ -3,7 +3,7 @@
 _hkgname=ghc-typelits-knownnat
 pkgname=haskell-ghc-typelits-knownnat
 pkgver=0.7.6
-pkgrel=22
+pkgrel=23
 pkgdesc="Derive KnownNat constraints from other KnownNat constraints"
 url="https://github.com/clash-lang/ghc-typelits-knownnat";
 license=('custom:BSD2')



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:05:00
  Author: felixonmars
Revision: 1084525

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-network-uri/repos/community-staging-x86_64/
  haskell-network-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 1084524, haskell-network-uri/trunk/PKGBUILD)

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

Copied: haskell-network-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
1084524, haskell-network-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:05:00 UTC (rev 1084525)
@@ -0,0 +1,49 @@
+# Maintainer: Jelle van der Waa 
+
+_hkgname=network-uri
+pkgname=haskell-network-uri
+pkgver=2.6.4.1
+pkgrel=53
+pkgdesc="A library for client-side HTTP"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-th-compat')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hunit' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('8e5b01fd11197ac36de9b804d37256662f904f2b94a997a2e262439bb1706d1c460db368e935bf3971fd1581162abbc07439a0bae391e1e616264bd00fe7104e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:04:52
  Author: felixonmars
Revision: 1084524

upgpkg: haskell-network-uri 2.6.4.1-53: rebuild with tasty 1.4.2.1

Modified:
  haskell-network-uri/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:03:57 UTC (rev 1084523)
+++ PKGBUILD2021-12-27 23:04:52 UTC (rev 1084524)
@@ -3,7 +3,7 @@
 _hkgname=network-uri
 pkgname=haskell-network-uri
 pkgver=2.6.4.1
-pkgrel=52
+pkgrel=53
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('BSD')



[arch-commits] Commit in haskell-th-env/repos (3 files)

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:03:57
  Author: felixonmars
Revision: 1084523

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-th-env/repos/community-staging-x86_64/
  haskell-th-env/repos/community-staging-x86_64/PKGBUILD
(from rev 1084522, haskell-th-env/trunk/PKGBUILD)
  haskell-th-env/repos/community-staging-x86_64/ghc9.patch
(from rev 1084522, haskell-th-env/trunk/ghc9.patch)

+
 PKGBUILD   |   52 
 ghc9.patch |   25 +
 2 files changed, 77 insertions(+)

Copied: haskell-th-env/repos/community-staging-x86_64/PKGBUILD (from rev 
1084522, haskell-th-env/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:03:57 UTC (rev 1084523)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=th-env
+pkgname=haskell-th-env
+pkgver=0.1.0.2
+pkgrel=64
+pkgdesc="Template Haskell splice that expands to an environment variable"
+url="https://github.com/dzhus/th-env#readme";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-th-compat')
+makedepends=('ghc' 'haskell-markdown-unlit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";
+ghc9.patch)
+sha256sums=('c0d29be2104dd0964f534637841b8ceb665d594b02318062aa4a245ccb353a8f'
+'67f0ed6d9e5e84e81f679fbb394aeb7ac04b1a4a8de9ddb3ad37455bd74a6cf0')
+
+prepare() {
+  patch -d $_hkgname-$pkgver -p1 < ghc9.patch
+  sed -i '/template-haskell/a \, th-compat' 
$_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Copied: haskell-th-env/repos/community-staging-x86_64/ghc9.patch (from rev 
1084522, haskell-th-env/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2021-12-27 23:03:57 UTC (rev 1084523)
@@ -0,0 +1,25 @@
+diff --git a/src/Language/Haskell/TH/Env.hs b/src/Language/Haskell/TH/Env.hs
+index 38859e2..62c88fe 100644
+--- a/src/Language/Haskell/TH/Env.hs
 b/src/Language/Haskell/TH/Env.hs
+@@ -8,6 +8,7 @@ where
+ 
+ import Data.String
+ import Language.Haskell.TH
++import Language.Haskell.TH.Syntax.Compat
+ import System.Environment
+ 
+ -- | Produce a typed expression with the current value of an
+@@ -15,8 +16,8 @@ import System.Environment
+ envQ :: IsString a
+  => String
+  -- ^ Environment variable name.
+- -> TExpQ (Maybe a)
+-envQ name =
++ -> SpliceQ (Maybe a)
++envQ name = liftSplice $
+   runIO (lookupEnv name) >>= \case
+-Just v  -> [|| Just (fromString v) ||]
+-Nothing -> [|| Nothing ||]
++Just v  -> fromCode $ toCode [|| Just (fromString v) ||]
++Nothing -> fromCode $ toCode [|| Nothing ||]



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:03:46
  Author: felixonmars
Revision: 1084522

upgpkg: haskell-th-env 0.1.0.2-64: rebuild with tasty 1.4.2.1

Modified:
  haskell-th-env/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:03:14 UTC (rev 1084521)
+++ PKGBUILD2021-12-27 23:03:46 UTC (rev 1084522)
@@ -3,7 +3,7 @@
 _hkgname=th-env
 pkgname=haskell-th-env
 pkgver=0.1.0.2
-pkgrel=63
+pkgrel=64
 pkgdesc="Template Haskell splice that expands to an environment variable"
 url="https://github.com/dzhus/th-env#readme";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:03:14
  Author: felixonmars
Revision: 1084521

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-equivalence/repos/community-staging-x86_64/PKGBUILD (from rev 
1084520, haskell-equivalence/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:03:14 UTC (rev 1084521)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=equivalence
+pkgname=haskell-equivalence
+pkgver=0.3.5
+pkgrel=137
+pkgdesc="Maintaining an equivalence relation implemented as union-find using 
STT."
+url="https://bitbucket.org/paba/equivalence/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-stmonadtrans" "haskell-transformers-compat")
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('f8a073c9ddc49a8c1d60a280b84f97947a23ed6a021b92d4028100ed308cf1dfcd0b26889a6cbbde0e77f00b777b2d1af0fa2410422641e0a03395692a9ebefc')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/, fail//' -e '/fail/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:03:07
  Author: felixonmars
Revision: 1084520

upgpkg: haskell-equivalence 0.3.5-137: rebuild with tasty 1.4.2.1

Modified:
  haskell-equivalence/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 23:02:20 UTC (rev 1084519)
+++ PKGBUILD2021-12-27 23:03:07 UTC (rev 1084520)
@@ -4,7 +4,7 @@
 _hkgname=equivalence
 pkgname=haskell-equivalence
 pkgver=0.3.5
-pkgrel=136
+pkgrel=137
 pkgdesc="Maintaining an equivalence relation implemented as union-find using 
STT."
 url="https://bitbucket.org/paba/equivalence/";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:02:12
  Author: felixonmars
Revision: 1084518

upgpkg: haskell-juicypixels 3.3.6-8: rebuild with tasty 1.4.2.1

Modified:
  haskell-juicypixels/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-27 22:59:38 UTC (rev 1084517)
+++ PKGBUILD2021-12-27 23:02:12 UTC (rev 1084518)
@@ -4,7 +4,7 @@
 _hkgname=JuicyPixels
 pkgname=haskell-juicypixels
 pkgver=3.3.6
-pkgrel=7
+pkgrel=8
 pkgdesc="Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff 
and radiance)"
 url="https://github.com/Twinside/Juicy.Pixels";
 license=("BSD")



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 23:02:20
  Author: felixonmars
Revision: 1084519

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-juicypixels/repos/community-staging-x86_64/PKGBUILD (from rev 
1084518, haskell-juicypixels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 23:02:20 UTC (rev 1084519)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=JuicyPixels
+pkgname=haskell-juicypixels
+pkgver=3.3.6
+pkgrel=8
+pkgdesc="Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff 
and radiance)"
+url="https://github.com/Twinside/Juicy.Pixels";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-primitive" "haskell-vector" "haskell-zlib")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('13d571cc23933748390f7566ce67d2ac2f2a2364f835ce67e96bdd234b2cf4606ad0cab729ae2e30bc5b1ff5bbca7ef9ceb0fd09b919f5f9522d3dc86cae7040')
+
+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 
--ghc-option=-fllvm \
+-f-mmap
+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
+}



  1   2   3   4   5   6   >