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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 11:21:46
  Author: felixonmars
Revision: 794713

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 794712, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 794712, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 11:21:46 UTC (rev 794713)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=33
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-26 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 22:49:12
  Author: felixonmars
Revision: 793189

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 793188, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 793188, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 22:49:12 UTC (rev 793189)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=32
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 02:29:24
  Author: felixonmars
Revision: 791602

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 791601, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 791601, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 02:29:24 UTC (rev 791602)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=31
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 02:20:18
  Author: felixonmars
Revision: 789436

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 789435, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 789435, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 02:20:18 UTC (rev 789436)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=30
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 05:20:14
  Author: felixonmars
Revision: 786418

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 786417, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 786417, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 05:20:14 UTC (rev 786418)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=29
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 11:25:13
  Author: felixonmars
Revision: 784134

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 784133, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 784133, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 11:25:13 UTC (rev 784134)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=28
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 17:24:09
  Author: felixonmars
Revision: 781265

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 781264, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 781264, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 17:24:09 UTC (rev 781265)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=27
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 11:36:47
  Author: felixonmars
Revision: 778513

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 778512, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 778512, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 11:36:47 UTC (rev 778513)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=26
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-14 Thread Felix Yan via arch-commits
Date: Monday, December 14, 2020 @ 15:18:20
  Author: felixonmars
Revision: 775092

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 775091, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 775091, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-14 15:18:20 UTC (rev 775092)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=25
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 23:08:26
  Author: felixonmars
Revision: 764772

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 764771, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 764771, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 23:08:26 UTC (rev 764772)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=24
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 23:02:32
  Author: felixonmars
Revision: 759683

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 759682, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 759682, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 23:02:32 UTC (rev 759683)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=23
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 14:10:40
  Author: felixonmars
Revision: 755238

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 755237, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 755237, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 14:10:40 UTC (rev 755238)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=22
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 18:34:42
  Author: felixonmars
Revision: 744465

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 744464, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 744464, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 18:34:42 UTC (rev 744465)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=21
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-02 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 04:49:04
  Author: felixonmars
Revision: 740213

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 740212, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 740212, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-03 04:49:04 UTC (rev 740213)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=20
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-31 Thread Felix Yan via arch-commits
Date: Saturday, October 31, 2020 @ 07:42:43
  Author: felixonmars
Revision: 737425

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 737424, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 737424, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-31 07:42:43 UTC (rev 737425)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=19
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-28 Thread Felix Yan via arch-commits
Date: Wednesday, October 28, 2020 @ 18:56:33
  Author: felixonmars
Revision: 735658

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 735657, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 735657, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-28 18:56:33 UTC (rev 735658)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=18
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 09:23:40
  Author: felixonmars
Revision: 732205

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 732204, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 732204, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 09:23:40 UTC (rev 732205)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=17
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-22 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 11:18:43
  Author: felixonmars
Revision: 729033

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 729032, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 729032, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 11:18:43 UTC (rev 729033)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=16
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-17 Thread Felix Yan via arch-commits
Date: Saturday, October 17, 2020 @ 23:14:39
  Author: felixonmars
Revision: 725744

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 725743, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 725743, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-17 23:14:39 UTC (rev 725744)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=15
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 14:18:35
  Author: felixonmars
Revision: 720641

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 720640, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 720640, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 14:18:35 UTC (rev 720641)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=14
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 11:06:03
  Author: felixonmars
Revision: 717615

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 717614, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 717614, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 11:06:03 UTC (rev 717615)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=13
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 12:06:31
  Author: felixonmars
Revision: 715396

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 715395, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 715395, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 12:06:31 UTC (rev 715396)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=12
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-17 Thread Felix Yan via arch-commits
Date: Friday, September 18, 2020 @ 04:45:03
  Author: felixonmars
Revision: 709763

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 709762, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 709762, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-18 04:45:03 UTC (rev 709763)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=11
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-15 Thread Felix Yan via arch-commits
Date: Tuesday, September 15, 2020 @ 07:54:37
  Author: felixonmars
Revision: 707043

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 707042, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 707042, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-15 07:54:37 UTC (rev 707043)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=10
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 20:58:54
  Author: felixonmars
Revision: 704863

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 704862, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 704862, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 20:58:54 UTC (rev 704863)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=9
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-11 Thread Felix Yan via arch-commits
Date: Friday, September 11, 2020 @ 11:58:01
  Author: felixonmars
Revision: 702738

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 702737, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 702737, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-11 11:58:01 UTC (rev 702738)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=8
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 20:30:21
  Author: felixonmars
Revision: 700325

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 700324, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 700324, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 20:30:21 UTC (rev 700325)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=7
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 00:46:03
  Author: felixonmars
Revision: 698781

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 698780, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 698780, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 00:46:03 UTC (rev 698781)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=6
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-03 Thread Felix Yan via arch-commits
Date: Thursday, September 3, 2020 @ 14:45:28
  Author: felixonmars
Revision: 697465

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 697464, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 697464, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-03 14:45:28 UTC (rev 697465)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=5
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-31 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 10:11:18
  Author: felixonmars
Revision: 694072

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 694071, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 694071, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 10:11:18 UTC (rev 694072)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=4
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 20:04:05
  Author: felixonmars
Revision: 691255

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 691254, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 691254, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 20:04:05 UTC (rev 691255)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=3
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 22:39:31
  Author: felixonmars
Revision: 688858

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-validation-selective/repos/community-staging-x86_64/
  haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD
(from rev 688857, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD 
(from rev 688857, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 22:39:31 UTC (rev 688858)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=2
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-21 Thread Felix Yan via arch-commits
Date: Friday, August 21, 2020 @ 16:26:43
  Author: felixonmars
Revision: 686296

archrelease: copy trunk to community-x86_64

Added:
  haskell-validation-selective/repos/community-x86_64/
  haskell-validation-selective/repos/community-x86_64/PKGBUILD
(from rev 686295, haskell-validation-selective/trunk/PKGBUILD)

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

Copied: haskell-validation-selective/repos/community-x86_64/PKGBUILD (from rev 
686295, haskell-validation-selective/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-08-21 16:26:43 UTC (rev 686296)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=validation-selective
+pkgname=haskell-validation-selective
+pkgver=0.1.0.0
+pkgrel=1
+pkgdesc="Lighweight pure data validation based on Applicative and Selective 
functors."
+url="https://github.com/kowainik/validation-selective;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-selective')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_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" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}