[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-09-05 Thread Felix Yan via arch-commits
Date: Monday, September 5, 2022 @ 20:55:34
  Author: felixonmars
Revision: 1293322

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1293321, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-05 20:55:20 UTC (rev 1293321)
+++ PKGBUILD2022-09-05 20:55:34 UTC (rev 1293322)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=35
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1293321, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-05 20:55:34 UTC (rev 1293322)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=36
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 20:21:57
  Author: felixonmars
Revision: 1285855

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1285854, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-29 20:21:43 UTC (rev 1285854)
+++ PKGBUILD2022-08-29 20:21:57 UTC (rev 1285855)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=33
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1285854, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-29 20:21:57 UTC (rev 1285855)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=34
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 11:30:49
  Author: felixonmars
Revision: 1281880

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1281879, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-26 11:30:29 UTC (rev 1281879)
+++ PKGBUILD2022-08-26 11:30:49 UTC (rev 1281880)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=31
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1281879, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-26 11:30:49 UTC (rev 1281880)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=32
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 19:49:22
  Author: felixonmars
Revision: 1276886

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1276885, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-24 19:49:06 UTC (rev 1276885)
+++ PKGBUILD2022-08-24 19:49:22 UTC (rev 1276886)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=29
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1276885, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-24 19:49:22 UTC (rev 1276886)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=30
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 19:33:32
  Author: felixonmars
Revision: 1276836

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1276835, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-24 19:33:16 UTC (rev 1276835)
+++ PKGBUILD2022-08-24 19:33:32 UTC (rev 1276836)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=28
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1276835, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-24 19:33:32 UTC (rev 1276836)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=29
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1268286, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-18 18:04:19 UTC (rev 1268286)
+++ PKGBUILD2022-08-18 18:04:34 UTC (rev 1268287)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=26
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1268286, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-18 18:04:34 UTC (rev 1268287)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=27
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 14:08:41
  Author: felixonmars
Revision: 1260845

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1260844, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-08 14:08:23 UTC (rev 1260844)
+++ PKGBUILD2022-08-08 14:08:41 UTC (rev 1260845)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=24
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1260844, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-08 14:08:41 UTC (rev 1260845)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=25
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-07-24 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 04:27:26
  Author: felixonmars
Revision: 1256235

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1256234, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-07-25 04:27:13 UTC (rev 1256234)
+++ PKGBUILD2022-07-25 04:27:26 UTC (rev 1256235)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=22
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1256234, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-07-25 04:27:26 UTC (rev 1256235)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=23
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-07-11 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 05:24:20
  Author: felixonmars
Revision: 1250015

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1250014, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-07-12 05:24:07 UTC (rev 1250014)
+++ PKGBUILD2022-07-12 05:24:20 UTC (rev 1250015)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=20
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1250014, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-07-12 05:24:20 UTC (rev 1250015)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=21
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 11:47:40
  Author: felixonmars
Revision: 1244323

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1244322, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-07-05 11:47:20 UTC (rev 1244322)
+++ PKGBUILD2022-07-05 11:47:40 UTC (rev 1244323)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=18
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1244322, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-07-05 11:47:40 UTC (rev 1244323)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=19
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 14:18:00
  Author: felixonmars
Revision: 1240524

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1240523, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-29 14:17:47 UTC (rev 1240523)
+++ PKGBUILD2022-06-29 14:18:00 UTC (rev 1240524)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=16
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1240523, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-29 14:18:00 UTC (rev 1240524)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=17
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 19:46:04
  Author: felixonmars
Revision: 1234609

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1234608, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-11 19:45:50 UTC (rev 1234608)
+++ PKGBUILD2022-06-11 19:46:04 UTC (rev 1234609)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=14
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1234608, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-11 19:46:04 UTC (rev 1234609)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=15
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 16:14:53
  Author: felixonmars
Revision: 1230569

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1230568, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-10 16:14:41 UTC (rev 1230568)
+++ PKGBUILD2022-06-10 16:14:53 UTC (rev 1230569)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=12
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1230568, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-10 16:14:53 UTC (rev 1230569)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=13
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 15:54:32
  Author: felixonmars
Revision: 1223073

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1223072, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-05 15:54:19 UTC (rev 1223072)
+++ PKGBUILD2022-06-05 15:54:32 UTC (rev 1223073)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=10
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1223072, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-05 15:54:32 UTC (rev 1223073)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=11
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 07:41:31
  Author: felixonmars
Revision: 1219196

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1219195, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-03 07:41:19 UTC (rev 1219195)
+++ PKGBUILD2022-06-03 07:41:31 UTC (rev 1219196)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=8
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1219195, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-03 07:41:31 UTC (rev 1219196)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=9
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 07:50:40
  Author: felixonmars
Revision: 1214972

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1214971, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-30 07:50:28 UTC (rev 1214971)
+++ PKGBUILD2022-05-30 07:50:40 UTC (rev 1214972)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=6
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1214971, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-30 07:50:40 UTC (rev 1214972)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=7
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 07:21:52
  Author: felixonmars
Revision: 1214892

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1214891, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-30 07:21:39 UTC (rev 1214891)
+++ PKGBUILD2022-05-30 07:21:52 UTC (rev 1214892)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=5
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1214891, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-30 07:21:52 UTC (rev 1214892)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=6
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 13:22:04
  Author: felixonmars
Revision: 1211272

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1211271, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-28 13:21:53 UTC (rev 1211271)
+++ PKGBUILD2022-05-28 13:22:04 UTC (rev 1211272)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=3
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1211271, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-28 13:22:04 UTC (rev 1211272)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=4
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 12:44:33
  Author: felixonmars
Revision: 1211208

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1211207, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-28 12:44:17 UTC (rev 1211207)
+++ PKGBUILD2022-05-28 12:44:33 UTC (rev 1211208)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=2
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1211207, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-28 12:44:33 UTC (rev 1211208)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=3
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 12:16:15
  Author: felixonmars
Revision: 1211108

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1211107, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-28 12:16:03 UTC (rev 1211107)
+++ PKGBUILD2022-05-28 12:16:15 UTC (rev 1211108)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.20.0
-pkgrel=1
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1211107, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-28 12:16:15 UTC (rev 1211108)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.20.0
+pkgrel=2
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 11:24:06
  Author: felixonmars
Revision: 1203846

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1203845, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 11:23:53 UTC (rev 1203845)
+++ PKGBUILD2022-05-14 11:24:06 UTC (rev 1203846)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=29
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1203845, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-14 11:24:06 UTC (rev 1203846)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=30
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 06:22:47
  Author: felixonmars
Revision: 1200339

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1200338, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-13 06:22:36 UTC (rev 1200338)
+++ PKGBUILD2022-05-13 06:22:47 UTC (rev 1200339)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=27
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1200338, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-13 06:22:47 UTC (rev 1200339)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=28
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 10:01:48
  Author: felixonmars
Revision: 1192978

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1192977, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-04 10:01:35 UTC (rev 1192977)
+++ PKGBUILD2022-05-04 10:01:48 UTC (rev 1192978)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=25
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1192977, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-04 10:01:48 UTC (rev 1192978)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=26
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 18:29:32
  Author: felixonmars
Revision: 1187840

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1187839, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-23 18:29:21 UTC (rev 1187839)
+++ PKGBUILD2022-04-23 18:29:32 UTC (rev 1187840)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=23
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1187839, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-23 18:29:32 UTC (rev 1187840)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=24
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-04-09 Thread Felix Yan via arch-commits
Date: Saturday, April 9, 2022 @ 22:55:00
  Author: felixonmars
Revision: 1183374

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1183373, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-09 22:54:48 UTC (rev 1183373)
+++ PKGBUILD2022-04-09 22:55:00 UTC (rev 1183374)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=21
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1183373, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-09 22:55:00 UTC (rev 1183374)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=22
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-31 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 01:19:23
  Author: felixonmars
Revision: 1178184

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1178183, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-01 01:19:08 UTC (rev 1178183)
+++ PKGBUILD2022-04-01 01:19:23 UTC (rev 1178184)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=19
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1178183, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-01 01:19:23 UTC (rev 1178184)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=20
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-23 Thread Felix Yan via arch-commits
Date: Wednesday, March 23, 2022 @ 22:24:30
  Author: felixonmars
Revision: 1172203

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1172202, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-23 22:24:17 UTC (rev 1172202)
+++ PKGBUILD2022-03-23 22:24:30 UTC (rev 1172203)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=17
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1172202, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-23 22:24:30 UTC (rev 1172203)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=18
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 16:13:42
  Author: felixonmars
Revision: 1167091

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1167090, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-21 16:13:32 UTC (rev 1167090)
+++ PKGBUILD2022-03-21 16:13:42 UTC (rev 1167091)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=15
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1167090, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-21 16:13:42 UTC (rev 1167091)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=16
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 15:15:52
  Author: felixonmars
Revision: 1163827

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1163826, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-20 15:15:42 UTC (rev 1163826)
+++ PKGBUILD2022-03-20 15:15:52 UTC (rev 1163827)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=13
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1163826, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-20 15:15:52 UTC (rev 1163827)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=14
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 12:24:32
  Author: felixonmars
Revision: 1160572

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1160571, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-19 12:24:22 UTC (rev 1160571)
+++ PKGBUILD2022-03-19 12:24:32 UTC (rev 1160572)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=11
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1160571, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-19 12:24:32 UTC (rev 1160572)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=12
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-18 Thread Felix Yan via arch-commits
Date: Friday, March 18, 2022 @ 00:19:55
  Author: felixonmars
Revision: 1157616

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1157615, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-18 00:19:44 UTC (rev 1157615)
+++ PKGBUILD2022-03-18 00:19:55 UTC (rev 1157616)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=9
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1157615, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-18 00:19:55 UTC (rev 1157616)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=10
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-13 Thread Felix Yan via arch-commits
Date: Sunday, March 13, 2022 @ 21:26:48
  Author: felixonmars
Revision: 1151497

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1151496, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-13 21:26:39 UTC (rev 1151496)
+++ PKGBUILD2022-03-13 21:26:48 UTC (rev 1151497)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=7
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1151496, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-13 21:26:48 UTC (rev 1151497)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=8
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-10 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 02:39:44
  Author: felixonmars
Revision: 1147276

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1147275, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-11 02:39:36 UTC (rev 1147275)
+++ PKGBUILD2022-03-11 02:39:44 UTC (rev 1147276)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=5
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1147275, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-11 02:39:44 UTC (rev 1147276)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=6
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-07 Thread Felix Yan via arch-commits
Date: Monday, March 7, 2022 @ 09:41:09
  Author: felixonmars
Revision: 1144249

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1144248, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-07 09:41:01 UTC (rev 1144248)
+++ PKGBUILD2022-03-07 09:41:09 UTC (rev 1144249)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=3
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1144248, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-07 09:41:09 UTC (rev 1144249)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=4
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-07 Thread Felix Yan via arch-commits
Date: Monday, March 7, 2022 @ 09:36:36
  Author: felixonmars
Revision: 1144233

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1144232, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-07 09:36:27 UTC (rev 1144232)
+++ PKGBUILD2022-03-07 09:36:36 UTC (rev 1144233)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=2
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1144232, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-07 09:36:36 UTC (rev 1144233)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=3
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-06 Thread Felix Yan via arch-commits
Date: Sunday, March 6, 2022 @ 23:34:33
  Author: felixonmars
Revision: 1144101

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1144100, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-06 23:34:25 UTC (rev 1144100)
+++ PKGBUILD2022-03-06 23:34:33 UTC (rev 1144101)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.19.0
-pkgrel=1
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
-  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
-  'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1144100, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-06 23:34:33 UTC (rev 1144101)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.19.0
+pkgrel=2
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-hspec-discover'
+  'haskell-quickcheck' 'haskell-stringbuilder' 'haskell-silently' 
'haskell-setenv'
+  'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d165230720bb979f545af221fafd28a6ea23dcf7d462196ed5a74a692eed79606bc61a5b72a269ae0e386747fcb87a920fc12c32564b386aee2485eb751c4e9')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-03-03 Thread Felix Yan via arch-commits
Date: Thursday, March 3, 2022 @ 11:26:48
  Author: felixonmars
Revision: 1140442

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1140441, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-03 11:26:39 UTC (rev 1140441)
+++ PKGBUILD2022-03-03 11:26:48 UTC (rev 1140442)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=41
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1140441, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-03 11:26:48 UTC (rev 1140442)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=42
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-02-18 Thread Felix Yan via arch-commits
Date: Friday, February 18, 2022 @ 20:15:57
  Author: felixonmars
Revision: 1134210

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1134209, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-18 20:15:48 UTC (rev 1134209)
+++ PKGBUILD2022-02-18 20:15:57 UTC (rev 1134210)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=39
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1134209, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-18 20:15:57 UTC (rev 1134210)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=40
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-02-07 Thread Felix Yan via arch-commits
Date: Monday, February 7, 2022 @ 12:14:33
  Author: felixonmars
Revision: 1127715

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1127714, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-07 12:14:25 UTC (rev 1127714)
+++ PKGBUILD2022-02-07 12:14:33 UTC (rev 1127715)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=37
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1127714, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-07 12:14:33 UTC (rev 1127715)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=38
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-02-02 Thread Felix Yan via arch-commits
Date: Wednesday, February 2, 2022 @ 16:11:37
  Author: felixonmars
Revision: 1122543

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1122542, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-02 16:11:28 UTC (rev 1122542)
+++ PKGBUILD2022-02-02 16:11:37 UTC (rev 1122543)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=35
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1122542, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-02 16:11:37 UTC (rev 1122543)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=36
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-01-27 Thread Felix Yan via arch-commits
Date: Thursday, January 27, 2022 @ 18:51:34
  Author: felixonmars
Revision: 1117300

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1117299, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-27 18:51:26 UTC (rev 1117299)
+++ PKGBUILD2022-01-27 18:51:34 UTC (rev 1117300)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=33
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1117299, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-27 18:51:34 UTC (rev 1117300)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=34
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-01-24 Thread Felix Yan via arch-commits
Date: Monday, January 24, 2022 @ 12:15:11
  Author: felixonmars
Revision: 1114360

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1114359, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-24 12:15:02 UTC (rev 1114359)
+++ PKGBUILD2022-01-24 12:15:11 UTC (rev 1114360)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=31
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1114359, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-24 12:15:11 UTC (rev 1114360)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=32
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-01-17 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 18:06:03
  Author: felixonmars
Revision: 1107809

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1107808, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-17 18:05:54 UTC (rev 1107808)
+++ PKGBUILD2022-01-17 18:06:03 UTC (rev 1107809)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=29
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1107808, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-17 18:06:03 UTC (rev 1107809)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=30
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-01-17 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 13:23:33
  Author: felixonmars
Revision: 1107735

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1107734, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-17 13:23:25 UTC (rev 1107734)
+++ PKGBUILD2022-01-17 13:23:33 UTC (rev 1107735)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=28
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1107734, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-17 13:23:33 UTC (rev 1107735)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=29
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-01-10 Thread Felix Yan via arch-commits
Date: Monday, January 10, 2022 @ 23:15:30
  Author: felixonmars
Revision: 1100092

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1100091, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-10 23:15:22 UTC (rev 1100091)
+++ PKGBUILD2022-01-10 23:15:30 UTC (rev 1100092)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=26
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1100091, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-10 23:15:30 UTC (rev 1100092)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=27
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-01-07 Thread Felix Yan via arch-commits
Date: Friday, January 7, 2022 @ 15:26:45
  Author: felixonmars
Revision: 1095908

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1095907, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-07 15:26:37 UTC (rev 1095907)
+++ PKGBUILD2022-01-07 15:26:45 UTC (rev 1095908)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=24
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1095907, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-07 15:26:45 UTC (rev 1095908)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=25
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2022-01-05 Thread Felix Yan via arch-commits
Date: Wednesday, January 5, 2022 @ 19:15:58
  Author: felixonmars
Revision: 1093378

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1093377, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-05 19:15:50 UTC (rev 1093377)
+++ PKGBUILD2022-01-05 19:15:58 UTC (rev 1093378)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=22
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1093377, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-05 19:15:58 UTC (rev 1093378)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=23
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-12-30 Thread Felix Yan via arch-commits
Date: Thursday, December 30, 2021 @ 22:56:33
  Author: felixonmars
Revision: 1089018

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1089017, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-30 22:56:25 UTC (rev 1089017)
+++ PKGBUILD2021-12-30 22:56:33 UTC (rev 1089018)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=20
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1089017, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-30 22:56:33 UTC (rev 1089018)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=21
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 20:21:02
  Author: felixonmars
Revision: 1084150

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1084149, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-27 20:20:53 UTC (rev 1084149)
+++ PKGBUILD2021-12-27 20:21:02 UTC (rev 1084150)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=18
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1084149, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-27 20:21:02 UTC (rev 1084150)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=19
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 14:33:15
  Author: felixonmars
Revision: 1084113

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1084112, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-27 14:33:06 UTC (rev 1084112)
+++ PKGBUILD2021-12-27 14:33:15 UTC (rev 1084113)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=17
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1084112, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-27 14:33:15 UTC (rev 1084113)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=18
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-12-20 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 16:02:23
  Author: felixonmars
Revision: 1080258

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1080257, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-20 16:02:15 UTC (rev 1080257)
+++ PKGBUILD2021-12-20 16:02:23 UTC (rev 1080258)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=15
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1080257, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-20 16:02:23 UTC (rev 1080258)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=16
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-12-17 Thread Felix Yan via arch-commits
Date: Saturday, December 18, 2021 @ 00:44:47
  Author: felixonmars
Revision: 1076662

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1076661, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-18 00:44:39 UTC (rev 1076661)
+++ PKGBUILD2021-12-18 00:44:47 UTC (rev 1076662)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=13
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1076661, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-18 00:44:47 UTC (rev 1076662)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=14
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-12-14 Thread Felix Yan via arch-commits
Date: Tuesday, December 14, 2021 @ 23:02:28
  Author: felixonmars
Revision: 1072858

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1072857, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-14 23:02:19 UTC (rev 1072857)
+++ PKGBUILD2021-12-14 23:02:28 UTC (rev 1072858)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=11
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1072857, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-14 23:02:28 UTC (rev 1072858)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=12
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-11-17 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 23:37:03
  Author: felixonmars
Revision: 1051306

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1051305, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-17 23:36:55 UTC (rev 1051305)
+++ PKGBUILD2021-11-17 23:37:03 UTC (rev 1051306)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=8
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1051305, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-17 23:37:03 UTC (rev 1051306)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=9
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-11-16 Thread Felix Yan via arch-commits
Date: Tuesday, November 16, 2021 @ 12:32:18
  Author: felixonmars
Revision: 1048769

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1048768, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-16 12:32:10 UTC (rev 1048768)
+++ PKGBUILD2021-11-16 12:32:18 UTC (rev 1048769)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=6
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1048768, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-16 12:32:18 UTC (rev 1048769)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=7
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-11-13 Thread Felix Yan via arch-commits
Date: Saturday, November 13, 2021 @ 08:31:05
  Author: felixonmars
Revision: 1044918

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1044917, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-13 08:30:57 UTC (rev 1044917)
+++ PKGBUILD2021-11-13 08:31:05 UTC (rev 1044918)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=4
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1044917, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-13 08:31:05 UTC (rev 1044918)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=5
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-11-11 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 16:33:56
  Author: felixonmars
Revision: 1042301

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1042300, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-11 16:33:47 UTC (rev 1042300)
+++ PKGBUILD2021-11-11 16:33:56 UTC (rev 1042301)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=2
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1042300, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-11 16:33:56 UTC (rev 1042301)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=3
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-11-11 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 15:17:41
  Author: felixonmars
Revision: 1042200

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1042199, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-11 15:17:33 UTC (rev 1042199)
+++ PKGBUILD2021-11-11 15:17:41 UTC (rev 1042200)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.2
-pkgrel=1
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1042199, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-11 15:17:41 UTC (rev 1042200)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.2
+pkgrel=2
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fd6c9d5b3292083ec3d9301779c0d165879cea0b71d5548cd49e6394f6eaf908679312f1ed9606298966169cd383886df18fb292e15a4132c1567f4c46782b83')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-11-10 Thread Felix Yan via arch-commits
Date: Wednesday, November 10, 2021 @ 14:33:12
  Author: felixonmars
Revision: 1039629

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1039628, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-10 14:32:57 UTC (rev 1039628)
+++ PKGBUILD2021-11-10 14:33:12 UTC (rev 1039629)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=69
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1039628, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-10 14:33:12 UTC (rev 1039629)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=70
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-11-10 Thread Felix Yan via arch-commits
Date: Wednesday, November 10, 2021 @ 11:02:52
  Author: felixonmars
Revision: 1039551

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1039550, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-10 11:02:38 UTC (rev 1039550)
+++ PKGBUILD2021-11-10 11:02:52 UTC (rev 1039551)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=68
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1039550, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-10 11:02:52 UTC (rev 1039551)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=69
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-10-11 Thread Felix Yan via arch-commits
Date: Monday, October 11, 2021 @ 23:37:21
  Author: felixonmars
Revision: 1029671

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1029670, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-10-11 23:37:13 UTC (rev 1029670)
+++ PKGBUILD2021-10-11 23:37:21 UTC (rev 1029671)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=65
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1029670, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-10-11 23:37:21 UTC (rev 1029671)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=66
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-09-23 Thread Felix Yan via arch-commits
Date: Thursday, September 23, 2021 @ 23:20:18
  Author: felixonmars
Revision: 1022930

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1022929, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-23 23:20:03 UTC (rev 1022929)
+++ PKGBUILD2021-09-23 23:20:18 UTC (rev 1022930)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=63
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1022929, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-23 23:20:18 UTC (rev 1022930)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=64
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-09-21 Thread Felix Yan via arch-commits
Date: Tuesday, September 21, 2021 @ 12:10:44
  Author: felixonmars
Revision: 1020202

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1020201, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-21 12:10:28 UTC (rev 1020201)
+++ PKGBUILD2021-09-21 12:10:44 UTC (rev 1020202)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=61
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1020201, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-21 12:10:44 UTC (rev 1020202)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=62
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-09-21 Thread Felix Yan via arch-commits
Date: Tuesday, September 21, 2021 @ 09:54:55
  Author: felixonmars
Revision: 1020152

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1020151, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-21 09:54:39 UTC (rev 1020151)
+++ PKGBUILD2021-09-21 09:54:55 UTC (rev 1020152)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=60
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1020151, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-21 09:54:55 UTC (rev 1020152)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=61
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-09-19 Thread Felix Yan via arch-commits
Date: Sunday, September 19, 2021 @ 15:06:49
  Author: felixonmars
Revision: 1017376

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1017375, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-19 15:06:25 UTC (rev 1017375)
+++ PKGBUILD2021-09-19 15:06:49 UTC (rev 1017376)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=58
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1017375, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-19 15:06:49 UTC (rev 1017376)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=59
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-08-28 Thread Felix Yan via arch-commits
Date: Saturday, August 28, 2021 @ 14:36:50
  Author: felixonmars
Revision: 1007729

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1007728, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-28 14:36:42 UTC (rev 1007728)
+++ PKGBUILD2021-08-28 14:36:50 UTC (rev 1007729)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=56
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1007728, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-28 14:36:50 UTC (rev 1007729)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=57
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-08-25 Thread Felix Yan via arch-commits
Date: Wednesday, August 25, 2021 @ 22:40:10
  Author: felixonmars
Revision: 1004956

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1004955, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-25 22:39:59 UTC (rev 1004955)
+++ PKGBUILD2021-08-25 22:40:10 UTC (rev 1004956)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=54
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1004955, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-25 22:40:10 UTC (rev 1004956)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=55
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 17, 2021 @ 12:49:29
  Author: felixonmars
Revision: 1001412

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1001411, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-17 12:49:21 UTC (rev 1001411)
+++ PKGBUILD2021-08-17 12:49:29 UTC (rev 1001412)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=52
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1001411, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-17 12:49:29 UTC (rev 1001412)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=53
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 17, 2021 @ 10:32:08
  Author: felixonmars
Revision: 1001322

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 1001321, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-17 10:31:59 UTC (rev 1001321)
+++ PKGBUILD2021-08-17 10:32:08 UTC (rev 1001322)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=51
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
1001321, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-17 10:32:08 UTC (rev 1001322)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=52
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-07-26 Thread Felix Yan via arch-commits
Date: Monday, July 26, 2021 @ 09:16:13
  Author: felixonmars
Revision: 985174

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 985173, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-26 09:16:04 UTC (rev 985173)
+++ PKGBUILD2021-07-26 09:16:13 UTC (rev 985174)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=47
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
985173, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-26 09:16:13 UTC (rev 985174)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=48
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 09:04:41
  Author: felixonmars
Revision: 981597

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 981596, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-21 09:04:27 UTC (rev 981596)
+++ PKGBUILD2021-07-21 09:04:41 UTC (rev 981597)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=45
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
981596, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-21 09:04:41 UTC (rev 981597)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=46
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-07-06 Thread Felix Yan via arch-commits
Date: Tuesday, July 6, 2021 @ 09:05:14
  Author: felixonmars
Revision: 972865

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 972864, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-06 09:04:58 UTC (rev 972864)
+++ PKGBUILD2021-07-06 09:05:14 UTC (rev 972865)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=42
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
972864, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-06 09:05:14 UTC (rev 972865)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=43
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-07-06 Thread Felix Yan via arch-commits
Date: Tuesday, July 6, 2021 @ 07:48:24
  Author: felixonmars
Revision: 972790

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 972789, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-06 07:48:09 UTC (rev 972789)
+++ PKGBUILD2021-07-06 07:48:24 UTC (rev 972790)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=41
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
972789, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-06 07:48:24 UTC (rev 972790)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=42
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-07-01 Thread Felix Yan via arch-commits
Date: Thursday, July 1, 2021 @ 17:29:37
  Author: felixonmars
Revision: 969468

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 969467, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-01 17:29:26 UTC (rev 969467)
+++ PKGBUILD2021-07-01 17:29:37 UTC (rev 969468)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=39
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
969467, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-01 17:29:37 UTC (rev 969468)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=40
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 7, 2021 @ 04:19:53
  Author: felixonmars
Revision: 957019

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 957018, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-06-07 04:19:37 UTC (rev 957018)
+++ PKGBUILD2021-06-07 04:19:53 UTC (rev 957019)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=35
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
957018, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-06-07 04:19:53 UTC (rev 957019)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=36
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-06-02 Thread Felix Yan via arch-commits
Date: Wednesday, June 2, 2021 @ 21:03:29
  Author: felixonmars
Revision: 953440

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 953439, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-06-02 21:03:18 UTC (rev 953439)
+++ PKGBUILD2021-06-02 21:03:29 UTC (rev 953440)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=33
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
953439, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-06-02 21:03:29 UTC (rev 953440)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=34
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Sunday, May 30, 2021 @ 21:25:27
  Author: felixonmars
Revision: 950667

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 950666, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-30 21:25:16 UTC (rev 950666)
+++ PKGBUILD2021-05-30 21:25:27 UTC (rev 950667)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=31
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
950666, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-30 21:25:27 UTC (rev 950667)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=32
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Wednesday, May 26, 2021 @ 20:11:02
  Author: felixonmars
Revision: 946927

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 946926, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-26 20:10:51 UTC (rev 946926)
+++ PKGBUILD2021-05-26 20:11:02 UTC (rev 946927)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=29
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
946926, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-26 20:11:02 UTC (rev 946927)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=30
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-05-20 Thread Felix Yan via arch-commits
Date: Friday, May 21, 2021 @ 01:23:06
  Author: felixonmars
Revision: 939789

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 939788, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-21 01:22:47 UTC (rev 939788)
+++ PKGBUILD2021-05-21 01:23:06 UTC (rev 939789)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=27
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
939788, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-21 01:23:06 UTC (rev 939789)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=28
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-05-19 Thread Felix Yan via arch-commits
Date: Wednesday, May 19, 2021 @ 18:42:47
  Author: felixonmars
Revision: 936632

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 936631, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-19 18:42:30 UTC (rev 936631)
+++ PKGBUILD2021-05-19 18:42:47 UTC (rev 936632)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=25
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
936631, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-19 18:42:47 UTC (rev 936632)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=26
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-05-13 Thread Felix Yan via arch-commits
Date: Thursday, May 13, 2021 @ 09:58:40
  Author: felixonmars
Revision: 933002

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 933001, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-13 09:58:22 UTC (rev 933001)
+++ PKGBUILD2021-05-13 09:58:40 UTC (rev 933002)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=23
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
933001, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-13 09:58:40 UTC (rev 933002)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=24
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-05-11 Thread Felix Yan via arch-commits
Date: Tuesday, May 11, 2021 @ 16:27:58
  Author: felixonmars
Revision: 930245

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 930244, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-11 16:27:39 UTC (rev 930244)
+++ PKGBUILD2021-05-11 16:27:58 UTC (rev 930245)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=21
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
930244, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-11 16:27:58 UTC (rev 930245)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=22
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-04-12 Thread Felix Yan via arch-commits
Date: Monday, April 12, 2021 @ 21:34:09
  Author: felixonmars
Revision: 916078

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 916077, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-04-12 21:33:54 UTC (rev 916077)
+++ PKGBUILD2021-04-12 21:34:09 UTC (rev 916078)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=18
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
916077, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-04-12 21:34:09 UTC (rev 916078)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=19
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-04-07 Thread Felix Yan via arch-commits
Date: Wednesday, April 7, 2021 @ 19:02:44
  Author: felixonmars
Revision: 912596

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 912595, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-04-07 19:02:29 UTC (rev 912595)
+++ PKGBUILD2021-04-07 19:02:44 UTC (rev 912596)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=16
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
912595, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-04-07 19:02:44 UTC (rev 912596)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=17
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-04-07 Thread Felix Yan via arch-commits
Date: Wednesday, April 7, 2021 @ 15:58:38
  Author: felixonmars
Revision: 912498

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 912497, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-04-07 15:58:17 UTC (rev 912497)
+++ PKGBUILD2021-04-07 15:58:38 UTC (rev 912498)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=15
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
912497, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-04-07 15:58:38 UTC (rev 912498)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=16
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-28 Thread Felix Yan via arch-commits
Date: Sunday, March 28, 2021 @ 22:37:48
  Author: felixonmars
Revision: 908051

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 908050, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-28 22:37:35 UTC (rev 908050)
+++ PKGBUILD2021-03-28 22:37:48 UTC (rev 908051)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=13
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
908050, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-28 22:37:48 UTC (rev 908051)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=14
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-27 Thread Felix Yan via arch-commits
Date: Saturday, March 27, 2021 @ 22:51:16
  Author: felixonmars
Revision: 905689

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 905688, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-27 22:51:02 UTC (rev 905688)
+++ PKGBUILD2021-03-27 22:51:16 UTC (rev 905689)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=11
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
905688, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-27 22:51:16 UTC (rev 905689)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=12
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 25, 2021 @ 00:09:28
  Author: felixonmars
Revision: 901968

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 901967, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-25 00:09:15 UTC (rev 901967)
+++ PKGBUILD2021-03-25 00:09:28 UTC (rev 901968)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=9
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
901967, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-25 00:09:28 UTC (rev 901968)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=10
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-22 Thread Felix Yan via arch-commits
Date: Monday, March 22, 2021 @ 15:30:52
  Author: felixonmars
Revision: 899028

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 899027, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-22 15:30:29 UTC (rev 899027)
+++ PKGBUILD2021-03-22 15:30:52 UTC (rev 899028)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=7
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
899027, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-22 15:30:52 UTC (rev 899028)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=8
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-20 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 22:48:05
  Author: felixonmars
Revision: 896280

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 896279, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-20 22:47:51 UTC (rev 896279)
+++ PKGBUILD2021-03-20 22:48:05 UTC (rev 896280)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=5
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
896279, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-20 22:48:05 UTC (rev 896280)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=6
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-20 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 22:22:53
  Author: felixonmars
Revision: 896252

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 896251, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-20 22:22:42 UTC (rev 896251)
+++ PKGBUILD2021-03-20 22:22:53 UTC (rev 896252)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=4
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
896251, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-20 22:22:53 UTC (rev 896252)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=5
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-16 Thread Felix Yan via arch-commits
Date: Tuesday, March 16, 2021 @ 12:54:57
  Author: felixonmars
Revision: 891854

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 891853, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-16 12:54:44 UTC (rev 891853)
+++ PKGBUILD2021-03-16 12:54:57 UTC (rev 891854)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=2
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
891853, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-16 12:54:57 UTC (rev 891854)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=3
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-15 Thread Felix Yan via arch-commits
Date: Monday, March 15, 2021 @ 20:08:12
  Author: felixonmars
Revision: 891600

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 891599, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-15 20:08:00 UTC (rev 891599)
+++ PKGBUILD2021-03-15 20:08:12 UTC (rev 891600)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18.1
-pkgrel=1
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
- 'haskell-code-page' 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
891599, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-15 20:08:12 UTC (rev 891600)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=2
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-11 Thread Felix Yan via arch-commits
Date: Thursday, March 11, 2021 @ 14:28:20
  Author: felixonmars
Revision: 887509

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 887508, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-11 14:27:59 UTC (rev 887508)
+++ PKGBUILD2021-03-11 14:28:20 UTC (rev 887509)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18
-pkgrel=22
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
- 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
887508, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-11 14:28:20 UTC (rev 887509)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18
+pkgrel=23
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
+ 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-06 Thread Felix Yan via arch-commits
Date: Saturday, March 6, 2021 @ 22:35:13
  Author: felixonmars
Revision: 884647

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 884646, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-06 22:34:58 UTC (rev 884646)
+++ PKGBUILD2021-03-06 22:35:13 UTC (rev 884647)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18
-pkgrel=20
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
- 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
884646, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-06 22:35:13 UTC (rev 884647)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18
+pkgrel=21
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
+ 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() 

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-05 Thread Felix Yan via arch-commits
Date: Friday, March 5, 2021 @ 17:36:54
  Author: felixonmars
Revision: 882009

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 882008, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-05 17:36:37 UTC (rev 882008)
+++ PKGBUILD2021-03-05 17:36:54 UTC (rev 882009)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18
-pkgrel=18
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
- 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
882008, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-05 17:36:54 UTC (rev 882009)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18
+pkgrel=19
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
+ 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-03 Thread Felix Yan via arch-commits
Date: Wednesday, March 3, 2021 @ 20:42:02
  Author: felixonmars
Revision: 879405

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 879404, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-03 20:41:47 UTC (rev 879404)
+++ PKGBUILD2021-03-03 20:42:02 UTC (rev 879405)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18
-pkgrel=16
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
- 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
879404, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-03 20:42:02 UTC (rev 879405)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18
+pkgrel=17
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
+ 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-03-03 Thread Felix Yan via arch-commits
Date: Wednesday, March 3, 2021 @ 19:59:17
  Author: felixonmars
Revision: 879361

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 879360, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-03 19:59:01 UTC (rev 879360)
+++ PKGBUILD2021-03-03 19:59:17 UTC (rev 879361)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18
-pkgrel=15
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
- 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
879360, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-03 19:59:17 UTC (rev 879361)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18
+pkgrel=16
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
+ 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-02-28 Thread Felix Yan via arch-commits
Date: Sunday, February 28, 2021 @ 23:19:45
  Author: felixonmars
Revision: 876270

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 876268, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-28 23:19:43 UTC (rev 876269)
+++ PKGBUILD2021-02-28 23:19:45 UTC (rev 876270)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18
-pkgrel=13
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
- 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
876268, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-28 23:19:45 UTC (rev 876270)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18
+pkgrel=14
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
+ 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+

[arch-commits] Commit in haskell-doctest/repos/community-staging-x86_64 (2 files)

2021-02-24 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 22:48:57
  Author: felixonmars
Revision: 872061

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 872060, haskell-doctest/trunk/PKGBUILD)
Deleted:
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  116 ++---
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-24 22:48:45 UTC (rev 872060)
+++ PKGBUILD2021-02-24 22:48:57 UTC (rev 872061)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=doctest
-pkgname=haskell-doctest
-pkgver=0.18
-pkgrel=11
-pkgdesc="Test interactive Haskell examples"
-url="https://github.com/sol/doctest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
- 'haskell-ghc-paths')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
-  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
-
-prepare() {
-# Add -dynamic flag
-sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
-sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -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 || echo "Tests failed"
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
872060, haskell-doctest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-24 22:48:57 UTC (rev 872061)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18
+pkgrel=12
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-ghc' 'haskell-syb' 
'haskell-code-page'
+ 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('777be05664c2c6ac10ee8865874cefe2adf5329802ce421422ec2053e7499ffa7cd8dce89c0cdcfd43bbf1d735c509a466fde1e3d86425d30d1a1a0baa2a1ec4')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+

  1   2   >