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

2022-09-08 Thread Felix Yan via arch-commits
Date: Thursday, September 8, 2022 @ 09:45:20
  Author: felixonmars
Revision: 1296422

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-08 09:45:03 UTC (rev 1296421)
+++ PKGBUILD2022-09-08 09:45:20 UTC (rev 1296422)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=367
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1296421, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-08 09:45:20 UTC (rev 1296422)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=368
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+  

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

2022-09-06 Thread Felix Yan via arch-commits
Date: Tuesday, September 6, 2022 @ 19:23:08
  Author: felixonmars
Revision: 1294659

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 19:22:52 UTC (rev 1294658)
+++ PKGBUILD2022-09-06 19:23:08 UTC (rev 1294659)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=365
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1294658, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 19:23:08 UTC (rev 1294659)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=366
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+   

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

2022-09-03 Thread Felix Yan via arch-commits
Date: Saturday, September 3, 2022 @ 09:56:55
  Author: felixonmars
Revision: 1291464

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-03 09:56:41 UTC (rev 1291463)
+++ PKGBUILD2022-09-03 09:56:55 UTC (rev 1291464)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=363
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1291463, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-03 09:56:55 UTC (rev 1291464)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=364
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+  

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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 16:30:55
  Author: felixonmars
Revision: 1283138

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-26 16:30:40 UTC (rev 1283137)
+++ PKGBUILD2022-08-26 16:30:55 UTC (rev 1283138)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=358
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1283137, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-26 16:30:55 UTC (rev 1283138)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=359
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+  

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

2022-08-24 Thread Felix Yan via arch-commits
Date: Thursday, August 25, 2022 @ 00:03:58
  Author: felixonmars
Revision: 1278081

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-25 00:03:38 UTC (rev 1278080)
+++ PKGBUILD2022-08-25 00:03:58 UTC (rev 1278081)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=354
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1278080, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-25 00:03:58 UTC (rev 1278081)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=355
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+

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

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 17:32:31
  Author: felixonmars
Revision: 1273103

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-21 17:32:17 UTC (rev 1273102)
+++ PKGBUILD2022-08-21 17:32:31 UTC (rev 1273103)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=351
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1273102, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-21 17:32:31 UTC (rev 1273103)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=352
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+  

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

2022-08-19 Thread Felix Yan via arch-commits
Date: Friday, August 19, 2022 @ 07:51:29
  Author: felixonmars
Revision: 1269554

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-19 07:51:15 UTC (rev 1269553)
+++ PKGBUILD2022-08-19 07:51:29 UTC (rev 1269554)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=348
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1269553, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-19 07:51:29 UTC (rev 1269554)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=349
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+  

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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 13:03:51
  Author: felixonmars
Revision: 1267337

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-18 13:03:39 UTC (rev 1267336)
+++ PKGBUILD2022-08-18 13:03:51 UTC (rev 1267337)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=346
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1267336, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-18 13:03:51 UTC (rev 1267337)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=347
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+

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

2022-08-09 Thread Felix Yan via arch-commits
Date: Tuesday, August 9, 2022 @ 17:10:48
  Author: felixonmars
Revision: 1264087

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-09 17:10:34 UTC (rev 1264086)
+++ PKGBUILD2022-08-09 17:10:48 UTC (rev 1264087)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=344
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1264086, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-09 17:10:48 UTC (rev 1264087)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=345
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+  

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

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 19:04:05
  Author: felixonmars
Revision: 1262027

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-08 19:03:51 UTC (rev 1262026)
+++ PKGBUILD2022-08-08 19:04:05 UTC (rev 1262027)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=342
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1262026, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-08 19:04:05 UTC (rev 1262027)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=343
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+   

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

2022-07-25 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 10:19:22
  Author: felixonmars
Revision: 1257359

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-07-25 10:19:10 UTC (rev 1257358)
+++ PKGBUILD2022-07-25 10:19:22 UTC (rev 1257359)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=340
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1257358, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-07-25 10:19:22 UTC (rev 1257359)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=341
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+

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

2022-07-06 Thread Felix Yan via arch-commits
Date: Wednesday, July 6, 2022 @ 23:28:35
  Author: felixonmars
Revision: 1247169

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-07-06 23:28:22 UTC (rev 1247168)
+++ PKGBUILD2022-07-06 23:28:35 UTC (rev 1247169)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=336
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1247168, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-07-06 23:28:35 UTC (rev 1247169)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=337
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+  

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

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 22:52:32
  Author: felixonmars
Revision: 1241722

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-29 22:52:18 UTC (rev 1241721)
+++ PKGBUILD2022-06-29 22:52:32 UTC (rev 1241722)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=333
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1241721, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-29 22:52:32 UTC (rev 1241722)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=334
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+ 

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

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 22:18:38
  Author: felixonmars
Revision: 1231733

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-10 22:18:25 UTC (rev 1231732)
+++ PKGBUILD2022-06-10 22:18:38 UTC (rev 1231733)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=329
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1231732, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-10 22:18:38 UTC (rev 1231733)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=330
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+

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

2022-06-09 Thread Felix Yan via arch-commits
Date: Thursday, June 9, 2022 @ 21:04:57
  Author: felixonmars
Revision: 1229848

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-09 21:04:43 UTC (rev 1229847)
+++ PKGBUILD2022-06-09 21:04:57 UTC (rev 1229848)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=327
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1229847, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-09 21:04:57 UTC (rev 1229848)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=328
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base -u unix-compat 
$_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+   

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

2022-06-04 Thread Felix Yan via arch-commits
Date: Saturday, June 4, 2022 @ 19:01:15
  Author: felixonmars
Revision: 1221998

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-04 19:01:03 UTC (rev 1221997)
+++ PKGBUILD2022-06-04 19:01:15 UTC (rev 1221998)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=322
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1221997, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-04 19:01:15 UTC (rev 1221998)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=323
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+

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

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 11:43:24
  Author: felixonmars
Revision: 1220275

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-03 11:43:12 UTC (rev 1220274)
+++ PKGBUILD2022-06-03 11:43:24 UTC (rev 1220275)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=320
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1220274, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-03 11:43:24 UTC (rev 1220275)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=321
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi

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

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 11:40:30
  Author: felixonmars
Revision: 1216148

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-30 11:40:18 UTC (rev 1216147)
+++ PKGBUILD2022-05-30 11:40:30 UTC (rev 1216148)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=318
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1216147, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-30 11:40:30 UTC (rev 1216148)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=319
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi

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

2022-05-14 Thread Felix Yan via arch-commits
Date: Sunday, May 15, 2022 @ 02:09:05
  Author: felixonmars
Revision: 1205773

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-15 02:08:51 UTC (rev 1205772)
+++ PKGBUILD2022-05-15 02:09:05 UTC (rev 1205773)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=314
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1205772, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-15 02:09:05 UTC (rev 1205773)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=315
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi

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

2022-05-14 Thread Felix Yan via arch-commits
Date: Sunday, May 15, 2022 @ 01:53:14
  Author: felixonmars
Revision: 1205691

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-15 01:53:01 UTC (rev 1205690)
+++ PKGBUILD2022-05-15 01:53:14 UTC (rev 1205691)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=313
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1205690, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-15 01:53:14 UTC (rev 1205691)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=314
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi

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

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 14:48:25
  Author: felixonmars
Revision: 1204961

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 14:48:12 UTC (rev 1204960)
+++ PKGBUILD2022-05-14 14:48:25 UTC (rev 1204961)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=312
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1204960, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 14:48:25 UTC (rev 1204961)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=313
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+

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

2022-05-12 Thread Felix Yan via arch-commits
Date: Thursday, May 12, 2022 @ 09:31:01
  Author: felixonmars
Revision: 1198756

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-12 09:30:48 UTC (rev 1198755)
+++ PKGBUILD2022-05-12 09:31:01 UTC (rev 1198756)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=309
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1198755, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-12 09:31:01 UTC (rev 1198756)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=310
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+

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

2022-05-10 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 13:12:23
  Author: felixonmars
Revision: 1197932

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-10 13:12:11 UTC (rev 1197931)
+++ PKGBUILD2022-05-10 13:12:23 UTC (rev 1197932)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=307
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1197931, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-10 13:12:23 UTC (rev 1197932)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=308
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi

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

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 13:25:00
  Author: felixonmars
Revision: 1194043

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-04 13:24:49 UTC (rev 1194042)
+++ PKGBUILD2022-05-04 13:25:00 UTC (rev 1194043)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=304
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1194042, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-04 13:25:00 UTC (rev 1194043)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=305
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+

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

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 22:40:15
  Author: felixonmars
Revision: 1189047

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-23 22:40:04 UTC (rev 1189046)
+++ PKGBUILD2022-04-23 22:40:15 UTC (rev 1189047)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=302
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1189046, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-23 22:40:15 UTC (rev 1189047)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=303
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+

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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 21:13:18
  Author: felixonmars
Revision: 1181978

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-06 21:13:07 UTC (rev 1181977)
+++ PKGBUILD2022-04-06 21:13:18 UTC (rev 1181978)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=299
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1181977, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-06 21:13:18 UTC (rev 1181978)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=300
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+

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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 20:29:03
  Author: felixonmars
Revision: 1175276

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-24 20:28:50 UTC (rev 1175275)
+++ PKGBUILD2022-03-24 20:29:03 UTC (rev 1175276)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=296
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1175275, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-24 20:29:03 UTC (rev 1175276)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=297
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+

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

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 19:58:24
  Author: felixonmars
Revision: 1168245

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-21 19:58:09 UTC (rev 1168244)
+++ PKGBUILD2022-03-21 19:58:24 UTC (rev 1168245)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=293
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1168244, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-21 19:58:24 UTC (rev 1168245)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=294
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+

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

2022-03-15 Thread Felix Yan via arch-commits
Date: Tuesday, March 15, 2022 @ 11:27:58
  Author: felixonmars
Revision: 1154270

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-15 11:27:50 UTC (rev 1154269)
+++ PKGBUILD2022-03-15 11:27:58 UTC (rev 1154270)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=287
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1154269, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-15 11:27:58 UTC (rev 1154270)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=288
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-03-14 Thread Felix Yan via arch-commits
Date: Monday, March 14, 2022 @ 14:00:03
  Author: felixonmars
Revision: 1152806

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-14 13:59:55 UTC (rev 1152805)
+++ PKGBUILD2022-03-14 14:00:03 UTC (rev 1152806)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=285
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1152805, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-14 14:00:03 UTC (rev 1152806)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=286
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 17:01:28
  Author: felixonmars
Revision: 1148418

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-11 17:01:20 UTC (rev 1148417)
+++ PKGBUILD2022-03-11 17:01:28 UTC (rev 1148418)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=282
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1148417, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-11 17:01:28 UTC (rev 1148418)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=283
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-03-09 Thread Felix Yan via arch-commits
Date: Wednesday, March 9, 2022 @ 20:52:44
  Author: felixonmars
Revision: 1145762

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-09 20:52:36 UTC (rev 1145761)
+++ PKGBUILD2022-03-09 20:52:44 UTC (rev 1145762)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=280
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1145761, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-09 20:52:44 UTC (rev 1145762)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=281
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-03-03 Thread Felix Yan via arch-commits
Date: Friday, March 4, 2022 @ 03:03:03
  Author: felixonmars
Revision: 1141578

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-04 03:02:55 UTC (rev 1141577)
+++ PKGBUILD2022-03-04 03:03:03 UTC (rev 1141578)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=278
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1141577, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-04 03:03:03 UTC (rev 1141578)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=279
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-02-21 Thread Felix Yan via arch-commits
Date: Monday, February 21, 2022 @ 21:36:59
  Author: felixonmars
Revision: 1135685

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-21 21:36:50 UTC (rev 1135684)
+++ PKGBUILD2022-02-21 21:36:59 UTC (rev 1135685)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=276
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1135684, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-21 21:36:59 UTC (rev 1135685)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=277
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-02-11 Thread Felix Yan via arch-commits
Date: Friday, February 11, 2022 @ 11:41:02
  Author: felixonmars
Revision: 1131833

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-11 11:40:54 UTC (rev 1131832)
+++ PKGBUILD2022-02-11 11:41:02 UTC (rev 1131833)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=274
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1131832, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-11 11:41:02 UTC (rev 1131833)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=275
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-02-09 Thread Felix Yan via arch-commits
Date: Thursday, February 10, 2022 @ 01:01:17
  Author: felixonmars
Revision: 1130669

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-10 01:01:08 UTC (rev 1130668)
+++ PKGBUILD2022-02-10 01:01:17 UTC (rev 1130669)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=272
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1130668, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-10 01:01:17 UTC (rev 1130669)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=273
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+

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

2022-02-08 Thread Felix Yan via arch-commits
Date: Tuesday, February 8, 2022 @ 08:52:05
  Author: felixonmars
Revision: 1129036

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-08 08:51:57 UTC (rev 1129035)
+++ PKGBUILD2022-02-08 08:52:05 UTC (rev 1129036)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=270
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1129035, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-08 08:52:05 UTC (rev 1129036)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=271
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 16:03:53
  Author: felixonmars
Revision: 1125694

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-04 16:03:45 UTC (rev 1125693)
+++ PKGBUILD2022-02-04 16:03:53 UTC (rev 1125694)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=267
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1125693, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-04 16:03:53 UTC (rev 1125694)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=268
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-02-03 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 00:37:47
  Author: felixonmars
Revision: 1125086

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-04 00:37:38 UTC (rev 1125085)
+++ PKGBUILD2022-02-04 00:37:47 UTC (rev 1125086)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=265
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1125085, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-04 00:37:47 UTC (rev 1125086)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=266
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-02-02 Thread Felix Yan via arch-commits
Date: Thursday, February 3, 2022 @ 00:11:38
  Author: felixonmars
Revision: 1123668

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-03 00:11:23 UTC (rev 1123667)
+++ PKGBUILD2022-02-03 00:11:38 UTC (rev 1123668)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=263
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1123667, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-03 00:11:38 UTC (rev 1123668)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=264
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-01-26 Thread Felix Yan via arch-commits
Date: Wednesday, January 26, 2022 @ 13:47:45
  Author: felixonmars
Revision: 1115731

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-26 13:47:36 UTC (rev 1115730)
+++ PKGBUILD2022-01-26 13:47:45 UTC (rev 1115731)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=260
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1115730, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-26 13:47:45 UTC (rev 1115731)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=261
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+

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

2022-01-21 Thread Felix Yan via arch-commits
Date: Friday, January 21, 2022 @ 20:23:39
  Author: felixonmars
Revision: 1112598

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-21 20:23:31 UTC (rev 1112597)
+++ PKGBUILD2022-01-21 20:23:39 UTC (rev 1112598)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=258
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1112597, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-21 20:23:39 UTC (rev 1112598)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=259
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-01-19 Thread Felix Yan via arch-commits
Date: Wednesday, January 19, 2022 @ 19:51:09
  Author: felixonmars
Revision: 1110597

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-19 19:51:00 UTC (rev 1110596)
+++ PKGBUILD2022-01-19 19:51:09 UTC (rev 1110597)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=255
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1110596, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-19 19:51:09 UTC (rev 1110597)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=256
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+

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

2022-01-18 Thread Felix Yan via arch-commits
Date: Tuesday, January 18, 2022 @ 14:38:00
  Author: felixonmars
Revision: 1108994

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-18 14:37:52 UTC (rev 1108993)
+++ PKGBUILD2022-01-18 14:38:00 UTC (rev 1108994)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=253
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1108993, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-18 14:38:00 UTC (rev 1108994)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=254
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-01-14 Thread Felix Yan via arch-commits
Date: Friday, January 14, 2022 @ 17:26:26
  Author: felixonmars
Revision: 1103353

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-14 17:26:18 UTC (rev 1103352)
+++ PKGBUILD2022-01-14 17:26:26 UTC (rev 1103353)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=249
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1103352, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-14 17:26:26 UTC (rev 1103353)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=250
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2022-01-08 Thread Felix Yan via arch-commits
Date: Saturday, January 8, 2022 @ 15:07:28
  Author: felixonmars
Revision: 1097081

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-08 15:07:19 UTC (rev 1097080)
+++ PKGBUILD2022-01-08 15:07:28 UTC (rev 1097081)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=245
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1097080, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-08 15:07:28 UTC (rev 1097081)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=246
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2021-12-31 Thread Felix Yan via arch-commits
Date: Friday, December 31, 2021 @ 12:06:56
  Author: felixonmars
Revision: 1090144

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-31 12:06:48 UTC (rev 1090143)
+++ PKGBUILD2021-12-31 12:06:56 UTC (rev 1090144)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=242
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1090143, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-31 12:06:56 UTC (rev 1090144)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=243
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2021-12-29 Thread Felix Yan via arch-commits
Date: Wednesday, December 29, 2021 @ 13:19:02
  Author: felixonmars
Revision: 1087171

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-29 13:18:54 UTC (rev 1087170)
+++ PKGBUILD2021-12-29 13:19:02 UTC (rev 1087171)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=240
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1087170, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-29 13:19:02 UTC (rev 1087171)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=241
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+

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

2021-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 06:24:45
  Author: felixonmars
Revision: 1085212

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-28 06:24:37 UTC (rev 1085211)
+++ PKGBUILD2021-12-28 06:24:45 UTC (rev 1085212)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=238
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1085211, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-28 06:24:45 UTC (rev 1085212)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=239
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2021-12-21 Thread Felix Yan via arch-commits
Date: Tuesday, December 21, 2021 @ 11:25:14
  Author: felixonmars
Revision: 1081406

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-21 11:25:06 UTC (rev 1081405)
+++ PKGBUILD2021-12-21 11:25:14 UTC (rev 1081406)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=236
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1081405, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-21 11:25:14 UTC (rev 1081406)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=237
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 04:57:35
  Author: felixonmars
Revision: 1079485

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-20 04:57:27 UTC (rev 1079484)
+++ PKGBUILD2021-12-20 04:57:35 UTC (rev 1079485)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=234
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1079484, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-20 04:57:35 UTC (rev 1079485)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=235
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2021-12-18 Thread Felix Yan via arch-commits
Date: Saturday, December 18, 2021 @ 22:53:51
  Author: felixonmars
Revision: 1077906

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-18 22:53:43 UTC (rev 1077905)
+++ PKGBUILD2021-12-18 22:53:51 UTC (rev 1077906)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=232
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1077905, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-18 22:53:51 UTC (rev 1077906)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=233
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+

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

2021-12-16 Thread Felix Yan via arch-commits
Date: Thursday, December 16, 2021 @ 09:48:50
  Author: felixonmars
Revision: 1074157

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-16 09:48:41 UTC (rev 1074156)
+++ PKGBUILD2021-12-16 09:48:50 UTC (rev 1074157)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=230
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1074156, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-16 09:48:50 UTC (rev 1074157)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=231
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+

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

2021-11-18 Thread Felix Yan via arch-commits
Date: Thursday, November 18, 2021 @ 19:30:59
  Author: felixonmars
Revision: 1052450

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-18 19:30:50 UTC (rev 1052449)
+++ PKGBUILD2021-11-18 19:30:59 UTC (rev 1052450)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=225
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1052449, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-18 19:30:59 UTC (rev 1052450)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=226
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+

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

2021-11-17 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 12:12:27
  Author: felixonmars
Revision: 1049945

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-17 12:12:19 UTC (rev 1049944)
+++ PKGBUILD2021-11-17 12:12:27 UTC (rev 1049945)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=223
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1049944, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-17 12:12:27 UTC (rev 1049945)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=224
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+

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

2021-11-13 Thread Felix Yan via arch-commits
Date: Saturday, November 13, 2021 @ 21:06:32
  Author: felixonmars
Revision: 1046165

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-13 21:06:24 UTC (rev 1046164)
+++ PKGBUILD2021-11-13 21:06:32 UTC (rev 1046165)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=221
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1046164, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-13 21:06:32 UTC (rev 1046165)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=222
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+

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

2021-11-12 Thread Felix Yan via arch-commits
Date: Friday, November 12, 2021 @ 10:09:28
  Author: felixonmars
Revision: 1043529

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-12 10:09:20 UTC (rev 1043528)
+++ PKGBUILD2021-11-12 10:09:28 UTC (rev 1043529)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=219
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1043528, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-12 10:09:28 UTC (rev 1043529)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=220
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2021-11-10 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 01:41:35
  Author: felixonmars
Revision: 1040816

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-11 01:41:27 UTC (rev 1040815)
+++ PKGBUILD2021-11-11 01:41:35 UTC (rev 1040816)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=217
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1040815, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-11 01:41:35 UTC (rev 1040816)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=218
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+

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

2021-09-24 Thread Felix Yan via arch-commits
Date: Friday, September 24, 2021 @ 22:09:45
  Author: felixonmars
Revision: 1024040

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-24 22:09:31 UTC (rev 1024039)
+++ PKGBUILD2021-09-24 22:09:45 UTC (rev 1024040)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=211
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1024039, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-24 22:09:45 UTC (rev 1024040)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=212
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2021-09-21 Thread Felix Yan via arch-commits
Date: Wednesday, September 22, 2021 @ 00:04:14
  Author: felixonmars
Revision: 1021265

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-22 00:04:00 UTC (rev 1021264)
+++ PKGBUILD2021-09-22 00:04:14 UTC (rev 1021265)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=209
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1021264, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-22 00:04:14 UTC (rev 1021265)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=210
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure 

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

2021-09-20 Thread Felix Yan via arch-commits
Date: Monday, September 20, 2021 @ 06:35:29
  Author: felixonmars
Revision: 1018447

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-20 06:35:13 UTC (rev 1018446)
+++ PKGBUILD2021-09-20 06:35:29 UTC (rev 1018447)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=207
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1018446, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-20 06:35:29 UTC (rev 1018447)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=208
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O 

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

2021-09-15 Thread Felix Yan via arch-commits
Date: Wednesday, September 15, 2021 @ 07:50:18
  Author: felixonmars
Revision: 1015243

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-15 07:50:10 UTC (rev 1015242)
+++ PKGBUILD2021-09-15 07:50:18 UTC (rev 1015243)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=205
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1015242, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-15 07:50:18 UTC (rev 1015243)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=206
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure 

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

2021-09-07 Thread Felix Yan via arch-commits
Date: Wednesday, September 8, 2021 @ 02:36:43
  Author: felixonmars
Revision: 1012297

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-08 02:36:29 UTC (rev 1012296)
+++ PKGBUILD2021-09-08 02:36:43 UTC (rev 1012297)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=202
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1012296, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-08 02:36:43 UTC (rev 1012297)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=203
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O 

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

2021-08-29 Thread Felix Yan via arch-commits
Date: Sunday, August 29, 2021 @ 06:18:32
  Author: felixonmars
Revision: 1008837

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-29 06:18:22 UTC (rev 1008836)
+++ PKGBUILD2021-08-29 06:18:32 UTC (rev 1008837)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=199
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1008836, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-29 06:18:32 UTC (rev 1008837)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=200
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O 

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

2021-08-26 Thread Felix Yan via arch-commits
Date: Thursday, August 26, 2021 @ 12:51:54
  Author: felixonmars
Revision: 1006069

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-26 12:51:43 UTC (rev 1006068)
+++ PKGBUILD2021-08-26 12:51:54 UTC (rev 1006069)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=197
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1006068, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-26 12:51:54 UTC (rev 1006069)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=198
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O 

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

2021-08-22 Thread Felix Yan via arch-commits
Date: Sunday, August 22, 2021 @ 10:03:14
  Author: felixonmars
Revision: 1004199

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-22 10:03:06 UTC (rev 1004198)
+++ PKGBUILD2021-08-22 10:03:14 UTC (rev 1004199)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=194
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1004198, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-22 10:03:14 UTC (rev 1004199)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=195
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O 

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

2021-08-15 Thread Felix Yan via arch-commits
Date: Monday, August 16, 2021 @ 02:01:21
  Author: felixonmars
Revision: 999825

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-16 02:01:06 UTC (rev 999824)
+++ PKGBUILD2021-08-16 02:01:21 UTC (rev 999825)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=191
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
999824, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-16 02:01:21 UTC (rev 999825)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=192
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O 

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

2021-08-08 Thread Felix Yan via arch-commits
Date: Sunday, August 8, 2021 @ 23:59:31
  Author: felixonmars
Revision: 996134

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-08 23:59:23 UTC (rev 996133)
+++ PKGBUILD2021-08-08 23:59:31 UTC (rev 996134)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=188
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
996133, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-08 23:59:31 UTC (rev 996134)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=189
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O 

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

2021-07-28 Thread Felix Yan via arch-commits
Date: Wednesday, July 28, 2021 @ 18:53:51
  Author: felixonmars
Revision: 989354

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-28 18:53:38 UTC (rev 989353)
+++ PKGBUILD2021-07-28 18:53:51 UTC (rev 989354)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=183
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
989353, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-28 18:53:51 UTC (rev 989354)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=184
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O 

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

2021-07-26 Thread Felix Yan via arch-commits
Date: Tuesday, July 27, 2021 @ 01:16:00
  Author: felixonmars
Revision: 986358

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-27 01:15:49 UTC (rev 986357)
+++ PKGBUILD2021-07-27 01:16:00 UTC (rev 986358)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=180
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
986357, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-27 01:16:00 UTC (rev 986358)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=181
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O 

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

2021-07-06 Thread Felix Yan via arch-commits
Date: Wednesday, July 7, 2021 @ 02:48:27
  Author: felixonmars
Revision: 973845

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-07 02:48:16 UTC (rev 973844)
+++ PKGBUILD2021-07-07 02:48:27 UTC (rev 973845)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=176
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapfamework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
973844, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-07 02:48:27 UTC (rev 973845)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=177
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O 

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

2021-06-15 Thread Felix Yan via arch-commits
Date: Tuesday, June 15, 2021 @ 07:06:55
  Author: felixonmars
Revision: 963741

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-06-15 07:06:40 UTC (rev 963740)
+++ PKGBUILD2021-06-15 07:06:55 UTC (rev 963741)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=171
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
963740, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-06-15 07:06:55 UTC (rev 963741)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=172
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-06-10 Thread Felix Yan via arch-commits
Date: Thursday, June 10, 2021 @ 16:56:41
  Author: felixonmars
Revision: 961501

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-06-10 16:56:29 UTC (rev 961500)
+++ PKGBUILD2021-06-10 16:56:41 UTC (rev 961501)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=169
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
961500, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-06-10 16:56:41 UTC (rev 961501)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=170
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-06-02 Thread Felix Yan via arch-commits
Date: Thursday, June 3, 2021 @ 05:47:06
  Author: felixonmars
Revision: 954632

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-06-03 05:46:55 UTC (rev 954631)
+++ PKGBUILD2021-06-03 05:47:06 UTC (rev 954632)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=166
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
954631, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-06-03 05:47:06 UTC (rev 954632)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=167
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 03:43:14
  Author: felixonmars
Revision: 947955

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-27 03:43:03 UTC (rev 947954)
+++ PKGBUILD2021-05-27 03:43:14 UTC (rev 947955)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=163
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
947954, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-27 03:43:14 UTC (rev 947955)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=164
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-05-25 Thread Felix Yan via arch-commits
Date: Tuesday, May 25, 2021 @ 06:10:25
  Author: felixonmars
Revision: 945377

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-25 06:10:10 UTC (rev 945376)
+++ PKGBUILD2021-05-25 06:10:25 UTC (rev 945377)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=161
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
945376, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-25 06:10:25 UTC (rev 945377)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=162
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-05-23 Thread Felix Yan via arch-commits
Date: Sunday, May 23, 2021 @ 14:36:15
  Author: felixonmars
Revision: 943409

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-23 14:36:06 UTC (rev 943408)
+++ PKGBUILD2021-05-23 14:36:15 UTC (rev 943409)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=159
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
943408, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-23 14:36:15 UTC (rev 943409)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=160
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-05-21 Thread Felix Yan via arch-commits
Date: Friday, May 21, 2021 @ 15:12:13
  Author: felixonmars
Revision: 940712

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-21 15:12:07 UTC (rev 940711)
+++ PKGBUILD2021-05-21 15:12:13 UTC (rev 940712)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=156
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
940710, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-21 15:12:13 UTC (rev 940712)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=157
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-05-12 Thread Felix Yan via arch-commits
Date: Wednesday, May 12, 2021 @ 10:43:59
  Author: felixonmars
Revision: 931468

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-12 10:43:43 UTC (rev 931467)
+++ PKGBUILD2021-05-12 10:43:59 UTC (rev 931468)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=152
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
931467, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-12 10:43:59 UTC (rev 931468)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=153
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-05-05 Thread Felix Yan via arch-commits
Date: Wednesday, May 5, 2021 @ 14:04:46
  Author: felixonmars
Revision: 927657

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-05 14:04:18 UTC (rev 927656)
+++ PKGBUILD2021-05-05 14:04:46 UTC (rev 927657)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=149
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
927656, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-05 14:04:46 UTC (rev 927657)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=150
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-05-02 Thread Felix Yan via arch-commits
Date: Sunday, May 2, 2021 @ 22:52:18
  Author: felixonmars
Revision: 926300

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-02 22:52:03 UTC (rev 926299)
+++ PKGBUILD2021-05-02 22:52:18 UTC (rev 926300)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=147
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
926299, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-02 22:52:18 UTC (rev 926300)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=148
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-04-22 Thread Felix Yan via arch-commits
Date: Friday, April 23, 2021 @ 01:10:49
  Author: felixonmars
Revision: 922030

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-04-23 01:10:33 UTC (rev 922029)
+++ PKGBUILD2021-04-23 01:10:49 UTC (rev 922030)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=145
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
922029, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-04-23 01:10:49 UTC (rev 922030)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=146
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 21, 2021 @ 20:43:24
  Author: felixonmars
Revision: 920676

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-04-21 20:43:08 UTC (rev 920675)
+++ PKGBUILD2021-04-21 20:43:24 UTC (rev 920676)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=143
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --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
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
920675, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-04-21 20:43:24 UTC (rev 920676)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=144
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared 

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

2021-04-13 Thread Felix Yan via arch-commits
Date: Tuesday, April 13, 2021 @ 12:49:50
  Author: felixonmars
Revision: 917201

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-04-13 12:49:34 UTC (rev 917200)
+++ PKGBUILD2021-04-13 12:49:50 UTC (rev 917201)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=141
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
917200, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-04-13 12:49:50 UTC (rev 917201)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=142
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 

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

2021-04-07 Thread Felix Yan via arch-commits
Date: Thursday, April 8, 2021 @ 05:40:37
  Author: felixonmars
Revision: 913561

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-04-08 05:40:22 UTC (rev 913560)
+++ PKGBUILD2021-04-08 05:40:37 UTC (rev 913561)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=138
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
913560, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-04-08 05:40:37 UTC (rev 913561)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=139
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 

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

2021-04-05 Thread Felix Yan via arch-commits
Date: Monday, April 5, 2021 @ 18:57:21
  Author: felixonmars
Revision: 911969

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-04-05 18:57:06 UTC (rev 911968)
+++ PKGBUILD2021-04-05 18:57:21 UTC (rev 911969)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=136
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
911968, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-04-05 18:57:21 UTC (rev 911969)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=137
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 

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

2021-03-29 Thread Felix Yan via arch-commits
Date: Monday, March 29, 2021 @ 12:49:18
  Author: felixonmars
Revision: 909130

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-29 12:48:54 UTC (rev 909129)
+++ PKGBUILD2021-03-29 12:49:18 UTC (rev 909130)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=134
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
909129, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-29 12:49:18 UTC (rev 909130)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=135
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 

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

2021-03-28 Thread Felix Yan via arch-commits
Date: Sunday, March 28, 2021 @ 11:01:39
  Author: felixonmars
Revision: 906708

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-28 11:01:24 UTC (rev 906707)
+++ PKGBUILD2021-03-28 11:01:39 UTC (rev 906708)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=132
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
-gen-setup
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
906707, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-28 11:01:39 UTC (rev 906708)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=133
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 

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

2021-03-25 Thread Felix Yan via arch-commits
Date: Thursday, March 25, 2021 @ 10:11:48
  Author: felixonmars
Revision: 902854

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-25 10:11:35 UTC (rev 902853)
+++ PKGBUILD2021-03-25 10:11:48 UTC (rev 902854)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=129
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

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

2021-03-23 Thread Felix Yan via arch-commits
Date: Tuesday, March 23, 2021 @ 07:32:09
  Author: felixonmars
Revision: 900093

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-23 07:31:54 UTC (rev 900092)
+++ PKGBUILD2021-03-23 07:32:09 UTC (rev 900093)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=127
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

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

2021-03-19 Thread Felix Yan via arch-commits
Date: Friday, March 19, 2021 @ 16:06:46
  Author: felixonmars
Revision: 894707

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-19 16:06:35 UTC (rev 894706)
+++ PKGBUILD2021-03-19 16:06:46 UTC (rev 894707)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=123
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

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

2021-03-13 Thread Felix Yan via arch-commits
Date: Saturday, March 13, 2021 @ 21:46:17
  Author: felixonmars
Revision: 890614

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-13 21:46:05 UTC (rev 890613)
+++ PKGBUILD2021-03-13 21:46:17 UTC (rev 890614)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=120
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

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

2021-03-05 Thread Felix Yan via arch-commits
Date: Saturday, March 6, 2021 @ 01:41:07
  Author: felixonmars
Revision: 882993

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-06 01:40:53 UTC (rev 882992)
+++ PKGBUILD2021-03-06 01:41:07 UTC (rev 882993)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=116
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

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

2021-02-24 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 12:25:19
  Author: felixonmars
Revision: 871327

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-24 12:25:03 UTC (rev 871326)
+++ PKGBUILD2021-02-24 12:25:19 UTC (rev 871327)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=111
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

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

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

archrelease: copy trunk to community-staging-x86_64

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

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

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

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

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

2021-02-20 Thread Felix Yan via arch-commits
Date: Saturday, February 20, 2021 @ 18:58:58
  Author: felixonmars
Revision: 867024

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-20 18:58:48 UTC (rev 867023)
+++ PKGBUILD2021-02-20 18:58:58 UTC (rev 867024)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=105
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

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

2021-02-18 Thread Felix Yan via arch-commits
Date: Friday, February 19, 2021 @ 00:00:40
  Author: felixonmars
Revision: 865350

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-19 00:00:26 UTC (rev 865349)
+++ PKGBUILD2021-02-19 00:00:40 UTC (rev 865350)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=103
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

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

2021-02-17 Thread Felix Yan via arch-commits
Date: Thursday, February 18, 2021 @ 07:24:14
  Author: felixonmars
Revision: 863732

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-18 07:23:57 UTC (rev 863731)
+++ PKGBUILD2021-02-18 07:24:14 UTC (rev 863732)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=101
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

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

2021-02-15 Thread Felix Yan via arch-commits
Date: Monday, February 15, 2021 @ 10:56:50
  Author: felixonmars
Revision: 861018

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-15 10:56:39 UTC (rev 861017)
+++ PKGBUILD2021-02-15 10:56:50 UTC (rev 861018)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=99
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

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

2021-02-13 Thread Felix Yan via arch-commits
Date: Saturday, February 13, 2021 @ 09:51:57
  Author: felixonmars
Revision: 858361

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-13 09:51:47 UTC (rev 858360)
+++ PKGBUILD2021-02-13 09:51:57 UTC (rev 858361)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.2.0
-pkgrel=96
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
-  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
-  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

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

  1   2   >