[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:02:27
  Author: felixonmars
Revision: 796567

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 796566, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 796566, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:02:27 UTC (rev 796567)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=30
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 09:23:04
  Author: felixonmars
Revision: 794445

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 79, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 79, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 09:23:04 UTC (rev 794445)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=29
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 02:58:33
  Author: felixonmars
Revision: 791690

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 791689, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 791689, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 02:58:33 UTC (rev 791690)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=28
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 21:41:08
  Author: felixonmars
Revision: 788936

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 788935, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 788935, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 21:41:08 UTC (rev 788936)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=27
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 02:42:01
  Author: felixonmars
Revision: 786038

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 786037, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 786037, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 02:42:01 UTC (rev 786038)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=26
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 01:28:36
  Author: felixonmars
Revision: 783253

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 783252, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 783252, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 01:28:36 UTC (rev 783253)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=25
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 16:04:17
  Author: felixonmars
Revision: 781196

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 781195, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 781195, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 16:04:17 UTC (rev 781196)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=24
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 16:44:08
  Author: felixonmars
Revision: 777683

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 777682, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 777682, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 16:44:08 UTC (rev 777683)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=23
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 14:21:04
  Author: felixonmars
Revision: 774334

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 774333, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 774333, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 14:21:04 UTC (rev 774334)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=22
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 17:54:19
  Author: felixonmars
Revision: 764532

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 764531, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 764531, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 17:54:19 UTC (rev 764532)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=21
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-11-21 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 02:36:33
  Author: felixonmars
Revision: 758802

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 758801, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 758801, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 02:36:33 UTC (rev 758802)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=20
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-11-15 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 00:07:14
  Author: felixonmars
Revision: 755081

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 755080, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 755080, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 00:07:14 UTC (rev 755081)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=19
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 12:14:55
  Author: felixonmars
Revision: 744111

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 744110, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 744110, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 12:14:55 UTC (rev 744111)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=18
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 739463, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 739463, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 11:28:34 UTC (rev 739464)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=17
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-10-30 Thread Felix Yan via arch-commits
Date: Friday, October 30, 2020 @ 21:30:32
  Author: felixonmars
Revision: 737253

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 737252, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 737252, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-30 21:30:32 UTC (rev 737253)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=16
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 19:07:25
  Author: felixonmars
Revision: 734858

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 734857, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 734857, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 19:07:25 UTC (rev 734858)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=15
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-10-24 Thread Felix Yan via arch-commits
Date: Saturday, October 24, 2020 @ 21:34:44
  Author: felixonmars
Revision: 731785

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 731784, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 731784, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-24 21:34:44 UTC (rev 731785)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=14
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-10-21 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 00:42:31
  Author: felixonmars
Revision: 728713

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 728712, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 728712, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 00:42:31 UTC (rev 728713)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=13
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-10-17 Thread Felix Yan via arch-commits
Date: Saturday, October 17, 2020 @ 18:09:38
  Author: felixonmars
Revision: 725548

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 725547, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 725547, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-17 18:09:38 UTC (rev 725548)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=12
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 11:46:45
  Author: felixonmars
Revision: 720459

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 720458, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 720458, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 11:46:45 UTC (rev 720459)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=11
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 08:09:36
  Author: felixonmars
Revision: 717436

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 717435, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 717435, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 08:09:36 UTC (rev 717436)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=10
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 08:47:03
  Author: felixonmars
Revision: 715214

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 715213, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 715213, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 08:47:03 UTC (rev 715214)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=9
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-09-17 Thread Felix Yan via arch-commits
Date: Thursday, September 17, 2020 @ 22:46:39
  Author: felixonmars
Revision: 709591

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 709590, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 709590, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-17 22:46:39 UTC (rev 709591)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=8
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-09-14 Thread Felix Yan via arch-commits
Date: Monday, September 14, 2020 @ 22:29:56
  Author: felixonmars
Revision: 706859

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 706858, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 706858, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-14 22:29:56 UTC (rev 706859)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=7
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 19:17:13
  Author: felixonmars
Revision: 704671

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 704670, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 704670, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 19:17:13 UTC (rev 704671)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=6
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-09-10 Thread Felix Yan via arch-commits
Date: Thursday, September 10, 2020 @ 22:29:13
  Author: felixonmars
Revision: 702528

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 702527, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 702527, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-10 22:29:13 UTC (rev 702528)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=5
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 17:06:33
  Author: felixonmars
Revision: 700125

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 700124, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 700124, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 17:06:33 UTC (rev 700125)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=4
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-09-03 Thread Felix Yan via arch-commits
Date: Thursday, September 3, 2020 @ 07:10:55
  Author: felixonmars
Revision: 697278

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 697277, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 697277, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-03 07:10:55 UTC (rev 697278)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=3
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 693931, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 693931, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 08:08:10 UTC (rev 693932)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=2
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-08-29 Thread Felix Yan via arch-commits
Date: Saturday, August 29, 2020 @ 09:06:31
  Author: felixonmars
Revision: 692176

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 692175, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 692175, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-29 09:06:31 UTC (rev 692176)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.1
+pkgrel=1
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9d3f97df6cae87eaf547e80f1d19d150bf850259dafacb59fcb143fd349dcff9c26e21971e5a2b68ab7b88b6ea88dff63cc3b571453d09afd4bd70805c3c3587')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 14:35:32
  Author: felixonmars
Revision: 691026

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 691025, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 691025, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 14:35:32 UTC (rev 691026)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=86
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 19:52:56
  Author: felixonmars
Revision: 688680

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 688679, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 688679, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 19:52:56 UTC (rev 688680)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=85
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 23:39:57
  Author: felixonmars
Revision: 683544

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 683543, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 683543, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 23:39:57 UTC (rev 683544)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=84
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-08-15 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 02:01:39
  Author: felixonmars
Revision: 680556

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 680555, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 680555, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 02:01:39 UTC (rev 680556)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=83
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 21:14:52
  Author: felixonmars
Revision: 678106

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 678105, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 678105, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 21:14:52 UTC (rev 678106)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=82
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-08-11 Thread Felix Yan via arch-commits
Date: Wednesday, August 12, 2020 @ 00:56:07
  Author: felixonmars
Revision: 675370

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 675369, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 675369, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-12 00:56:07 UTC (rev 675370)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=81
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-07-31 Thread Felix Yan via arch-commits
Date: Saturday, August 1, 2020 @ 03:43:33
  Author: felixonmars
Revision: 667121

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 667120, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 667120, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-01 03:43:33 UTC (rev 667121)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=80
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-06-29 Thread Felix Yan via arch-commits
Date: Monday, June 29, 2020 @ 09:06:14
  Author: felixonmars
Revision: 656013

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 656011, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 656011, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-29 09:06:14 UTC (rev 656013)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=79
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-06-24 Thread Felix Yan via arch-commits
Date: Wednesday, June 24, 2020 @ 09:52:40
  Author: felixonmars
Revision: 652227

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 652226, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 652226, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-24 09:52:40 UTC (rev 652227)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=78
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-06-13 Thread Felix Yan via arch-commits
Date: Sunday, June 14, 2020 @ 03:42:45
  Author: felixonmars
Revision: 643767

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 643766, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 643766, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-14 03:42:45 UTC (rev 643767)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=77
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-05-23 Thread Felix Yan via arch-commits
Date: Saturday, May 23, 2020 @ 21:16:25
  Author: felixonmars
Revision: 632575

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 632574, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 632574, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-23 21:16:25 UTC (rev 632575)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=76
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|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-safe-exceptions/repos (2 files)

2020-05-12 Thread Felix Yan via arch-commits
Date: Wednesday, May 13, 2020 @ 05:01:04
  Author: felixonmars
Revision: 627300

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 627299, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 627299, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-13 05:01:04 UTC (rev 627300)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=75
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-04-24 Thread Felix Yan via arch-commits
Date: Friday, April 24, 2020 @ 11:12:48
  Author: felixonmars
Revision: 619240

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 619239, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 619239, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-24 11:12:48 UTC (rev 619240)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=74
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-04-01 Thread Felix Yan via arch-commits
Date: Wednesday, April 1, 2020 @ 20:08:55
  Author: felixonmars
Revision: 609142

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 609141, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 609141, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-01 20:08:55 UTC (rev 609142)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=73
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-03-15 Thread Felix Yan via arch-commits
Date: Sunday, March 15, 2020 @ 21:56:44
  Author: felixonmars
Revision: 598664

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 598663, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 598663, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-15 21:56:44 UTC (rev 598664)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=72
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-03-01 Thread Felix Yan via arch-commits
Date: Sunday, March 1, 2020 @ 17:46:28
  Author: felixonmars
Revision: 587836

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 587835, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 587835, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-01 17:46:28 UTC (rev 587836)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=71
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-02-27 Thread Felix Yan via arch-commits
Date: Thursday, February 27, 2020 @ 14:22:39
  Author: felixonmars
Revision: 584134

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 584133, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 584133, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-27 14:22:39 UTC (rev 584134)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=70
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 16:00:41
  Author: felixonmars
Revision: 581500

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 581499, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 581499, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-25 16:00:41 UTC (rev 581500)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=69
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-02-16 Thread Felix Yan via arch-commits
Date: Sunday, February 16, 2020 @ 09:17:47
  Author: felixonmars
Revision: 572136

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 572135, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 572135, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-16 09:17:47 UTC (rev 572136)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=68
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-02-10 Thread Felix Yan via arch-commits
Date: Monday, February 10, 2020 @ 23:32:18
  Author: felixonmars
Revision: 566435

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 566434, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 566434, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-10 23:32:18 UTC (rev 566435)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=67
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-02-04 Thread Felix Yan via arch-commits
Date: Tuesday, February 4, 2020 @ 19:11:13
  Author: felixonmars
Revision: 562339

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 562338, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 562338, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-04 19:11:13 UTC (rev 562339)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=65
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-01-29 Thread Felix Yan via arch-commits
Date: Wednesday, January 29, 2020 @ 11:53:33
  Author: felixonmars
Revision: 558706

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 558705, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 558705, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-29 11:53:33 UTC (rev 558706)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=64
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-01-27 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 00:34:36
  Author: felixonmars
Revision: 556804

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 556803, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 556803, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 00:34:36 UTC (rev 556804)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=63
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-01-09 Thread Felix Yan via arch-commits
Date: Thursday, January 9, 2020 @ 16:22:59
  Author: felixonmars
Revision: 551327

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 551326, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 551326, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-09 16:22:59 UTC (rev 551327)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=62
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-01-04 Thread Felix Yan via arch-commits
Date: Saturday, January 4, 2020 @ 16:55:37
  Author: felixonmars
Revision: 548116

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 548115, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 548115, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-04 16:55:37 UTC (rev 548116)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=61
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2020-01-02 Thread Felix Yan via arch-commits
Date: Thursday, January 2, 2020 @ 15:30:33
  Author: felixonmars
Revision: 546239

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 546238, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 546238, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-02 15:30:33 UTC (rev 546239)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=60
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-12-30 Thread Felix Yan via arch-commits
Date: Monday, December 30, 2019 @ 10:12:46
  Author: felixonmars
Revision: 544333

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 544332, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 544332, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-30 10:12:46 UTC (rev 544333)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=59
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-12-25 Thread Felix Yan via arch-commits
Date: Wednesday, December 25, 2019 @ 11:16:19
  Author: felixonmars
Revision: 540821

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 540820, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 540820, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-25 11:16:19 UTC (rev 540821)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=58
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-12-23 Thread Felix Yan via arch-commits
Date: Monday, December 23, 2019 @ 14:19:51
  Author: felixonmars
Revision: 539263

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 539262, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 539262, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-23 14:19:51 UTC (rev 539263)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=57
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-09-02 Thread Felix Yan via arch-commits
Date: Monday, September 2, 2019 @ 06:25:25
  Author: felixonmars
Revision: 506630

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 506629, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 506629, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-02 06:25:25 UTC (rev 506630)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=56
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-08-26 Thread Felix Yan via arch-commits
Date: Monday, August 26, 2019 @ 10:07:31
  Author: felixonmars
Revision: 502104

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 502103, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 502103, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-26 10:07:31 UTC (rev 502104)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=55
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-07-31 Thread Felix Yan via arch-commits
Date: Wednesday, July 31, 2019 @ 18:27:15
  Author: felixonmars
Revision: 495825

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 495824, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 495824, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-31 18:27:15 UTC (rev 495825)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=54
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-07-27 Thread Felix Yan via arch-commits
Date: Saturday, July 27, 2019 @ 11:56:58
  Author: felixonmars
Revision: 493217

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 493216, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 493216, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-27 11:56:58 UTC (rev 493217)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=53
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-07-17 Thread Felix Yan via arch-commits
Date: Wednesday, July 17, 2019 @ 17:36:45
  Author: felixonmars
Revision: 490404

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 490403, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 490403, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-17 17:36:45 UTC (rev 490404)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=52
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-06-30 Thread Felix Yan via arch-commits
Date: Sunday, June 30, 2019 @ 17:15:49
  Author: felixonmars
Revision: 486413

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 486412, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 486412, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-30 17:15:49 UTC (rev 486413)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=51
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-06-08 Thread Felix Yan via arch-commits
Date: Sunday, June 9, 2019 @ 01:18:31
  Author: felixonmars
Revision: 478559

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 478558, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 478558, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-09 01:18:31 UTC (rev 478559)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=50
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 30, 2019 @ 15:14:45
  Author: felixonmars
Revision: 474697

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 474696, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 474696, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-30 15:14:45 UTC (rev 474697)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=49
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-05-28 Thread Felix Yan via arch-commits
Date: Tuesday, May 28, 2019 @ 18:04:27
  Author: felixonmars
Revision: 472876

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 472875, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 472875, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-28 18:04:27 UTC (rev 472876)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=47
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-05-27 Thread Felix Yan via arch-commits
Date: Monday, May 27, 2019 @ 09:01:05
  Author: felixonmars
Revision: 471160

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 471159, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 471159, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-27 09:01:05 UTC (rev 471160)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=45
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-05-12 Thread Felix Yan via arch-commits
Date: Sunday, May 12, 2019 @ 08:46:05
  Author: felixonmars
Revision: 465973

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 465972, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 465972, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-12 08:46:05 UTC (rev 465973)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=44
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-05-11 Thread Felix Yan via arch-commits
Date: Saturday, May 11, 2019 @ 12:14:04
  Author: felixonmars
Revision: 465238

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 465237, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 465237, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-11 12:14:04 UTC (rev 465238)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=43
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-05-08 Thread Felix Yan via arch-commits
Date: Wednesday, May 8, 2019 @ 21:09:23
  Author: felixonmars
Revision: 463300

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 463299, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 463299, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-08 21:09:23 UTC (rev 463300)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=42
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-05-06 Thread Felix Yan via arch-commits
Date: Monday, May 6, 2019 @ 11:44:12
  Author: felixonmars
Revision: 460723

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 460722, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 460722, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-06 11:44:12 UTC (rev 460723)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=41
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-04-26 Thread Felix Yan via arch-commits
Date: Friday, April 26, 2019 @ 20:08:47
  Author: felixonmars
Revision: 454336

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 454335, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 454335, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-26 20:08:47 UTC (rev 454336)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=40
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-04-03 Thread Felix Yan via arch-commits
Date: Wednesday, April 3, 2019 @ 22:01:42
  Author: felixonmars
Revision: 448489

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 448488, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 448488, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-03 22:01:42 UTC (rev 448489)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=39
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-04-01 Thread Felix Yan via arch-commits
Date: Monday, April 1, 2019 @ 21:36:57
  Author: felixonmars
Revision: 447099

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 447098, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 447098, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-01 21:36:57 UTC (rev 447099)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=38
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-03-26 Thread Felix Yan via arch-commits
Date: Tuesday, March 26, 2019 @ 17:34:19
  Author: felixonmars
Revision: 443639

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 443638, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 443638, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-26 17:34:19 UTC (rev 443639)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=37
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-03-09 Thread Felix Yan via arch-commits
Date: Sunday, March 10, 2019 @ 07:52:31
  Author: felixonmars
Revision: 439021

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 439020, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 439020, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-10 07:52:31 UTC (rev 439021)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=36
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-02-14 Thread Felix Yan via arch-commits
Date: Thursday, February 14, 2019 @ 20:45:56
  Author: felixonmars
Revision: 432342

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 432341, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 432341, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-14 20:45:56 UTC (rev 432342)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=35
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2019-01-20 Thread Felix Yan via arch-commits
Date: Sunday, January 20, 2019 @ 20:29:50
  Author: felixonmars
Revision: 425542

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 425541, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 425541, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-20 20:29:50 UTC (rev 425542)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=34
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-12-09 Thread Felix Yan via arch-commits
Date: Monday, December 10, 2018 @ 07:44:25
  Author: felixonmars
Revision: 413777

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 413776, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 413776, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-10 07:44:25 UTC (rev 413777)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=33
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 09:25:44
  Author: felixonmars
Revision: 402544

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 402543, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 402543, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 09:25:44 UTC (rev 402544)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=32
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-10-31 Thread Felix Yan via arch-commits
Date: Wednesday, October 31, 2018 @ 09:32:11
  Author: felixonmars
Revision: 399878

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 399877, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 399877, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-31 09:32:11 UTC (rev 399878)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=31
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-10-18 Thread Felix Yan via arch-commits
Date: Friday, October 19, 2018 @ 04:15:15
  Author: felixonmars
Revision: 397058

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 397057, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 397057, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-19 04:15:15 UTC (rev 397058)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=30
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-10-15 Thread Felix Yan via arch-commits
Date: Monday, October 15, 2018 @ 20:01:47
  Author: felixonmars
Revision: 394324

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 394323, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 394323, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-15 20:01:47 UTC (rev 394324)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=29
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-10-11 Thread Felix Yan via arch-commits
Date: Thursday, October 11, 2018 @ 10:16:49
  Author: felixonmars
Revision: 392310

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 392309, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 392309, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-11 10:16:49 UTC (rev 392310)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=28
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-10-05 Thread Felix Yan via arch-commits
Date: Friday, October 5, 2018 @ 11:27:02
  Author: felixonmars
Revision: 389889

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 389888, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 389888, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-05 11:27:02 UTC (rev 389889)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=27
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-09-15 Thread Felix Yan via arch-commits
Date: Saturday, September 15, 2018 @ 06:20:59
  Author: felixonmars
Revision: 381175

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 381174, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 381174, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-15 06:20:59 UTC (rev 381175)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=26
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-09-06 Thread Felix Yan via arch-commits
Date: Thursday, September 6, 2018 @ 07:27:03
  Author: felixonmars
Revision: 377237

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 377236, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 377236, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-06 07:27:03 UTC (rev 377237)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=25
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-07-28 Thread Felix Yan via arch-commits
Date: Sunday, July 29, 2018 @ 03:45:05
  Author: felixonmars
Revision: 363984

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 363983, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 363983, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-29 03:45:05 UTC (rev 363984)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=24
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-07-17 Thread Felix Yan via arch-commits
Date: Tuesday, July 17, 2018 @ 10:28:49
  Author: felixonmars
Revision: 360608

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 360607, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 360607, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-17 10:28:49 UTC (rev 360608)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=23
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-07-11 Thread Felix Yan via arch-commits
Date: Wednesday, July 11, 2018 @ 09:09:53
  Author: felixonmars
Revision: 357069

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 357068, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 357068, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-11 09:09:53 UTC (rev 357069)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=22
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-07-10 Thread Felix Yan via arch-commits
Date: Tuesday, July 10, 2018 @ 14:33:30
  Author: felixonmars
Revision: 356131

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 356130, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 356130, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-10 14:33:30 UTC (rev 356131)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=21
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-07-06 Thread Felix Yan via arch-commits
Date: Friday, July 6, 2018 @ 13:58:28
  Author: felixonmars
Revision: 353664

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 353663, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 353663, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-06 13:58:28 UTC (rev 353664)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=20
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-07-03 Thread Felix Yan via arch-commits
Date: Tuesday, July 3, 2018 @ 06:48:32
  Author: felixonmars
Revision: 350485

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 350484, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 350484, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-03 06:48:32 UTC (rev 350485)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=19
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-06-28 Thread Felix Yan via arch-commits
Date: Thursday, June 28, 2018 @ 12:59:16
  Author: felixonmars
Revision: 346706

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 346705, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 346705, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-28 12:59:16 UTC (rev 346706)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=18
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-06-24 Thread Felix Yan via arch-commits
Date: Sunday, June 24, 2018 @ 07:20:06
  Author: felixonmars
Revision: 345017

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 345016, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 345016, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-24 07:20:06 UTC (rev 345017)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=17
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-06-02 Thread Felix Yan via arch-commits
Date: Saturday, June 2, 2018 @ 12:21:45
  Author: felixonmars
Revision: 337384

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 337383, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 337383, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-02 12:21:45 UTC (rev 337384)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=16
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-06-01 Thread Felix Yan via arch-commits
Date: Friday, June 1, 2018 @ 09:50:00
  Author: felixonmars
Revision: 335821

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 335820, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 335820, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-01 09:50:00 UTC (rev 335821)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=15
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)

2018-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 31, 2018 @ 03:36:35
  Author: felixonmars
Revision: 334025

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 334024, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 334024, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-31 03:36:35 UTC (rev 334025)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=14
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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"
+}


  1   2   >