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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:18:22
  Author: felixonmars
Revision: 796869

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 796868, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
796868, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:18:22 UTC (rev 796869)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=47
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 13:55:24
  Author: felixonmars
Revision: 794953

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 794952, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
794952, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 13:55:24 UTC (rev 794953)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=46
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 06:27:07
  Author: felixonmars
Revision: 792122

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 792121, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
792121, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 06:27:07 UTC (rev 792122)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=45
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 07:22:30
  Author: felixonmars
Revision: 789686

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 789685, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
789685, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 07:22:30 UTC (rev 789686)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=44
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 14:54:36
  Author: felixonmars
Revision: 788211

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 788210, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
788210, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 14:54:36 UTC (rev 788211)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=43
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 12:56:17
  Author: felixonmars
Revision: 787189

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 787188, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
787188, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 12:56:17 UTC (rev 787189)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=42
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 19:23:06
  Author: felixonmars
Revision: 785142

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 785141, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
785141, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 19:23:06 UTC (rev 785142)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=41
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 18:33:42
  Author: felixonmars
Revision: 785070

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 785069, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
785069, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 18:33:42 UTC (rev 785070)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=40
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 08:22:31
  Author: felixonmars
Revision: 783929

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 783928, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
783928, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 08:22:31 UTC (rev 783929)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=39
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 781935, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
781935, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-22 11:50:09 UTC (rev 781936)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=38
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 23:11:24
  Author: felixonmars
Revision: 778252

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 778251, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
778251, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 23:11:24 UTC (rev 778252)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=37
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-15 Thread Felix Yan via arch-commits
Date: Tuesday, December 15, 2020 @ 20:17:02
  Author: felixonmars
Revision: 776166

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 776165, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
776165, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-15 20:17:02 UTC (rev 776166)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=36
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 23:31:41
  Author: felixonmars
Revision: 774644

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 774643, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
774643, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 23:31:41 UTC (rev 774644)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=35
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-09 Thread Felix Yan via arch-commits
Date: Wednesday, December 9, 2020 @ 09:40:53
  Author: felixonmars
Revision: 772384

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 772383, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
772383, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-09 09:40:53 UTC (rev 772384)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=34
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-08 Thread Felix Yan via arch-commits
Date: Tuesday, December 8, 2020 @ 18:32:26
  Author: felixonmars
Revision: 771983

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 771982, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
771982, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-08 18:32:26 UTC (rev 771983)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=33
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-04 Thread Felix Yan via arch-commits
Date: Saturday, December 5, 2020 @ 00:57:39
  Author: felixonmars
Revision: 770342

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 770341, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
770341, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-05 00:57:39 UTC (rev 770342)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=32
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-12-03 Thread Felix Yan via arch-commits
Date: Friday, December 4, 2020 @ 07:54:12
  Author: felixonmars
Revision: 769865

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 769864, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
769864, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-04 07:54:12 UTC (rev 769865)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=31
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-28 Thread Felix Yan via arch-commits
Date: Saturday, November 28, 2020 @ 11:25:25
  Author: felixonmars
Revision: 765169

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 765168, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
765168, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-28 11:25:25 UTC (rev 765169)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=30
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-25 Thread Felix Yan via arch-commits
Date: Thursday, November 26, 2020 @ 04:19:16
  Author: felixonmars
Revision: 761424

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 761423, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
761423, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-26 04:19:16 UTC (rev 761424)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=29
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-23 Thread Felix Yan via arch-commits
Date: Monday, November 23, 2020 @ 17:20:28
  Author: felixonmars
Revision: 760031

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 760030, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
760030, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-23 17:20:28 UTC (rev 760031)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=28
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-17 Thread Felix Yan via arch-commits
Date: Tuesday, November 17, 2020 @ 12:33:46
  Author: felixonmars
Revision: 756740

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 756739, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
756739, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-17 12:33:46 UTC (rev 756740)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=27
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-16 Thread Felix Yan via arch-commits
Date: Tuesday, November 17, 2020 @ 06:21:56
  Author: felixonmars
Revision: 756008

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 756007, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
756007, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-17 06:21:56 UTC (rev 756008)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=26
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-08 Thread Felix Yan via arch-commits
Date: Sunday, November 8, 2020 @ 12:14:15
  Author: felixonmars
Revision: 746526

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 746525, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
746525, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-08 12:14:15 UTC (rev 746526)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=25
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-07 Thread Felix Yan via arch-commits
Date: Saturday, November 7, 2020 @ 14:36:32
  Author: felixonmars
Revision: 745817

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 745816, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
745816, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-07 14:36:32 UTC (rev 745817)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=24
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 14:03:38
  Author: felixonmars
Revision: 744319

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 744318, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
744318, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 14:03:38 UTC (rev 744319)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=23
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-04 Thread Felix Yan via arch-commits
Date: Wednesday, November 4, 2020 @ 17:34:31
  Author: felixonmars
Revision: 742449

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 742448, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
742448, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-04 17:34:31 UTC (rev 742449)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=22
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-04 Thread Felix Yan via arch-commits
Date: Wednesday, November 4, 2020 @ 15:12:23
  Author: felixonmars
Revision: 742101

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 742100, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
742100, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-04 15:12:23 UTC (rev 742101)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=21
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-03 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 19:18:24
  Author: felixonmars
Revision: 741260

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 741259, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
741259, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-03 19:18:24 UTC (rev 741260)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=20
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 16:56:34
  Author: felixonmars
Revision: 739954

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 739953, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
739953, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 16:56:34 UTC (rev 739954)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=19
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-31 Thread Felix Yan via arch-commits
Date: Sunday, November 1, 2020 @ 02:19:56
  Author: felixonmars
Revision: 738126

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 738125, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
738125, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-01 02:19:56 UTC (rev 738126)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=18
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 23:41:24
  Author: felixonmars
Revision: 735218

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 735217, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
735217, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 23:41:24 UTC (rev 735218)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=17
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 13:35:57
  Author: felixonmars
Revision: 732590

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 732589, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
732589, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 13:35:57 UTC (rev 732590)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=16
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-23 Thread Felix Yan via arch-commits
Date: Friday, October 23, 2020 @ 20:05:29
  Author: felixonmars
Revision: 730782

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 730781, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
730781, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-23 20:05:29 UTC (rev 730782)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=15
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-22 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 22:28:12
  Author: felixonmars
Revision: 730274

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 730273, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
730273, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 22:28:12 UTC (rev 730274)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=14
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 729356, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
729356, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 18:10:57 UTC (rev 729357)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=13
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-19 Thread Felix Yan via arch-commits
Date: Monday, October 19, 2020 @ 21:04:11
  Author: felixonmars
Revision: 727336

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 727335, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
727335, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-19 21:04:11 UTC (rev 727336)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=12
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-18 Thread Felix Yan via arch-commits
Date: Sunday, October 18, 2020 @ 12:56:37
  Author: felixonmars
Revision: 725998

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 725997, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
725997, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-18 12:56:37 UTC (rev 725998)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=11
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-15 Thread Felix Yan via arch-commits
Date: Thursday, October 15, 2020 @ 17:24:58
  Author: felixonmars
Revision: 724195

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 724194, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
724194, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-15 17:24:58 UTC (rev 724195)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=10
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-10 Thread Felix Yan via arch-commits
Date: Saturday, October 10, 2020 @ 09:19:13
  Author: felixonmars
Revision: 723009

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 723008, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
723008, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-10 09:19:13 UTC (rev 723009)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=9
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 19:14:47
  Author: felixonmars
Revision: 720888

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 720887, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
720887, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 19:14:47 UTC (rev 720888)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=8
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-05 Thread Felix Yan via arch-commits
Date: Monday, October 5, 2020 @ 18:42:58
  Author: felixonmars
Revision: 718901

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 718900, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
718900, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-05 18:42:58 UTC (rev 718901)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=7
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 17:56:52
  Author: felixonmars
Revision: 717819

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 717818, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
717818, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 17:56:52 UTC (rev 717819)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=6
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 20:54:16
  Author: felixonmars
Revision: 715686

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 715685, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
715685, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 20:54:16 UTC (rev 715686)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=5
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-09-28 Thread Felix Yan via arch-commits
Date: Monday, September 28, 2020 @ 20:54:32
  Author: felixonmars
Revision: 713369

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 713368, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
713368, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-28 20:54:32 UTC (rev 713369)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=4
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-09-24 Thread Felix Yan via arch-commits
Date: Thursday, September 24, 2020 @ 13:07:00
  Author: felixonmars
Revision: 711726

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 711725, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
711725, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-24 13:07:00 UTC (rev 711726)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=3
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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-conduit-parse/repos (2 files)

2020-09-18 Thread Felix Yan via arch-commits
Date: Friday, September 18, 2020 @ 11:50:35
  Author: felixonmars
Revision: 710005

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-parse/repos/community-staging-x86_64/
  haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 710004, haskell-conduit-parse/trunk/PKGBUILD)

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

Copied: haskell-conduit-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
710004, haskell-conduit-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-18 11:50:35 UTC (rev 710005)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=conduit-parse
+pkgname=haskell-conduit-parse
+pkgver=0.2.1.0
+pkgrel=2
+pkgdesc="Parsing framework based on conduit"
+url="https://github.com/k0ral/conduit-parse;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-dlist' 'haskell-parsers' 
'haskell-safe'
+ 'haskell-safe-exceptions')
+makedepends=('ghc' 'hlint' 'haskell-resourcet' 'haskell-tasty' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b585dbdc0c1e3a844a9cd97cd1e72d7a73521b66b856001960afe4057130dae1')
+
+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' \
+-fenable-hlint-test
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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
+}