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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:33:48
  Author: felixonmars
Revision: 796781

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 796780, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
796780, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:33:48 UTC (rev 796781)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 10:47:51
  Author: felixonmars
Revision: 794635

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 794634, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
794634, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 10:47:51 UTC (rev 794635)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-12-25 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 23:41:07
  Author: felixonmars
Revision: 791222

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 791221, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
791221, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 23:41:07 UTC (rev 791222)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 00:44:14
  Author: felixonmars
Revision: 789310

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 789309, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
789309, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 00:44:14 UTC (rev 789310)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 04:33:02
  Author: felixonmars
Revision: 786290

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 786289, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
786289, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 04:33:02 UTC (rev 786290)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 16:54:12
  Author: felixonmars
Revision: 784341

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 784340, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
784340, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 16:54:12 UTC (rev 784341)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 15:50:25
  Author: felixonmars
Revision: 780510

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 780509, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
780509, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-20 15:50:25 UTC (rev 780510)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=26
+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)

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 13:00:13
  Author: felixonmars
Revision: 778569

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 778568, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
778568, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 13:00:13 UTC (rev 778569)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

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

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 775103, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
775103, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-14 15:53:18 UTC (rev 775104)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 23:28:33
  Author: felixonmars
Revision: 764804

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 764803, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
764803, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 23:28:33 UTC (rev 764804)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-11-23 Thread Felix Yan via arch-commits
Date: Monday, November 23, 2020 @ 18:39:09
  Author: felixonmars
Revision: 760093

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 760092, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
760092, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-23 18:39:09 UTC (rev 760093)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 14:19:51
  Author: felixonmars
Revision: 755252

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 755251, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
755251, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 14:19:51 UTC (rev 755252)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 13:25:39
  Author: felixonmars
Revision: 744249

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 744248, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
744248, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 13:25:39 UTC (rev 744249)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 15:27:37
  Author: felixonmars
Revision: 739868

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 739867, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
739867, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 15:27:37 UTC (rev 739868)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-10-30 Thread Felix Yan via arch-commits
Date: Friday, October 30, 2020 @ 22:12:10
  Author: felixonmars
Revision: 737345

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 737344, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
737344, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-30 22:12:10 UTC (rev 737345)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-10-28 Thread Felix Yan via arch-commits
Date: Wednesday, October 28, 2020 @ 21:35:26
  Author: felixonmars
Revision: 735738

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 735737, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
735737, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-28 21:35:26 UTC (rev 735738)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-10-24 Thread Felix Yan via arch-commits
Date: Saturday, October 24, 2020 @ 22:09:43
  Author: felixonmars
Revision: 731845

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 731844, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
731844, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-24 22:09:43 UTC (rev 731845)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-10-21 Thread Felix Yan via arch-commits
Date: Wednesday, October 21, 2020 @ 17:28:46
  Author: felixonmars
Revision: 728063

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 728062, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
728062, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-21 17:28:46 UTC (rev 728063)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-10-16 Thread Felix Yan via arch-commits
Date: Friday, October 16, 2020 @ 16:51:55
  Author: felixonmars
Revision: 724772

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 724771, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
724771, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-16 16:51:55 UTC (rev 724772)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-10-06 Thread Felix Yan via arch-commits
Date: Tuesday, October 6, 2020 @ 22:55:34
  Author: felixonmars
Revision: 719847

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 719846, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
719846, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-06 22:55:34 UTC (rev 719847)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-10-03 Thread Felix Yan via arch-commits
Date: Saturday, October 3, 2020 @ 22:47:45
  Author: felixonmars
Revision: 716863

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 716862, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
716862, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-03 22:47:45 UTC (rev 716863)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-10-01 Thread Felix Yan via arch-commits
Date: Thursday, October 1, 2020 @ 23:03:44
  Author: felixonmars
Revision: 714591

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 714590, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
714590, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-01 23:03:44 UTC (rev 714591)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-09-17 Thread Felix Yan via arch-commits
Date: Thursday, September 17, 2020 @ 18:32:35
  Author: felixonmars
Revision: 709000

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 708999, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
708999, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-17 18:32:35 UTC (rev 709000)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-09-14 Thread Felix Yan via arch-commits
Date: Monday, September 14, 2020 @ 19:00:31
  Author: felixonmars
Revision: 706307

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 706306, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
706306, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-14 19:00:31 UTC (rev 706307)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 15:27:58
  Author: felixonmars
Revision: 704123

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 704122, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
704122, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 15:27:58 UTC (rev 704123)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-09-10 Thread Felix Yan via arch-commits
Date: Thursday, September 10, 2020 @ 16:44:07
  Author: felixonmars
Revision: 701934

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 701933, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
701933, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-10 16:44:07 UTC (rev 701934)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 10:27:12
  Author: felixonmars
Revision: 699583

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 699582, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
699582, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 10:27:12 UTC (rev 699583)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-09-02 Thread Felix Yan via arch-commits
Date: Wednesday, September 2, 2020 @ 17:32:40
  Author: felixonmars
Revision: 696659

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 696658, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
696658, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-02 17:32:40 UTC (rev 696659)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-08-30 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 03:21:09
  Author: felixonmars
Revision: 693423

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 693422, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
693422, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 03:21:09 UTC (rev 693423)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 09:27:29
  Author: felixonmars
Revision: 690375

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 690374, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
690374, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 09:27:29 UTC (rev 690375)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 10:57:31
  Author: felixonmars
Revision: 688070

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 688069, haskell-hspec-golden/trunk/PKGBUILD)

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

Copied: haskell-hspec-golden/repos/community-staging-x86_64/PKGBUILD (from rev 
688069, haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 10:57:31 UTC (rev 688070)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+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;)
+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)

2020-08-21 Thread Felix Yan via arch-commits
Date: Friday, August 21, 2020 @ 16:36:04
  Author: felixonmars
Revision: 686299

archrelease: copy trunk to community-x86_64

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

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

Copied: haskell-hspec-golden/repos/community-x86_64/PKGBUILD (from rev 686298, 
haskell-hspec-golden/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-08-21 16:36:04 UTC (rev 686299)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=hspec-golden
+pkgname=haskell-hspec-golden
+pkgver=0.1.0.3
+pkgrel=1
+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
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|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"
+}