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

2022-09-10 Thread Felix Yan via arch-commits
Date: Saturday, September 10, 2022 @ 15:44:59
  Author: felixonmars
Revision: 1299489

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1299488, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-10 15:44:59 UTC (rev 1299489)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=370
+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
+}



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

2022-09-09 Thread Felix Yan via arch-commits
Date: Friday, September 9, 2022 @ 22:39:44
  Author: felixonmars
Revision: 1297866

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1297865, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-09 22:39:44 UTC (rev 1297866)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=369
+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
+}



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

2022-09-08 Thread Felix Yan via arch-commits
Date: Thursday, September 8, 2022 @ 09:32:27
  Author: felixonmars
Revision: 1296366

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1296365, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-08 09:32:27 UTC (rev 1296366)
@@ -0,0 +1,61 @@
+# 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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1294618, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-06 19:14:23 UTC (rev 1294619)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-09-03 Thread Felix Yan via arch-commits
Date: Saturday, September 3, 2022 @ 09:52:47
  Author: felixonmars
Revision: 1291448

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1291447, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-03 09:52:47 UTC (rev 1291448)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-08-31 Thread Felix Yan via arch-commits
Date: Wednesday, August 31, 2022 @ 20:13:41
  Author: felixonmars
Revision: 1289317

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1289316, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-31 20:13:41 UTC (rev 1289317)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=362
+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
+}



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

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 23:58:52
  Author: felixonmars
Revision: 1287067

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1287066, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 23:58:52 UTC (rev 1287067)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=361
+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
+}



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

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 16:13:53
  Author: felixonmars
Revision: 1285378

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1285377, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 16:13:53 UTC (rev 1285378)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=360
+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
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 16:25:38
  Author: felixonmars
Revision: 1283116

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1283115, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 16:25:38 UTC (rev 1283116)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 06:59:17
  Author: felixonmars
Revision: 1280917

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1280916, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 06:59:17 UTC (rev 1280917)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=357
+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
+}



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

2022-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 25, 2022 @ 18:29:47
  Author: felixonmars
Revision: 1279855

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1279854, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-25 18:29:47 UTC (rev 1279855)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=356
+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
+}



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

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 23:57:45
  Author: felixonmars
Revision: 1278057

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1278056, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 23:57:45 UTC (rev 1278057)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-08-22 Thread Felix Yan via arch-commits
Date: Monday, August 22, 2022 @ 17:53:08
  Author: felixonmars
Revision: 1274803

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1274802, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-22 17:53:08 UTC (rev 1274803)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=353
+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
+}



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

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 17:24:34
  Author: felixonmars
Revision: 1273061

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1273060, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 17:24:34 UTC (rev 1273061)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 07:07:44
  Author: felixonmars
Revision: 1271559

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1271558, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 07:07:44 UTC (rev 1271559)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=350
+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
+}



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

2022-08-19 Thread Felix Yan via arch-commits
Date: Friday, August 19, 2022 @ 07:43:50
  Author: felixonmars
Revision: 1269516

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1269515, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-19 07:43:50 UTC (rev 1269516)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 12:54:00
  Author: felixonmars
Revision: 1267301

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1267300, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 12:54:00 UTC (rev 1267301)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-08-09 Thread Felix Yan via arch-commits
Date: Tuesday, August 9, 2022 @ 17:03:11
  Author: felixonmars
Revision: 1264059

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1264058, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-09 17:03:11 UTC (rev 1264059)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 18:52:48
  Author: felixonmars
Revision: 1261973

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1261972, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 18:52:48 UTC (rev 1261973)
@@ -0,0 +1,61 @@
+# 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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1257340, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 10:15:15 UTC (rev 1257341)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-07-15 Thread Felix Yan via arch-commits
Date: Saturday, July 16, 2022 @ 03:35:33
  Author: felixonmars
Revision: 1253420

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1253419, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-16 03:35:33 UTC (rev 1253420)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=339
+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
+}



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

2022-07-12 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 20:13:14
  Author: felixonmars
Revision: 1251265

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1251264, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 20:13:14 UTC (rev 1251265)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=338
+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
+}



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

2022-07-06 Thread Felix Yan via arch-commits
Date: Wednesday, July 6, 2022 @ 23:03:19
  Author: felixonmars
Revision: 1247127

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1247126, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-06 23:03:19 UTC (rev 1247127)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 20:10:30
  Author: felixonmars
Revision: 1245471

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1245470, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 20:10:30 UTC (rev 1245471)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=335
+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
+}



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

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 22:40:43
  Author: felixonmars
Revision: 1241666

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1241665, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 22:40:43 UTC (rev 1241666)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 23:34:23
  Author: felixonmars
Revision: 1235681

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1235680, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 23:34:23 UTC (rev 1235681)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=332
+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
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 12:44:37
  Author: felixonmars
Revision: 1233384

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1233383, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 12:44:37 UTC (rev 1233384)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=331
+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
+}



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

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 22:13:17
  Author: felixonmars
Revision: 1231711

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1231710, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 22:13:17 UTC (rev 1231711)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-06-09 Thread Felix Yan via arch-commits
Date: Thursday, June 9, 2022 @ 20:59:19
  Author: felixonmars
Revision: 1229822

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1229821, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-09 20:59:19 UTC (rev 1229822)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-06-07 Thread Felix Yan via arch-commits
Date: Tuesday, June 7, 2022 @ 06:18:36
  Author: felixonmars
Revision: 1227573

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1227572, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-07 06:18:36 UTC (rev 1227573)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=326
+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
+}



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

2022-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 6, 2022 @ 10:52:02
  Author: felixonmars
Revision: 1225889

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1225888, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-06 10:52:02 UTC (rev 1225889)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=325
+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
+}



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

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 19:39:52
  Author: felixonmars
Revision: 1224202

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1224201, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 19:39:52 UTC (rev 1224202)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=324
+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
+}



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

2022-06-04 Thread Felix Yan via arch-commits
Date: Saturday, June 4, 2022 @ 18:52:43
  Author: felixonmars
Revision: 1221944

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1221943, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-04 18:52:43 UTC (rev 1221944)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 11:31:50
  Author: felixonmars
Revision: 1220203

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1220202, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 11:31:50 UTC (rev 1220203)
@@ -0,0 +1,61 @@
+# 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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1216075, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 11:27:39 UTC (rev 1216076)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 16:56:23
  Author: felixonmars
Revision: 1212378

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1212377, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 16:56:23 UTC (rev 1212378)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=317
+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
+}



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

2022-05-18 Thread Felix Yan via arch-commits
Date: Wednesday, May 18, 2022 @ 13:54:30
  Author: felixonmars
Revision: 1208227

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1208226, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-18 13:54:30 UTC (rev 1208227)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=316
+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
+}



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

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 14:35:15
  Author: felixonmars
Revision: 1204889

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1204888, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 14:35:15 UTC (rev 1204889)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 10:30:32
  Author: felixonmars
Revision: 1201434

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1201433, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 10:30:32 UTC (rev 1201434)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=311
+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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1198681, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-12 09:17:17 UTC (rev 1198682)
@@ -0,0 +1,61 @@
+# 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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1197893, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 13:05:48 UTC (rev 1197894)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-05-10 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 08:01:16
  Author: felixonmars
Revision: 1197032

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1197031, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 08:01:16 UTC (rev 1197032)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=306
+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
+}



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

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 22:31:35
  Author: felixonmars
Revision: 1188983

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1188982, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 22:31:35 UTC (rev 1188983)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-04-10 Thread Felix Yan via arch-commits
Date: Sunday, April 10, 2022 @ 11:33:39
  Author: felixonmars
Revision: 1184473

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1184472, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-10 11:33:39 UTC (rev 1184473)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=301
+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
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 20:58:48
  Author: felixonmars
Revision: 1181876

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1181875, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 20:58:48 UTC (rev 1181876)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-04-01 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 06:12:04
  Author: felixonmars
Revision: 1179308

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1179307, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 06:12:04 UTC (rev 1179308)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=298
+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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1175172, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 20:12:45 UTC (rev 1175173)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 02:34:03
  Author: felixonmars
Revision: 1173433

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1173432, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 02:34:03 UTC (rev 1173433)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=295
+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
+}



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

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 19:52:23
  Author: felixonmars
Revision: 1168219

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1168218, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 19:52:23 UTC (rev 1168219)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 19:39:19
  Author: felixonmars
Revision: 1165054

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1165053, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 19:39:19 UTC (rev 1165054)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=292
+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
+}



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

2022-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 18:51:20
  Author: felixonmars
Revision: 1161762

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1161761, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 18:51:20 UTC (rev 1161762)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=291
+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
+}



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

2022-03-18 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 04:02:59
  Author: felixonmars
Revision: 1160359

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1160358, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 04:02:59 UTC (rev 1160359)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=290
+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
+}



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

2022-03-18 Thread Felix Yan via arch-commits
Date: Friday, March 18, 2022 @ 18:44:59
  Author: felixonmars
Revision: 1158862

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1158861, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-18 18:44:59 UTC (rev 1158862)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=289
+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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1154265, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-15 11:25:25 UTC (rev 1154266)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-03-14 Thread Felix Yan via arch-commits
Date: Monday, March 14, 2022 @ 13:57:32
  Author: felixonmars
Revision: 1152802

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1152801, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-14 13:57:32 UTC (rev 1152802)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-03-13 Thread Felix Yan via arch-commits
Date: Sunday, March 13, 2022 @ 09:28:06
  Author: felixonmars
Revision: 1150695

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1150694, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-13 09:28:06 UTC (rev 1150695)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=284
+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
+}



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

2022-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 16:58:08
  Author: felixonmars
Revision: 1148414

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1148413, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 16:58:08 UTC (rev 1148414)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-03-09 Thread Felix Yan via arch-commits
Date: Wednesday, March 9, 2022 @ 20:50:13
  Author: felixonmars
Revision: 1145758

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1145757, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-09 20:50:13 UTC (rev 1145758)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-03-03 Thread Felix Yan via arch-commits
Date: Friday, March 4, 2022 @ 02:59:06
  Author: felixonmars
Revision: 1141574

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1141573, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-04 02:59:06 UTC (rev 1141574)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-02-21 Thread Felix Yan via arch-commits
Date: Monday, February 21, 2022 @ 21:34:28
  Author: felixonmars
Revision: 1135681

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1135680, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-21 21:34:28 UTC (rev 1135681)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-02-11 Thread Felix Yan via arch-commits
Date: Friday, February 11, 2022 @ 11:38:33
  Author: felixonmars
Revision: 1131829

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1131828, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-11 11:38:33 UTC (rev 1131829)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-02-09 Thread Felix Yan via arch-commits
Date: Thursday, February 10, 2022 @ 00:58:31
  Author: felixonmars
Revision: 1130665

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1130664, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-10 00:58:31 UTC (rev 1130665)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-02-08 Thread Felix Yan via arch-commits
Date: Tuesday, February 8, 2022 @ 08:49:23
  Author: felixonmars
Revision: 1129032

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1129031, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-08 08:49:23 UTC (rev 1129032)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 21:40:45
  Author: felixonmars
Revision: 1126087

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1126086, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 21:40:45 UTC (rev 1126087)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=269
+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
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 16:01:25
  Author: felixonmars
Revision: 1125690

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1125689, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 16:01:25 UTC (rev 1125690)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-02-03 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 00:35:20
  Author: felixonmars
Revision: 1125082

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1125081, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 00:35:20 UTC (rev 1125082)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-02-02 Thread Felix Yan via arch-commits
Date: Thursday, February 3, 2022 @ 00:09:03
  Author: felixonmars
Revision: 1123664

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1123663, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-03 00:09:03 UTC (rev 1123664)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-01-28 Thread Felix Yan via arch-commits
Date: Friday, January 28, 2022 @ 20:11:02
  Author: felixonmars
Revision: 1118575

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1118574, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-28 20:11:02 UTC (rev 1118575)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=262
+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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1115726, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-26 13:45:17 UTC (rev 1115727)
@@ -0,0 +1,61 @@
+# 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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1112592, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-21 20:21:01 UTC (rev 1112593)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-01-20 Thread Felix Yan via arch-commits
Date: Friday, January 21, 2022 @ 01:13:45
  Author: felixonmars
Revision: 695

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
694, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-21 01:13:45 UTC (rev 695)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=257
+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
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Wednesday, January 19, 2022 @ 19:48:40
  Author: felixonmars
Revision: 1110593

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1110592, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-19 19:48:40 UTC (rev 1110593)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-01-18 Thread Felix Yan via arch-commits
Date: Tuesday, January 18, 2022 @ 14:35:31
  Author: felixonmars
Revision: 1108990

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1108989, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-18 14:35:31 UTC (rev 1108990)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Sunday, January 16, 2022 @ 23:12:54
  Author: felixonmars
Revision: 1106672

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1106671, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-16 23:12:54 UTC (rev 1106672)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=252
+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
+}



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

2022-01-15 Thread Felix Yan via arch-commits
Date: Saturday, January 15, 2022 @ 15:45:22
  Author: felixonmars
Revision: 1104327

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1104326, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-15 15:45:22 UTC (rev 1104327)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=251
+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
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Friday, January 14, 2022 @ 15:20:34
  Author: felixonmars
Revision: 1103313

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1103312, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-14 15:20:34 UTC (rev 1103313)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-01-11 Thread Felix Yan via arch-commits
Date: Wednesday, January 12, 2022 @ 01:31:23
  Author: felixonmars
Revision: 1101333

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1101332, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-12 01:31:23 UTC (rev 1101333)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=248
+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
+}



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

2022-01-09 Thread Felix Yan via arch-commits
Date: Sunday, January 9, 2022 @ 22:34:55
  Author: felixonmars
Revision: 1098666

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1098665, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-09 22:34:55 UTC (rev 1098666)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=247
+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
+}



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

2022-01-08 Thread Felix Yan via arch-commits
Date: Saturday, January 8, 2022 @ 15:03:55
  Author: felixonmars
Revision: 1097077

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1097076, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-08 15:03:55 UTC (rev 1097077)
@@ -0,0 +1,61 @@
+# 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
+}



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

2022-01-05 Thread Felix Yan via arch-commits
Date: Thursday, January 6, 2022 @ 05:29:55
  Author: felixonmars
Revision: 1094420

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1094419, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-06 05:29:55 UTC (rev 1094420)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=244
+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
+}



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

2021-12-31 Thread Felix Yan via arch-commits
Date: Friday, December 31, 2021 @ 12:03:22
  Author: felixonmars
Revision: 1090140

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1090139, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-31 12:03:22 UTC (rev 1090140)
@@ -0,0 +1,61 @@
+# 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
+}



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

2021-12-29 Thread Felix Yan via arch-commits
Date: Wednesday, December 29, 2021 @ 13:15:07
  Author: felixonmars
Revision: 1087165

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1087164, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-29 13:15:07 UTC (rev 1087165)
@@ -0,0 +1,61 @@
+# 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
+}



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

2021-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 06:21:16
  Author: felixonmars
Revision: 1085208

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1085207, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 06:21:16 UTC (rev 1085208)
@@ -0,0 +1,61 @@
+# 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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1081401, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-21 11:21:40 UTC (rev 1081402)
@@ -0,0 +1,61 @@
+# 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
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 04:54:13
  Author: felixonmars
Revision: 1079481

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1079480, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 04:54:13 UTC (rev 1079481)
@@ -0,0 +1,61 @@
+# 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
+}



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

2021-12-18 Thread Felix Yan via arch-commits
Date: Saturday, December 18, 2021 @ 22:50:26
  Author: felixonmars
Revision: 1077902

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1077901, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-18 22:50:26 UTC (rev 1077902)
@@ -0,0 +1,61 @@
+# 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
+}



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

2021-12-16 Thread Felix Yan via arch-commits
Date: Thursday, December 16, 2021 @ 09:45:08
  Author: felixonmars
Revision: 1074153

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1074152, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-16 09:45:08 UTC (rev 1074153)
@@ -0,0 +1,61 @@
+# 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
+}



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

2021-12-13 Thread Felix Yan via arch-commits
Date: Monday, December 13, 2021 @ 14:56:18
  Author: felixonmars
Revision: 1071805

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1071804, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-13 14:56:18 UTC (rev 1071805)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=229
+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
+}



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

2021-12-11 Thread Felix Yan via arch-commits
Date: Sunday, December 12, 2021 @ 04:59:54
  Author: felixonmars
Revision: 1068657

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1068656, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-12 04:59:54 UTC (rev 1068657)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=228
+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
+}



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

2021-11-28 Thread Felix Yan via arch-commits
Date: Monday, November 29, 2021 @ 04:48:45
  Author: felixonmars
Revision: 1056391

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1056390, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-29 04:48:45 UTC (rev 1056391)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=227
+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
+}



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

2021-11-18 Thread Felix Yan via arch-commits
Date: Thursday, November 18, 2021 @ 15:25:20
  Author: felixonmars
Revision: 1052433

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1052432, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-18 15:25:20 UTC (rev 1052433)
@@ -0,0 +1,61 @@
+# 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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1049940, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 12:09:05 UTC (rev 1049941)
@@ -0,0 +1,61 @@
+# 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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1046160, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-13 21:03:03 UTC (rev 1046161)
@@ -0,0 +1,61 @@
+# 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
+}



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

2021-11-12 Thread Felix Yan via arch-commits
Date: Friday, November 12, 2021 @ 10:06:00
  Author: felixonmars
Revision: 1043525

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1043524, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-12 10:06:00 UTC (rev 1043525)
@@ -0,0 +1,61 @@
+# 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
+}



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

2021-11-10 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 01:38:02
  Author: felixonmars
Revision: 1040812

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1040811, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-11 01:38:02 UTC (rev 1040812)
@@ -0,0 +1,61 @@
+# 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
+}



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

2021-11-08 Thread Felix Yan via arch-commits
Date: Monday, November 8, 2021 @ 20:21:53
  Author: felixonmars
Revision: 1038882

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1038881, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-08 20:21:53 UTC (rev 1038882)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=216
+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
+}



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

2021-11-06 Thread Felix Yan via arch-commits
Date: Sunday, November 7, 2021 @ 00:27:08
  Author: felixonmars
Revision: 1037977

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1037976, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-07 00:27:08 UTC (rev 1037977)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=215
+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
+}



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

2021-11-03 Thread Felix Yan via arch-commits
Date: Wednesday, November 3, 2021 @ 22:11:32
  Author: felixonmars
Revision: 1035717

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1035716, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-03 22:11:32 UTC (rev 1035717)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=214
+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
+}



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

2021-09-30 Thread Felix Yan via arch-commits
Date: Thursday, September 30, 2021 @ 14:20:25
  Author: felixonmars
Revision: 1026168

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1026167, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-30 14:20:25 UTC (rev 1026168)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=213
+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
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1024035, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-24 22:04:39 UTC (rev 1024036)
@@ -0,0 +1,61 @@
+# 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
+}



  1   2   3   >