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

2022-09-05 Thread Felix Yan via arch-commits
Date: Monday, September 5, 2022 @ 22:34:28
  Author: felixonmars
Revision: 1293563

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1293562, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1293562, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-05 22:34:28 UTC (rev 1293563)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=78
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 21:18:02
  Author: felixonmars
Revision: 1286164

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1286163, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1286163, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 21:18:02 UTC (rev 1286164)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=77
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 12:31:33
  Author: felixonmars
Revision: 1282070

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1282069, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1282069, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 12:31:33 UTC (rev 1282070)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=76
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 20:26:23
  Author: felixonmars
Revision: 1277000

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1276999, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1276999, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 20:26:23 UTC (rev 1277000)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=75
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 19:21:26
  Author: felixonmars
Revision: 1268447

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1268446, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1268446, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 19:21:26 UTC (rev 1268447)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=74
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1260936, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1260936, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 14:45:55 UTC (rev 1260937)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=73
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-24 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 05:34:09
  Author: felixonmars
Revision: 1256465

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1256464, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1256464, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 05:34:09 UTC (rev 1256465)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=72
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-12 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 07:10:32
  Author: felixonmars
Revision: 1250270

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1250269, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1250269, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 07:10:32 UTC (rev 1250270)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=71
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 13:36:47
  Author: felixonmars
Revision: 1244576

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1244575, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1244575, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 13:36:47 UTC (rev 1244576)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=70
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1240647, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1240647, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 14:58:00 UTC (rev 1240648)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=69
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 20:22:30
  Author: felixonmars
Revision: 1234749

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1234748, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1234748, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 20:22:30 UTC (rev 1234749)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=68
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 17:01:28
  Author: felixonmars
Revision: 1230764

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1230763, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1230763, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 17:01:28 UTC (rev 1230764)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=67
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 16:48:06
  Author: felixonmars
Revision: 1223205

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1223204, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1223204, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 16:48:06 UTC (rev 1223205)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=66
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 08:06:59
  Author: felixonmars
Revision: 1219341

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1219340, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1219340, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 08:06:59 UTC (rev 1219341)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=65
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 08:50:24
  Author: felixonmars
Revision: 1215120

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1215119, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1215119, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 08:50:24 UTC (rev 1215120)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=64
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 14:00:36
  Author: felixonmars
Revision: 1211439

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1211438, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1211438, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 14:00:36 UTC (rev 1211439)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=63
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 12:01:30
  Author: felixonmars
Revision: 1204010

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1204009, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1204009, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 12:01:30 UTC (rev 1204010)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=62
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 07:23:45
  Author: felixonmars
Revision: 1200614

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1200613, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1200613, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 07:23:45 UTC (rev 1200614)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=61
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 10:15:18
  Author: felixonmars
Revision: 1193054

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1193053, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1193053, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-04 10:15:18 UTC (rev 1193054)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=60
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 20:10:51
  Author: felixonmars
Revision: 1188233

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1188232, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1188232, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 20:10:51 UTC (rev 1188233)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=59
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-09 Thread Felix Yan via arch-commits
Date: Saturday, April 9, 2022 @ 23:28:35
  Author: felixonmars
Revision: 1183484

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1183483, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1183483, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-09 23:28:35 UTC (rev 1183484)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=58
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-31 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 03:34:09
  Author: felixonmars
Revision: 1178478

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1178477, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1178477, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 03:34:09 UTC (rev 1178478)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=57
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-23 Thread Felix Yan via arch-commits
Date: Wednesday, March 23, 2022 @ 23:47:58
  Author: felixonmars
Revision: 1172468

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1172467, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1172467, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-23 23:47:58 UTC (rev 1172468)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=56
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1167180, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1167180, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 16:44:44 UTC (rev 1167181)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=55
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 17:04:39
  Author: felixonmars
Revision: 1164161

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1164160, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1164160, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 17:04:39 UTC (rev 1164161)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=54
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 14:02:36
  Author: felixonmars
Revision: 1160858

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1160857, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1160857, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 14:02:36 UTC (rev 1160858)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=53
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1157703, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1157703, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-18 00:55:28 UTC (rev 1157704)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=52
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-13 Thread Felix Yan via arch-commits
Date: Sunday, March 13, 2022 @ 23:02:02
  Author: felixonmars
Revision: 1151713

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1151712, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1151712, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-13 23:02:02 UTC (rev 1151713)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=51
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-10 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 03:32:24
  Author: felixonmars
Revision: 1147376

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1147375, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1147375, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 03:32:24 UTC (rev 1147376)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=50
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-07 Thread Felix Yan via arch-commits
Date: Monday, March 7, 2022 @ 17:24:01
  Author: felixonmars
Revision: 1144499

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1144498, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1144498, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-07 17:24:01 UTC (rev 1144499)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=49
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-03 Thread Felix Yan via arch-commits
Date: Thursday, March 3, 2022 @ 11:34:21
  Author: felixonmars
Revision: 1140464

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1140463, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1140463, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-03 11:34:21 UTC (rev 1140464)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=48
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-18 Thread Felix Yan via arch-commits
Date: Friday, February 18, 2022 @ 23:40:09
  Author: felixonmars
Revision: 1134556

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1134555, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1134555, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-18 23:40:09 UTC (rev 1134556)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=47
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-07 Thread Felix Yan via arch-commits
Date: Monday, February 7, 2022 @ 12:51:46
  Author: felixonmars
Revision: 1127815

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1127814, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1127814, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-07 12:51:46 UTC (rev 1127815)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=46
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-02 Thread Felix Yan via arch-commits
Date: Wednesday, February 2, 2022 @ 16:28:14
  Author: felixonmars
Revision: 1122602

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1122601, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1122601, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-02 16:28:14 UTC (rev 1122602)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=45
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-27 Thread Felix Yan via arch-commits
Date: Thursday, January 27, 2022 @ 20:32:38
  Author: felixonmars
Revision: 1117611

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1117610, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1117610, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-27 20:32:38 UTC (rev 1117611)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=44
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-24 Thread Felix Yan via arch-commits
Date: Monday, January 24, 2022 @ 13:15:53
  Author: felixonmars
Revision: 1114428

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1114427, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1114427, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-24 13:15:53 UTC (rev 1114428)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=43
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-17 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 19:02:15
  Author: felixonmars
Revision: 1107975

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1107974, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1107974, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 19:02:15 UTC (rev 1107975)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=42
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-11 Thread Felix Yan via arch-commits
Date: Tuesday, January 11, 2022 @ 11:00:23
  Author: felixonmars
Revision: 1100385

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1100384, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1100384, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-11 11:00:23 UTC (rev 1100385)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=41
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-07 Thread Felix Yan via arch-commits
Date: Friday, January 7, 2022 @ 18:43:17
  Author: felixonmars
Revision: 1096039

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1096038, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1096038, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-07 18:43:17 UTC (rev 1096039)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=40
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-05 Thread Felix Yan via arch-commits
Date: Wednesday, January 5, 2022 @ 20:46:54
  Author: felixonmars
Revision: 1093556

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1093555, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1093555, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-05 20:46:54 UTC (rev 1093556)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=39
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-30 Thread Felix Yan via arch-commits
Date: Friday, December 31, 2021 @ 02:48:56
  Author: felixonmars
Revision: 1089234

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1089233, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1089233, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-31 02:48:56 UTC (rev 1089234)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=38
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 21:30:07
  Author: felixonmars
Revision: 1084317

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1084316, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1084316, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 21:30:07 UTC (rev 1084317)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=37
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-20 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 16:44:10
  Author: felixonmars
Revision: 1080356

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1080355, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1080355, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 16:44:10 UTC (rev 1080356)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=36
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-18 Thread Felix Yan via arch-commits
Date: Saturday, December 18, 2021 @ 14:04:34
  Author: felixonmars
Revision: 1076931

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1076930, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1076930, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-18 14:04:34 UTC (rev 1076931)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=35
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-15 Thread Felix Yan via arch-commits
Date: Wednesday, December 15, 2021 @ 15:02:04
  Author: felixonmars
Revision: 1073102

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1073101, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1073101, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-15 15:02:04 UTC (rev 1073102)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=34
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-28 Thread Felix Yan via arch-commits
Date: Sunday, November 28, 2021 @ 19:30:14
  Author: felixonmars
Revision: 1055368

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1055367, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1055367, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-28 19:30:14 UTC (rev 1055368)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=33
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-17 Thread Felix Yan via arch-commits
Date: Thursday, November 18, 2021 @ 00:10:35
  Author: felixonmars
Revision: 1051384

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1051383, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1051383, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-18 00:10:35 UTC (rev 1051384)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=32
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-16 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 00:41:11
  Author: felixonmars
Revision: 1049103

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1049102, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1049102, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 00:41:11 UTC (rev 1049103)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=31
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-13 Thread Felix Yan via arch-commits
Date: Saturday, November 13, 2021 @ 10:29:33
  Author: felixonmars
Revision: 1045085

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1045084, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1045084, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-13 10:29:33 UTC (rev 1045085)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=30
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-11 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 22:24:28
  Author: felixonmars
Revision: 1042465

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1042464, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1042464, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-11 22:24:28 UTC (rev 1042465)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=29
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-10 Thread Felix Yan via arch-commits
Date: Wednesday, November 10, 2021 @ 16:07:46
  Author: felixonmars
Revision: 1039801

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1039800, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1039800, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-10 16:07:46 UTC (rev 1039801)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=28
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-10-26 Thread Felix Yan via arch-commits
Date: Tuesday, October 26, 2021 @ 12:18:28
  Author: felixonmars
Revision: 1033863

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1033862, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1033862, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-26 12:18:28 UTC (rev 1033863)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=27
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-10-11 Thread Felix Yan via arch-commits
Date: Monday, October 11, 2021 @ 16:59:48
  Author: felixonmars
Revision: 1029554

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1029553, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1029553, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-11 16:59:48 UTC (rev 1029554)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=25
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-23 Thread Felix Yan via arch-commits
Date: Friday, September 24, 2021 @ 01:54:55
  Author: felixonmars
Revision: 1023078

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1023077, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1023077, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-24 01:54:55 UTC (rev 1023078)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=24
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-21 Thread Felix Yan via arch-commits
Date: Tuesday, September 21, 2021 @ 13:49:12
  Author: felixonmars
Revision: 1020344

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1020343, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1020343, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-21 13:49:12 UTC (rev 1020344)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=23
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-19 Thread Felix Yan via arch-commits
Date: Sunday, September 19, 2021 @ 16:10:03
  Author: felixonmars
Revision: 1017468

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1017467, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1017467, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-19 16:10:03 UTC (rev 1017468)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=22
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-28 Thread Felix Yan via arch-commits
Date: Saturday, August 28, 2021 @ 20:56:17
  Author: felixonmars
Revision: 1007849

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1007848, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1007848, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-28 20:56:17 UTC (rev 1007849)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=21
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 26, 2021 @ 01:02:31
  Author: felixonmars
Revision: 1005114

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1005113, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1005113, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-26 01:02:31 UTC (rev 1005114)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=20
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 17, 2021 @ 13:39:51
  Author: felixonmars
Revision: 1001592

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 1001591, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
1001591, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-17 13:39:51 UTC (rev 1001592)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=19
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-15 Thread Felix Yan via arch-commits
Date: Sunday, August 15, 2021 @ 17:30:37
  Author: felixonmars
Revision: 998909

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 998908, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
998908, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-15 17:30:37 UTC (rev 998909)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=18
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-08 Thread Felix Yan via arch-commits
Date: Sunday, August 8, 2021 @ 16:07:10
  Author: felixonmars
Revision: 995174

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 995173, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
995173, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-08 16:07:10 UTC (rev 995174)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=17
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-26 Thread Felix Yan via arch-commits
Date: Tuesday, July 27, 2021 @ 01:52:26
  Author: felixonmars
Revision: 986406

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 986405, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
986405, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-27 01:52:26 UTC (rev 986406)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=16
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 11:39:30
  Author: felixonmars
Revision: 981815

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 981814, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
981814, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 11:39:30 UTC (rev 981815)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=15
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Tuesday, July 20, 2021 @ 09:46:17
  Author: felixonmars
Revision: 979570

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 979569, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
979569, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-20 09:46:17 UTC (rev 979570)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=14
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-06 Thread Felix Yan via arch-commits
Date: Tuesday, July 6, 2021 @ 16:04:45
  Author: felixonmars
Revision: 973479

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 973478, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
973478, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-06 16:04:45 UTC (rev 973479)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=13
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-01 Thread Felix Yan via arch-commits
Date: Thursday, July 1, 2021 @ 20:09:29
  Author: felixonmars
Revision: 969718

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 969717, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
969717, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-01 20:09:29 UTC (rev 969718)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=12
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-06-19 Thread Felix Yan via arch-commits
Date: Saturday, June 19, 2021 @ 19:41:57
  Author: felixonmars
Revision: 965637

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 965636, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
965636, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-19 19:41:57 UTC (rev 965637)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=11
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-06-09 Thread Felix Yan via arch-commits
Date: Wednesday, June 9, 2021 @ 22:15:57
  Author: felixonmars
Revision: 960655

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 960654, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
960654, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-09 22:15:57 UTC (rev 960655)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=10
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-06-07 Thread Felix Yan via arch-commits
Date: Monday, June 7, 2021 @ 09:42:37
  Author: felixonmars
Revision: 957260

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 957259, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
957259, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-07 09:42:37 UTC (rev 957260)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=9
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-06-02 Thread Felix Yan via arch-commits
Date: Thursday, June 3, 2021 @ 03:36:21
  Author: felixonmars
Revision: 954378

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 954377, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
954377, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-03 03:36:21 UTC (rev 954378)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=8
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 31, 2021 @ 03:01:00
  Author: felixonmars
Revision: 951535

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 951534, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
951534, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 03:01:00 UTC (rev 951535)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=7
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Thursday, May 27, 2021 @ 01:25:09
  Author: felixonmars
Revision: 947667

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 947666, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
947666, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-27 01:25:09 UTC (rev 947667)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=6
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-21 Thread Felix Yan via arch-commits
Date: Friday, May 21, 2021 @ 14:04:53
  Author: felixonmars
Revision: 940680

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 940679, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
940679, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-21 14:04:53 UTC (rev 940680)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=5
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-19 Thread Felix Yan via arch-commits
Date: Wednesday, May 19, 2021 @ 22:33:56
  Author: felixonmars
Revision: 937072

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 937071, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
937071, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-19 22:33:56 UTC (rev 937072)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=4
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-14 Thread Felix Yan via arch-commits
Date: Friday, May 14, 2021 @ 14:13:30
  Author: felixonmars
Revision: 934061

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 934060, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
934060, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-14 14:13:30 UTC (rev 934061)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=3
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-11 Thread Felix Yan via arch-commits
Date: Tuesday, May 11, 2021 @ 22:42:32
  Author: felixonmars
Revision: 930856

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 930855, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
930855, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-11 22:42:32 UTC (rev 930856)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.2.0.0
+pkgrel=2
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f843e5d44427c0c27bba7c4475d26897214d389cf7b8e1fe9e563067f3884c7ecf409d945518110c13eb257f353e8624367f6366130e3df7d1f436b0e18a933e')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-04-22 Thread Felix Yan via arch-commits
Date: Thursday, April 22, 2021 @ 20:30:45
  Author: felixonmars
Revision: 921660

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 921658, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
921658, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-22 20:30:45 UTC (rev 921660)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=72
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-04-13 Thread Felix Yan via arch-commits
Date: Tuesday, April 13, 2021 @ 06:06:14
  Author: felixonmars
Revision: 916444

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 916443, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
916443, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-13 06:06:14 UTC (rev 916444)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=71
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-04-08 Thread Felix Yan via arch-commits
Date: Thursday, April 8, 2021 @ 09:37:47
  Author: felixonmars
Revision: 913790

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 913789, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
913789, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-08 09:37:47 UTC (rev 913790)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=70
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-29 Thread Felix Yan via arch-commits
Date: Monday, March 29, 2021 @ 07:33:23
  Author: felixonmars
Revision: 908692

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 908691, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
908691, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-29 07:33:23 UTC (rev 908692)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=69
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-28 Thread Felix Yan via arch-commits
Date: Sunday, March 28, 2021 @ 07:51:20
  Author: felixonmars
Revision: 906484

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 906483, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
906483, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-28 07:51:20 UTC (rev 906484)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=68
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-25 Thread Felix Yan via arch-commits
Date: Thursday, March 25, 2021 @ 06:59:15
  Author: felixonmars
Revision: 902550

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 902549, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
902549, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-25 06:59:15 UTC (rev 902550)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=67
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-22 Thread Felix Yan via arch-commits
Date: Tuesday, March 23, 2021 @ 00:45:46
  Author: felixonmars
Revision: 899521

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 899520, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
899520, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-23 00:45:46 UTC (rev 899521)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=66
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-21 Thread Felix Yan via arch-commits
Date: Sunday, March 21, 2021 @ 08:08:47
  Author: felixonmars
Revision: 897188

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 897187, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
897187, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-21 08:08:47 UTC (rev 897188)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=65
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-17 Thread Felix Yan via arch-commits
Date: Wednesday, March 17, 2021 @ 13:32:37
  Author: felixonmars
Revision: 893394

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 893393, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
893393, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-17 13:32:37 UTC (rev 893394)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=64
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 12, 2021 @ 07:21:13
  Author: felixonmars
Revision: 888349

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 888348, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
888348, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-12 07:21:13 UTC (rev 888349)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=63
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-06 Thread Felix Yan via arch-commits
Date: Sunday, March 7, 2021 @ 02:55:29
  Author: felixonmars
Revision: 885195

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 885194, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
885194, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-07 02:55:29 UTC (rev 885195)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=62
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-05 Thread Felix Yan via arch-commits
Date: Friday, March 5, 2021 @ 20:51:22
  Author: felixonmars
Revision: 882373

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 882372, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
882372, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-05 20:51:22 UTC (rev 882373)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=61
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-04 Thread Felix Yan via arch-commits
Date: Thursday, March 4, 2021 @ 12:24:46
  Author: felixonmars
Revision: 880250

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 880249, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
880249, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-04 12:24:46 UTC (rev 880250)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=60
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-01 Thread Felix Yan via arch-commits
Date: Monday, March 1, 2021 @ 22:33:02
  Author: felixonmars
Revision: 877058

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 877057, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
877057, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-01 22:33:02 UTC (rev 877058)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=59
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-24 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 03:07:51
  Author: felixonmars
Revision: 872645

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 872644, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
872644, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 03:07:51 UTC (rev 872645)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=58
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-23 Thread Felix Yan via arch-commits
Date: Tuesday, February 23, 2021 @ 08:31:49
  Author: felixonmars
Revision: 869357

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 869356, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
869356, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-23 08:31:49 UTC (rev 869357)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=57
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-18 Thread Felix Yan via arch-commits
Date: Thursday, February 18, 2021 @ 13:55:31
  Author: felixonmars
Revision: 864132

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 864131, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
864131, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-18 13:55:31 UTC (rev 864132)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=56
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-15 Thread Felix Yan via arch-commits
Date: Monday, February 15, 2021 @ 19:13:58
  Author: felixonmars
Revision: 861472

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 861471, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
861471, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-15 19:13:58 UTC (rev 861472)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=55
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-12 Thread Felix Yan via arch-commits
Date: Saturday, February 13, 2021 @ 05:04:40
  Author: felixonmars
Revision: 857923

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 857922, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
857922, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-13 05:04:40 UTC (rev 857923)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=54
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-10 Thread Felix Yan via arch-commits
Date: Thursday, February 11, 2021 @ 05:04:30
  Author: felixonmars
Revision: 855410

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 855409, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
855409, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-11 05:04:30 UTC (rev 855410)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=53
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-09 Thread Felix Yan via arch-commits
Date: Tuesday, February 9, 2021 @ 20:21:48
  Author: felixonmars
Revision: 851549

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 851548, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
851548, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-09 20:21:48 UTC (rev 851549)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=52
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-07 Thread Felix Yan via arch-commits
Date: Monday, February 8, 2021 @ 00:59:20
  Author: felixonmars
Revision: 848624

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 848623, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
848623, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-08 00:59:20 UTC (rev 848624)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=51
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-03 Thread Felix Yan via arch-commits
Date: Wednesday, February 3, 2021 @ 23:40:26
  Author: felixonmars
Revision: 843844

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 843843, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
843843, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-03 23:40:26 UTC (rev 843844)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=50
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-03 Thread Felix Yan via arch-commits
Date: Wednesday, February 3, 2021 @ 09:07:26
  Author: felixonmars
Revision: 842471

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-golden/repos/community-staging-x86_64/
  haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 842470, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
842470, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-03 09:07:26 UTC (rev 842471)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=49
+pkgdesc="Golden tests for hspec."
+url="https://github.com/stackbuilders/hspec-golden;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-hspec' 'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9418291aed76e7654591074a04e0ff4b25b2443f8b628370983c3860c958aab4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


  1   2   >