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

2022-09-10 Thread Felix Yan via arch-commits
Date: Saturday, September 10, 2022 @ 15:39:27
  Author: felixonmars
Revision: 1299472

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1299468, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-10 15:39:27 UTC (rev 1299472)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=51
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1297785, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-09 22:22:04 UTC (rev 1297786)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=50
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-09-08 Thread Felix Yan via arch-commits
Date: Thursday, September 8, 2022 @ 08:37:43
  Author: felixonmars
Revision: 1296320

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1296319, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-08 08:37:43 UTC (rev 1296320)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=49
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-09-06 Thread Felix Yan via arch-commits
Date: Tuesday, September 6, 2022 @ 19:03:25
  Author: felixonmars
Revision: 1294563

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1294562, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-06 19:03:25 UTC (rev 1294563)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=48
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-09-03 Thread Felix Yan via arch-commits
Date: Saturday, September 3, 2022 @ 09:46:30
  Author: felixonmars
Revision: 1291416

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1291415, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-03 09:46:30 UTC (rev 1291416)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=47
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1289292, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-31 20:08:05 UTC (rev 1289293)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=46
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 23:47:24
  Author: felixonmars
Revision: 1287015

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1287014, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 23:47:24 UTC (rev 1287015)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=45
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 16:11:50
  Author: felixonmars
Revision: 1283048

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1283047, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 16:11:50 UTC (rev 1283048)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=44
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 06:42:56
  Author: felixonmars
Revision: 1280861

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1280860, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 06:42:56 UTC (rev 1280861)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=43
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1279722, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-25 18:06:08 UTC (rev 1279723)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=42
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 23:53:12
  Author: felixonmars
Revision: 1278033

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1278031, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 23:53:12 UTC (rev 1278033)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=41
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1274798, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-22 17:50:20 UTC (rev 1274799)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=40
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1273028, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 17:17:25 UTC (rev 1273029)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=39
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 22:12:04
  Author: felixonmars
Revision: 1271453

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1271452, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-20 22:12:04 UTC (rev 1271453)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=38
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 22:30:34
  Author: felixonmars
Revision: 1269452

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1269451, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 22:30:34 UTC (rev 1269452)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=37
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 12:41:01
  Author: felixonmars
Revision: 1267241

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1267240, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 12:41:01 UTC (rev 1267241)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=36
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-08-09 Thread Felix Yan via arch-commits
Date: Tuesday, August 9, 2022 @ 16:52:37
  Author: felixonmars
Revision: 1264019

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1264018, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-09 16:52:37 UTC (rev 1264019)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=35
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 18:45:50
  Author: felixonmars
Revision: 1261947

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1261946, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 18:45:50 UTC (rev 1261947)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=34
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-07-25 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 09:04:00
  Author: felixonmars
Revision: 1257235

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1257234, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 09:04:00 UTC (rev 1257235)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=33
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1253321, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-16 03:16:40 UTC (rev 1253322)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=32
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-07-12 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 19:57:26
  Author: felixonmars
Revision: 1251214

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1251213, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 19:57:26 UTC (rev 1251214)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=31
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-07-06 Thread Felix Yan via arch-commits
Date: Wednesday, July 6, 2022 @ 22:47:34
  Author: felixonmars
Revision: 1247038

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1247037, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-06 22:47:34 UTC (rev 1247038)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=30
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 19:58:49
  Author: felixonmars
Revision: 1245429

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1245428, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 19:58:49 UTC (rev 1245429)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=29
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1241569, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 22:17:29 UTC (rev 1241570)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=28
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1235626, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 23:23:02 UTC (rev 1235627)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=27
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 12:33:36
  Author: felixonmars
Revision: 1233328

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1233327, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 12:33:36 UTC (rev 1233328)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=26
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 22:07:55
  Author: felixonmars
Revision: 1231679

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1231678, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 22:07:55 UTC (rev 1231679)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=25
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--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-core/repos (2 files)

2022-06-09 Thread Felix Yan via arch-commits
Date: Thursday, June 9, 2022 @ 20:55:14
  Author: felixonmars
Revision: 1229818

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1229817, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-09 20:55:14 UTC (rev 1229818)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=24
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable -u unix-compat $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-06 Thread Felix Yan via arch-commits
Date: Tuesday, June 7, 2022 @ 05:40:40
  Author: felixonmars
Revision: 1227349

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1227348, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-07 05:40:40 UTC (rev 1227349)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=23
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 6, 2022 @ 10:20:56
  Author: felixonmars
Revision: 1225687

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1225686, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-06 10:20:56 UTC (rev 1225687)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=22
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 19:03:30
  Author: felixonmars
Revision: 1223968

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1223967, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 19:03:30 UTC (rev 1223968)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=21
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-04 Thread Felix Yan via arch-commits
Date: Saturday, June 4, 2022 @ 15:44:37
  Author: felixonmars
Revision: 1221720

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1221719, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-04 15:44:37 UTC (rev 1221720)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=20
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 09:54:29
  Author: felixonmars
Revision: 1219990

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1219989, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 09:54:29 UTC (rev 1219990)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=19
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 10:54:59
  Author: felixonmars
Revision: 1215868

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1215867, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 10:54:59 UTC (rev 1215868)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=18
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 16:20:14
  Author: felixonmars
Revision: 1212159

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1212158, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 16:20:14 UTC (rev 1212159)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=17
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-18 Thread Felix Yan via arch-commits
Date: Wednesday, May 18, 2022 @ 13:22:43
  Author: felixonmars
Revision: 1208009

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1208008, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-18 13:22:43 UTC (rev 1208009)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=16
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 13:57:55
  Author: felixonmars
Revision: 1204693

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1204692, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 13:57:55 UTC (rev 1204693)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=14
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 09:00:11
  Author: felixonmars
Revision: 1201220

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1201219, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 09:00:11 UTC (rev 1201220)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=13
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1198485, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-12 08:43:17 UTC (rev 1198486)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=12
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1197863, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 13:01:14 UTC (rev 1197864)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=11
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 12:52:37
  Author: felixonmars
Revision: 1193809

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1193808, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-04 12:52:37 UTC (rev 1193809)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=10
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 21:56:51
  Author: felixonmars
Revision: 1188784

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1188783, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 21:56:51 UTC (rev 1188784)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=9
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-10 Thread Felix Yan via arch-commits
Date: Sunday, April 10, 2022 @ 10:58:07
  Author: felixonmars
Revision: 1184257

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1184256, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-10 10:58:07 UTC (rev 1184257)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=8
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 20:35:57
  Author: felixonmars
Revision: 1181746

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1181745, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 20:35:57 UTC (rev 1181746)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=7
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-31 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 04:48:36
  Author: felixonmars
Revision: 1178923

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1178922, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 04:48:36 UTC (rev 1178923)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=6
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-23 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 01:10:00
  Author: felixonmars
Revision: 1173000

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1172999, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 01:10:00 UTC (rev 1173000)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=5
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 18:13:36
  Author: felixonmars
Revision: 1167857

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1167856, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 18:13:36 UTC (rev 1167857)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=4
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 17:56:33
  Author: felixonmars
Revision: 1164579

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1164578, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 17:56:33 UTC (rev 1164579)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=3
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 15:16:22
  Author: felixonmars
Revision: 1161324

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1161323, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 15:16:22 UTC (rev 1161324)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=2
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-18 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 03:57:24
  Author: felixonmars
Revision: 1160355

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1160354, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 03:57:24 UTC (rev 1160355)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.5.0
+pkgrel=1
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4873382625715703531c7cbc61343a29cf7606384e64b92fb2026016018258f5c959ac7dccf0b1093eca39f5b750c19416afc691bec93161fa76ef79a1369b7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-18 Thread Felix Yan via arch-commits
Date: Friday, March 18, 2022 @ 11:26:19
  Author: felixonmars
Revision: 1158378

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1158377, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-18 11:26:19 UTC (rev 1158378)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=213
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-14 Thread Felix Yan via arch-commits
Date: Tuesday, March 15, 2022 @ 01:02:42
  Author: felixonmars
Revision: 1154000

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1153999, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-15 01:02:42 UTC (rev 1154000)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=212
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-14 Thread Felix Yan via arch-commits
Date: Monday, March 14, 2022 @ 10:45:51
  Author: felixonmars
Revision: 1152341

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1152340, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-14 10:45:51 UTC (rev 1152341)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=211
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 08:09:27
  Author: felixonmars
Revision: 1147974

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1147973, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 08:09:27 UTC (rev 1147974)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=210
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-07 Thread Felix Yan via arch-commits
Date: Monday, March 7, 2022 @ 20:53:48
  Author: felixonmars
Revision: 1145036

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1145035, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-07 20:53:48 UTC (rev 1145036)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=209
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-03 Thread Felix Yan via arch-commits
Date: Thursday, March 3, 2022 @ 19:52:15
  Author: felixonmars
Revision: 1141101

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1141100, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-03 19:52:15 UTC (rev 1141101)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=208
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-19 Thread Felix Yan via arch-commits
Date: Saturday, February 19, 2022 @ 22:41:14
  Author: felixonmars
Revision: 1135061

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1135060, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-19 22:41:14 UTC (rev 1135061)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=207
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec -u hashable $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1131575, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-11 01:25:41 UTC (rev 1131576)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=206
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1130574, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-10 00:09:41 UTC (rev 1130575)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=205
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-07 Thread Felix Yan via arch-commits
Date: Monday, February 7, 2022 @ 17:45:04
  Author: felixonmars
Revision: 1128452

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1128451, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-07 17:45:04 UTC (rev 1128452)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=204
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-02 Thread Felix Yan via arch-commits
Date: Wednesday, February 2, 2022 @ 19:41:57
  Author: felixonmars
Revision: 1123177

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1123176, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-02 19:41:57 UTC (rev 1123177)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=203
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-28 Thread Felix Yan via arch-commits
Date: Friday, January 28, 2022 @ 08:32:06
  Author: felixonmars
Revision: 1118065

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1118064, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-28 08:32:06 UTC (rev 1118065)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=202
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-24 Thread Felix Yan via arch-commits
Date: Tuesday, January 25, 2022 @ 06:58:16
  Author: felixonmars
Revision: 1115120

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1115119, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-25 06:58:16 UTC (rev 1115120)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=201
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-21 Thread Felix Yan via arch-commits
Date: Friday, January 21, 2022 @ 16:26:28
  Author: felixonmars
Revision: 1112288

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1112287, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-21 16:26:28 UTC (rev 1112288)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=200
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
638, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-21 00:30:12 UTC (rev 639)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=199
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-18 Thread Felix Yan via arch-commits
Date: Tuesday, January 18, 2022 @ 11:36:06
  Author: felixonmars
Revision: 1108577

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1108576, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-18 11:36:06 UTC (rev 1108577)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=198
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-16 Thread Felix Yan via arch-commits
Date: Sunday, January 16, 2022 @ 22:03:06
  Author: felixonmars
Revision: 1106521

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1106520, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-16 22:03:06 UTC (rev 1106521)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=197
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-14 Thread Felix Yan via arch-commits
Date: Friday, January 14, 2022 @ 01:18:52
  Author: felixonmars
Revision: 1103117

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1103116, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-14 01:18:52 UTC (rev 1103117)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=196
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-11 Thread Felix Yan via arch-commits
Date: Tuesday, January 11, 2022 @ 19:59:49
  Author: felixonmars
Revision: 1100927

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1100926, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-11 19:59:49 UTC (rev 1100927)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=195
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-07 Thread Felix Yan via arch-commits
Date: Friday, January 7, 2022 @ 23:57:40
  Author: felixonmars
Revision: 1096652

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1096651, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-07 23:57:40 UTC (rev 1096652)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=194
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-05 Thread Felix Yan via arch-commits
Date: Thursday, January 6, 2022 @ 01:38:04
  Author: felixonmars
Revision: 1094073

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1094072, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-06 01:38:04 UTC (rev 1094073)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=193
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-30 Thread Felix Yan via arch-commits
Date: Friday, December 31, 2021 @ 07:28:27
  Author: felixonmars
Revision: 1089724

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1089723, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-31 07:28:27 UTC (rev 1089724)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=192
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-29 Thread Felix Yan via arch-commits
Date: Wednesday, December 29, 2021 @ 10:43:49
  Author: felixonmars
Revision: 1086907

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1086906, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-29 10:43:49 UTC (rev 1086907)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=191
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 02:03:45
  Author: felixonmars
Revision: 1084816

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1084815, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 02:03:45 UTC (rev 1084816)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=190
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-20 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 22:18:47
  Author: felixonmars
Revision: 1080966

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1080965, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 22:18:47 UTC (rev 1080966)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=189
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 03:33:09
  Author: felixonmars
Revision: 1079387

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1079386, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 03:33:09 UTC (rev 1079387)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=188
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-18 Thread Felix Yan via arch-commits
Date: Saturday, December 18, 2021 @ 18:25:49
  Author: felixonmars
Revision: 1077485

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1077484, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-18 18:25:49 UTC (rev 1077485)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=187
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-15 Thread Felix Yan via arch-commits
Date: Thursday, December 16, 2021 @ 04:44:53
  Author: felixonmars
Revision: 1073793

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1073792, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-16 04:44:53 UTC (rev 1073793)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=186
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-11 Thread Felix Yan via arch-commits
Date: Sunday, December 12, 2021 @ 04:01:58
  Author: felixonmars
Revision: 1068583

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1068582, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-12 04:01:58 UTC (rev 1068583)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=185
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-28 Thread Felix Yan via arch-commits
Date: Monday, November 29, 2021 @ 00:38:43
  Author: felixonmars
Revision: 1055995

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1055994, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-29 00:38:43 UTC (rev 1055995)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=184
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-17 Thread Felix Yan via arch-commits
Date: Thursday, November 18, 2021 @ 05:15:33
  Author: felixonmars
Revision: 1051999

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1051998, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-18 05:15:33 UTC (rev 1051999)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=183
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-16 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 04:46:22
  Author: felixonmars
Revision: 1049569

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1049568, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 04:46:22 UTC (rev 1049569)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=182
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-13 Thread Felix Yan via arch-commits
Date: Saturday, November 13, 2021 @ 16:43:47
  Author: felixonmars
Revision: 1045649

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1045648, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-13 16:43:47 UTC (rev 1045649)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=181
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-11 Thread Felix Yan via arch-commits
Date: Friday, November 12, 2021 @ 03:51:43
  Author: felixonmars
Revision: 1043103

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1043102, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-12 03:51:43 UTC (rev 1043103)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=180
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-10 Thread Felix Yan via arch-commits
Date: Wednesday, November 10, 2021 @ 20:55:05
  Author: felixonmars
Revision: 1040342

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1040341, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-10 20:55:05 UTC (rev 1040342)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=179
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-10-26 Thread Felix Yan via arch-commits
Date: Tuesday, October 26, 2021 @ 20:20:49
  Author: felixonmars
Revision: 1034441

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1034440, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-26 20:20:49 UTC (rev 1034441)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=178
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-24 Thread Felix Yan via arch-commits
Date: Friday, September 24, 2021 @ 10:40:23
  Author: felixonmars
Revision: 1023619

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1023618, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-24 10:40:23 UTC (rev 1023619)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=177
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-21 Thread Felix Yan via arch-commits
Date: Tuesday, September 21, 2021 @ 20:03:05
  Author: felixonmars
Revision: 1020871

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1020870, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-21 20:03:05 UTC (rev 1020871)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=176
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-19 Thread Felix Yan via arch-commits
Date: Monday, September 20, 2021 @ 00:38:58
  Author: felixonmars
Revision: 1018023

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1018022, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-20 00:38:58 UTC (rev 1018023)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=175
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-10 Thread Felix Yan via arch-commits
Date: Friday, September 10, 2021 @ 14:30:06
  Author: felixonmars
Revision: 1013493

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1013492, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-10 14:30:06 UTC (rev 1013493)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=174
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-28 Thread Felix Yan via arch-commits
Date: Sunday, August 29, 2021 @ 02:28:38
  Author: felixonmars
Revision: 1008491

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1008490, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-29 02:28:38 UTC (rev 1008491)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=173
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 26, 2021 @ 05:49:45
  Author: felixonmars
Revision: 1005646

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1005645, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-26 05:49:45 UTC (rev 1005646)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=172
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 17, 2021 @ 16:34:46
  Author: felixonmars
Revision: 1002075

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1002074, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-17 16:34:46 UTC (rev 1002075)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=171
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-15 Thread Felix Yan via arch-commits
Date: Sunday, August 15, 2021 @ 22:02:45
  Author: felixonmars
Revision: 999453

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
999452, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-15 22:02:45 UTC (rev 999453)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=170
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-08 Thread Felix Yan via arch-commits
Date: Sunday, August 8, 2021 @ 19:47:55
  Author: felixonmars
Revision: 995689

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
995688, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-08 19:47:55 UTC (rev 995689)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=169
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 17:34:04
  Author: felixonmars
Revision: 992816

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
992815, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 17:34:04 UTC (rev 992816)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=168
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 08:17:55
  Author: felixonmars
Revision: 992098

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
992097, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 08:17:55 UTC (rev 992098)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=167
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-28 Thread Felix Yan via arch-commits
Date: Wednesday, July 28, 2021 @ 18:37:29
  Author: felixonmars
Revision: 989322

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
989321, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-28 18:37:29 UTC (rev 989322)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=166
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-26 Thread Felix Yan via arch-commits
Date: Monday, July 26, 2021 @ 19:44:59
  Author: felixonmars
Revision: 985805

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
985804, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-26 19:44:59 UTC (rev 985805)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=165
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 16:38:05
  Author: felixonmars
Revision: 982358

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-core/repos/community-staging-x86_64/PKGBUILD (from rev 
982357, haskell-snap-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 16:38:05 UTC (rev 982358)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-core
+pkgname=haskell-snap-core
+pkgver=1.0.4.2
+pkgrel=164
+pkgdesc="A Haskell Web Framework (core interfaces and types)"
+url="https://github.com/snapframework/snap-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-locale' 'haskell-hunit' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-lifted-base' 'haskell-io-streams' 
'haskell-hashable'
+ 'haskell-monad-control' 'haskell-random' 'haskell-readable' 
'haskell-regex-posix'
+ 'haskell-transformers-base' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-parallel' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-zlib')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
snap-core-fix-random-1.2.patch::https://github.com/snapframework/snap-core/pull/299.patch)
+sha512sums=('42e710ac58a7d3cf58f9fdeca6c9c4880a94765ee0dc42fbcdaf68a6c2c337e1715f8b89863c7f911232af493bf5622b647d4c962237f211f97d731572fd94f5'
+
'4c00e8bcf390c5e7367afe4879e34b5c5db8801080b63598cbfbda2cf73d4fc2180844383c8eabe814809d5a5a2d15c5f4da32a3ecea94a554d9dbedd858f501')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../snap-core-fix-random-1.2.patch
+uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/snapframework/snap-core/issues/303
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



  1   2   >