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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 13:47:38
  Author: felixonmars
Revision: 797115

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
797114, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 13:47:38 UTC (rev 797115)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=32
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 14:56:33
  Author: felixonmars
Revision: 795027

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
795026, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 14:56:33 UTC (rev 795027)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=31
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-26 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 00:49:14
  Author: felixonmars
Revision: 793286

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
793285, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 00:49:14 UTC (rev 793286)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=30
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 07:33:16
  Author: felixonmars
Revision: 792200

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
792199, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 07:33:16 UTC (rev 792200)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=29
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 10:08:06
  Author: felixonmars
Revision: 789990

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
789989, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 10:08:06 UTC (rev 789990)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=28
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 15:41:11
  Author: felixonmars
Revision: 788283

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
788282, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 15:41:11 UTC (rev 788283)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=27
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 08:49:21
  Author: felixonmars
Revision: 786864

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
786863, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 08:49:21 UTC (rev 786864)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=26
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 15:03:30
  Author: felixonmars
Revision: 784238

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
784237, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 15:03:30 UTC (rev 784238)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=25
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-22 Thread Felix Yan via arch-commits
Date: Tuesday, December 22, 2020 @ 09:26:50
  Author: felixonmars
Revision: 781824

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
781823, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-22 09:26:50 UTC (rev 781824)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=24
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 21:24:44
  Author: felixonmars
Revision: 779656

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
779655, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 21:24:44 UTC (rev 779656)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=23
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 11:54:44
  Author: felixonmars
Revision: 778529

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
778528, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 11:54:44 UTC (rev 778529)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=22
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-16 Thread Felix Yan via arch-commits
Date: Wednesday, December 16, 2020 @ 20:12:37
  Author: felixonmars
Revision: 776952

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
776951, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-16 20:12:37 UTC (rev 776952)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=21
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-15 Thread Felix Yan via arch-commits
Date: Tuesday, December 15, 2020 @ 23:05:37
  Author: felixonmars
Revision: 776314

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
776313, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-15 23:05:37 UTC (rev 776314)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=20
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-15 Thread Felix Yan via arch-commits
Date: Tuesday, December 15, 2020 @ 10:36:37
  Author: felixonmars
Revision: 775937

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
775936, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-15 10:36:37 UTC (rev 775937)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=19
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-14 Thread Felix Yan via arch-commits
Date: Monday, December 14, 2020 @ 14:13:04
  Author: felixonmars
Revision: 775028

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
775027, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-14 14:13:04 UTC (rev 775028)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=18
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-09 Thread Felix Yan via arch-commits
Date: Wednesday, December 9, 2020 @ 11:16:38
  Author: felixonmars
Revision: 772569

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
772568, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-09 11:16:38 UTC (rev 772569)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=17
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-08 Thread Felix Yan via arch-commits
Date: Tuesday, December 8, 2020 @ 15:33:24
  Author: felixonmars
Revision: 771841

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
771840, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-08 15:33:24 UTC (rev 771841)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=16
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-06 Thread Felix Yan via arch-commits
Date: Sunday, December 6, 2020 @ 19:08:52
  Author: felixonmars
Revision: 771100

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
771099, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-06 19:08:52 UTC (rev 771100)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=15
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-04 Thread Felix Yan via arch-commits
Date: Saturday, December 5, 2020 @ 03:40:57
  Author: felixonmars
Revision: 770456

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
770455, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-05 03:40:57 UTC (rev 770456)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=14
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-03 Thread Felix Yan via arch-commits
Date: Thursday, December 3, 2020 @ 12:30:19
  Author: felixonmars
Revision: 769488

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
769487, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-03 12:30:19 UTC (rev 769488)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=13
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-30 Thread Felix Yan via arch-commits
Date: Tuesday, December 1, 2020 @ 01:02:57
  Author: felixonmars
Revision: 766942

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
766941, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-01 01:02:57 UTC (rev 766942)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=12
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-28 Thread Felix Yan via arch-commits
Date: Saturday, November 28, 2020 @ 22:04:06
  Author: felixonmars
Revision: 766138

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
766137, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-28 22:04:06 UTC (rev 766138)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=11
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-28 Thread Felix Yan via arch-commits
Date: Saturday, November 28, 2020 @ 15:49:22
  Author: felixonmars
Revision: 765341

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
765340, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-28 15:49:22 UTC (rev 765341)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=10
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-26 Thread Felix Yan via arch-commits
Date: Thursday, November 26, 2020 @ 16:13:02
  Author: felixonmars
Revision: 763601

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
763600, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-26 16:13:02 UTC (rev 763601)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=9
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-25 Thread Felix Yan via arch-commits
Date: Wednesday, November 25, 2020 @ 20:08:39
  Author: felixonmars
Revision: 761268

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
761267, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-25 20:08:39 UTC (rev 761268)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=8
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-23 Thread Felix Yan via arch-commits
Date: Monday, November 23, 2020 @ 13:14:04
  Author: felixonmars
Revision: 759919

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
759918, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-23 13:14:04 UTC (rev 759919)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=7
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-20 Thread Felix Yan via arch-commits
Date: Friday, November 20, 2020 @ 21:20:17
  Author: felixonmars
Revision: 758139

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
758138, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-20 21:20:17 UTC (rev 758139)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=6
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-19 Thread Felix Yan via arch-commits
Date: Thursday, November 19, 2020 @ 08:19:13
  Author: felixonmars
Revision: 757374

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
757373, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-19 08:19:13 UTC (rev 757374)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=5
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-17 Thread Felix Yan via arch-commits
Date: Tuesday, November 17, 2020 @ 21:32:31
  Author: felixonmars
Revision: 756940

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
756939, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-17 21:32:31 UTC (rev 756940)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=4
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-16 Thread Felix Yan via arch-commits
Date: Tuesday, November 17, 2020 @ 02:33:45
  Author: felixonmars
Revision: 755788

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
755787, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-17 02:33:45 UTC (rev 755788)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=3
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-10 Thread Felix Yan via arch-commits
Date: Tuesday, November 10, 2020 @ 16:43:20
  Author: felixonmars
Revision: 749635

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
749634, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-10 16:43:20 UTC (rev 749635)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=2
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 20:56:11
  Author: felixonmars
Revision: 748245

archrelease: copy trunk to community-x86_64

Added:
  haskell-scotty/repos/community-x86_64/
  haskell-scotty/repos/community-x86_64/PKGBUILD
(from rev 748244, haskell-scotty/trunk/PKGBUILD)

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

Copied: haskell-scotty/repos/community-x86_64/PKGBUILD (from rev 748244, 
haskell-scotty/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-11-09 20:56:11 UTC (rev 748245)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=1
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}